pub type R = R<FifoCtrlSpec>;Expand description
Register FIFO_CTRL reader
Aliased Type§
pub struct R { /* private fields */ }Implementations§
Source§impl R
impl R
Sourcepub fn tft(&self) -> TftR
pub fn tft(&self) -> TftR
Bits 0:4 - TXFIFO Trigger Threshold This field sets the threshold level at which TXFIFO asserts interrupt. The level should be set to the preferred threshold value minus 1.
Sourcepub fn rft(&self) -> RftR
pub fn rft(&self) -> RftR
Bits 5:9 - RXFIFO Trigger Threshold This field sets the threshold level at which RXFIFO asserts interrupt. The level should be set to the preferred threshold value minus 1.
Sourcepub fn tsre(&self) -> TsreR
pub fn tsre(&self) -> TsreR
Bit 10 - Transmit Service Request Enable 0 = DMA service request is disabled 1 = DMA service request is enabled
Sourcepub fn rsre(&self) -> RsreR
pub fn rsre(&self) -> RsreR
Bit 11 - Receive Service Request Enable 0 = DMA service request is disabled 1 = DMA service request is enabled
Sourcepub fn rxfifo_rd_endian(&self) -> RxfifoRdEndianR
pub fn rxfifo_rd_endian(&self) -> RxfifoRdEndianR
Bits 12:13 - apb_prdata Read from Rx FIFO Endian 0x0 = apb_prdata[31:0] = rxfifo_wdata[31:0] 0x1 = apb_prdata[31:0] = {rxfifo_wdata[15:0], rxfifo_wdata[31:16]} 0x2 = apb_prdata[31:0]= {rxfifo_wdata[7:0], rxfifo_wdata[15:8], rxfifo_wdata[23:16], rxfifo_wdata[31:24]} 0x3 = apb_prdata[31:0]= {rxfifo_wdata[23:16], rxfifo_wdata[31:24], rxfifo_wdata[7:0], rxfifo_wdata[15:8]}
Sourcepub fn txfifo_wr_endian(&self) -> TxfifoWrEndianR
pub fn txfifo_wr_endian(&self) -> TxfifoWrEndianR
Bits 14:15 - apb_pwdata Write to Tx FIFO Endian 0x0 = txfifo_wdata[31:0] = apb_pwdata[31:0] 0x1 = fifo_wdata[31:0] = {apb_pwdata[15:0], apb_pwdata[31:16]} 0x2 = txfifo_wdata[31:0] = {apb_pwdata[7:0], apb_pwdata[15:8], apb_pwdata[23:16], apb_pwdata[31:24]} 0x3 = txfifo_wdata[31:0] = {apb_pwdata[23:16], apb_pwdata[31:24], apb_pwdata[7:0], apb_pwdata[15:8]}
Sourcepub fn fpcke(&self) -> FpckeR
pub fn fpcke(&self) -> FpckeR
Bit 16 - FIFO Packing Enable 0 = FIFO packing mode disabled 1 = FIFO packing mode enabled
Sourcepub fn rxfifo_auto_full_ctrl(&self) -> RxfifoAutoFullCtrlR
pub fn rxfifo_auto_full_ctrl(&self) -> RxfifoAutoFullCtrlR
Bit 17 - Rx FIFO Auto Full Control =1After this field is set to 1 and the SSP is operating in master mode, the SSP FSM returns to IDLE state and stops the ssp_sclk_gpio. When Rx FIFO is full, the SSP FSM continues transferring data after the Rx FIFO is not full. This field is used to avoid an Rx FIFO overrun issue. 1= Enable Rx FIFO auto full control
Sourcepub fn efwr(&self) -> EfwrR
pub fn efwr(&self) -> EfwrR
Bit 18 - Enable FIFO Write/read (Test Mode Bit) 0 = FIFO write/read special function is disabled (normal SSPx operational mode) 1 = FIFO write/read special function is enabled