amfm 2.0.0.0
|
AmFm Click example. More...
Functions | |
void | amfm_case_memorize () |
void | amfm_case_station_1 (amfm_t *ctx) |
void | amfm_case_station_2 (amfm_t *ctx) |
void | amfm_case_station_3 (amfm_t *ctx) |
void | amfm_case_station_4 (amfm_t *ctx) |
void | amfm_case_station_5 (amfm_t *ctx) |
void | amfm_case_seek (amfm_t *ctx) |
void | amfm_case_plus (amfm_t *ctx) |
void | amfm_case_minus (amfm_t *ctx) |
void | amfm_case_mute (amfm_t *ctx) |
void | amfm_case_tune_up (amfm_t *ctx) |
void | amfm_case_tune_down (amfm_t *ctx) |
void | application_init (void) |
void | application_task (void) |
int | main (void) |
Variables | |
float | aux |
uint8_t | volume = 0x3F |
uint8_t | mute_flag = 0 |
uint8_t | status |
uint16_t | station_1 = 0 |
uint16_t | station_2 = 0 |
uint16_t | station_3 = 0 |
uint16_t | station_4 = 0 |
uint16_t | station_5 = 0 |
uint16_t | station_frequency = 0 |
uint8_t | memory = 0 |
AmFm Click example.
This app simulate RADIO RECEIVER.
The demo application is composed of two sections :
Initializes device.
Several additional functions are executed and printed over the terminal.
void amfm_case_memorize | ( | ) |
void amfm_case_minus | ( | amfm_t * | ctx | ) |
void amfm_case_mute | ( | amfm_t * | ctx | ) |
void amfm_case_plus | ( | amfm_t * | ctx | ) |
void amfm_case_seek | ( | amfm_t * | ctx | ) |
void amfm_case_station_1 | ( | amfm_t * | ctx | ) |
void amfm_case_station_2 | ( | amfm_t * | ctx | ) |
void amfm_case_station_3 | ( | amfm_t * | ctx | ) |
void amfm_case_station_4 | ( | amfm_t * | ctx | ) |
void amfm_case_station_5 | ( | amfm_t * | ctx | ) |
void amfm_case_tune_down | ( | amfm_t * | ctx | ) |
void amfm_case_tune_up | ( | amfm_t * | ctx | ) |
void application_init | ( | void | ) |
Logger initialization. Default baud rate: 115200 Default log level: LOG_LEVEL_DEBUG
void application_task | ( | void | ) |
int main | ( | void | ) |
float aux |
uint8_t memory = 0 |
uint8_t mute_flag = 0 |
uint16_t station_1 = 0 |
uint16_t station_2 = 0 |
uint16_t station_3 = 0 |
uint16_t station_4 = 0 |
uint16_t station_5 = 0 |
uint16_t station_frequency = 0 |
uint8_t status |
uint8_t volume = 0x3F |