GPIO#
Bootloader GPIO definitions.
See bootloader-gpio.h for source code.
State Indicator Macros#
The bootloader indicates which state it is in by calling these // macros. Map them to the ::halBootloadStateIndicator function // (in bootloder-gpio.c) if you want to display that bootloader state. // Used to blink the LED's or otherwise signal bootloader activity.
Finished init sequence, ready for bootload.
Called right before bootloader resets to application. Use to cleanup and reset GPIO's to leave node in known state for app start, if necessary.
Standalone bootloader polling serial/radio interface.
Processing download image.
Download process was a success.
Download process failed.
Enumerations#
Defines various bootloader states. Use in LED code to signal bootload activity.
Functions#
Initialize GPIO.
Helper function used for displaying bootloader state (for example: with LEDs).
Force activation of bootloader.
State Indicator Macros Documentation#
BL_STATE_UP#
#define BL_STATE_UPValue:
()
Finished init sequence, ready for bootload.
39
of file /Users/vihuszar/Git/EmbeddedSoftware/super/platform/base/hal/micro/cortexm3/common/bootloader-gpio.h
BL_STATE_DOWN#
#define BL_STATE_DOWNValue:
()
Called right before bootloader resets to application. Use to cleanup and reset GPIO's to leave node in known state for app start, if necessary.
45
of file /Users/vihuszar/Git/EmbeddedSoftware/super/platform/base/hal/micro/cortexm3/common/bootloader-gpio.h
BL_STATE_POLLING_LOOP#
#define BL_STATE_POLLING_LOOPValue:
()
Standalone bootloader polling serial/radio interface.
49
of file /Users/vihuszar/Git/EmbeddedSoftware/super/platform/base/hal/micro/cortexm3/common/bootloader-gpio.h
BL_STATE_DOWNLOAD_LOOP#
#define BL_STATE_DOWNLOAD_LOOPValue:
()
Processing download image.
53
of file /Users/vihuszar/Git/EmbeddedSoftware/super/platform/base/hal/micro/cortexm3/common/bootloader-gpio.h
BL_STATE_DOWNLOAD_SUCCESS#
#define BL_STATE_DOWNLOAD_SUCCESSValue:
()
Download process was a success.
57
of file /Users/vihuszar/Git/EmbeddedSoftware/super/platform/base/hal/micro/cortexm3/common/bootloader-gpio.h
BL_STATE_DOWNLOAD_FAILURE#
#define BL_STATE_DOWNLOAD_FAILUREValue:
()
Download process failed.
61
of file /Users/vihuszar/Git/EmbeddedSoftware/super/platform/base/hal/micro/cortexm3/common/bootloader-gpio.h
Enumeration Documentation#
blState_e#
blState_e
Defines various bootloader states. Use in LED code to signal bootload activity.
Enumerator | |
---|---|
BL_ST_UP | bootloader up |
BL_ST_DOWN | bootloader going down |
BL_ST_POLLING_LOOP | polling interfaces |
BL_ST_DOWNLOAD_LOOP | downloading |
BL_ST_DOWNLOAD_FAILURE | download failure |
BL_ST_DOWNLOAD_SUCCESS | download success |
68
of file /Users/vihuszar/Git/EmbeddedSoftware/super/platform/base/hal/micro/cortexm3/common/bootloader-gpio.h
Function Documentation#
bootloadGpioInit#
void bootloadGpioInit (void )
Initialize GPIO.
N/A |
90
of file /Users/vihuszar/Git/EmbeddedSoftware/super/platform/base/hal/micro/cortexm3/common/bootloader-gpio.h
bootloadStateIndicator#
void bootloadStateIndicator (enum blState_e state)
Helper function used for displaying bootloader state (for example: with LEDs).
N/A | state |
95
of file /Users/vihuszar/Git/EmbeddedSoftware/super/platform/base/hal/micro/cortexm3/common/bootloader-gpio.h
bootloadForceActivation#
bool bootloadForceActivation (void )
Force activation of bootloader.
N/A |
99
of file /Users/vihuszar/Git/EmbeddedSoftware/super/platform/base/hal/micro/cortexm3/common/bootloader-gpio.h