NinjaFlight
|
Go to the source code of this file.
Macros | |
#define | TRANSPONDER_BITS_PER_BYTE 10 |
#define | TRANSPONDER_DATA_LENGTH 6 |
#define | TRANSPONDER_TOGGLES_PER_BIT 11 |
#define | TRANSPONDER_GAP_TOGGLES 1 |
#define | TRANSPONDER_TOGGLES (TRANSPONDER_TOGGLES_PER_BIT + TRANSPONDER_GAP_TOGGLES) |
#define | TRANSPONDER_DMA_BUFFER_SIZE ((TRANSPONDER_TOGGLES_PER_BIT + 1) * TRANSPONDER_BITS_PER_BYTE * TRANSPONDER_DATA_LENGTH) |
#define | BIT_TOGGLE_1 78 |
#define | BIT_TOGGLE_0 0 |
Functions | |
void | transponderIrInit (void) |
void | transponderIrDisable (void) |
void | transponderIrHardwareInit (void) |
void | transponderIrDMAEnable (void) |
void | transponderIrWaitForTransmitComplete (void) |
void | transponderIrUpdateData (const uint8_t *transponderData) |
void | transponderIrTransmit (void) |
bool | isTransponderIrReady (void) |
Variables | |
uint8_t | transponderIrDMABuffer [TRANSPONDER_DMA_BUFFER_SIZE] |
volatile uint8_t | transponderIrDataTransferInProgress |
#define BIT_TOGGLE_0 0 |
#define BIT_TOGGLE_1 78 |
#define TRANSPONDER_BITS_PER_BYTE 10 |
#define TRANSPONDER_DATA_LENGTH 6 |
#define TRANSPONDER_DMA_BUFFER_SIZE ((TRANSPONDER_TOGGLES_PER_BIT + 1) * TRANSPONDER_BITS_PER_BYTE * TRANSPONDER_DATA_LENGTH) |
#define TRANSPONDER_GAP_TOGGLES 1 |
#define TRANSPONDER_TOGGLES (TRANSPONDER_TOGGLES_PER_BIT + TRANSPONDER_GAP_TOGGLES) |
#define TRANSPONDER_TOGGLES_PER_BIT 11 |
bool isTransponderIrReady | ( | void | ) |
void transponderIrDisable | ( | void | ) |
void transponderIrDMAEnable | ( | void | ) |
void transponderIrHardwareInit | ( | void | ) |
void transponderIrInit | ( | void | ) |
void transponderIrTransmit | ( | void | ) |
void transponderIrUpdateData | ( | const uint8_t * | transponderData | ) |
void transponderIrWaitForTransmitComplete | ( | void | ) |
volatile uint8_t transponderIrDataTransferInProgress |
uint8_t transponderIrDMABuffer[TRANSPONDER_DMA_BUFFER_SIZE] |