MCCI Trusted Bootloader
Simple trusted bootloader and tools for small embedded systems
mccibootloader_led_annunciator.c File Reference

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
 

Macro Definition Documentation

◆ FUNCTION [1/2]

#define FUNCTION   "McciBootloader_LED_annunciatorInit"

Definition at line 69 of file mccibootloader_led_annunciator.c.

◆ FUNCTION [2/2]

#define FUNCTION   "McciBootloader_LED_annunciatorIndicateState"

Definition at line 69 of file mccibootloader_led_annunciator.c.

Function Documentation

◆ McciBootloader_LED_annunciatorIndicateState()

void McciBootloader_LED_annunciatorIndicateState ( McciBootloaderState_t  state)

◆ McciBootloader_LED_annunciatorInit()

void McciBootloader_LED_annunciatorInit ( void  )

◆ McciBootloader_LED_handleSysTick()

◆ nextBit()

static bool nextBit ( void  )
static

process the next bit from the current word, and set timers

Returns
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().

Variable Documentation

◆ annunciator

McciBootloader_LED_Annunciator_t annunciator
static