usbuart3 2.0.0.0
|
Functions | |
void | usbuart3_cfg_setup (usbuart3_cfg_t *cfg) |
Config Object Initialization function. | |
USBUART3_RETVAL | usbuart3_init (usbuart3_t *ctx, usbuart3_cfg_t *cfg) |
Initialization function. | |
void | usbuart3_generic_write (usbuart3_t *ctx, char *data_buf, uint16_t len) |
Generic write function. | |
int32_t | usbuart3_generic_read (usbuart3_t *ctx, char *data_buf, uint16_t max_len) |
Generic read function. | |
void | usbuart3_reset (usbuart3_t *ctx) |
Function for reset. | |
uint8_t | usbuart3_get_sus (usbuart3_t *ctx) |
Get USB suspend pin. | |
void usbuart3_cfg_setup | ( | usbuart3_cfg_t * | cfg | ) |
Config Object Initialization function.
cfg | Click configuration structure. |
@description This function initializes click configuration structure to init state.
int32_t usbuart3_generic_read | ( | usbuart3_t * | ctx, |
char * | data_buf, | ||
uint16_t | max_len ) |
Generic read function.
ctx | Click object. |
data_buf | Data buffer for read data. |
max_len | The maximum length of data that can be read. |
void usbuart3_generic_write | ( | usbuart3_t * | ctx, |
char * | data_buf, | ||
uint16_t | len ) |
Generic write function.
ctx | Click object. |
data_buf | Data buffer for sends. |
len | Number of bytes for sends. |
uint8_t usbuart3_get_sus | ( | usbuart3_t * | ctx | ) |
Get USB suspend pin.
ctx | Click object. |
USBUART3_RETVAL usbuart3_init | ( | usbuart3_t * | ctx, |
usbuart3_cfg_t * | cfg ) |
Initialization function.
ctx | Click object. |
cfg | Click configuration structure. |
@description This function initializes all necessary pins and peripherals used for this click.
void usbuart3_reset | ( | usbuart3_t * | ctx | ) |
Function for reset.
ctx | Click object. |
@description This function is reset