fm 2.0.0.0
|
Fm Click example. More...
Macros | |
#define | SIGNAL_STRENGTH_LOWER_LIMIT 25 |
Functions | |
void | fm_case_plus (fm_t *ctx) |
void | fm_case_minus (fm_t *ctx) |
void | fm_case_seek (fm_t *ctx) |
void | fm_case_tune (fm_t *ctx) |
void | fm_case_memorize () |
void | fm_case_mute (fm_t *ctx) |
void | fm_case_station_1 (fm_t *ctx) |
void | fm_case_station_2 (fm_t *ctx) |
void | fm_case_station_3 (fm_t *ctx) |
void | fm_case_station_4 (fm_t *ctx) |
void | fm_case_station_5 (fm_t *ctx) |
void | fm_case_tune_up (fm_t *ctx) |
void | fm_case_tune_down (fm_t *ctx) |
void | fm_case_wrong_command () |
void | application_init (void) |
void | application_task (void) |
int | main (void) |
Fm Click example.
This click represent FM radio tuner which supports worldwide FM band (76 – 108 MHz) and has a set of features such as automatic frequency and gain control, seek tuning and volume control.
The demo application is composed of two sections :
Initializing I2C driver, powering up device, setting basic settings for Europe, setting values of seek threshold, volume, snr threshold and impulse detection threshold. Seek and memorize 5 radio stations with a signal strength above the set limit.
Tunes all memorized stations. Switches the stations each 10 seconds.
#define SIGNAL_STRENGTH_LOWER_LIMIT 25 |
void application_init | ( | void | ) |
Logger initialization. Default baud rate: 115200 Default log level: LOG_LEVEL_DEBUG
void application_task | ( | void | ) |
void fm_case_memorize | ( | ) |
void fm_case_minus | ( | fm_t * | ctx | ) |
void fm_case_mute | ( | fm_t * | ctx | ) |
void fm_case_plus | ( | fm_t * | ctx | ) |
void fm_case_seek | ( | fm_t * | ctx | ) |
void fm_case_station_1 | ( | fm_t * | ctx | ) |
void fm_case_station_2 | ( | fm_t * | ctx | ) |
void fm_case_station_3 | ( | fm_t * | ctx | ) |
void fm_case_station_4 | ( | fm_t * | ctx | ) |
void fm_case_station_5 | ( | fm_t * | ctx | ) |
void fm_case_tune | ( | fm_t * | ctx | ) |
void fm_case_tune_down | ( | fm_t * | ctx | ) |
void fm_case_tune_up | ( | fm_t * | ctx | ) |
void fm_case_wrong_command | ( | ) |
int main | ( | void | ) |