#include <cstdint>
Go to the source code of this file.
Classes | |
struct | crtpNrf51AllOffRequest |
struct | crtpNrf51GetVBatRequest |
struct | crtpNrf51GetVBatResponse |
struct | crtpNrf51Header |
struct | crtpNrf51ResetInitRequest |
struct | crtpNrf51ResetInitResponse |
struct | crtpNrf51ResetRequest |
struct | crtpNrf51SetSafelinkRequest |
struct | crtpNrf51SysOffRequest |
struct | crtpNrf51SysOnRequest |
Functions | |
struct crtpNrf51Header | __attribute__ ((packed)) |
crtpNrf51AllOffRequest () | |
crtpNrf51GetVBatRequest () | |
constexpr | crtpNrf51Header (uint8_t target, uint8_t cmd) |
crtpNrf51ResetInitRequest () | |
crtpNrf51ResetRequest (uint8_t bootToFirmware) | |
crtpNrf51SetSafelinkRequest (uint8_t hasSafelink) | |
crtpNrf51SysOffRequest () | |
crtpNrf51SysOnRequest () | |
Variables | |
uint8_t | addr [6] |
uint8_t | bootToFirmware |
uint8_t | cmd |
uint8_t | hasSafelink |
uint8_t | header |
const uint8_t | header1 = 0xFF |
const uint8_t | header2 = 0x05 |
crtpNrf51ResetInitRequest | request |
uint8_t | target |
float | vbat |
struct crtpNrf51Header __attribute__ | ( | (packed) | ) |
Definition at line 67 of file crtpNRF51.h.
Definition at line 109 of file crtpNRF51.h.
constexpr __attribute__::crtpNrf51Header | ( | uint8_t | target, |
uint8_t | cmd | ||
) |
Definition at line 20 of file crtpNRF51.h.
Definition at line 32 of file crtpNRF51.h.
__attribute__::crtpNrf51ResetRequest | ( | uint8_t | bootToFirmware | ) |
Definition at line 53 of file crtpNRF51.h.
__attribute__::crtpNrf51SetSafelinkRequest | ( | uint8_t | hasSafelink | ) |
Definition at line 132 of file crtpNRF51.h.
Definition at line 81 of file crtpNRF51.h.
Definition at line 95 of file crtpNRF51.h.
uint8_t addr[6] |
Definition at line 39 of file crtpNRF51.h.
uint8_t bootToFirmware |
Definition at line 61 of file crtpNRF51.h.
uint8_t cmd |
Definition at line 31 of file crtpNRF51.h.
uint8_t hasSafelink |
Definition at line 140 of file crtpNRF51.h.
Definition at line 29 of file crtpNRF51.h.
const uint8_t header1 = 0xFF |
Definition at line 138 of file crtpNRF51.h.
const uint8_t header2 = 0x05 |
Definition at line 139 of file crtpNRF51.h.
Definition at line 38 of file crtpNRF51.h.
uint8_t target |
Definition at line 30 of file crtpNRF51.h.
float vbat |
Definition at line 116 of file crtpNRF51.h.