Skip to content

Commit 3a71f18

Browse files
committed
tpiu: make SWOSupports fields public
1 parent fcbda9e commit 3a71f18

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/peripheral/tpiu.rs

+4-4
Original file line numberDiff line numberDiff line change
@@ -91,13 +91,13 @@ impl core::convert::TryFrom<u8> for TraceProtocol {
9191
#[derive(Debug, Eq, PartialEq, Copy, Clone)]
9292
pub struct SWOSupports {
9393
/// Whether UART/NRZ encoding is supported for SWO.
94-
nrz_encoding: bool,
94+
pub nrz_encoding: bool,
9595
/// Whether Manchester encoding is supported for SWO.
96-
manchester_encoding: bool,
96+
pub manchester_encoding: bool,
9797
/// Whether parallel trace port operation is supported.
98-
parallel_operation: bool,
98+
pub parallel_operation: bool,
9999
/// The minimum implemented FIFO queue size of the TPIU for trace data.
100-
min_queue_size: u8,
100+
pub min_queue_size: u8,
101101
}
102102

103103
impl TPIU {

0 commit comments

Comments
 (0)