ata663211 2.0.0.0
ata663211.h File Reference

This file contains API for ATA663211 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  ata663211_t
 Click ctx object definition. More...
 
struct  ata663211_cfg_t
 Click configuration structure definition. More...
 

Macros

#define ATA663211_MAP_MIKROBUS(cfg, mikrobus)
 
#define ATA663211_OK   0
 
#define ATA663211_ERROR   -1
 
#define ATA663211_TX_DRV_BUFFER_SIZE   100
 
#define ATA663211_RX_DRV_BUFFER_SIZE   300
 

Functions

void ata663211_cfg_setup (ata663211_cfg_t *cfg)
 Config Object Initialization function.
 
err_t ata663211_init (ata663211_t *ctx, ata663211_cfg_t *cfg)
 Initialization function.
 
err_t ata663211_generic_write (ata663211_t *ctx, uint8_t *data_buf, uint16_t len)
 Generic write function.
 
err_t ata663211_generic_read (ata663211_t *ctx, uint8_t *data_buf, uint16_t len)
 Generic read function.
 
void ata663211_wake_up_device (ata663211_t *ctx)
 Wake-up device function.
 
void ata663211_sleep_mode (ata663211_t *ctx)
 Sleep mode function.
 
uint8_t ata663211_check_inh (ata663211_t *ctx)
 Check inhibit pin state function.
 

Detailed Description

This file contains API for ATA663211 Click driver.