diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/peripheral/tpiu.rs | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/peripheral/tpiu.rs b/src/peripheral/tpiu.rs index 3ff5f55..5d2c2bb 100644 --- a/src/peripheral/tpiu.rs +++ b/src/peripheral/tpiu.rs @@ -87,17 +87,18 @@ impl core::convert::TryFrom<u8> for TraceProtocol { } } -/// The SWO options supported by the TPIU. +/// The SWO options supported by the TPIU, and the mimimum size of the +/// FIFO output queue for trace data. #[derive(Debug, Eq, PartialEq, Copy, Clone)] pub struct SWOSupports { /// Whether UART/NRZ encoding is supported for SWO. - nrz_encoding: bool, + pub nrz_encoding: bool, /// Whether Manchester encoding is supported for SWO. - manchester_encoding: bool, + pub manchester_encoding: bool, /// Whether parallel trace port operation is supported. - parallel_operation: bool, + pub parallel_operation: bool, /// The minimum implemented FIFO queue size of the TPIU for trace data. - min_queue_size: u8, + pub min_queue_size: u8, } impl TPIU { |