ooktx
2.0.0.0
|
Functions | |
void | ooktx_cfg_setup (ooktx_cfg_t *cfg) |
Config Object Initialization function. More... | |
OOKTX_RETVAL | ooktx_init (ooktx_t *ctx, ooktx_cfg_t *cfg) |
Initialization function. More... | |
void | ooktx_communication_init (ooktx_t *ctx, uint8_t calibration, uint8_t configuration, uint16_t cfg_settings) |
Communication initiation function. More... | |
void | ooktx_communication_stop (ooktx_t *ctx) |
Communication stop function. More... | |
void | ooktx_communication_transmit (ooktx_t *ctx, uint8_t transmit_data) |
Communication transmit function. More... | |
void ooktx_cfg_setup | ( | ooktx_cfg_t * | cfg | ) |
Config Object Initialization function.
cfg | Click configuration structure. |
This function initializes click configuration structure to init state.
void ooktx_communication_init | ( | ooktx_t * | ctx, |
uint8_t | calibration, | ||
uint8_t | configuration, | ||
uint16_t | cfg_settings | ||
) |
Communication initiation function.
ctx | Click object. |
calibration | Calibration byte. |
configuration | Configuration byte. |
cfg_settings | Config settings byte. |
This function initiates the OOK communication.
void ooktx_communication_stop | ( | ooktx_t * | ctx | ) |
Communication stop function.
ctx | Click object. |
This function stops the OOK communication.
void ooktx_communication_transmit | ( | ooktx_t * | ctx, |
uint8_t | transmit_data | ||
) |
Communication transmit function.
ctx | Click object. |
transmit_data | Data package byte. |
This function transmits data in the OOK communication.
OOKTX_RETVAL ooktx_init | ( | ooktx_t * | ctx, |
ooktx_cfg_t * | cfg | ||
) |
Initialization function.
ooktx | Click object. |
cfg | Click configuration structure. |
This function initializes all necessary pins and peripherals used for this click.