ooktx
2.0.0.0
|
This file contains API for OOK TX Click driver. More...
#include "drv_digital_out.h"
#include "drv_digital_in.h"
Go to the source code of this file.
Data Structures | |
struct | ooktx_t |
Click ctx object definition. More... | |
struct | ooktx_cfg_t |
Click configuration structure definition. More... | |
Macros | |
#define | OOKTX_MAP_MIKROBUS(cfg, mikrobus) |
#define | OOKTX_RETVAL uint8_t |
#define | OOKTX_OK 0x00 |
#define | OOKTX_INIT_ERROR 0xFF |
#define | OOKTX_CALIBRATION_ENABLE 0x01 |
#define | OOKTX_CALIBRATION_DISABLE 0x00 |
#define | OOKTX_CONFIGURATION_ENABLE 0x01 |
#define | OOKTX_CONFIGURATION_DISABLE 0x00 |
#define | OOKTX_CFG_DEFAULT 0xF6F0 |
#define | OOKTX_CFG_F_433MHZ 0xF000 |
#define | OOKTX_CFG_CX_18PF 0x0600 |
#define | OOKTX_CFG_P_13DB 0x00F0 |
#define | OOKTX_CFG_P_10DB 0x00C0 |
#define | OOKTX_CFG_P_7DB 0x0090 |
#define | OOKTX_CFG_P_3DB 0x0050 |
#define | OOKTX_CFG_P_0DB 0x0020 |
#define | OOKTX_CFG_CT_0PF 0x0000 |
#define | OOKTX_PREAMBULE 0xAA |
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... | |
This file contains API for OOK TX Click driver.