ata663254 2.0.0.0
ata663254.h File Reference

This file contains API for ATA663254 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  ata663254_t
 Click ctx object definition. More...
 
struct  ata663254_cfg_t
 Click configuration structure definition. More...
 

Macros

#define ATA663254_MAP_MIKROBUS(cfg, mikrobus)
 
#define ATA663254_RETVAL   uint8_t
 
#define ATA663254_OK   0x00
 
#define ATA663254_INIT_ERROR   0xFF
 
#define DRV_RX_BUFFER_SIZE   500
 

Functions

void ata663254_cfg_setup (ata663254_cfg_t *cfg)
 Config Object Initialization function.
 
ATA663254_RETVAL ata663254_init (ata663254_t *ctx, ata663254_cfg_t *cfg)
 Initialization function.
 
void ata663254_generic_write (ata663254_t *ctx, char *data_buf, uint16_t len)
 Generic multi write function.
 
int32_t ata663254_generic_read (ata663254_t *ctx, char *data_buf, uint16_t len)
 Generic multi read function.
 
void ata663254_enable (ata663254_t *ctx, uint8_t state)
 Chip enable function.
 
uint8_t ata663254_get_rst_state (ata663254_t *ctx)
 Undervoltage detect function.
 

Detailed Description

This file contains API for ATA663254 Click driver.