LibDriver TEA5767
Loading...
Searching...
No Matches
driver_tea5767_basic.h File Reference

driver tea5767 basic include file More...

Include dependency graph for driver_tea5767_basic.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define TEA57671_BASIC_DEFAULT_MUTE   TEA5767_BOOL_FALSE
 tea5767 basic example default definition
#define TEA57671_BASIC_DEFAULT_MODE   TEA5767_MODE_NORMAL
#define TEA57671_BASIC_DEFAULT_MHZ   88.0f
#define TEA57671_BASIC_DEFAULT_SEARCH_MODE   TEA5767_SEARCH_MODE_UP
#define TEA57671_BASIC_DEFAULT_SEARCH_STOP_LEVEL   TEA5767_SEARCH_STOP_LEVEL_MID
#define TEA57671_BASIC_DEFAULT_SIDE_INJECTION   TEA5767_SIDE_INJECTION_HIGH
#define TEA57671_BASIC_DEFAULT_CHANNEL   TEA5767_CHANNEL_STEREO
#define TEA57671_BASIC_DEFAULT_RIGHT_MUTE   TEA5767_BOOL_FALSE
#define TEA57671_BASIC_DEFAULT_LEFT_MUTE   TEA5767_BOOL_FALSE
#define TEA57671_BASIC_DEFAULT_PORT1   TEA5767_LEVEL_LOW
#define TEA57671_BASIC_DEFAULT_PORT2   TEA5767_LEVEL_LOW
#define TEA57671_BASIC_DEFAULT_BAND   TEA5767_BAND_JAPANESE
#define TEA57671_BASIC_DEFAULT_SOFT_MUTE   TEA5767_BOOL_FALSE
#define TEA57671_BASIC_DEFAULT_HIGH_CUT_CONTROL   TEA5767_BOOL_TRUE
#define TEA57671_BASIC_DEFAULT_STEREO_NOISE_CANCELING   TEA5767_BOOL_TRUE
#define TEA57671_BASIC_DEFAULT_PORT1_AS_SEARCH_INDICATOR   TEA5767_BOOL_TRUE
#define TEA57671_BASIC_DEFAULT_DE_EMPHASIS   TEA5767_DE_EMPHASIS_50US
#define TEA57671_BASIC_DEFAULT_CLOCK   TEA5767_CLOCK_32P768_KHZ

Functions

uint8_t tea5767_basic_init (void)
 basic example init
uint8_t tea5767_basic_deinit (void)
 basic example deinit
uint8_t tea5767_basic_search_up (void)
 basic example search up
uint8_t tea5767_basic_search_down (void)
 basic example search down
uint8_t tea5767_basic_set_frequency (float mhz)
 basic example set frequency
uint8_t tea5767_basic_get_frequency (float *mhz)
 basic example get frequency
uint8_t tea5767_basic_set_mute (tea5767_bool_t enable)
 basic example enable or disable mute

Detailed Description

driver tea5767 basic include file

Copyright (c) 2015 - present LibDriver All rights reserved

The MIT License (MIT)

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Version
1.0.0
Author
Shifeng Li
Date
2022-11-15

history

Date Version Author Description
2022/11/15 1.0 Shifeng Li first upload

Definition in file driver_tea5767_basic.h.