|
void | amfm2_cfg_setup (amfm2_cfg_t *cfg) |
| AM/FM 2 configuration object setup function.
|
|
err_t | amfm2_init (amfm2_t *ctx, amfm2_cfg_t *cfg) |
| AM/FM 2 initialization function.
|
|
err_t | amfm2_default_cfg (amfm2_t *ctx) |
| AM/FM 2 default configuration function.
|
|
err_t | amfm2_write_data (amfm2_t *ctx, uint8_t reg, uint8_t *data_in, uint8_t len) |
| AM/FM 2 I2C writing function.
|
|
err_t | amfm2_generic_read (amfm2_t *ctx, uint8_t reg, uint8_t *data_out, uint8_t len) |
| AM/FM 2 I2C reading function.
|
|
void | amfm2_hw_reset (amfm2_t *ctx) |
| AM/FM 2 hardware reset function.
|
|
void | amfm2_headphone_amp_enable (amfm2_t *ctx) |
| AM/FM 2 enable headphone amp function.
|
|
void | amfm2_headphone_amp_disable (amfm2_t *ctx) |
| AM/FM 2 disable headphone amp function.
|
|
uint8_t | amfm2_get_gp1 (amfm2_t *ctx) |
| AM/FM 2 get state of GP1 pin function.
|
|
uint8_t | amfm2_get_gp2 (amfm2_t *ctx) |
| AM/FM 2 get state of GP2 pin function.
|
|
void | amfm2_set_rst (amfm2_t *ctx, uint8_t pin_state) |
| AM/FM 2 set state of RST pin function.
|
|
err_t | amfm2_wait_rsp (amfm2_t *ctx) |
| AM/FM 2 wait response function.
|
|
err_t | amfm2_set_command (amfm2_t *ctx, uint8_t cmd, uint8_t *arg, uint8_t arg_len, uint8_t *rsp, uint8_t rsp_len) |
| AM/FM 2 set command function.
|
|
err_t | amfm2_get_response (amfm2_t *ctx, uint8_t *rsp, uint8_t rsp_len) |
| AM/FM 2 get response function.
|
|
err_t | amfm2_get_rev (amfm2_t *ctx, amfm2_device_info_t *rev) |
| AM/FM 2 get revision information function.
|
|
err_t | amfm2_seek_station (amfm2_t *ctx, uint8_t *rsp) |
| AM/FM 2 seek station function.
|
|
err_t | amfm2_set_volume (amfm2_t *ctx, uint8_t volume, uint8_t *rsp) |
| AM/FM 2 set volume function.
|
|
err_t | amfm2_sound_off (amfm2_t *ctx, uint8_t *rsp) |
| AM/FM 2 sound off function.
|
|
err_t | amfm2_sound_on (amfm2_t *ctx, uint8_t *rsp) |
| AM/FM 2 sound on function.
|
|
err_t | amfm2_tuning_freq_up (amfm2_t *ctx, uint8_t *rsp) |
| AM/FM 2 tuning frequency up function.
|
|
err_t | amfm2_tuning_freq_down (amfm2_t *ctx, uint8_t *rsp) |
| AM/FM 2 tuning frequency down function.
|
|
err_t | amfm2_tuning_freq (amfm2_t *ctx, float frequency, uint8_t *rsp) |
| AM/FM 2 tuning frequency function.
|
|
err_t | amfm2_get_tuning_freq (amfm2_t *ctx, float *frequency) |
| AM/FM 2 get tuning frequency function.
|
|
err_t | amfm2_check_clear_to_send (amfm2_t *ctx) |
| AM/FM 2 check CTS function.
|
|
err_t | amfm2_check_seek_tune_complete (amfm2_t *ctx) |
| AM/FM 2 check CTS function.
|
|
err_t | amfm2_check_status_error (amfm2_t *ctx) |
| AM/FM 2 check status error function.
|
|
err_t | amfm2_check_rds_interrupt (amfm2_t *ctx) |
| AM/FM 2 check RDS interrupt function.
|
|
This file contains API for AM/FM 2 Click Driver.