cfg_i2s.h File Reference
Configuration file for I2S module. More...
Go to the source code of this file.
Defines | |
| #define | I2S_LOG_LEVEL LOG_LVL_INFO |
| Module logging level. | |
| #define | I2S_LOG_FORMAT LOG_FMT_TERSE |
| Module logging format. | |
| #define | CONFIG_PLAY_BUF_LEN 8192 |
| Length of each play buffer. | |
| #define | CONFIG_SAMPLE_FREQ 44800UL |
| Sampling frequency of the audio file. | |
| #define | CONFIG_WORD_BIT_SIZE 16 |
| Sample bits per channel. | |
| #define | CONFIG_CHANNEL_NUM 2 |
| Number of channel. | |
| #define | CONFIG_DELAY 0 |
| Size of trasmit start delay. | |
| #define | CONFIG_PERIOD 15 |
| Generate frame sync every 2 x CONFIG_PERIOD bits (zero based) | |
| #define | CONFIG_WORD_PER_FRAME 1 |
| Number of words transmitted in frame. | |
| #define | CONFIG_FRAME_SYNC_SIZE 15 |
| Size of Synchro data register (zero based) | |
| #define | CONFIG_EXTRA_FRAME_SYNC_SIZE 0 |
| Extra Size of Synchro data register (CONFIG_FRAME_SYNC_SIZE + CONFIG_EXTRA_FRAME_SYNC_SIZE * 16 + 1) (zero based) | |
Detailed Description
Configuration file for I2S module.
Definition in file cfg_i2s.h.
Define Documentation
| #define CONFIG_EXTRA_FRAME_SYNC_SIZE 0 |
| #define CONFIG_FRAME_SYNC_SIZE 15 |
| #define CONFIG_PERIOD 15 |
![(please configure the [header_logo] section in trac.ini)](/chrome/site/bertos_logo.png)