OLE Developer Guide  Latest Git
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
bootloader.h File Reference

Detailed Description

The DFU bootloader.

Include dependency graph for bootloader.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  Bootloader_LED
 Specifies an LED to flash during bootloader mode. More...
 
struct  Bootloader_LEDs
 The array of LEDs to flash when we're in bootloader mode. More...
 

Functions

void Bootloader_Initialize ()
 Initialize the boot loader.
 
void Bootloader_Tasks ()
 The bootloader event loop.
 
bool Bootloader_USBActive ()
 Check if USB is active & configured. More...
 
DFUState Bootloader_GetState ()
 Fetch the DFU state of the bootloader. More...
 
DFUStatus Bootloader_GetStatus ()
 Fetch the DFU status of the bootloader. More...
 

Function Documentation

DFUState Bootloader_GetState ( )

Fetch the DFU state of the bootloader.

Returns
The DFU state.
DFUStatus Bootloader_GetStatus ( )

Fetch the DFU status of the bootloader.

Returns
The DFU Status.
bool Bootloader_USBActive ( )

Check if USB is active & configured.

Returns
true if USB is active & configured.