Audio: Add codec config methods for external I2S master.

This commit is contained in:
Jared Boone
2017-08-06 12:43:39 -07:00
parent 6c3a1384fb
commit ac423ee769
4 changed files with 20 additions and 0 deletions

View File

@@ -46,6 +46,12 @@ void AK4951::configure_digital_interface_external_slave() {
update(Register::PowerManagement2);
}
void AK4951::configure_digital_interface_external_master() {
map.r.power_management_2.MS = 1; // Master mode
map.r.power_management_2.PMPLL = 0; // EXT mode
update(Register::PowerManagement2);
}
void AK4951::init() {
reset();