Symbolic register dump routines.
More...
Symbolic register dump routines.
#define REGDUMP_STATE_VAR_INIT 0 |
Static initializer for re-entrancy state variable.
Definition at line 63 of file regdump.h.
Register description structure.
The following example shows a simple UART RX register combining the received character with some flags:
1 static const regdump_desc_t uart_rx_desc = {
9 regdump(UART_RX(UART0), &uart_rx_desc);
Dump the current register status to file.
Definition at line 38 of file regdump.c.
Dump single line of register output to file.
This function works a line at a time and returns to the caller between each line. It is only useful with run-to-completion schedulers as a means to boost responsiveness.
- Returns
- Zero if the register dump is complete, non-zero otherwise.
Definition at line 19 of file regdump.c.
Dump the current register status to stdout.
Definition at line 50 of file regdump.c.
Dump single line of register output to stdout.
- See also
- fregdump_single()
- Returns
- Zero if the register dump is complete, non-zero otherwise.
Definition at line 45 of file regdump.c.