pub type R = R<TIMING_SPEC>;
Expand description
Register TIMING
reader
Aliased Type§
struct R { /* private fields */ }
Implementations§
Source§impl R
impl R
Sourcepub fn tx_bck_in_delay(&self) -> TX_BCK_IN_DELAY_R
pub fn tx_bck_in_delay(&self) -> TX_BCK_IN_DELAY_R
Bits 0:1 - Number of delay cycles for BCK signal into the transmitter based on I2S0_CLK. 0: delayed by 1.5 cycles. 1: delayed by 2.5 cycles. 2: delayed by 3.5 cycles. 3: delayed by 4.5 cycles.
Sourcepub fn tx_ws_in_delay(&self) -> TX_WS_IN_DELAY_R
pub fn tx_ws_in_delay(&self) -> TX_WS_IN_DELAY_R
Bits 2:3 - Number of delay cycles for WS signal into the transmitter based on I2S0_CLK. 0: delayed by 1.5 cycles. 1: delayed by 2.5 cycles. 2: delayed by 3.5 cycles. 3: delayed by 4.5 cycles.
Sourcepub fn rx_bck_in_delay(&self) -> RX_BCK_IN_DELAY_R
pub fn rx_bck_in_delay(&self) -> RX_BCK_IN_DELAY_R
Bits 4:5 - Number of delay cycles for BCK signal into the receiver based on I2S0_CLK. 0: delayed by 1.5 cycles. 1: delayed by 2.5 cycles. 2: delayed by 3.5 cycles. 3: delayed by 4.5 cycles.
Sourcepub fn rx_ws_in_delay(&self) -> RX_WS_IN_DELAY_R
pub fn rx_ws_in_delay(&self) -> RX_WS_IN_DELAY_R
Bits 6:7 - Number of delay cycles for WS signal into the receiver based on I2S0_CLK. 0: delayed by 1.5 cycles. 1: delayed by 2.5 cycles. 2: delayed by 3.5 cycles. 3: delayed by 4.5 cycles.
Sourcepub fn rx_sd_in_delay(&self) -> RX_SD_IN_DELAY_R
pub fn rx_sd_in_delay(&self) -> RX_SD_IN_DELAY_R
Bits 8:9 - Number of delay cycles for SD signal into the receiver based on I2S0_CLK. 0: delayed by 1.5 cycles. 1: delayed by 2.5 cycles. 2: delayed by 3.5 cycles. 3: delayed by 4.5 cycles.
Sourcepub fn tx_bck_out_delay(&self) -> TX_BCK_OUT_DELAY_R
pub fn tx_bck_out_delay(&self) -> TX_BCK_OUT_DELAY_R
Bits 10:11 - Number of delay cycles for BCK signal out of the transmitter based on I2S0_CLK. 0: delayed by 0 cycle. 1: delayed by 1 cycle. 2: delayed by 2 cycles. 3: delayed by 3 cycles.
Sourcepub fn tx_ws_out_delay(&self) -> TX_WS_OUT_DELAY_R
pub fn tx_ws_out_delay(&self) -> TX_WS_OUT_DELAY_R
Bits 12:13 - Number of delay cycles for WS signal out of the transmitter based on I2S0_CLK. 0: delayed by 0 cycle. 1: delayed by 1 cycle. 2: delayed by 2 cycles. 3: delayed by 3 cycles.
Sourcepub fn tx_sd_out_delay(&self) -> TX_SD_OUT_DELAY_R
pub fn tx_sd_out_delay(&self) -> TX_SD_OUT_DELAY_R
Bits 14:15 - Number of delay cycles for SD signal out of the transmitter based on I2S0_CLK. 0: delayed by 0 cycle. 1: delayed by 1 cycle. 2: delayed by 2 cycles. 3: delayed by 3 cycles.
Sourcepub fn rx_ws_out_delay(&self) -> RX_WS_OUT_DELAY_R
pub fn rx_ws_out_delay(&self) -> RX_WS_OUT_DELAY_R
Bits 16:17 - Number of delay cycles for WS signal out of the receiver based on I2S0_CLK. 0: delayed by 0 cycle. 1: delayed by 1 cycle. 2: delayed by 2 cycles. 3: delayed by 3 cycles.
Sourcepub fn rx_bck_out_delay(&self) -> RX_BCK_OUT_DELAY_R
pub fn rx_bck_out_delay(&self) -> RX_BCK_OUT_DELAY_R
Bits 18:19 - Number of delay cycles for BCK signal out of the receiver based on I2S0_CLK. 0: delayed by 0 cycle. 1: delayed by 1 cycle. 2: delayed by 2 cycles. 3: delayed by 3 cycles.
Sourcepub fn tx_dsync_sw(&self) -> TX_DSYNC_SW_R
pub fn tx_dsync_sw(&self) -> TX_DSYNC_SW_R
Bit 20 - Set this bit to synchronize signals into the transmitter by two flip-flop synchronizer. 0: the signals will be firstly clocked by rising clock edge , then clocked by falling clock edge. 1: the signals will be firstly clocked by falling clock edge, then clocked by rising clock edge.
Sourcepub fn rx_dsync_sw(&self) -> RX_DSYNC_SW_R
pub fn rx_dsync_sw(&self) -> RX_DSYNC_SW_R
Bit 21 - Set this bit to synchronize signals into the receiver by two flip-flop synchronizer. 0: the signals will be clocked by rising clock edge firstly, then clocked by falling clock edge. 1: the signals will be clocked by falling clock edge firstly, then clocked by rising clock edge.
Sourcepub fn data_enable_delay(&self) -> DATA_ENABLE_DELAY_R
pub fn data_enable_delay(&self) -> DATA_ENABLE_DELAY_R
Bits 22:23 - Number of delay cycles for data valid flag based on I2S0_CLK. 0: delayed by 1.5 cycles. 1: delayed by 2.5 cycles. 2: delayed by 3.5 cycles. 3: delayed by 4.5 cycles.
Sourcepub fn tx_bck_in_inv(&self) -> TX_BCK_IN_INV_R
pub fn tx_bck_in_inv(&self) -> TX_BCK_IN_INV_R
Bit 24 - Set this bit to invert BCK signal input to the slave transmitter.