Subchannel Status Word — packed status from TSCH.
More...
|
|
constexpr auto | actl () const noexcept -> u8 |
| | Extract activity control field (PoP bits 20-26 of word 0). AC bits: 20=Resume, 21=Start, 22=Halt, 23=Clear, 24=SchActive, 25=DevActive, 26=Suspended.
|
|
constexpr auto | fctl () const noexcept -> u8 |
| | Extract function control field (PoP bits 17-19 of word 0). FC bits: 17=Start, 18=Halt, 19=Clear.
|
|
constexpr auto | has_channel_end () const noexcept -> bool |
| | True if channel-end (CE) bit is set in device status.
|
|
constexpr auto | has_device_end () const noexcept -> bool |
| | True if device-end (DE) bit is set in device status.
|
|
constexpr auto | has_error () const noexcept -> bool |
| | True if any error condition is indicated.
|
|
constexpr auto | is_alert () const noexcept -> bool |
| | True if alert status (unsolicited primary without secondary).
|
|
constexpr auto | is_primary () const noexcept -> bool |
| | True if primary status is indicated.
|
|
constexpr auto | is_secondary () const noexcept -> bool |
| | True if secondary status is indicated.
|
|
constexpr auto | is_solicited () const noexcept -> bool |
| | True if status is solicited (primary status pending).
|
|
constexpr auto | stctl () const noexcept -> u8 |
| | Extract status control field (PoP bits 27-31 of word 0). SC bits: 27=Alert, 28=Intermediate, 29=Primary, 30=Secondary, 31=StatusPending.
|
|
|
u32 | ccw_addr {0} |
| | Word 1: CCW address.
|
|
u16 | count {0} |
| | Word 2 bits 16-31: Residual byte count.
|
|
u8 | dev_status {0} |
| | Word 2 bits 0-7: Device status byte.
|
|
u32 | flags {0} |
| | Word 0: key(4), control bits, FC(3), AC(7), SC(5).
|
|
u8 | sch_status {0} |
| | Word 2 bits 8-15: Subchannel status byte.
|
Subchannel Status Word — packed status from TSCH.
The documentation for this struct was generated from the following file: