![]() |
LPCOpen Platform
LPCOpen Platform for NXP LPC Microcontrollers
|
Go to the source code of this file.
Functions | |
uint8_t | Pipe_Discard_Stream (const uint8_t corenum, uint16_t Length, uint16_t *const BytesProcessed) |
Reads and discards the given number of bytes from the pipe, discarding fully read packets from the host as needed. The last packet is not automatically discarded once the remaining bytes has been read; the user is responsible for manually discarding the last packet from the device via the Pipe_ClearIN() macro. | |
uint8_t | Pipe_Null_Stream (const uint8_t corenum, uint16_t Length, uint16_t *const BytesProcessed) |
Writes a given number of zeroed bytes to the pipe, sending full pipe packets from the host to the device as needed. The last packet is not automatically sent once the remaining bytes has been written; the user is responsible for manually discarding the last packet from the device via the Pipe_ClearOUT() macro. | |
uint8_t | Pipe_Write_Stream_LE (const uint8_t corenum, const void *const Buffer, uint16_t Length, uint16_t *const BytesProcessed) |
Writes the given number of bytes to the pipe from the given buffer in little endian, sending full packets to the device as needed. The last packet filled is not automatically sent; the user is responsible for manually sending the last written packet to the host via the Pipe_ClearOUT() macro. Between each USB packet, the given stream callback function is executed repeatedly until the next packet is ready, allowing for early aborts of stream transfers. | |
uint8_t | Pipe_Read_Stream_LE (const uint8_t corenum, void *const Buffer, uint16_t Length, uint16_t *const BytesProcessed) |
Reads the given number of bytes from the pipe into the given buffer in little endian, sending full packets to the device as needed. The last packet filled is not automatically sent; the user is responsible for manually sending the last written packet to the host via the Pipe_ClearIN() macro. Between each USB packet, the given stream callback function is executed repeatedly until the next packet is ready, allowing for early aborts of stream transfers. | |
uint8_t | Pipe_Write_Stream_BE (const void *const Buffer, uint16_t Length, uint16_t *const BytesProcessed) |
Writes the given number of bytes to the pipe from the given buffer in big endian, sending full packets to the device as needed. The last packet filled is not automatically sent; the user is responsible for manually sending the last written packet to the host via the Pipe_ClearOUT() macro. Between each USB packet, the given stream callback function is executed repeatedly until the next packet is ready, allowing for early aborts of stream transfers. | |
uint8_t | Pipe_Read_Stream_BE (void *const Buffer, uint16_t Length, uint16_t *const BytesProcessed) |
Reads the given number of bytes from the pipe into the given buffer in big endian, sending full packets to the device as needed. The last packet filled is not automatically sent; the user is responsible for manually sending the last written packet to the host via the Pipe_ClearIN() macro. Between each USB packet, the given stream callback function is executed repeatedly until the next packet is ready, allowing for early aborts of stream transfers. | |
uint8_t | Pipe_Write_PStream_LE (const void *const Buffer, uint16_t Length, uint16_t *const BytesProcessed) |
Pipe Write FLASH Stream Little Endian. | |
uint8_t | Pipe_Write_PStream_BE (const void *const Buffer, uint16_t Length, uint16_t *const BytesProcessed) |
Pipe Write FLASH Stream Big Endian. | |
uint8_t | Pipe_Write_EStream_LE (const void *const Buffer, uint16_t Length, uint16_t *const BytesProcessed) |
Pipe Write EEPROM Stream Little Endian. | |
uint8_t | Pipe_Write_EStream_BE (const void *const Buffer, uint16_t Length, uint16_t *const BytesProcessed) |
Pipe Write EEPROM Stream Big Endian. | |
uint8_t | Pipe_Read_EStream_LE (void *const Buffer, uint16_t Length, uint16_t *const BytesProcessed) |
Pipe Read EEPROM Stream Little Endian. | |
uint8_t | Pipe_Read_EStream_BE (void *const Buffer, uint16_t Length, uint16_t *const BytesProcessed) |
Pipe Read EEPROM Stream Big Endian. | |