usbuart3  2.0.0.0
Data Structures | Macros | Typedefs | Functions
usbuart3.h File Reference

This file contains API for USB UART 3 Click driver. More...

#include "drv_digital_out.h"
#include "drv_digital_in.h"
#include "drv_uart.h"

Go to the source code of this file.

Data Structures

struct  usbuart3_t
 Click ctx object definition. More...
 
struct  usbuart3_cfg_t
 Click configuration structure definition. More...
 

Macros

#define USBUART3_MAP_MIKROBUS(cfg, mikrobus)
 
#define USBUART3_RETVAL   uint8_t
 
#define USBUART3_OK   0x00
 
#define USBUART3_INIT_ERROR   0xFF
 
#define DRV_RX_BUFFER_SIZE   500
 

Typedefs

typedef uint8_t usbuart3_error_t
 Error type. More...
 

Functions

void usbuart3_cfg_setup (usbuart3_cfg_t *cfg)
 Config Object Initialization function. More...
 
USBUART3_RETVAL usbuart3_init (usbuart3_t *ctx, usbuart3_cfg_t *cfg)
 Initialization function. More...
 
void usbuart3_generic_write (usbuart3_t *ctx, char *data_buf, uint16_t len)
 Generic write function. More...
 
int32_t usbuart3_generic_read (usbuart3_t *ctx, char *data_buf, uint16_t max_len)
 Generic read function. More...
 
void usbuart3_reset (usbuart3_t *ctx)
 Function for reset. More...
 
uint8_t usbuart3_get_susp (usbuart3_t *ctx)
 Set device mode. More...
 

Detailed Description

This file contains API for USB UART 3 Click driver.