aboutsummaryrefslogtreecommitdiff
path: root/src/peripheral/mod.rs
diff options
context:
space:
mode:
authorGravatar bors[bot] <26634292+bors[bot]@users.noreply.github.com> 2020-05-25 00:25:56 +0000
committerGravatar GitHub <noreply@github.com> 2020-05-25 00:25:56 +0000
commit3136e01e708413774d7be2868705e1782c910027 (patch)
tree6283febb39959b153502e95f5dbba327875c52b9 /src/peripheral/mod.rs
parentfc19f3e1588e7486716667dbd0db37c6dc41d0ed (diff)
parent97141b951b044bd4a06478454a179d633f28d148 (diff)
downloadcortex-m-3136e01e708413774d7be2868705e1782c910027.tar.gz
cortex-m-3136e01e708413774d7be2868705e1782c910027.tar.zst
cortex-m-3136e01e708413774d7be2868705e1782c910027.zip
Merge #219
219: ITM: don't test reserved bits in is_fifo_ready r=adamgreig a=cbiffle On ARMv7-M, bits 31:1 of the value read from STIMx are reserved, so comparing them against zero is a bad idea. On ARMv8-M, bit 1 has been repurposed to indicate DISABLED. This means that the is_fifo_ready impl hangs forever when ITM is disabled on a Cortex-M33 (for example). Changed to test only the FIFOREADY bit. @bcantrill Co-authored-by: Cliff L. Biffle <cliff@oxide.computer>
Diffstat (limited to 'src/peripheral/mod.rs')
0 files changed, 0 insertions, 0 deletions