Classes | Functions | Variables
crtpBootloader.h File Reference
#include <cstdint>
Include dependency graph for crtpBootloader.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  bootloader
struct  bootloaderFlashStatusRequest
struct  bootloaderFlashStatusResponse
struct  bootloaderGetInfoRequest
struct  bootloaderGetInfoResponse
struct  bootloaderLoadBufferRequest
struct  bootloaderReadBufferRequest
struct  bootloaderReadBufferResponse
struct  bootloaderReadFlashRequest
struct  bootloaderReadFlashResponse
struct  bootloaderResetRequest
struct  bootloaderWriteFlashRequest
struct  bootloaderWriteFlashResponse

Functions

struct bootloader __attribute__ ((packed))
constexpr bootloader (uint8_t target, uint8_t cmd)
 bootloaderFlashStatusRequest (uint8_t target)
 bootloaderGetInfoRequest (uint8_t target)
 bootloaderLoadBufferRequest (uint8_t target, uint16_t page, uint16_t address)
 bootloaderReadBufferRequest (uint8_t target, uint16_t page, uint16_t address)
 bootloaderReadFlashRequest (uint8_t target, uint16_t page, uint16_t address)
 bootloaderResetRequest (uint8_t bootToFirmware)
 bootloaderWriteFlashRequest (uint8_t target, uint16_t bufferPage, uint16_t flashPage, uint16_t nPages)

Variables

uint16_t address
uint8_t bootToFirmware
uint16_t bufferPage
uint8_t cmd
uint8_t data [25]
uint8_t done
uint8_t error
uint16_t flashPage
uint16_t flashStart
uint8_t header
uint16_t nBuffPage
uint16_t nFlashPage
uint16_t nPages
uint16_t page
uint16_t pageSize
bootloaderGetInfoRequest request
uint8_t reserved [12]
uint8_t target
uint8_t version

Function Documentation

struct bootloader __attribute__ ( (packed)  )
constexpr __attribute__::bootloader ( uint8_t  target,
uint8_t  cmd 
)

Definition at line 20 of file crtpBootloader.h.

Definition at line 132 of file crtpBootloader.h.

Definition at line 32 of file crtpBootloader.h.

__attribute__::bootloaderLoadBufferRequest ( uint8_t  target,
uint16_t  page,
uint16_t  address 
)

Definition at line 65 of file crtpBootloader.h.

__attribute__::bootloaderReadBufferRequest ( uint8_t  target,
uint16_t  page,
uint16_t  address 
)

Definition at line 84 of file crtpBootloader.h.

__attribute__::bootloaderReadFlashRequest ( uint8_t  target,
uint16_t  page,
uint16_t  address 
)

Definition at line 158 of file crtpBootloader.h.

__attribute__::bootloaderResetRequest ( uint8_t  bootToFirmware)

Definition at line 179 of file crtpBootloader.h.

__attribute__::bootloaderWriteFlashRequest ( uint8_t  target,
uint16_t  bufferPage,
uint16_t  flashPage,
uint16_t  nPages 
)

Definition at line 112 of file crtpBootloader.h.


Variable Documentation

uint16_t address

Definition at line 77 of file crtpBootloader.h.

uint8_t bootToFirmware

Definition at line 187 of file crtpBootloader.h.

uint16_t bufferPage

Definition at line 125 of file crtpBootloader.h.

uint8_t cmd

Definition at line 31 of file crtpBootloader.h.

uint8_t data[25]

Definition at line 78 of file crtpBootloader.h.

uint8_t done

Definition at line 120 of file crtpBootloader.h.

uint8_t error

Definition at line 121 of file crtpBootloader.h.

uint16_t flashPage

Definition at line 126 of file crtpBootloader.h.

uint16_t flashStart

Definition at line 47 of file crtpBootloader.h.

Definition at line 29 of file crtpBootloader.h.

uint16_t nBuffPage

Definition at line 45 of file crtpBootloader.h.

uint16_t nFlashPage

Definition at line 46 of file crtpBootloader.h.

uint16_t nPages

Definition at line 127 of file crtpBootloader.h.

uint16_t page

Definition at line 76 of file crtpBootloader.h.

uint16_t pageSize

Definition at line 44 of file crtpBootloader.h.

Definition at line 43 of file crtpBootloader.h.

uint8_t reserved[12]

Definition at line 48 of file crtpBootloader.h.

uint8_t target

Definition at line 30 of file crtpBootloader.h.

uint8_t version

Definition at line 49 of file crtpBootloader.h.



crazyflie_cpp
Author(s): Wolfgang Hoenig
autogenerated on Wed Jun 12 2019 19:20:44