rs4853 2.0.0.0
Public function

Functions

void rs4853_cfg_setup (rs4853_cfg_t *cfg)
 Config Object Initialization function.
 
RS4853_RETVAL rs4853_init (rs4853_t *ctx, rs4853_cfg_t *cfg)
 Initialization function.
 
void rs4853_generic_write (rs4853_t *ctx, char *data_buf, uint16_t len)
 Generic write function.
 
int32_t rs4853_generic_read (rs4853_t *ctx, char *data_buf, uint16_t max_len)
 Generic read function.
 

Detailed Description

Function Documentation

◆ rs4853_cfg_setup()

void rs4853_cfg_setup ( rs4853_cfg_t * cfg)

Config Object Initialization function.

Parameters
cfgClick configuration structure.

@description This function initializes click configuration structure to init state.

Note
All used pins will be set to unconnected state.

◆ rs4853_generic_read()

int32_t rs4853_generic_read ( rs4853_t * ctx,
char * data_buf,
uint16_t max_len )

Generic read function.

Parameters
rs4853Click object.
data_bufData buffer for read data.
max_lenThe maximum length of data that can be read.
Returns
Number of reads data.

◆ rs4853_generic_write()

void rs4853_generic_write ( rs4853_t * ctx,
char * data_buf,
uint16_t len )

Generic write function.

Parameters
rs4853Click object.
data_bufData buffer for sends.
lenNumber of bytes for sends.

◆ rs4853_init()

RS4853_RETVAL rs4853_init ( rs4853_t * ctx,
rs4853_cfg_t * cfg )

Initialization function.

Parameters
rs4853Click object.
cfgClick configuration structure.

@description This function initializes all necessary pins and peripherals used for this click.