Bryan Cisneros
/
DebugMonitor
Diff: UART_poll.cpp
- Revision:
- 1:9fa7cc80f1a7
- Parent:
- 0:4fb921928934
--- a/UART_poll.cpp Fri Oct 04 21:09:15 2019 +0000 +++ b/UART_poll.cpp Fri Oct 04 22:03:30 2019 +0000 @@ -281,5 +281,17 @@ } } +/******************************************************************************* +* The function UART_direct_hex_put_word puts 1 word in hex directly (no ram buffer) +* to the UART. Used to display full words within registers and memory locations +*******************************************************************************/ +void UART_direct_hex_put_word(uint32_t c) +{ + UART_direct_hex_put((c>>24)); + UART_direct_hex_put((c>>16)); + UART_direct_hex_put((c>>8)); + UART_direct_hex_put((c)); +} +