![]() |
Serial Wombat 18AB Firmware
|
Classes | |
struct | queueByte_t |
Macros | |
#define | QUEUE_MARKER_QUEUE_BYTE 0x3D7C |
#define | QUEUE_MARKER_QUEUE_SHIFT 0xF314 |
#define | QUEUE_FULL_INDEX 0xFFFF |
Functions | |
SW_QUEUE_RESULT_t | QueueByteInitialize (uint16_t address, uint16_t capacity) |
SW_QUEUE_RESULT_t | QueueByteShiftInitialize (uint16_t address, uint16_t capacity) |
SW_QUEUE_RESULT_t | QueueGetBytesFilledInQueue (uint16_t address, uint16_t *bytesInQueue) |
SW_QUEUE_RESULT_t | QueueGetBytesFreeInQueue (uint16_t address, uint16_t *bytesFreeInQueue) |
SW_QUEUE_RESULT_t | QueueAddByte (uint16_t address, uint8_t data) |
SW_QUEUE_RESULT_t | QueueReadByte (uint16_t address, uint8_t *data) |
SW_QUEUE_RESULT_t | QueuePeekByte (uint16_t address, uint8_t *data) |
SW_QUEUE_RESULT_t | QueueCopy (uint16_t dstAddress, uint16_t srcAddress) |
Variables | |
uint16_t | QueueOverflowCounter = 0 |
uint16_t | QueueUnderflowCounter = 0 |
#define QUEUE_FULL_INDEX 0xFFFF |
#define QUEUE_MARKER_QUEUE_BYTE 0x3D7C |
#define QUEUE_MARKER_QUEUE_SHIFT 0xF314 |
SW_QUEUE_RESULT_t QueueAddByte | ( | uint16_t | address, |
uint8_t | data | ||
) |
SW_QUEUE_RESULT_t QueueByteInitialize | ( | uint16_t | address, |
uint16_t | capacity | ||
) |
SW_QUEUE_RESULT_t QueueByteShiftInitialize | ( | uint16_t | address, |
uint16_t | capacity | ||
) |
SW_QUEUE_RESULT_t QueueCopy | ( | uint16_t | dstAddress, |
uint16_t | srcAddress | ||
) |
SW_QUEUE_RESULT_t QueueGetBytesFilledInQueue | ( | uint16_t | address, |
uint16_t * | bytesInQueue | ||
) |
SW_QUEUE_RESULT_t QueueGetBytesFreeInQueue | ( | uint16_t | address, |
uint16_t * | bytesFreeInQueue | ||
) |
SW_QUEUE_RESULT_t QueuePeekByte | ( | uint16_t | address, |
uint8_t * | data | ||
) |
SW_QUEUE_RESULT_t QueueReadByte | ( | uint16_t | address, |
uint8_t * | data | ||
) |
uint16_t QueueOverflowCounter = 0 |
uint16_t QueueUnderflowCounter = 0 |