radiostation 2.0.0.0
|
This file contains API for RadioStation Click driver. More...
#include "drv_digital_out.h"
#include "drv_digital_in.h"
#include "drv_i2c_master.h"
Go to the source code of this file.
Data Structures | |
struct | radiostation_t |
Click ctx object definition. More... | |
struct | radiostation_cmd_t |
Click send command object definition. More... | |
struct | radiostation_cfg_t |
Click configuration structure definition. More... | |
Functions | |
void | radiostation_cfg_setup (radiostation_cfg_t *cfg, bool slave_select) |
Config Object Initialization function. | |
RADIOSTATION_RETVAL | radiostation_init (radiostation_t *ctx, radiostation_cfg_t *cfg) |
Initialization function. | |
void | radiostation_default_cfg (radiostation_t *ctx, radiostation_cmd_t *cmd) |
Click Default Configuration function. | |
void | radiostation_write (radiostation_t *ctx, uint8_t *data_buf, uint8_t len) |
Generic write function. | |
void | radiostation_read (radiostation_t *ctx, uint8_t *data_buf, uint8_t len) |
Generic read function. | |
uint8_t | radiostation_power_up_advanced (radiostation_t *ctx, radiostation_cmd_t *cmd, uint8_t config) |
Radio Station Click Power Up Advanced. | |
uint8_t | radiostation_power_up (radiostation_t *ctx, radiostation_cmd_t *cmd) |
Radio Station Click Power Up. | |
uint8_t | radiostation_power_down (radiostation_t *ctx, radiostation_cmd_t *cmd) |
Radio Station Click Power Down. | |
uint8_t | radiostation_get_revision (radiostation_t *ctx, radiostation_cmd_t *cmd, uint8_t *ret_vals) |
Radio Station Click Get Revision. | |
uint8_t | radiostation_get_revision1 (radiostation_t *ctx, uint8_t *ret_vals) |
Radio Station Click Set Tune Frequency. | |
uint8_t | radiostation_set_tune_frequency (radiostation_t *ctx, radiostation_cmd_t *cmd, uint16_t freq) |
Radio Station Click Set Tune Frequency. | |
uint8_t | radiostation_set_tune_power (radiostation_t *ctx, radiostation_cmd_t *cmd, uint8_t voltage, uint8_t capacitance) |
Radio Station Click Get Revision. | |
uint8_t | radiostation_get_tune_measure (radiostation_t *ctx, radiostation_cmd_t *cmd, uint16_t freq, uint8_t capacitance) |
Radio Station Click Get Tuning Measurements. | |
uint8_t | radiostation_get_int_status (radiostation_t *ctx, radiostation_cmd_t *cmd) |
Getting int pin status. | |
void | radiostation_busy_wait_for_stcint (radiostation_t *ctx, radiostation_cmd_t *cmd) |
Radio Station Click Busy Wait for STCINT. | |
void | radiostation_busy_wait_for_asqint (radiostation_t *ctx, radiostation_cmd_t *cmd) |
Radio Station Click Busy Wait for ASQINT. | |
void | radiostation_busy_wait_for_rdsint (radiostation_t *ctx, radiostation_cmd_t *cmd) |
Radio Station Click Busy Wait for RDSINT. | |
uint8_t | radiostation_get_tune_status (radiostation_t *ctx, radiostation_cmd_t *cmd, uint8_t clear_stc_status_bit, uint8_t *ret_vals) |
Radio Station Click Get Tune Status. | |
uint8_t | radiostation_get_asq_status (radiostation_t *ctx, radiostation_cmd_t *cmd, uint8_t *ret_vals) |
Radio Station Click ASQ Status. | |
uint8_t | radiostation_set_property (radiostation_t *ctx, radiostation_cmd_t *cmd, uint16_t property_id, uint16_t property_value) |
Radio Station Click Set Property. | |
uint16_t | radiostation_get_property (radiostation_t *ctx, radiostation_cmd_t *cmd, uint16_t property_id) |
Radio Station Click Get Property. | |
This file contains API for RadioStation Click driver.