aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar Viktor Sonesten <v@tmplt.dev> 2022-01-04 11:22:45 +0100
committerGravatar Viktor Sonesten <v@tmplt.dev> 2022-01-05 10:43:52 +0100
commit222d9c98cd6e71ed6dceeaf3343592094ba0d6d5 (patch)
treeff96a51f29a61cebc43d5e9cd1e8a3f581f516a6 /src
parent50c7fd34901eb9a2a9aec79c4c5a5574140046ba (diff)
downloadcortex-m-222d9c98cd6e71ed6dceeaf3343592094ba0d6d5.tar.gz
cortex-m-222d9c98cd6e71ed6dceeaf3343592094ba0d6d5.tar.zst
cortex-m-222d9c98cd6e71ed6dceeaf3343592094ba0d6d5.zip
tpiu: make SWOSupports fields public
Diffstat (limited to 'src')
-rw-r--r--src/peripheral/tpiu.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/peripheral/tpiu.rs b/src/peripheral/tpiu.rs
index 3ff5f55..c098d36 100644
--- a/src/peripheral/tpiu.rs
+++ b/src/peripheral/tpiu.rs
@@ -91,13 +91,13 @@ impl core::convert::TryFrom<u8> for TraceProtocol {
#[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 {