Detailed Description
Functions, macros, variables, enums and types related to data reading and writing of primitive data types from and to endpoints.
Function Documentation
static void Endpoint_Discard_Byte |
( |
void |
) |
[inline, static] |
Discards one byte from the currently selected endpoint's bank, for OUT direction endpoints.
static void Endpoint_Discard_DWord |
( |
void |
) |
[inline, static] |
Discards four bytes from the currently selected endpoint's bank, for OUT direction endpoints.
static void Endpoint_Discard_Word |
( |
void |
) |
[inline, static] |
Discards two bytes from the currently selected endpoint's bank, for OUT direction endpoints.
static uint8_t Endpoint_Read_Byte |
( |
void |
) |
[inline, static] |
Reads one byte from the currently selected endpoint's bank, for OUT direction endpoints.
- Returns:
- Next byte in the currently selected endpoint's FIFO buffer.
static uint32_t Endpoint_Read_DWord_BE |
( |
void |
) |
[inline, static] |
Reads four bytes from the currently selected endpoint's bank in big endian format, for OUT direction endpoints.
- Returns:
- Next double word in the currently selected endpoint's FIFO buffer.
static uint32_t Endpoint_Read_DWord_LE |
( |
void |
) |
[inline, static] |
Reads four bytes from the currently selected endpoint's bank in little endian format, for OUT direction endpoints.
- Returns:
- Next double word in the currently selected endpoint's FIFO buffer.
static uint16_t Endpoint_Read_Word_BE |
( |
void |
) |
[inline, static] |
Reads two bytes from the currently selected endpoint's bank in big endian format, for OUT direction endpoints.
- Returns:
- Next word in the currently selected endpoint's FIFO buffer.
static uint16_t Endpoint_Read_Word_LE |
( |
void |
) |
[inline, static] |
Reads two bytes from the currently selected endpoint's bank in little endian format, for OUT direction endpoints.
- Returns:
- Next word in the currently selected endpoint's FIFO buffer.
static void Endpoint_Write_Byte |
( |
const uint8_t |
Byte ) |
[inline, static] |
Writes one byte from the currently selected endpoint's bank, for IN direction endpoints.
- Parameters:
-
[in] | Byte | Next byte to write into the the currently selected endpoint's FIFO buffer. |
static void Endpoint_Write_DWord_BE |
( |
const uint32_t |
DWord ) |
[inline, static] |
Writes four bytes to the currently selected endpoint's bank in big endian format, for IN direction endpoints.
- Parameters:
-
[in] | DWord | Next double word to write to the currently selected endpoint's FIFO buffer. |
static void Endpoint_Write_DWord_LE |
( |
const uint32_t |
DWord ) |
[inline, static] |
Writes four bytes to the currently selected endpoint's bank in little endian format, for IN direction endpoints.
- Parameters:
-
[in] | DWord | Next double word to write to the currently selected endpoint's FIFO buffer. |
static void Endpoint_Write_Word_BE |
( |
const uint16_t |
Word ) |
[inline, static] |
Writes two bytes to the currently selected endpoint's bank in big endian format, for IN direction endpoints.
- Parameters:
-
[in] | Word | Next word to write to the currently selected endpoint's FIFO buffer. |
static void Endpoint_Write_Word_LE |
( |
const uint16_t |
Word ) |
[inline, static] |
Writes two bytes to the currently selected endpoint's bank in little endian format, for IN direction endpoints.
- Parameters:
-
[in] | Word | Next word to write to the currently selected endpoint's FIFO buffer. |