R1 code for micro:bit based train controller code, requires second micro:bit running rx code to operate - see https://meanderingpi.wordpress.com/ for more information
Fork of nrf51-sdk by
dfu_types.h File Reference
Go to the source code of this file.
Data Structures | |
struct | dfu_start_packet_t |
Structure holding a start packet containing update mode and image sizes. More... | |
struct | dfu_data_packet_t |
Structure holding a bootloader init/data packet received. More... | |
struct | dfu_update_packet_t |
Structure for holding dfu update packet. More... | |
struct | dfu_update_status_t |
Structure holding DFU complete event. More... | |
Typedefs | |
typedef void(* | dfu_complete_handler_t )(dfu_update_status_t dfu_update_status) |
Update complete handler type. | |
Enumerations | |
enum | dfu_update_status_code_t { DFU_UPDATE_APP_COMPLETE, DFU_UPDATE_SD_COMPLETE, DFU_UPDATE_SD_SWAPPED, DFU_UPDATE_BOOT_COMPLETE, DFU_BANK_0_ERASED, DFU_TIMEOUT, DFU_RESET } |
DFU status error codes. More... |
Detailed Description
Definition in file dfu_types.h.
Generated on Tue Jul 12 2022 19:00:12 by 1.7.2