32typedef struct Stm32h7b3iDk_Annunciator_s Stm32h7b3iDk_Annunciator_t;
44struct Stm32h7b3iDk_Annunciator_s
77 McciArm_setPRIMASK(0);
89 uint32_t display = ((uint32_t)state << 1) | 1;
92 for (nBits = 31; nBits > 2; --nBits)
94 if (display & (UINT32_C(1) << nBits))
100 if (((display + 1) & display) == 0)
103 annunciator.display = (uint32_t)display << (31 - nBits);
112 bool fNextBit = !!(
annunciator.value & UINT32_C(0x80000000));
void McciBootloaderBoard_Stm32h7b3iDk_setLed(void)
McciBootloaderPlatform_AnnunciatorIndicateStateFn_t McciBootloaderBoard_Stm32h7b3iDk_annunciatorIndicateState
void McciBootloaderBoard_Stm32h7b3iDk_clearLed(void)
uint32_t McciBootloaderState_t
Current boot system state.
static bool nextBit(void)
void McciBootloaderBoard_Stm32h7b3iDk_annunciatorInit(void)
static Stm32h7b3iDk_Annunciator_t annunciator
@ stByteGap
displaying byte gap
@ stNoChange
internal: don't change state.
@ stBitGap
displaying bit gap
@ stInitial
not initialized
void McciBootloaderBoard_Stm32h7b3iDk_handleSysTick(void)