![]() |
MCCI Trusted Bootloader
Simple trusted bootloader and tools for small embedded systems
|
#include "mcci_bootloader_led_annunciator.h"Go to the source code of this file.
Macros | |
| #define | FUNCTION "McciBootloader_LED_annunciatorInit" |
| #define | FUNCTION "McciBootloader_LED_annunciatorIndicateState" |
Functions | |
| void | McciBootloader_LED_annunciatorIndicateState (McciBootloaderState_t state) |
| void | McciBootloader_LED_annunciatorInit (void) |
| bool | McciBootloader_LED_handleSysTick (void) |
| static bool | nextBit (void) |
| process the next bit from the current word, and set timers | |
Variables | |
| static McciBootloader_LED_Annunciator_t | annunciator |
| #define FUNCTION "McciBootloader_LED_annunciatorInit" |
Definition at line 69 of file mccibootloader_led_annunciator.c.
| #define FUNCTION "McciBootloader_LED_annunciatorIndicateState" |
Definition at line 69 of file mccibootloader_led_annunciator.c.
| void McciBootloader_LED_annunciatorIndicateState | ( | McciBootloaderState_t | state | ) |
Definition at line 117 of file mccibootloader_led_annunciator.c.
References annunciator.
Referenced by McciBootloaderBoard_Catena1sj_annunciatorIndicateState().
| void McciBootloader_LED_annunciatorInit | ( | void | ) |
Definition at line 72 of file mccibootloader_led_annunciator.c.
References annunciator, and McciBootloader_LED_Annunciator_stIdle.
Referenced by McciBootloaderBoard_Catena1sj_annunciatorInit(), and McciBootloaderBoard_Catena1sj_fail().
| bool McciBootloader_LED_handleSysTick | ( | void | ) |
Definition at line 170 of file mccibootloader_led_annunciator.c.
References annunciator, McciBootloader_LED_Annunciator_stBitGap, McciBootloader_LED_Annunciator_stByteGap, McciBootloader_LED_Annunciator_stIdle, McciBootloader_LED_Annunciator_stInitial, McciBootloader_LED_Annunciator_stLedOn, McciBootloader_LED_Annunciator_stNoChange, and nextBit().
Referenced by McciBootloaderBoard_Catena1sj_annunciatorHandleSysTick().
|
static |
process the next bit from the current word, and set timers
true if the there was a next bit to process, otherwise false ::timer is set to go off in either 1 or 3 bit times, depending on whether the next bit is a 1 or a 0.
If this routine returns true, the caller should light the LED, which should not be on. Otherwise, leave the LED off.
Definition at line 157 of file mccibootloader_led_annunciator.c.
References annunciator.
Referenced by McciBootloader_LED_handleSysTick().
|
static |
Definition at line 42 of file mccibootloader_led_annunciator.c.
Referenced by McciBootloader_LED_annunciatorIndicateState(), McciBootloader_LED_annunciatorInit(), McciBootloader_LED_handleSysTick(), and nextBit().