LPC43xx: Add CREG6 struct definition. Add I2S CREG6 configuration.

This commit is contained in:
Jared Boone 2017-08-06 11:16:57 -07:00
parent 80d96b08cf
commit 49252dc1bc
3 changed files with 22 additions and 13 deletions

View file

@ -55,6 +55,7 @@ constexpr i2s::ConfigTX i2s0_config_tx {
.four_pin = 0,
.mclk_out_en = 1,
},
.sck_in_sel = 1,
};
constexpr i2s::ConfigRX i2s0_config_rx {
@ -78,6 +79,7 @@ constexpr i2s::ConfigRX i2s0_config_rx {
.four_pin = 1,
.mclk_out_en = 0,
},
.sck_in_sel = 0,
};
constexpr i2s::ConfigDMA i2s0_config_dma {