pixi 2.0.0.0
|
Functions | |
void | pixi_cfg_setup (pixi_cfg_t *cfg) |
Config Object Initialization function. | |
PIXI_RETVAL | pixi_init (pixi_t *ctx, pixi_cfg_t *cfg) |
Initialization function. | |
void | pixi_default_cfg (pixi_t *ctx) |
Click Default Configuration function. | |
uint8_t | pixi_write_reg (pixi_t *ctx, const uint8_t reg_addr, uint32_t reg_data) |
Write register function. | |
uint8_t | pixi_read_reg (pixi_t *ctx, const uint8_t reg_addr, uint32_t *reg_data) |
Read register function. | |
void pixi_cfg_setup | ( | pixi_cfg_t * | cfg | ) |
Config Object Initialization function.
cfg | Click configuration structure. |
@description This function initializes click configuration structure to init state.
void pixi_default_cfg | ( | pixi_t * | ctx | ) |
Click Default Configuration function.
ctx | Click object. |
@description This function executes default configuration for Pixi click.
PIXI_RETVAL pixi_init | ( | pixi_t * | ctx, |
pixi_cfg_t * | cfg ) |
Initialization function.
pixi | Click object. |
cfg | Click configuration structure. |
@description This function initializes all necessary pins and peripherals used for this click.
uint8_t pixi_read_reg | ( | pixi_t * | ctx, |
const uint8_t | reg_addr, | ||
uint32_t * | reg_data ) |
Read register function.
ctx | Click object. |
reg_addr | Register address. |
reg_data | Read buffer. |
@description This function reads data from the click module.
uint8_t pixi_write_reg | ( | pixi_t * | ctx, |
const uint8_t | reg_addr, | ||
uint32_t | reg_data ) |
Write register function.
ctx | Click object. |
reg_addr | Register address. |
reg_data | Write data. |
@description This function writes data to the click module.