Commit 5223aa04 authored by Arc Lin's avatar Arc Lin

add description for CS4265 initialize.

parent beb3e010
...@@ -216,12 +216,13 @@ void CS4265_init(void) ...@@ -216,12 +216,13 @@ void CS4265_init(void)
{ {
uint8_t ret; uint8_t ret;
uint8_t addr[] = { uint8_t addr[] = {
0x00, 0x00, 0x08, 0x18, 0x10, 0x00, 0x40, 0x00, 0x00, 0x00/*power up*/, 0x08, 0x18/*Left-Justified*/,
0x00, 0x19, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10/*Left-Justified*/, 0x00/*MCLK Divider 1*/, 0x40, 0x00,
0x00, 0x00, 0x60, 0x00, 0x00, 0x00, 0x00 0x00, 0x19, 0x00/*max vol*/, 0x00/*max vol*/, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x60, 0x00, 0x00, 0x00, 0x00
}; };
HAL_Delay(100); HAL_Delay(100); //wait CS4265 power up
for(int i=2;i<0x14;i++) for(int i=2;i<0x14;i++)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment