LibJuno 0.23.0
LibJuno is a lightweight C99 library designed specifically for embedded systems.
|
#include <async_io_api.h>
Data Fields | |
JUNO_STATUS_T(* | Read )(JUNO_ASYNC_IO_T *ptIo, char *pcBuff, size_t zBuffSize) |
Read the specified number of bytes from the IO. | |
JUNO_STATUS_T(* | TryRead )(JUNO_ASYNC_IO_T *ptIo, char *pcBuff, size_t zBuffSize, JUNO_TIME_MICROS_T iTimeoutUs) |
Try to read from the IO until timeout expires. | |
JUNO_STATUS_T(* | ReadUntil )(JUNO_ASYNC_IO_T *ptIo, char *pcBuff, size_t zBuffSize, const char *pcStopChars, size_t zSizeStopChars) |
Read from the IO until the set of characters is recieved. | |
JUNO_STATUS_T(* | TryReadUntil )(JUNO_ASYNC_IO_T *ptIo, char *pcBuff, size_t zBuffSize, const char *pcStopChars, size_t zSizeStopChars, JUNO_TIME_MICROS_T iTimeoutUs) |
Try to read from the IO until the set of characters is recieved. | |
JUNO_STATUS_T(* | Write )(JUNO_ASYNC_IO_T *ptIo, const void *pvBuff, size_t zBuffSize) |
Write the specified number of bytes to the IO. | |
JUNO_STATUS_T(* | TryWrite )(JUNO_ASYNC_IO_T *ptIo, const void *pvBuff, size_t zBuffSize, JUNO_TIME_MICROS_T iTimeoutUs) |
Try to write the specified number of bytes to the IO. | |
JUNO_STATUS_T(* | Poll )(JUNO_ASYNC_IO_T *ptIo, JUNO_TIME_MICROS_T iTimeoutUs, bool *pbHasData) |
Poll the IO. | |
JUNO_STATUS_T(* JUNO_ASYNC_IO_API_TAG::Poll) (JUNO_ASYNC_IO_T *ptIo, JUNO_TIME_MICROS_T iTimeoutUs, bool *pbHasData) |
Poll the IO.
JUNO_STATUS_T(* JUNO_ASYNC_IO_API_TAG::Read) (JUNO_ASYNC_IO_T *ptIo, char *pcBuff, size_t zBuffSize) |
Read the specified number of bytes from the IO.
JUNO_STATUS_T(* JUNO_ASYNC_IO_API_TAG::ReadUntil) (JUNO_ASYNC_IO_T *ptIo, char *pcBuff, size_t zBuffSize, const char *pcStopChars, size_t zSizeStopChars) |
Read from the IO until the set of characters is recieved.
JUNO_STATUS_T(* JUNO_ASYNC_IO_API_TAG::TryRead) (JUNO_ASYNC_IO_T *ptIo, char *pcBuff, size_t zBuffSize, JUNO_TIME_MICROS_T iTimeoutUs) |
Try to read from the IO until timeout expires.
JUNO_STATUS_T(* JUNO_ASYNC_IO_API_TAG::TryReadUntil) (JUNO_ASYNC_IO_T *ptIo, char *pcBuff, size_t zBuffSize, const char *pcStopChars, size_t zSizeStopChars, JUNO_TIME_MICROS_T iTimeoutUs) |
Try to read from the IO until the set of characters is recieved.
JUNO_STATUS_T(* JUNO_ASYNC_IO_API_TAG::TryWrite) (JUNO_ASYNC_IO_T *ptIo, const void *pvBuff, size_t zBuffSize, JUNO_TIME_MICROS_T iTimeoutUs) |
Try to write the specified number of bytes to the IO.
JUNO_STATUS_T(* JUNO_ASYNC_IO_API_TAG::Write) (JUNO_ASYNC_IO_T *ptIo, const void *pvBuff, size_t zBuffSize) |
Write the specified number of bytes to the IO.