22#ifndef _mcci_bootloader_led_annunciator_h_
23#define _mcci_bootloader_led_annunciator_h_
27#ifndef _mcci_bootloader_types_h_
void McciBootloader_LED_annunciatorIndicateState(McciBootloaderState_t state)
void McciBootloader_LED_annunciatorInit(void)
McciBootloader_LED_AnnunciatorBitState_t
The states of the Bootloader LED finite state machine.
@ McciBootloader_LED_Annunciator_stNoChange
internal: don't change state.
@ McciBootloader_LED_Annunciator_stByteGap
displaying byte gap
@ McciBootloader_LED_Annunciator_stInitial
not initialized
@ McciBootloader_LED_Annunciator_stLedOn
light is on
@ McciBootloader_LED_Annunciator_stBitGap
displaying bit gap
@ McciBootloader_LED_Annunciator_stIdle
not displaying
bool McciBootloader_LED_handleSysTick(void)
uint32_t McciBootloaderState_t
Current boot system state.
The bootloader LED annunciator state object.
uint32_t value
bit pattern being displayed.
uint32_t timer
tick count at which next thing should happen.
uint32_t tick
incremented every systick
uint32_t display
Mask of pattern to be displayed on the LED.
uint32_t bittime
number of systicks per bit.
McciBootloader_LED_AnnunciatorBitState_t bitState
current state of the LED FSM.