diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/debug_menu.c | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/apps/debug_menu.c b/apps/debug_menu.c index 3e54f996e1..3a1b25f742 100644 --- a/apps/debug_menu.c +++ b/apps/debug_menu.c | |||
@@ -1101,7 +1101,25 @@ bool dbg_ports(void) | |||
1101 | while(1) | 1101 | while(1) |
1102 | { | 1102 | { |
1103 | line = 0; | 1103 | line = 0; |
1104 | lcd_puts(0, line++, "GPIO STATES:"); | 1104 | lcd_puts(0, line++, "GPIO ENABLE:"); |
1105 | lcd_putsf(0, line++, "A: %02x E: %02x I: %02x", | ||
1106 | (unsigned int)GPIOA_ENABLE, | ||
1107 | (unsigned int)GPIOE_ENABLE, | ||
1108 | (unsigned int)GPIOI_ENABLE); | ||
1109 | lcd_putsf(0, line++, "B: %02x F: %02x J: %02x", | ||
1110 | (unsigned int)GPIOB_ENABLE, | ||
1111 | (unsigned int)GPIOF_ENABLE, | ||
1112 | (unsigned int)GPIOJ_ENABLE); | ||
1113 | lcd_putsf(0, line++, "C: %02x G: %02x K: %02x", | ||
1114 | (unsigned int)GPIOC_ENABLE, | ||
1115 | (unsigned int)GPIOG_ENABLE, | ||
1116 | (unsigned int)GPIOK_ENABLE); | ||
1117 | lcd_putsf(0, line++, "D: %02x H: %02x L: %02x", | ||
1118 | (unsigned int)GPIOD_ENABLE, | ||
1119 | (unsigned int)GPIOH_ENABLE, | ||
1120 | (unsigned int)GPIOL_ENABLE); | ||
1121 | line++; | ||
1122 | lcd_puts(0, line++, "GPIO INPUT VAL:"); | ||
1105 | lcd_putsf(0, line++, "A: %02x E: %02x I: %02x", | 1123 | lcd_putsf(0, line++, "A: %02x E: %02x I: %02x", |
1106 | (unsigned int)GPIOA_INPUT_VAL, | 1124 | (unsigned int)GPIOA_INPUT_VAL, |
1107 | (unsigned int)GPIOE_INPUT_VAL, | 1125 | (unsigned int)GPIOE_INPUT_VAL, |