iSensor-SPI-Buffer  1.15
Firmware for the iSensor-SPI-Buffer board to enable full throughput buffered data capture on Analog Devices IMUs
dfu.h
Go to the documentation of this file.
1 
11 #ifndef INC_DFU_H_
12 #define INC_DFU_H_
13 
14 /* Header includes require for prototypes */
15 #include <stdint.h>
16 
17 /* Public function prototypes */
18 
19 /* @cond DOXYGEN_IGNORE */
20 void DFU_Check_Flags();
21 void DFU_Prepare_Reboot();
22 /* @endcond */
23 
25 #define ENABLE_DFU_KEY 0xA5A51234
26 
28 #define DFU_FLAG_ADDR (volatile uint32_t *) 0x2000FFFC
29 
30 #endif /* INC_DFU_H_ */
dfu.h
Header file for iSensor-SPI-Buffer runtime firmware upgrade module.
ExecuteDFUBoot
static void ExecuteDFUBoot()
Executes a DFU reboot.
Definition: dfu.c:68
DFU_Prepare_Reboot
void DFU_Prepare_Reboot()
Set DFU reboot flag in RAM and reset system.
Definition: dfu.c:54
DFU_Check_Flags
void DFU_Check_Flags()
Checks if a reboot into the DFU bootloader is needed.
Definition: dfu.c:33
usb.h
Header file for iSensor-SPI-Buffer USB command line register interface.
ENABLE_DFU_KEY
#define ENABLE_DFU_KEY
Definition: dfu.h:25
USB_Reset
void USB_Reset()
Toggle USB PU to force a re-enumeration on the host side.
Definition: usb.c:47
DFU_FLAG_ADDR
#define DFU_FLAG_ADDR
Definition: dfu.h:28