aboutsummaryrefslogtreecommitdiff
path: root/src/peripheral/tpiu.rs
diff options
context:
space:
mode:
authorGravatar Viktor Sonesten <v@tmplt.dev> 2022-01-04 11:32:31 +0100
committerGravatar Viktor Sonesten <v@tmplt.dev> 2022-01-06 14:23:25 +0100
commita66e4a6db41533ad12b8a6936d31b80a4d7f015d (patch)
treeae313eec4b3989f8a9ad41865d8e4643b7680522 /src/peripheral/tpiu.rs
parent0f5ee69ee83d9b68c11323f367424e7841f392e5 (diff)
downloadcortex-m-a66e4a6db41533ad12b8a6936d31b80a4d7f015d.tar.gz
cortex-m-a66e4a6db41533ad12b8a6936d31b80a4d7f015d.tar.zst
cortex-m-a66e4a6db41533ad12b8a6936d31b80a4d7f015d.zip
TPIU: improve SWOSupports documentation
Diffstat (limited to 'src/peripheral/tpiu.rs')
-rw-r--r--src/peripheral/tpiu.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/peripheral/tpiu.rs b/src/peripheral/tpiu.rs
index c098d36..5d2c2bb 100644
--- a/src/peripheral/tpiu.rs
+++ b/src/peripheral/tpiu.rs
@@ -87,7 +87,8 @@ 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.