pub struct R<U, T> { /* private fields */ }Expand description
Implementations§
Source§impl<FI> R<bool, FI>
impl<FI> R<bool, FI>
Sourcepub fn bit_is_clear(&self) -> bool
pub fn bit_is_clear(&self) -> bool
Returns true if the bit is clear (0)
Sourcepub fn bit_is_set(&self) -> bool
pub fn bit_is_set(&self) -> bool
Returns true if the bit is set (1)
Source§impl R<u32, Reg<u32, _CR0>>
impl R<u32, Reg<u32, _CR0>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 16:31 - 31:16] Reserved
Sourcepub fn scr(&self) -> SCR_R
pub fn scr(&self) -> SCR_R
Bits 8:15 - 15:8] SSI serial clock rate (R/W) Reset value: 0x0 The value SCR is used to generate the transmit and receive bit rate of the SSI. Where the bit rate is: BR = FSSICLK/(CPSDVR * (1 + SCR)) where CPSDVR is an even value from 2-254, programmed in the SSICPSR register and SCR is a value from 0-255.
Sourcepub fn sph(&self) -> SPH_R
pub fn sph(&self) -> SPH_R
Bit 7 - 7:7] SSI serial clock phase (R/W) Reset value: 0x0 This bit is only applicable to the Motorola SPI Format.
Sourcepub fn spo(&self) -> SPO_R
pub fn spo(&self) -> SPO_R
Bit 6 - 6:6] SSI serial clock phase (R/W) Reset value: 0x0 This bit is only applicable to the Motorola SPI Format.
Sourcepub fn frf(&self) -> FRF_R
pub fn frf(&self) -> FRF_R
Bits 4:5 - 5:4] SSI frame format select (R/W) Reset value: 0x0 00: Motorola SPI frame format 01: TI synchronous serial frame format 10: National Microwire frame format 11: Reserved
Sourcepub fn dss(&self) -> DSS_R
pub fn dss(&self) -> DSS_R
Bits 0:3 - 3:0] SSI data size select (R/W) Reset value: 0x0 0000-0010: Reserved 0011: 4-bit data 0100: 5-bit data 0101: 6-bit data 0110: 7-bit data 0111: 8-bit data 1000: 9-bit data 1001: 10-bit data 1010: 11-bit data 1011: 12-bit data 1100: 13-bit data 1101: 14-bit data 1110: 15-bit data 1111: 16-bit data
Source§impl R<u32, Reg<u32, _CR1>>
impl R<u32, Reg<u32, _CR1>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 16:31 - 31:16] Reserved
Sourcepub fn reserved16(&self) -> RESERVED16_R
pub fn reserved16(&self) -> RESERVED16_R
Bits 4:15 - 15:4] Reserved, read unpredictable, should be written as 0. 3 SOD
Sourcepub fn sod(&self) -> SOD_R
pub fn sod(&self) -> SOD_R
Bit 3 - 3:3] SSI slave mode output disable (R/W) Reset value: 0x0 This bit is relevant only in the slave mode (MS = 1). In multiple-slave systems, it is possible for the SSI master to broadcast a message to all slaves in the system while ensuring that only one slave drives data onto the serial output line. In such systems, the RXD lines from multiple slaves could be tied together. To operate in such a system, the SOD bit can be set if the SSI slave is not suppose to drive the SSITXD line. 0: SSI can drive SSITXD in slave output mode 1: SSI must not drive the SSITXD output in slave mode
Sourcepub fn ms(&self) -> MS_R
pub fn ms(&self) -> MS_R
Bit 2 - 2:2] SSI master and slave select (R/W) Reset value: 0x0 This bit can be modified only when the SSI is disabled (SSE = 0). 0: Device configured as a master (default) 1: Device configured as a slave
Source§impl R<u32, Reg<u32, _DR>>
impl R<u32, Reg<u32, _DR>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 16:31 - 31:16] Reserved
Sourcepub fn data(&self) -> DATA_R
pub fn data(&self) -> DATA_R
Bits 0:15 - 15:0] SSI receive/transmit data register (R/W) Reset value: 0xXXXX A read operation reads the receive FIFO. A write operation writes the transmit FIFO. Software must right-justify data when the SSI is programmed for a data size that is less than 16 bits. Unused bits at the top are ignored by the transmit logic. The receive logic automatically right-justified the data.
Source§impl R<u32, Reg<u32, _SR>>
impl R<u32, Reg<u32, _SR>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 16:31 - 31:16] Reserved
Sourcepub fn reserved16(&self) -> RESERVED16_R
pub fn reserved16(&self) -> RESERVED16_R
Bits 5:15 - 15:5] Reserved, read unpredictable, should be written as 0.
Sourcepub fn bsy(&self) -> BSY_R
pub fn bsy(&self) -> BSY_R
Bit 4 - 4:4] SSI busy bit (RO) Reset value: 0x0 0: SSI is idle. 1: SSI is currently transmitting and/or receiving a frame or the transmit FIFO is not empty.
Sourcepub fn rff(&self) -> RFF_R
pub fn rff(&self) -> RFF_R
Bit 3 - 3:3] SSI receive FIFO full (RO) Reset value: 0x0 0: Receive FIFO is not full. 1: Receive FIFO is full.
Sourcepub fn rne(&self) -> RNE_R
pub fn rne(&self) -> RNE_R
Bit 2 - 2:2] SSI receive FIFO not empty (RO) Reset value: 0x0 0: Receive FIFO is empty. 1: Receive FIFO is not empty.
Source§impl R<u32, Reg<u32, _CPSR>>
impl R<u32, Reg<u32, _CPSR>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 16:31 - 31:16] Reserved
Sourcepub fn reserved16(&self) -> RESERVED16_R
pub fn reserved16(&self) -> RESERVED16_R
Bits 8:15 - 15:8] Reserved, read unpredictable, should be written as 0.
Source§impl R<u32, Reg<u32, _IM>>
impl R<u32, Reg<u32, _IM>>
Sourcepub fn txim(&self) -> TXIM_R
pub fn txim(&self) -> TXIM_R
Bit 3 - 3:3] SSI transmit FIFO interrupt mask (R/W) Reset value: 0x0 0: TX FIFO half empty or condition interrupt is masked. 1: TX FIFO half empty or less condition interrupt is not masked.
Sourcepub fn rxim(&self) -> RXIM_R
pub fn rxim(&self) -> RXIM_R
Bit 2 - 2:2] SSI receive FIFO interrupt mask (R/W) Reset value: 0x0 0: RX FIFO half empty or condition interrupt is masked. 1: RX FIFO half empty or less condition interrupt is not masked.
Source§impl R<u32, Reg<u32, _RIS>>
impl R<u32, Reg<u32, _RIS>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 16:31 - 31:16] Reserved
Sourcepub fn reserved11(&self) -> RESERVED11_R
pub fn reserved11(&self) -> RESERVED11_R
Bits 4:15 - 15:4] Reserved, read as zero, do not modify.
Sourcepub fn txris(&self) -> TXRIS_R
pub fn txris(&self) -> TXRIS_R
Bit 3 - 3:3] SSI SSITXINTR raw state (RO) Reset value: 0x1 Gives the raw interrupt state (before masking) of SSITXINTR
Sourcepub fn rxris(&self) -> RXRIS_R
pub fn rxris(&self) -> RXRIS_R
Bit 2 - 2:2] SSI SSIRXINTR raw state (RO) Reset value: 0x0 Gives the raw interrupt state (before masking) of SSIRXINTR
Source§impl R<u32, Reg<u32, _MIS>>
impl R<u32, Reg<u32, _MIS>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 16:31 - 31:16] Reserved
Sourcepub fn reserved16(&self) -> RESERVED16_R
pub fn reserved16(&self) -> RESERVED16_R
Bits 4:15 - 15:4] Reserved, read as zero, do not modify.
Sourcepub fn txmis(&self) -> TXMIS_R
pub fn txmis(&self) -> TXMIS_R
Bit 3 - 3:3] SSI SSITXINTR masked state (RO) Reset value: 0x0 Gives the interrupt state (after masking) of SSITXINTR
Sourcepub fn rxmis(&self) -> RXMIS_R
pub fn rxmis(&self) -> RXMIS_R
Bit 2 - 2:2] SSI SSIRXINTR masked state (RO) Reset value: 0x0 Gives the interrupt state (after masking) of SSIRXINTR
Source§impl R<u32, Reg<u32, _ICR>>
impl R<u32, Reg<u32, _ICR>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 16:31 - 31:16] Reserved
Sourcepub fn reserved16(&self) -> RESERVED16_R
pub fn reserved16(&self) -> RESERVED16_R
Bits 2:15 - 15:2] Reserved, read as zero, do not modify.
Source§impl R<u32, Reg<u32, _DMACTL>>
impl R<u32, Reg<u32, _DMACTL>>
Source§impl R<u32, Reg<u32, _CC>>
impl R<u32, Reg<u32, _CC>>
Sourcepub fn reserved29(&self) -> RESERVED29_R
pub fn reserved29(&self) -> RESERVED29_R
Bits 3:31 - 31:3] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Sourcepub fn cs(&self) -> CS_R
pub fn cs(&self) -> CS_R
Bits 0:2 - 2:0] SSI baud and system clock source The following bits determine the clock source that generates the baud and system clocks for the SSI. bit0 (PIOSC): 1: The SSI baud clock is determined by the IO DIV setting in the system controller. 0: The SSI baud clock is determined by the SYS DIV setting in the system controller. bit1: Unused bit2: (DSEN) Only meaningful when the system is in deep sleep mode. This bit is a don’t care when not in sleep mode. 1: The SSI system clock is running on the same clock as the baud clock, as per PIOSC setting above. 0: The SSI system clock is determined by the SYS DIV setting in the system controller.
Source§impl R<u32, Reg<u32, _CR0>>
impl R<u32, Reg<u32, _CR0>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 16:31 - 31:16] Reserved
Sourcepub fn scr(&self) -> SCR_R
pub fn scr(&self) -> SCR_R
Bits 8:15 - 15:8] SSI serial clock rate (R/W) Reset value: 0x0 The value SCR is used to generate the transmit and receive bit rate of the SSI. Where the bit rate is: BR = FSSICLK/(CPSDVR * (1 + SCR)) where CPSDVR is an even value from 2-254, programmed in the SSICPSR register and SCR is a value from 0-255.
Sourcepub fn sph(&self) -> SPH_R
pub fn sph(&self) -> SPH_R
Bit 7 - 7:7] SSI serial clock phase (R/W) Reset value: 0x0 This bit is only applicable to the Motorola SPI Format.
Sourcepub fn spo(&self) -> SPO_R
pub fn spo(&self) -> SPO_R
Bit 6 - 6:6] SSI serial clock phase (R/W) Reset value: 0x0 This bit is only applicable to the Motorola SPI Format.
Sourcepub fn frf(&self) -> FRF_R
pub fn frf(&self) -> FRF_R
Bits 4:5 - 5:4] SSI frame format select (R/W) Reset value: 0x0 00: Motorola SPI frame format 01: TI synchronous serial frame format 10: National Microwire frame format 11: Reserved
Sourcepub fn dss(&self) -> DSS_R
pub fn dss(&self) -> DSS_R
Bits 0:3 - 3:0] SSI data size select (R/W) Reset value: 0x0 0000-0010: Reserved 0011: 4-bit data 0100: 5-bit data 0101: 6-bit data 0110: 7-bit data 0111: 8-bit data 1000: 9-bit data 1001: 10-bit data 1010: 11-bit data 1011: 12-bit data 1100: 13-bit data 1101: 14-bit data 1110: 15-bit data 1111: 16-bit data
Source§impl R<u32, Reg<u32, _CR1>>
impl R<u32, Reg<u32, _CR1>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 16:31 - 31:16] Reserved
Sourcepub fn reserved16(&self) -> RESERVED16_R
pub fn reserved16(&self) -> RESERVED16_R
Bits 4:15 - 15:4] Reserved, read unpredictable, should be written as 0. 3 SOD
Sourcepub fn sod(&self) -> SOD_R
pub fn sod(&self) -> SOD_R
Bit 3 - 3:3] SSI slave mode output disable (R/W) Reset value: 0x0 This bit is relevant only in the slave mode (MS = 1). In multiple-slave systems, it is possible for the SSI master to broadcast a message to all slaves in the system while ensuring that only one slave drives data onto the serial output line. In such systems, the RXD lines from multiple slaves could be tied together. To operate in such a system, the SOD bit can be set if the SSI slave is not suppose to drive the SSITXD line. 0: SSI can drive SSITXD in slave output mode 1: SSI must not drive the SSITXD output in slave mode
Sourcepub fn ms(&self) -> MS_R
pub fn ms(&self) -> MS_R
Bit 2 - 2:2] SSI master and slave select (R/W) Reset value: 0x0 This bit can be modified only when the SSI is disabled (SSE = 0). 0: Device configured as a master (default) 1: Device configured as a slave
Source§impl R<u32, Reg<u32, _DR>>
impl R<u32, Reg<u32, _DR>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 16:31 - 31:16] Reserved
Sourcepub fn data(&self) -> DATA_R
pub fn data(&self) -> DATA_R
Bits 0:15 - 15:0] SSI receive/transmit data register (R/W) Reset value: 0xXXXX A read operation reads the receive FIFO. A write operation writes the transmit FIFO. Software must right-justify data when the SSI is programmed for a data size that is less than 16 bits. Unused bits at the top are ignored by the transmit logic. The receive logic automatically right-justified the data.
Source§impl R<u32, Reg<u32, _SR>>
impl R<u32, Reg<u32, _SR>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 16:31 - 31:16] Reserved
Sourcepub fn reserved16(&self) -> RESERVED16_R
pub fn reserved16(&self) -> RESERVED16_R
Bits 5:15 - 15:5] Reserved, read unpredictable, should be written as 0.
Sourcepub fn bsy(&self) -> BSY_R
pub fn bsy(&self) -> BSY_R
Bit 4 - 4:4] SSI busy bit (RO) Reset value: 0x0 0: SSI is idle. 1: SSI is currently transmitting and/or receiving a frame or the transmit FIFO is not empty.
Sourcepub fn rff(&self) -> RFF_R
pub fn rff(&self) -> RFF_R
Bit 3 - 3:3] SSI receive FIFO full (RO) Reset value: 0x0 0: Receive FIFO is not full. 1: Receive FIFO is full.
Sourcepub fn rne(&self) -> RNE_R
pub fn rne(&self) -> RNE_R
Bit 2 - 2:2] SSI receive FIFO not empty (RO) Reset value: 0x0 0: Receive FIFO is empty. 1: Receive FIFO is not empty.
Source§impl R<u32, Reg<u32, _CPSR>>
impl R<u32, Reg<u32, _CPSR>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 16:31 - 31:16] Reserved
Sourcepub fn reserved16(&self) -> RESERVED16_R
pub fn reserved16(&self) -> RESERVED16_R
Bits 8:15 - 15:8] Reserved, read unpredictable, should be written as 0.
Source§impl R<u32, Reg<u32, _IM>>
impl R<u32, Reg<u32, _IM>>
Sourcepub fn txim(&self) -> TXIM_R
pub fn txim(&self) -> TXIM_R
Bit 3 - 3:3] SSI transmit FIFO interrupt mask (R/W) Reset value: 0x0 0: TX FIFO half empty or condition interrupt is masked. 1: TX FIFO half empty or less condition interrupt is not masked.
Sourcepub fn rxim(&self) -> RXIM_R
pub fn rxim(&self) -> RXIM_R
Bit 2 - 2:2] SSI receive FIFO interrupt mask (R/W) Reset value: 0x0 0: RX FIFO half empty or condition interrupt is masked. 1: RX FIFO half empty or less condition interrupt is not masked.
Source§impl R<u32, Reg<u32, _RIS>>
impl R<u32, Reg<u32, _RIS>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 16:31 - 31:16] Reserved
Sourcepub fn reserved11(&self) -> RESERVED11_R
pub fn reserved11(&self) -> RESERVED11_R
Bits 4:15 - 15:4] Reserved, read as zero, do not modify.
Sourcepub fn txris(&self) -> TXRIS_R
pub fn txris(&self) -> TXRIS_R
Bit 3 - 3:3] SSI SSITXINTR raw state (RO) Reset value: 0x1 Gives the raw interrupt state (before masking) of SSITXINTR
Sourcepub fn rxris(&self) -> RXRIS_R
pub fn rxris(&self) -> RXRIS_R
Bit 2 - 2:2] SSI SSIRXINTR raw state (RO) Reset value: 0x0 Gives the raw interrupt state (before masking) of SSIRXINTR
Source§impl R<u32, Reg<u32, _MIS>>
impl R<u32, Reg<u32, _MIS>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 16:31 - 31:16] Reserved
Sourcepub fn reserved16(&self) -> RESERVED16_R
pub fn reserved16(&self) -> RESERVED16_R
Bits 4:15 - 15:4] Reserved, read as zero, do not modify.
Sourcepub fn txmis(&self) -> TXMIS_R
pub fn txmis(&self) -> TXMIS_R
Bit 3 - 3:3] SSI SSITXINTR masked state (RO) Reset value: 0x0 Gives the interrupt state (after masking) of SSITXINTR
Sourcepub fn rxmis(&self) -> RXMIS_R
pub fn rxmis(&self) -> RXMIS_R
Bit 2 - 2:2] SSI SSIRXINTR masked state (RO) Reset value: 0x0 Gives the interrupt state (after masking) of SSIRXINTR
Source§impl R<u32, Reg<u32, _ICR>>
impl R<u32, Reg<u32, _ICR>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 16:31 - 31:16] Reserved
Sourcepub fn reserved16(&self) -> RESERVED16_R
pub fn reserved16(&self) -> RESERVED16_R
Bits 2:15 - 15:2] Reserved, read as zero, do not modify.
Source§impl R<u32, Reg<u32, _DMACTL>>
impl R<u32, Reg<u32, _DMACTL>>
Source§impl R<u32, Reg<u32, _CC>>
impl R<u32, Reg<u32, _CC>>
Sourcepub fn reserved29(&self) -> RESERVED29_R
pub fn reserved29(&self) -> RESERVED29_R
Bits 3:31 - 31:3] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Sourcepub fn cs(&self) -> CS_R
pub fn cs(&self) -> CS_R
Bits 0:2 - 2:0] SSI baud and system clock source The following bits determine the clock source that generates the baud and system clocks for the SSI. bit0 (PIOSC): 1: The SSI baud clock is determined by the IO DIV setting in the system controller. 0: The SSI baud clock is determined by the SYS DIV setting in the system controller. bit1: Unused bit2: (DSEN) Only meaningful when the system is in deep sleep mode. This bit is a don’t care when not in sleep mode. 1: The SSI system clock is running on the same clock as the baud clock, as per PIOSC setting above. 0: The SSI system clock is determined by the SYS DIV setting in the system controller.
Source§impl R<u32, Reg<u32, _DR>>
impl R<u32, Reg<u32, _DR>>
Sourcepub fn reserved20(&self) -> RESERVED20_R
pub fn reserved20(&self) -> RESERVED20_R
Bits 12:31 - 31:12] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Sourcepub fn oe(&self) -> OE_R
pub fn oe(&self) -> OE_R
Bit 11 - 11:11] UART overrun error 1: New data was received when the FIFO was full, resulting in data loss. 0: No data has been lost due to a FIFO overrun.
Sourcepub fn be(&self) -> BE_R
pub fn be(&self) -> BE_R
Bit 10 - 10:10] UART break error 1: A break condition has been detected, indicating that the receive data input was held low for longer than a full-word transmission time (defined as start, data, parity, and stop bits). 0: No break condition has occurred. In FIFO mode, this error is associated with the character at the top of the FIFO. When a break occurs, only the one 0 character is loaded into the FIFO. The next character is only enabled after the received data input goes to a 1 (marking state), and the next valid start bit is received.
Sourcepub fn pe(&self) -> PE_R
pub fn pe(&self) -> PE_R
Bit 9 - 9:9] UART parity error 1: The parity of the received data character does not match the parity defined by bits 2 and 7 of the UARTLCRH register 0: No parity error has occurred. In FIFO mode, this error is associated with the character at the top of the FIFO.
Source§impl R<u32, Reg<u32, _RSR>>
impl R<u32, Reg<u32, _RSR>>
Sourcepub fn reserved28(&self) -> RESERVED28_R
pub fn reserved28(&self) -> RESERVED28_R
Bits 4:31 - 31:4] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Sourcepub fn oe(&self) -> OE_R
pub fn oe(&self) -> OE_R
Bit 3 - 3:3] UART overrun error 1: New data was received when the FIFO was full, resulting in data loss. 0: No data has been lost due to a FIFO overrun. This bit is cleared by a write to UARTECR. The FIFO contents remain valid because no further data is written when the FIFO is full, only the contents of the shift register are overwritten. The CPU must read the data in order to empty the FIFO.
Sourcepub fn be(&self) -> BE_R
pub fn be(&self) -> BE_R
Bit 2 - 2:2] UART break error 1: A break condition has been detected, indicating that the receive data input was held low for longer than a full-word transmission time (defined as start, data, parity, and stop bits). 0: No break condition has occurred. This bit is cleared to 0 by a write to UARTECR. In FIFO mode, this error is associated with the character at the top of the FIFO. When a break occurs, only one 0 character is loaded into the FIFO. The next character is only enabled after the receive data input goes to a 1 (marking state) and the next valid start bit is received.
Sourcepub fn pe(&self) -> PE_R
pub fn pe(&self) -> PE_R
Bit 1 - 1:1] UART parity error 1: The parity of the received data character does not match the parity defined by bits 2 and 7 of the UARTLCRH register. 0: No parity error has occurred. This bit is cleared to 0 by a write to UARTECR.
Sourcepub fn fe(&self) -> FE_R
pub fn fe(&self) -> FE_R
Bit 0 - 0:0] UART framing error 1: The received character does not have a valid stop bit (a valid stop bit is 1). 0: No framing error has occurred. This bit is cleared to 0 by a write to UARTECR. In FIFO mode, this error is associated with the character at the top of the FIFO.
Source§impl R<u32, Reg<u32, _ECR>>
impl R<u32, Reg<u32, _ECR>>
Sourcepub fn reserved24(&self) -> RESERVED24_R
pub fn reserved24(&self) -> RESERVED24_R
Bits 8:31 - 31:8] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Source§impl R<u32, Reg<u32, _FR>>
impl R<u32, Reg<u32, _FR>>
Sourcepub fn reserved24(&self) -> RESERVED24_R
pub fn reserved24(&self) -> RESERVED24_R
Bits 8:31 - 31:8] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Sourcepub fn txfe(&self) -> TXFE_R
pub fn txfe(&self) -> TXFE_R
Bit 7 - 7:7] UART transmit FIFO empty The meaning of this bit depends on the state of the FEN bit in the UARTLCRH register. 1: If the FIFO is disabled (FEN is 0), the transmit holding register is empty. If the FIFO is enabled (FEN is 1), the transmit FIFO is empty. 0: The transmitter has data to transmit.
Sourcepub fn rxff(&self) -> RXFF_R
pub fn rxff(&self) -> RXFF_R
Bit 6 - 6:6] UART receive FIFO full The meaning of this bit depends on the state of the FEN bit in the UARTLCRH register. 1: If the FIFO is disabled (FEN is 0), the receive holding register is full. If the FIFO is enabled (FEN is 1), the receive FIFO is full. 0: The receiver can receive data.
Sourcepub fn txff(&self) -> TXFF_R
pub fn txff(&self) -> TXFF_R
Bit 5 - 5:5] UART transmit FIFO full The meaning of this bit depends on the state of the FEN bit in the UARTLCRH register. 1: If the FIFO is disabled (FEN is 0), the transmit holding register is full. If the FIFO is enabled (FEN is 1), the transmit FIFO is full. 0: The transmitter is not full.
Sourcepub fn rxfe(&self) -> RXFE_R
pub fn rxfe(&self) -> RXFE_R
Bit 4 - 4:4] UART receive FIFO empty The meaning of this bit depends on the state of the FEN bit in the UARTLCRH register. 1: If the FIFO is disabled (FEN is 0), the receive holding register is empty. If the FIFO is enabled (FEN is 1), the receive FIFO is empty. 0: The receiver is not empty.
Sourcepub fn busy(&self) -> BUSY_R
pub fn busy(&self) -> BUSY_R
Bit 3 - 3:3] UART busy 1: The UART is busy transmitting data. This bit remains set until the complete byte, including all stop bits, has been sent from the shift register. 0: The UART is not busy. This bit is set as soon as the transmit FIFO becomes non-empty (regardless of whether UART is enabled).
Sourcepub fn reserved2(&self) -> RESERVED2_R
pub fn reserved2(&self) -> RESERVED2_R
Bits 1:2 - 2:1] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Source§impl R<u32, Reg<u32, _ILPR>>
impl R<u32, Reg<u32, _ILPR>>
Sourcepub fn reserved24(&self) -> RESERVED24_R
pub fn reserved24(&self) -> RESERVED24_R
Bits 8:31 - 31:8] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Source§impl R<u32, Reg<u32, _IBRD>>
impl R<u32, Reg<u32, _IBRD>>
Sourcepub fn reserved16(&self) -> RESERVED16_R
pub fn reserved16(&self) -> RESERVED16_R
Bits 16:31 - 31:16] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Source§impl R<u32, Reg<u32, _FBRD>>
impl R<u32, Reg<u32, _FBRD>>
Sourcepub fn reserved26(&self) -> RESERVED26_R
pub fn reserved26(&self) -> RESERVED26_R
Bits 6:31 - 31:6] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Source§impl R<u32, Reg<u32, _LCRH>>
impl R<u32, Reg<u32, _LCRH>>
Sourcepub fn reserved24(&self) -> RESERVED24_R
pub fn reserved24(&self) -> RESERVED24_R
Bits 8:31 - 31:8] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Sourcepub fn sps(&self) -> SPS_R
pub fn sps(&self) -> SPS_R
Bit 7 - 7:7] UART stick parity select When bits 1, 2, and 7 of UARTLCRH are set, the parity bit is transmitted and checked as a 0. When bits 1 and 7 are set and 2 is cleared, the parity bit is transmitted and checked as a 1. When this bit is cleared, stick parity is disabled.
Sourcepub fn wlen(&self) -> WLEN_R
pub fn wlen(&self) -> WLEN_R
Bits 5:6 - 6:5] UART word length The bits indicate the number of data bits transmitted or received in a frame as follows: 0x0: 5 bits (default) 0x1: 6 bits 0x2: 7 bits 0x3: 8 bits
Sourcepub fn fen(&self) -> FEN_R
pub fn fen(&self) -> FEN_R
Bit 4 - 4:4] UART enable FIFOs 1: The transmit and receive FIFObuffers are enabled (FIFOmode). 0: The FIFOs are disabled (Character mode). The FIFOs become 1-byte-deep holding registers.
Sourcepub fn stp2(&self) -> STP2_R
pub fn stp2(&self) -> STP2_R
Bit 3 - 3:3] UART two stop bits select 1: Two stop bits are transmitted at the end of a frame. The receive logic does not check for two stop bits being received. 0: One stop bit is transmitted at the end of a frame.
Sourcepub fn eps(&self) -> EPS_R
pub fn eps(&self) -> EPS_R
Bit 2 - 2:2] UART even parity select 1: Even parity generation and checking is performed during transmission and reception, which checks for an even number of 1s in data and parity bits. 0: Odd parity is performed, which checks for an odd number of 1s. This bit has no effect when parity is disabled by the PEN bit.
Sourcepub fn pen(&self) -> PEN_R
pub fn pen(&self) -> PEN_R
Bit 1 - 1:1] UART parity enable 1: Parity checking and generation is enabled. 0: Parity is disabled and no parity bit is added to the data frame.
Sourcepub fn brk(&self) -> BRK_R
pub fn brk(&self) -> BRK_R
Bit 0 - 0:0] UART send break 1: A low level is continually output on the UnTx signal, after completing transmission of the current character. For the proper execution of the break command, software must set this bit for at least two frames (character periods). 0: Normal use
Source§impl R<u32, Reg<u32, _CTL>>
impl R<u32, Reg<u32, _CTL>>
Sourcepub fn reserved6(&self) -> RESERVED6_R
pub fn reserved6(&self) -> RESERVED6_R
Bits 16:31 - 31:16] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Sourcepub fn ctsen(&self) -> CTSEN_R
pub fn ctsen(&self) -> CTSEN_R
Bit 15 - 15:15] U1CTS Hardware Flow control enable 1: When U1CTS input is asserted, UART1 can transmit data. 0: U1CTS does not control UART1 data transmission. Note: Only used for UART1. This bit is reserved RO for UART0.
Sourcepub fn rtsen(&self) -> RTSEN_R
pub fn rtsen(&self) -> RTSEN_R
Bit 14 - 14:14] U1RTS Hardware Flow control enable 1: U1RTS indicates the state of UART1 receive FIFO. U1RTS remains asserted until the preprogrammed watermark level is reached, indicating that the UART1 RXFIFO has no space to store additional characters. 0: U1RTS does not indicate state of UART1 RX FIFO. Note: Only used for UART1. This bit is reserved RO for UART0.
Sourcepub fn reserved4(&self) -> RESERVED4_R
pub fn reserved4(&self) -> RESERVED4_R
Bits 10:13 - 13:10] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Sourcepub fn rxe(&self) -> RXE_R
pub fn rxe(&self) -> RXE_R
Bit 9 - 9:9] UART receive enable 1: The receive section of the UART is enabled. 0: The receive section of the UART is disabled. If the UART is disabled in the middle of a receive, it completes the current character before stopping. Note: To enable reception, the UARTEN bit must also be set.
Sourcepub fn txe(&self) -> TXE_R
pub fn txe(&self) -> TXE_R
Bit 8 - 8:8] UART transmit enable 1: The transmit section of the UART is enabled. 0: The transmit section of the UART is disabled. If the UART is disabled in the middle of a transmission, it completes the current character before stopping. Note: To enable transmission, the UARTEN bit must also be set.
Sourcepub fn lbe(&self) -> LBE_R
pub fn lbe(&self) -> LBE_R
Bit 7 - 7:7] UART loop back enable 1: The UnTx path is fed through the UnRx path. 0: Normal operation
Sourcepub fn lin(&self) -> LIN_R
pub fn lin(&self) -> LIN_R
Bit 6 - 6:6] LIN mode enable 1: The UART operates in LIN mode. 0: Normal operation
Sourcepub fn hse(&self) -> HSE_R
pub fn hse(&self) -> HSE_R
Bit 5 - 5:5] High-speed enable 0: The UART is clocked using the system clock divided by 16. 1: The UART is clocked using the system clock divided by 8. Note: System clock used is also dependent on the baud-rate divisor configuration (See Universal Asynchronous Receivers/Transmitters - Baud-Rate Generation).
Sourcepub fn eot(&self) -> EOT_R
pub fn eot(&self) -> EOT_R
Bit 4 - 4:4] End of transmission This bit determines the behavior of the TXRIS bit in the UARTRIS register. 1: The TXRIS bit is set only after all transmitted data, including stop bits, have cleared the serializer. 0: The TXRIS bit is set when the transmit FIFO condition specified in UARTIFLS is met.
Sourcepub fn reserved1(&self) -> RESERVED1_R
pub fn reserved1(&self) -> RESERVED1_R
Bit 3 - 3:3] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation. Note field should always be written as 0 for correct operation.
Sourcepub fn sirlp(&self) -> SIRLP_R
pub fn sirlp(&self) -> SIRLP_R
Bit 2 - 2:2] UART SIR low-power mode This bit selects the IrDA encoding mode. 1: The UART operates in SIR Low-Power mode. Low-level bits are transmitted with a pulse width which is 3 times the period of the IrLPBaud16 input signal, regardless of the selected bit rate. 0: Low-level bits are transmitted as an active high pulse with a width of 3/16th of the bit period. Setting this bit uses less power, but might reduce transmission distances.
Source§impl R<u32, Reg<u32, _IFLS>>
impl R<u32, Reg<u32, _IFLS>>
Sourcepub fn reserved26(&self) -> RESERVED26_R
pub fn reserved26(&self) -> RESERVED26_R
Bits 6:31 - 31:6] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Sourcepub fn rxiflsel(&self) -> RXIFLSEL_R
pub fn rxiflsel(&self) -> RXIFLSEL_R
Bits 3:5 - 5:3] UART receive interrupt FIFO level select The trigger points for the receive interrupt are as follows: 0x0: RX FIFO >= 1/8 full 0x1: RX FIFO >= 1/4 full 0x2: RX FIFO >= 1/2 full (default) 0x3: RX FIFO >= 3/4 full 0x4: RX FIFO >= 7/8 full 0x5-0x7: Reserved
Sourcepub fn txiflsel(&self) -> TXIFLSEL_R
pub fn txiflsel(&self) -> TXIFLSEL_R
Bits 0:2 - 2:0] UART Transmit Interrupt FIFO Level Select The trigger points for the transmit interrupt are as follows: 0x0: TX FIFO <= 7/8 empty 0x1: TX FIFO <= 3/4 empty 0x2: TX FIFO <= 1/2 empty (default) 0x3: TX FIFO <= 1/4 empty 0x4: TX FIFO <= 1/8 empty 0x5-0x7: Reserved Note: If the EOT bit in UARTCTL is set, the transmit interrupt is generated once the FIFO is completely empty and all data including stop bits have left the transmit serializer. In this case, the setting of TXIFLSEL is ignored.
Source§impl R<u32, Reg<u32, _IM>>
impl R<u32, Reg<u32, _IM>>
Sourcepub fn reserved16(&self) -> RESERVED16_R
pub fn reserved16(&self) -> RESERVED16_R
Bits 16:31 - 31:16] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Sourcepub fn lme5im(&self) -> LME5IM_R
pub fn lme5im(&self) -> LME5IM_R
Bit 15 - 15:15] LIN mode edge 5 interrupt mask 1: An interrupt is sent to the interrupt controller when the LME5RIS bit in the UARTRIS register is set. 0: The LME5RIS interrupt is suppressed and not sent to the interrupt controller.
Sourcepub fn lme1im(&self) -> LME1IM_R
pub fn lme1im(&self) -> LME1IM_R
Bit 14 - 14:14] LIN mode edge 1 interrupt mask 1: An interrupt is sent to the interrupt controller when the LME1RIS bit in the UARTRIS register is set. 0: The LME1RIS interrupt is suppressed and not sent to the interrupt controller.
Sourcepub fn lmsbim(&self) -> LMSBIM_R
pub fn lmsbim(&self) -> LMSBIM_R
Bit 13 - 13:13] LIN mode sync break interrupt mask 1: An interrupt is sent to the interrupt controller when the LMSBRIS bit in the UARTRIS register is set. 0: The LMSBRIS interrupt is suppressed and not sent to the interrupt controller.
Sourcepub fn ninebitim(&self) -> NINEBITIM_R
pub fn ninebitim(&self) -> NINEBITIM_R
Bit 12 - 12:12] 9-bit mode interrupt mask 1: An interrupt is sent to the interrupt controller when the 9BITRIS bit in the UARTRIS register is set. 0: The 9BITRIS interrupt is suppressed and not sent to the interrupt controller.
Sourcepub fn reserved1(&self) -> RESERVED1_R
pub fn reserved1(&self) -> RESERVED1_R
Bit 11 - 11:11] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Sourcepub fn oeim(&self) -> OEIM_R
pub fn oeim(&self) -> OEIM_R
Bit 10 - 10:10] UART overrun error interrupt mask 1: An interrupt is sent to the interrupt controller when the OERIS bit in the UARTRIS register is set. 0: The OERIS interrupt is suppressed and not sent to the interrupt controller.
Sourcepub fn beim(&self) -> BEIM_R
pub fn beim(&self) -> BEIM_R
Bit 9 - 9:9] UART break error interrupt mask 1: An interrupt is sent to the interrupt controller when the BERIS bit in the UARTRIS register is set. 0: The BERIS interrupt is suppressed and not sent to the interrupt controller.
Sourcepub fn peim(&self) -> PEIM_R
pub fn peim(&self) -> PEIM_R
Bit 8 - 8:8] UART parity error interrupt mask 1: An interrupt is sent to the interrupt controller when the PERIS bit in the UARTRIS register is set. 0: The PERIS interrupt is suppressed and not sent to the interrupt controller.
Sourcepub fn feim(&self) -> FEIM_R
pub fn feim(&self) -> FEIM_R
Bit 7 - 7:7] UART framing error interrupt mask 1: An interrupt is sent to the interrupt controller when the FERIS bit in the UARTRIS register is set. 0: The FERIS interrupt is suppressed and not sent to the interrupt controller.
Sourcepub fn rtim(&self) -> RTIM_R
pub fn rtim(&self) -> RTIM_R
Bit 6 - 6:6] UART receive time-out interrupt mask 1: An interrupt is sent to the interrupt controller when the RTRIS bit in the UARTRIS register is set. 0: The RTRIS interrupt is suppressed and not sent to the interrupt controller.
Sourcepub fn txim(&self) -> TXIM_R
pub fn txim(&self) -> TXIM_R
Bit 5 - 5:5] UART transmit interrupt mask 1: An interrupt is sent to the interrupt controller when the TXRIS bit in the UARTRIS register is set. 0: The TXRIS interrupt is suppressed and not sent to the interrupt controller.
Sourcepub fn rxim(&self) -> RXIM_R
pub fn rxim(&self) -> RXIM_R
Bit 4 - 4:4] UART receive interrupt mask 1: An interrupt is sent to the interrupt controller when the RXRIS bit in the UARTRIS register is set. 0: The RXRIS interrupt is suppressed and not sent to the interrupt controller.
Sourcepub fn reserved4(&self) -> RESERVED4_R
pub fn reserved4(&self) -> RESERVED4_R
Bits 0:3 - 3:0] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Source§impl R<u32, Reg<u32, _RIS>>
impl R<u32, Reg<u32, _RIS>>
Sourcepub fn reserved16(&self) -> RESERVED16_R
pub fn reserved16(&self) -> RESERVED16_R
Bits 16:31 - 31:16] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Sourcepub fn lme5ris(&self) -> LME5RIS_R
pub fn lme5ris(&self) -> LME5RIS_R
Bit 15 - 15:15] LIN mode edge 5 raw interrupt status 1: The timer value at the 5th falling edge of the LIN sync field has been captured. 0: No interrupt This bit is cleared by writing 1 to the LME5IC bit in the UARTICR register.
Sourcepub fn lme1ris(&self) -> LME1RIS_R
pub fn lme1ris(&self) -> LME1RIS_R
Bit 14 - 14:14] LIN mode edge 1 raw interrupt status 1: The timer value at the 1st falling edge of the LIN Sync Field has been captured. 0: No interrupt This bit is cleared by writing 1 to the LME1IC bit in the UARTICR register.
Sourcepub fn lmsbris(&self) -> LMSBRIS_R
pub fn lmsbris(&self) -> LMSBRIS_R
Bit 13 - 13:13] LIN mode sync break raw interrupt status 1: A LIN sync break has been detected. 0: No interrupt This bit is cleared by writing 1 to the LMSBIC bit in the UARTICR register.
Sourcepub fn ninebitris(&self) -> NINEBITRIS_R
pub fn ninebitris(&self) -> NINEBITRIS_R
Bit 12 - 12:12] 9-mit mode raw interrupt status 1: A receive address match has occurred. 0: No interrupt This bit is cleared by writing 1 to the 9BITIC bit in the UARTICR register.
Sourcepub fn reserved1(&self) -> RESERVED1_R
pub fn reserved1(&self) -> RESERVED1_R
Bit 11 - 11:11] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Sourcepub fn oeris(&self) -> OERIS_R
pub fn oeris(&self) -> OERIS_R
Bit 10 - 10:10] UART overrun error raw interrupt status 1: An overrun error has occurred. 0: No interrupt This bit is cleared by writing 1 to the OEIC bit in the UARTICR register.
Sourcepub fn beris(&self) -> BERIS_R
pub fn beris(&self) -> BERIS_R
Bit 9 - 9:9] UART break error raw interrupt status 1: A break error has occurred. 0: No interrupt This bit is cleared by writing 1 to the BEIC bit in the UARTICR register.
Sourcepub fn peris(&self) -> PERIS_R
pub fn peris(&self) -> PERIS_R
Bit 8 - 8:8] UART parity error raw interrupt status 1: A parity error has occurred. 0: No interrupt This bit is cleared by writing 1 to the PEIC bit in the UARTICR register.
Sourcepub fn feris(&self) -> FERIS_R
pub fn feris(&self) -> FERIS_R
Bit 7 - 7:7] UART framing error raw interrupt status 1: A framing error has occurred. 0: No interrupt This bit is cleared by writing 1 to the FEIC bit in the UARTICR register.
Sourcepub fn rtris(&self) -> RTRIS_R
pub fn rtris(&self) -> RTRIS_R
Bit 6 - 6:6] UART receive time-out raw interrupt status 1: A receive time out has occurred. 0: No interrupt This bit is cleared by writing 1 to the RTIC bit in the UARTICR register.
Sourcepub fn txris(&self) -> TXRIS_R
pub fn txris(&self) -> TXRIS_R
Bit 5 - 5:5] UART transmit raw interrupt status 1: If the EOT bit in the UARTCTL register is clear, the transmit FIFO level has passed through the condition defined in the UARTIFLS register. If the EOT bit is set, the last bit of all transmitted data and flags has left the serializer. 0: No interrupt This bit is cleared by writing 1 to the TXIC bit in the UARTICR register.
Sourcepub fn rxris(&self) -> RXRIS_R
pub fn rxris(&self) -> RXRIS_R
Bit 4 - 4:4] UART receive raw interrupt status 1: The receive FIFO level has passed through the condition defined in the UARTIFLS register. 0: No interrupt This bit is cleared by writing 1 to the RXIC bit in the UARTICR register.
Sourcepub fn reserved4(&self) -> RESERVED4_R
pub fn reserved4(&self) -> RESERVED4_R
Bits 0:3 - 3:0] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Source§impl R<u32, Reg<u32, _MIS>>
impl R<u32, Reg<u32, _MIS>>
Sourcepub fn reserved16(&self) -> RESERVED16_R
pub fn reserved16(&self) -> RESERVED16_R
Bits 16:31 - 31:16] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Sourcepub fn lme5mis(&self) -> LME5MIS_R
pub fn lme5mis(&self) -> LME5MIS_R
Bit 15 - 15:15] LIN mode edge 5 masked interrupt status 1: An unmasked interrupt was signaled due to the 5th falling edge of the LIN sync field. 0: An interrupt has not occurred or is masked. This bit is cleared by writing 1 to the LME5IC bit in the UARTICR register.
Sourcepub fn lme1mis(&self) -> LME1MIS_R
pub fn lme1mis(&self) -> LME1MIS_R
Bit 14 - 14:14] LIN mode edge 1 masked interrupt status 1: An unmasked interrupt was signaled due to the 1st falling edge of the LIN sync field. 0: An interrupt has not occurred or is masked. This bit is cleared by writing 1 to the LME1IC bit in the UARTICR register.
Sourcepub fn lmsbmis(&self) -> LMSBMIS_R
pub fn lmsbmis(&self) -> LMSBMIS_R
Bit 13 - 13:13] LIN mode sync break masked interrupt status 1: An unmasked interrupt was signaled due to the receipt of a LIN sync break. 0: An interrupt has not occurred or is masked. This bit is cleared by writing 1 to the LMSBIC bit in the UARTICR register.
Sourcepub fn ninebitmis(&self) -> NINEBITMIS_R
pub fn ninebitmis(&self) -> NINEBITMIS_R
Bit 12 - 12:12] 9-bit mode masked interrupt status 1: An unmasked interrupt was signaled due to a receive address match. 0: An interrupt has not occurred or is masked. This bit is cleared by writing 1 to the 9BITIC bit in the UARTICR register.
Sourcepub fn reserved1(&self) -> RESERVED1_R
pub fn reserved1(&self) -> RESERVED1_R
Bit 11 - 11:11] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Sourcepub fn oemis(&self) -> OEMIS_R
pub fn oemis(&self) -> OEMIS_R
Bit 10 - 10:10] UART overrun error masked interrupt status 1: An unmasked interrupt was signaled due to an overrun error. 0: An interrupt has not occurred or is masked. This bit is cleared by writing 1 to the OEIC bit in the UARTICR register.
Sourcepub fn bemis(&self) -> BEMIS_R
pub fn bemis(&self) -> BEMIS_R
Bit 9 - 9:9] UART break error masked interrupt status 1: An unmasked interrupt was signaled due to a break error. 0: An interrupt has not occurred or is masked. This bit is cleared by writing 1 to the BEIC bit in the UARTICR register.
Sourcepub fn pemis(&self) -> PEMIS_R
pub fn pemis(&self) -> PEMIS_R
Bit 8 - 8:8] UART parity error masked interrupt status 1: An unmasked interrupt was signaled due to a parity error. 0: An interrupt has not occurred or is masked. This bit is cleared by writing 1 to the PEIC bit in the UARTICR register.
Sourcepub fn femis(&self) -> FEMIS_R
pub fn femis(&self) -> FEMIS_R
Bit 7 - 7:7] UART framing error masked interrupt status 1: An unmasked interrupt was signaled due to a framing error. 0: An interrupt has not occurred or is masked. This bit is cleared by writing 1 to the FEIC bit in the UARTICR register.
Sourcepub fn rtmis(&self) -> RTMIS_R
pub fn rtmis(&self) -> RTMIS_R
Bit 6 - 6:6] UART receive time-out masked interrupt status 1: An unmasked interrupt was signaled due to a receive time out. 0: An interrupt has not occurred or is masked. This bit is cleared by writing 1 to the RTIC bit in the UARTICR register.
Sourcepub fn txmis(&self) -> TXMIS_R
pub fn txmis(&self) -> TXMIS_R
Bit 5 - 5:5] UART transmit masked interrupt status 1: An unmasked interrupt was signaled due to passing through the specified transmit FIFO level (if the EOT bit is clear) or due to the transmission of the last data bit (if the EOT bit is set). 0: An interrupt has not occurred or is masked. This bit is cleared by writing 1 to the TXIC bit in the UARTICR register.
Sourcepub fn rxmis(&self) -> RXMIS_R
pub fn rxmis(&self) -> RXMIS_R
Bit 4 - 4:4] UART receive masked interrupt status 1: An unmasked interrupt was signaled due to passing through the specified receive FIFO level. 0: An interrupt has not occurred or is masked. This bit is cleared by writing 1 to the RXIC bit in the UARTICR register.
Sourcepub fn reserved4(&self) -> RESERVED4_R
pub fn reserved4(&self) -> RESERVED4_R
Bits 0:3 - 3:0] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Source§impl R<u32, Reg<u32, _ICR>>
impl R<u32, Reg<u32, _ICR>>
Sourcepub fn reserved16(&self) -> RESERVED16_R
pub fn reserved16(&self) -> RESERVED16_R
Bits 16:31 - 31:16] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Sourcepub fn lme5ic(&self) -> LME5IC_R
pub fn lme5ic(&self) -> LME5IC_R
Bit 15 - 15:15] LIN mode edge 5 interrupt clear Writing 1 to this bit clears the LME5RIS bit in the UARTRIS register and the LME5MIS bit in the UARTMIS register.
Sourcepub fn lme1ic(&self) -> LME1IC_R
pub fn lme1ic(&self) -> LME1IC_R
Bit 14 - 14:14] LIN mode edge 1 interrupt clear Writing 1 to this bit clears the LME1RIS bit in the UARTRIS register and the LME1MIS bit in the UARTMIS register.
Sourcepub fn lmsbic(&self) -> LMSBIC_R
pub fn lmsbic(&self) -> LMSBIC_R
Bit 13 - 13:13] LIN mode sync break interrupt clear Writing 1 to this bit clears the LMSBRIS bit in the UARTRIS register and the LMSBMIS bit in the UARTMIS register.
Sourcepub fn ninebitic(&self) -> NINEBITIC_R
pub fn ninebitic(&self) -> NINEBITIC_R
Bit 12 - 12:12] 9-bit mode interrupt clear Writing 1 to this bit clears the 9BITRIS bit in the UARTRIS register and the 9BITMIS bit in the UARTMIS register.
Sourcepub fn reserved1(&self) -> RESERVED1_R
pub fn reserved1(&self) -> RESERVED1_R
Bit 11 - 11:11] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Sourcepub fn oeic(&self) -> OEIC_R
pub fn oeic(&self) -> OEIC_R
Bit 10 - 10:10] Overrun error interrupt clear Writing 1 to this bit clears the OERIS bit in the UARTRIS register and the OEMIS bit in the UARTMIS register.
Sourcepub fn beic(&self) -> BEIC_R
pub fn beic(&self) -> BEIC_R
Bit 9 - 9:9] Break error interrupt clear Writing 1 to this bit clears the BERIS bit in the UARTRIS register and the BEMIS bit in the UARTMIS register.
Sourcepub fn peic(&self) -> PEIC_R
pub fn peic(&self) -> PEIC_R
Bit 8 - 8:8] Parity error interrupt clear Writing 1 to this bit clears the PERIS bit in the UARTRIS register and the PEMIS bit in the UARTMIS register.
Sourcepub fn feic(&self) -> FEIC_R
pub fn feic(&self) -> FEIC_R
Bit 7 - 7:7] Framing error interrupt clear Writing 1 to this bit clears the FERIS bit in the UARTRIS register and the FEMIS bit in the UARTMIS register.
Sourcepub fn rtic(&self) -> RTIC_R
pub fn rtic(&self) -> RTIC_R
Bit 6 - 6:6] Receive time-out interrupt clear Writing 1 to this bit clears the RTRIS bit in the UARTRIS register and the RTMIS bit in the UARTMIS register.
Sourcepub fn txic(&self) -> TXIC_R
pub fn txic(&self) -> TXIC_R
Bit 5 - 5:5] Transmit interrupt clear Writing 1 to this bit clears the TXRIS bit in the UARTRIS register and the TXMIS bit in the UARTMIS register.
Sourcepub fn rxic(&self) -> RXIC_R
pub fn rxic(&self) -> RXIC_R
Bit 4 - 4:4] Receive interrupt clear Writing 1 to this bit clears the RXRIS bit in the UARTRIS register and the RXMIS bit in the UARTMIS register.
Sourcepub fn reserved4(&self) -> RESERVED4_R
pub fn reserved4(&self) -> RESERVED4_R
Bits 0:3 - 3:0] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Source§impl R<u32, Reg<u32, _DMACTL>>
impl R<u32, Reg<u32, _DMACTL>>
Sourcepub fn reserved29(&self) -> RESERVED29_R
pub fn reserved29(&self) -> RESERVED29_R
Bits 3:31 - 31:3] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Sourcepub fn dmaerr(&self) -> DMAERR_R
pub fn dmaerr(&self) -> DMAERR_R
Bit 2 - 2:2] DMA on error 1: uDMA receive requests are automatically disabled when a receive error occurs. 0: uDMA receive requests are unaffected when a receive error occurs.
Source§impl R<u32, Reg<u32, _LCTL>>
impl R<u32, Reg<u32, _LCTL>>
Sourcepub fn reserved26(&self) -> RESERVED26_R
pub fn reserved26(&self) -> RESERVED26_R
Bits 6:31 - 31:6] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Sourcepub fn blen(&self) -> BLEN_R
pub fn blen(&self) -> BLEN_R
Bits 4:5 - 5:4] Sync break length 0x3: Sync break length is 16T bits 0x2: Sync break length is 15T bits 0x1: Sync break length is 14T bits 0x0: Sync break length is 13T bits (default)
Sourcepub fn reserved3(&self) -> RESERVED3_R
pub fn reserved3(&self) -> RESERVED3_R
Bits 1:3 - 3:1] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Source§impl R<u32, Reg<u32, _LSS>>
impl R<u32, Reg<u32, _LSS>>
Sourcepub fn reserved16(&self) -> RESERVED16_R
pub fn reserved16(&self) -> RESERVED16_R
Bits 16:31 - 31:16] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Source§impl R<u32, Reg<u32, _LTIM>>
impl R<u32, Reg<u32, _LTIM>>
Sourcepub fn reserved16(&self) -> RESERVED16_R
pub fn reserved16(&self) -> RESERVED16_R
Bits 16:31 - 31:16] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Source§impl R<u32, Reg<u32, _NINEBITADDR>>
impl R<u32, Reg<u32, _NINEBITADDR>>
Sourcepub fn reserved16(&self) -> RESERVED16_R
pub fn reserved16(&self) -> RESERVED16_R
Bits 16:31 - 31:16] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Sourcepub fn ninebiten(&self) -> NINEBITEN_R
pub fn ninebiten(&self) -> NINEBITEN_R
Bit 15 - 15:15] Enable 9-bit mode 1: 9-bit mode is enabled. 0: 9-bit mode is disabled.
Sourcepub fn reserved7(&self) -> RESERVED7_R
pub fn reserved7(&self) -> RESERVED7_R
Bits 8:14 - 14:8] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Source§impl R<u32, Reg<u32, _NINEBITAMASK>>
impl R<u32, Reg<u32, _NINEBITAMASK>>
Sourcepub fn reserved16(&self) -> RESERVED16_R
pub fn reserved16(&self) -> RESERVED16_R
Bits 16:31 - 31:16] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Source§impl R<u32, Reg<u32, _PP>>
impl R<u32, Reg<u32, _PP>>
Sourcepub fn reserved30(&self) -> RESERVED30_R
pub fn reserved30(&self) -> RESERVED30_R
Bits 2:31 - 31:2] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Source§impl R<u32, Reg<u32, _CC>>
impl R<u32, Reg<u32, _CC>>
Sourcepub fn reserved29(&self) -> RESERVED29_R
pub fn reserved29(&self) -> RESERVED29_R
Bits 3:31 - 31:3] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Sourcepub fn cs(&self) -> CS_R
pub fn cs(&self) -> CS_R
Bits 0:2 - 2:0] UART baud and system clock source The following bits determine the clock source that generates the baud and system clocks for the UART. bit0 (PIOSC): 1: The UART baud clock is determined by the IO DIV setting in the system controller. 0: The UART baud clock is determined by the SYS DIV setting in the system controller. bit1: Unused bit2: (DSEN) Only meaningful when the system is in deep sleep mode. This bit is a don’t care when not in sleep mode. 1: The UART system clock is running on the same clock as the baud clock, as per PIOSC setting above. 0: The UART system clock is determined by the SYS DIV setting in the system controller.
Source§impl R<u32, Reg<u32, _DR>>
impl R<u32, Reg<u32, _DR>>
Sourcepub fn reserved20(&self) -> RESERVED20_R
pub fn reserved20(&self) -> RESERVED20_R
Bits 12:31 - 31:12] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Sourcepub fn oe(&self) -> OE_R
pub fn oe(&self) -> OE_R
Bit 11 - 11:11] UART overrun error 1: New data was received when the FIFO was full, resulting in data loss. 0: No data has been lost due to a FIFO overrun.
Sourcepub fn be(&self) -> BE_R
pub fn be(&self) -> BE_R
Bit 10 - 10:10] UART break error 1: A break condition has been detected, indicating that the receive data input was held low for longer than a full-word transmission time (defined as start, data, parity, and stop bits). 0: No break condition has occurred. In FIFO mode, this error is associated with the character at the top of the FIFO. When a break occurs, only the one 0 character is loaded into the FIFO. The next character is only enabled after the received data input goes to a 1 (marking state), and the next valid start bit is received.
Sourcepub fn pe(&self) -> PE_R
pub fn pe(&self) -> PE_R
Bit 9 - 9:9] UART parity error 1: The parity of the received data character does not match the parity defined by bits 2 and 7 of the UARTLCRH register 0: No parity error has occurred. In FIFO mode, this error is associated with the character at the top of the FIFO.
Source§impl R<u32, Reg<u32, _RSR>>
impl R<u32, Reg<u32, _RSR>>
Sourcepub fn reserved28(&self) -> RESERVED28_R
pub fn reserved28(&self) -> RESERVED28_R
Bits 4:31 - 31:4] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Sourcepub fn oe(&self) -> OE_R
pub fn oe(&self) -> OE_R
Bit 3 - 3:3] UART overrun error 1: New data was received when the FIFO was full, resulting in data loss. 0: No data has been lost due to a FIFO overrun. This bit is cleared by a write to UARTECR. The FIFO contents remain valid because no further data is written when the FIFO is full, only the contents of the shift register are overwritten. The CPU must read the data in order to empty the FIFO.
Sourcepub fn be(&self) -> BE_R
pub fn be(&self) -> BE_R
Bit 2 - 2:2] UART break error 1: A break condition has been detected, indicating that the receive data input was held low for longer than a full-word transmission time (defined as start, data, parity, and stop bits). 0: No break condition has occurred. This bit is cleared to 0 by a write to UARTECR. In FIFO mode, this error is associated with the character at the top of the FIFO. When a break occurs, only one 0 character is loaded into the FIFO. The next character is only enabled after the receive data input goes to a 1 (marking state) and the next valid start bit is received.
Sourcepub fn pe(&self) -> PE_R
pub fn pe(&self) -> PE_R
Bit 1 - 1:1] UART parity error 1: The parity of the received data character does not match the parity defined by bits 2 and 7 of the UARTLCRH register. 0: No parity error has occurred. This bit is cleared to 0 by a write to UARTECR.
Sourcepub fn fe(&self) -> FE_R
pub fn fe(&self) -> FE_R
Bit 0 - 0:0] UART framing error 1: The received character does not have a valid stop bit (a valid stop bit is 1). 0: No framing error has occurred. This bit is cleared to 0 by a write to UARTECR. In FIFO mode, this error is associated with the character at the top of the FIFO.
Source§impl R<u32, Reg<u32, _ECR>>
impl R<u32, Reg<u32, _ECR>>
Sourcepub fn reserved24(&self) -> RESERVED24_R
pub fn reserved24(&self) -> RESERVED24_R
Bits 8:31 - 31:8] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Source§impl R<u32, Reg<u32, _FR>>
impl R<u32, Reg<u32, _FR>>
Sourcepub fn reserved24(&self) -> RESERVED24_R
pub fn reserved24(&self) -> RESERVED24_R
Bits 8:31 - 31:8] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Sourcepub fn txfe(&self) -> TXFE_R
pub fn txfe(&self) -> TXFE_R
Bit 7 - 7:7] UART transmit FIFO empty The meaning of this bit depends on the state of the FEN bit in the UARTLCRH register. 1: If the FIFO is disabled (FEN is 0), the transmit holding register is empty. If the FIFO is enabled (FEN is 1), the transmit FIFO is empty. 0: The transmitter has data to transmit.
Sourcepub fn rxff(&self) -> RXFF_R
pub fn rxff(&self) -> RXFF_R
Bit 6 - 6:6] UART receive FIFO full The meaning of this bit depends on the state of the FEN bit in the UARTLCRH register. 1: If the FIFO is disabled (FEN is 0), the receive holding register is full. If the FIFO is enabled (FEN is 1), the receive FIFO is full. 0: The receiver can receive data.
Sourcepub fn txff(&self) -> TXFF_R
pub fn txff(&self) -> TXFF_R
Bit 5 - 5:5] UART transmit FIFO full The meaning of this bit depends on the state of the FEN bit in the UARTLCRH register. 1: If the FIFO is disabled (FEN is 0), the transmit holding register is full. If the FIFO is enabled (FEN is 1), the transmit FIFO is full. 0: The transmitter is not full.
Sourcepub fn rxfe(&self) -> RXFE_R
pub fn rxfe(&self) -> RXFE_R
Bit 4 - 4:4] UART receive FIFO empty The meaning of this bit depends on the state of the FEN bit in the UARTLCRH register. 1: If the FIFO is disabled (FEN is 0), the receive holding register is empty. If the FIFO is enabled (FEN is 1), the receive FIFO is empty. 0: The receiver is not empty.
Sourcepub fn busy(&self) -> BUSY_R
pub fn busy(&self) -> BUSY_R
Bit 3 - 3:3] UART busy 1: The UART is busy transmitting data. This bit remains set until the complete byte, including all stop bits, has been sent from the shift register. 0: The UART is not busy. This bit is set as soon as the transmit FIFO becomes non-empty (regardless of whether UART is enabled).
Sourcepub fn reserved2(&self) -> RESERVED2_R
pub fn reserved2(&self) -> RESERVED2_R
Bits 1:2 - 2:1] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Source§impl R<u32, Reg<u32, _ILPR>>
impl R<u32, Reg<u32, _ILPR>>
Sourcepub fn reserved24(&self) -> RESERVED24_R
pub fn reserved24(&self) -> RESERVED24_R
Bits 8:31 - 31:8] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Source§impl R<u32, Reg<u32, _IBRD>>
impl R<u32, Reg<u32, _IBRD>>
Sourcepub fn reserved16(&self) -> RESERVED16_R
pub fn reserved16(&self) -> RESERVED16_R
Bits 16:31 - 31:16] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Source§impl R<u32, Reg<u32, _FBRD>>
impl R<u32, Reg<u32, _FBRD>>
Sourcepub fn reserved26(&self) -> RESERVED26_R
pub fn reserved26(&self) -> RESERVED26_R
Bits 6:31 - 31:6] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Source§impl R<u32, Reg<u32, _LCRH>>
impl R<u32, Reg<u32, _LCRH>>
Sourcepub fn reserved24(&self) -> RESERVED24_R
pub fn reserved24(&self) -> RESERVED24_R
Bits 8:31 - 31:8] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Sourcepub fn sps(&self) -> SPS_R
pub fn sps(&self) -> SPS_R
Bit 7 - 7:7] UART stick parity select When bits 1, 2, and 7 of UARTLCRH are set, the parity bit is transmitted and checked as a 0. When bits 1 and 7 are set and 2 is cleared, the parity bit is transmitted and checked as a 1. When this bit is cleared, stick parity is disabled.
Sourcepub fn wlen(&self) -> WLEN_R
pub fn wlen(&self) -> WLEN_R
Bits 5:6 - 6:5] UART word length The bits indicate the number of data bits transmitted or received in a frame as follows: 0x0: 5 bits (default) 0x1: 6 bits 0x2: 7 bits 0x3: 8 bits
Sourcepub fn fen(&self) -> FEN_R
pub fn fen(&self) -> FEN_R
Bit 4 - 4:4] UART enable FIFOs 1: The transmit and receive FIFObuffers are enabled (FIFOmode). 0: The FIFOs are disabled (Character mode). The FIFOs become 1-byte-deep holding registers.
Sourcepub fn stp2(&self) -> STP2_R
pub fn stp2(&self) -> STP2_R
Bit 3 - 3:3] UART two stop bits select 1: Two stop bits are transmitted at the end of a frame. The receive logic does not check for two stop bits being received. 0: One stop bit is transmitted at the end of a frame.
Sourcepub fn eps(&self) -> EPS_R
pub fn eps(&self) -> EPS_R
Bit 2 - 2:2] UART even parity select 1: Even parity generation and checking is performed during transmission and reception, which checks for an even number of 1s in data and parity bits. 0: Odd parity is performed, which checks for an odd number of 1s. This bit has no effect when parity is disabled by the PEN bit.
Sourcepub fn pen(&self) -> PEN_R
pub fn pen(&self) -> PEN_R
Bit 1 - 1:1] UART parity enable 1: Parity checking and generation is enabled. 0: Parity is disabled and no parity bit is added to the data frame.
Sourcepub fn brk(&self) -> BRK_R
pub fn brk(&self) -> BRK_R
Bit 0 - 0:0] UART send break 1: A low level is continually output on the UnTx signal, after completing transmission of the current character. For the proper execution of the break command, software must set this bit for at least two frames (character periods). 0: Normal use
Source§impl R<u32, Reg<u32, _CTL>>
impl R<u32, Reg<u32, _CTL>>
Sourcepub fn reserved6(&self) -> RESERVED6_R
pub fn reserved6(&self) -> RESERVED6_R
Bits 16:31 - 31:16] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Sourcepub fn ctsen(&self) -> CTSEN_R
pub fn ctsen(&self) -> CTSEN_R
Bit 15 - 15:15] U1CTS Hardware Flow control enable 1: When U1CTS input is asserted, UART1 can transmit data. 0: U1CTS does not control UART1 data transmission. Note: Only used for UART1. This bit is reserved RO for UART0.
Sourcepub fn rtsen(&self) -> RTSEN_R
pub fn rtsen(&self) -> RTSEN_R
Bit 14 - 14:14] U1RTS Hardware Flow control enable 1: U1RTS indicates the state of UART1 receive FIFO. U1RTS remains asserted until the preprogrammed watermark level is reached, indicating that the UART1 RXFIFO has no space to store additional characters. 0: U1RTS does not indicate state of UART1 RX FIFO. Note: Only used for UART1. This bit is reserved RO for UART0.
Sourcepub fn reserved4(&self) -> RESERVED4_R
pub fn reserved4(&self) -> RESERVED4_R
Bits 10:13 - 13:10] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Sourcepub fn rxe(&self) -> RXE_R
pub fn rxe(&self) -> RXE_R
Bit 9 - 9:9] UART receive enable 1: The receive section of the UART is enabled. 0: The receive section of the UART is disabled. If the UART is disabled in the middle of a receive, it completes the current character before stopping. Note: To enable reception, the UARTEN bit must also be set.
Sourcepub fn txe(&self) -> TXE_R
pub fn txe(&self) -> TXE_R
Bit 8 - 8:8] UART transmit enable 1: The transmit section of the UART is enabled. 0: The transmit section of the UART is disabled. If the UART is disabled in the middle of a transmission, it completes the current character before stopping. Note: To enable transmission, the UARTEN bit must also be set.
Sourcepub fn lbe(&self) -> LBE_R
pub fn lbe(&self) -> LBE_R
Bit 7 - 7:7] UART loop back enable 1: The UnTx path is fed through the UnRx path. 0: Normal operation
Sourcepub fn lin(&self) -> LIN_R
pub fn lin(&self) -> LIN_R
Bit 6 - 6:6] LIN mode enable 1: The UART operates in LIN mode. 0: Normal operation
Sourcepub fn hse(&self) -> HSE_R
pub fn hse(&self) -> HSE_R
Bit 5 - 5:5] High-speed enable 0: The UART is clocked using the system clock divided by 16. 1: The UART is clocked using the system clock divided by 8. Note: System clock used is also dependent on the baud-rate divisor configuration (See Universal Asynchronous Receivers/Transmitters - Baud-Rate Generation).
Sourcepub fn eot(&self) -> EOT_R
pub fn eot(&self) -> EOT_R
Bit 4 - 4:4] End of transmission This bit determines the behavior of the TXRIS bit in the UARTRIS register. 1: The TXRIS bit is set only after all transmitted data, including stop bits, have cleared the serializer. 0: The TXRIS bit is set when the transmit FIFO condition specified in UARTIFLS is met.
Sourcepub fn reserved1(&self) -> RESERVED1_R
pub fn reserved1(&self) -> RESERVED1_R
Bit 3 - 3:3] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation. Note field should always be written as 0 for correct operation.
Sourcepub fn sirlp(&self) -> SIRLP_R
pub fn sirlp(&self) -> SIRLP_R
Bit 2 - 2:2] UART SIR low-power mode This bit selects the IrDA encoding mode. 1: The UART operates in SIR Low-Power mode. Low-level bits are transmitted with a pulse width which is 3 times the period of the IrLPBaud16 input signal, regardless of the selected bit rate. 0: Low-level bits are transmitted as an active high pulse with a width of 3/16th of the bit period. Setting this bit uses less power, but might reduce transmission distances.
Source§impl R<u32, Reg<u32, _IFLS>>
impl R<u32, Reg<u32, _IFLS>>
Sourcepub fn reserved26(&self) -> RESERVED26_R
pub fn reserved26(&self) -> RESERVED26_R
Bits 6:31 - 31:6] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Sourcepub fn rxiflsel(&self) -> RXIFLSEL_R
pub fn rxiflsel(&self) -> RXIFLSEL_R
Bits 3:5 - 5:3] UART receive interrupt FIFO level select The trigger points for the receive interrupt are as follows: 0x0: RX FIFO >= 1/8 full 0x1: RX FIFO >= 1/4 full 0x2: RX FIFO >= 1/2 full (default) 0x3: RX FIFO >= 3/4 full 0x4: RX FIFO >= 7/8 full 0x5-0x7: Reserved
Sourcepub fn txiflsel(&self) -> TXIFLSEL_R
pub fn txiflsel(&self) -> TXIFLSEL_R
Bits 0:2 - 2:0] UART Transmit Interrupt FIFO Level Select The trigger points for the transmit interrupt are as follows: 0x0: TX FIFO <= 7/8 empty 0x1: TX FIFO <= 3/4 empty 0x2: TX FIFO <= 1/2 empty (default) 0x3: TX FIFO <= 1/4 empty 0x4: TX FIFO <= 1/8 empty 0x5-0x7: Reserved Note: If the EOT bit in UARTCTL is set, the transmit interrupt is generated once the FIFO is completely empty and all data including stop bits have left the transmit serializer. In this case, the setting of TXIFLSEL is ignored.
Source§impl R<u32, Reg<u32, _IM>>
impl R<u32, Reg<u32, _IM>>
Sourcepub fn reserved16(&self) -> RESERVED16_R
pub fn reserved16(&self) -> RESERVED16_R
Bits 16:31 - 31:16] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Sourcepub fn lme5im(&self) -> LME5IM_R
pub fn lme5im(&self) -> LME5IM_R
Bit 15 - 15:15] LIN mode edge 5 interrupt mask 1: An interrupt is sent to the interrupt controller when the LME5RIS bit in the UARTRIS register is set. 0: The LME5RIS interrupt is suppressed and not sent to the interrupt controller.
Sourcepub fn lme1im(&self) -> LME1IM_R
pub fn lme1im(&self) -> LME1IM_R
Bit 14 - 14:14] LIN mode edge 1 interrupt mask 1: An interrupt is sent to the interrupt controller when the LME1RIS bit in the UARTRIS register is set. 0: The LME1RIS interrupt is suppressed and not sent to the interrupt controller.
Sourcepub fn lmsbim(&self) -> LMSBIM_R
pub fn lmsbim(&self) -> LMSBIM_R
Bit 13 - 13:13] LIN mode sync break interrupt mask 1: An interrupt is sent to the interrupt controller when the LMSBRIS bit in the UARTRIS register is set. 0: The LMSBRIS interrupt is suppressed and not sent to the interrupt controller.
Sourcepub fn ninebitim(&self) -> NINEBITIM_R
pub fn ninebitim(&self) -> NINEBITIM_R
Bit 12 - 12:12] 9-bit mode interrupt mask 1: An interrupt is sent to the interrupt controller when the 9BITRIS bit in the UARTRIS register is set. 0: The 9BITRIS interrupt is suppressed and not sent to the interrupt controller.
Sourcepub fn reserved1(&self) -> RESERVED1_R
pub fn reserved1(&self) -> RESERVED1_R
Bit 11 - 11:11] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Sourcepub fn oeim(&self) -> OEIM_R
pub fn oeim(&self) -> OEIM_R
Bit 10 - 10:10] UART overrun error interrupt mask 1: An interrupt is sent to the interrupt controller when the OERIS bit in the UARTRIS register is set. 0: The OERIS interrupt is suppressed and not sent to the interrupt controller.
Sourcepub fn beim(&self) -> BEIM_R
pub fn beim(&self) -> BEIM_R
Bit 9 - 9:9] UART break error interrupt mask 1: An interrupt is sent to the interrupt controller when the BERIS bit in the UARTRIS register is set. 0: The BERIS interrupt is suppressed and not sent to the interrupt controller.
Sourcepub fn peim(&self) -> PEIM_R
pub fn peim(&self) -> PEIM_R
Bit 8 - 8:8] UART parity error interrupt mask 1: An interrupt is sent to the interrupt controller when the PERIS bit in the UARTRIS register is set. 0: The PERIS interrupt is suppressed and not sent to the interrupt controller.
Sourcepub fn feim(&self) -> FEIM_R
pub fn feim(&self) -> FEIM_R
Bit 7 - 7:7] UART framing error interrupt mask 1: An interrupt is sent to the interrupt controller when the FERIS bit in the UARTRIS register is set. 0: The FERIS interrupt is suppressed and not sent to the interrupt controller.
Sourcepub fn rtim(&self) -> RTIM_R
pub fn rtim(&self) -> RTIM_R
Bit 6 - 6:6] UART receive time-out interrupt mask 1: An interrupt is sent to the interrupt controller when the RTRIS bit in the UARTRIS register is set. 0: The RTRIS interrupt is suppressed and not sent to the interrupt controller.
Sourcepub fn txim(&self) -> TXIM_R
pub fn txim(&self) -> TXIM_R
Bit 5 - 5:5] UART transmit interrupt mask 1: An interrupt is sent to the interrupt controller when the TXRIS bit in the UARTRIS register is set. 0: The TXRIS interrupt is suppressed and not sent to the interrupt controller.
Sourcepub fn rxim(&self) -> RXIM_R
pub fn rxim(&self) -> RXIM_R
Bit 4 - 4:4] UART receive interrupt mask 1: An interrupt is sent to the interrupt controller when the RXRIS bit in the UARTRIS register is set. 0: The RXRIS interrupt is suppressed and not sent to the interrupt controller.
Sourcepub fn reserved4(&self) -> RESERVED4_R
pub fn reserved4(&self) -> RESERVED4_R
Bits 0:3 - 3:0] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Source§impl R<u32, Reg<u32, _RIS>>
impl R<u32, Reg<u32, _RIS>>
Sourcepub fn reserved16(&self) -> RESERVED16_R
pub fn reserved16(&self) -> RESERVED16_R
Bits 16:31 - 31:16] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Sourcepub fn lme5ris(&self) -> LME5RIS_R
pub fn lme5ris(&self) -> LME5RIS_R
Bit 15 - 15:15] LIN mode edge 5 raw interrupt status 1: The timer value at the 5th falling edge of the LIN sync field has been captured. 0: No interrupt This bit is cleared by writing 1 to the LME5IC bit in the UARTICR register.
Sourcepub fn lme1ris(&self) -> LME1RIS_R
pub fn lme1ris(&self) -> LME1RIS_R
Bit 14 - 14:14] LIN mode edge 1 raw interrupt status 1: The timer value at the 1st falling edge of the LIN Sync Field has been captured. 0: No interrupt This bit is cleared by writing 1 to the LME1IC bit in the UARTICR register.
Sourcepub fn lmsbris(&self) -> LMSBRIS_R
pub fn lmsbris(&self) -> LMSBRIS_R
Bit 13 - 13:13] LIN mode sync break raw interrupt status 1: A LIN sync break has been detected. 0: No interrupt This bit is cleared by writing 1 to the LMSBIC bit in the UARTICR register.
Sourcepub fn ninebitris(&self) -> NINEBITRIS_R
pub fn ninebitris(&self) -> NINEBITRIS_R
Bit 12 - 12:12] 9-mit mode raw interrupt status 1: A receive address match has occurred. 0: No interrupt This bit is cleared by writing 1 to the 9BITIC bit in the UARTICR register.
Sourcepub fn reserved1(&self) -> RESERVED1_R
pub fn reserved1(&self) -> RESERVED1_R
Bit 11 - 11:11] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Sourcepub fn oeris(&self) -> OERIS_R
pub fn oeris(&self) -> OERIS_R
Bit 10 - 10:10] UART overrun error raw interrupt status 1: An overrun error has occurred. 0: No interrupt This bit is cleared by writing 1 to the OEIC bit in the UARTICR register.
Sourcepub fn beris(&self) -> BERIS_R
pub fn beris(&self) -> BERIS_R
Bit 9 - 9:9] UART break error raw interrupt status 1: A break error has occurred. 0: No interrupt This bit is cleared by writing 1 to the BEIC bit in the UARTICR register.
Sourcepub fn peris(&self) -> PERIS_R
pub fn peris(&self) -> PERIS_R
Bit 8 - 8:8] UART parity error raw interrupt status 1: A parity error has occurred. 0: No interrupt This bit is cleared by writing 1 to the PEIC bit in the UARTICR register.
Sourcepub fn feris(&self) -> FERIS_R
pub fn feris(&self) -> FERIS_R
Bit 7 - 7:7] UART framing error raw interrupt status 1: A framing error has occurred. 0: No interrupt This bit is cleared by writing 1 to the FEIC bit in the UARTICR register.
Sourcepub fn rtris(&self) -> RTRIS_R
pub fn rtris(&self) -> RTRIS_R
Bit 6 - 6:6] UART receive time-out raw interrupt status 1: A receive time out has occurred. 0: No interrupt This bit is cleared by writing 1 to the RTIC bit in the UARTICR register.
Sourcepub fn txris(&self) -> TXRIS_R
pub fn txris(&self) -> TXRIS_R
Bit 5 - 5:5] UART transmit raw interrupt status 1: If the EOT bit in the UARTCTL register is clear, the transmit FIFO level has passed through the condition defined in the UARTIFLS register. If the EOT bit is set, the last bit of all transmitted data and flags has left the serializer. 0: No interrupt This bit is cleared by writing 1 to the TXIC bit in the UARTICR register.
Sourcepub fn rxris(&self) -> RXRIS_R
pub fn rxris(&self) -> RXRIS_R
Bit 4 - 4:4] UART receive raw interrupt status 1: The receive FIFO level has passed through the condition defined in the UARTIFLS register. 0: No interrupt This bit is cleared by writing 1 to the RXIC bit in the UARTICR register.
Sourcepub fn reserved4(&self) -> RESERVED4_R
pub fn reserved4(&self) -> RESERVED4_R
Bits 0:3 - 3:0] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Source§impl R<u32, Reg<u32, _MIS>>
impl R<u32, Reg<u32, _MIS>>
Sourcepub fn reserved16(&self) -> RESERVED16_R
pub fn reserved16(&self) -> RESERVED16_R
Bits 16:31 - 31:16] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Sourcepub fn lme5mis(&self) -> LME5MIS_R
pub fn lme5mis(&self) -> LME5MIS_R
Bit 15 - 15:15] LIN mode edge 5 masked interrupt status 1: An unmasked interrupt was signaled due to the 5th falling edge of the LIN sync field. 0: An interrupt has not occurred or is masked. This bit is cleared by writing 1 to the LME5IC bit in the UARTICR register.
Sourcepub fn lme1mis(&self) -> LME1MIS_R
pub fn lme1mis(&self) -> LME1MIS_R
Bit 14 - 14:14] LIN mode edge 1 masked interrupt status 1: An unmasked interrupt was signaled due to the 1st falling edge of the LIN sync field. 0: An interrupt has not occurred or is masked. This bit is cleared by writing 1 to the LME1IC bit in the UARTICR register.
Sourcepub fn lmsbmis(&self) -> LMSBMIS_R
pub fn lmsbmis(&self) -> LMSBMIS_R
Bit 13 - 13:13] LIN mode sync break masked interrupt status 1: An unmasked interrupt was signaled due to the receipt of a LIN sync break. 0: An interrupt has not occurred or is masked. This bit is cleared by writing 1 to the LMSBIC bit in the UARTICR register.
Sourcepub fn ninebitmis(&self) -> NINEBITMIS_R
pub fn ninebitmis(&self) -> NINEBITMIS_R
Bit 12 - 12:12] 9-bit mode masked interrupt status 1: An unmasked interrupt was signaled due to a receive address match. 0: An interrupt has not occurred or is masked. This bit is cleared by writing 1 to the 9BITIC bit in the UARTICR register.
Sourcepub fn reserved1(&self) -> RESERVED1_R
pub fn reserved1(&self) -> RESERVED1_R
Bit 11 - 11:11] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Sourcepub fn oemis(&self) -> OEMIS_R
pub fn oemis(&self) -> OEMIS_R
Bit 10 - 10:10] UART overrun error masked interrupt status 1: An unmasked interrupt was signaled due to an overrun error. 0: An interrupt has not occurred or is masked. This bit is cleared by writing 1 to the OEIC bit in the UARTICR register.
Sourcepub fn bemis(&self) -> BEMIS_R
pub fn bemis(&self) -> BEMIS_R
Bit 9 - 9:9] UART break error masked interrupt status 1: An unmasked interrupt was signaled due to a break error. 0: An interrupt has not occurred or is masked. This bit is cleared by writing 1 to the BEIC bit in the UARTICR register.
Sourcepub fn pemis(&self) -> PEMIS_R
pub fn pemis(&self) -> PEMIS_R
Bit 8 - 8:8] UART parity error masked interrupt status 1: An unmasked interrupt was signaled due to a parity error. 0: An interrupt has not occurred or is masked. This bit is cleared by writing 1 to the PEIC bit in the UARTICR register.
Sourcepub fn femis(&self) -> FEMIS_R
pub fn femis(&self) -> FEMIS_R
Bit 7 - 7:7] UART framing error masked interrupt status 1: An unmasked interrupt was signaled due to a framing error. 0: An interrupt has not occurred or is masked. This bit is cleared by writing 1 to the FEIC bit in the UARTICR register.
Sourcepub fn rtmis(&self) -> RTMIS_R
pub fn rtmis(&self) -> RTMIS_R
Bit 6 - 6:6] UART receive time-out masked interrupt status 1: An unmasked interrupt was signaled due to a receive time out. 0: An interrupt has not occurred or is masked. This bit is cleared by writing 1 to the RTIC bit in the UARTICR register.
Sourcepub fn txmis(&self) -> TXMIS_R
pub fn txmis(&self) -> TXMIS_R
Bit 5 - 5:5] UART transmit masked interrupt status 1: An unmasked interrupt was signaled due to passing through the specified transmit FIFO level (if the EOT bit is clear) or due to the transmission of the last data bit (if the EOT bit is set). 0: An interrupt has not occurred or is masked. This bit is cleared by writing 1 to the TXIC bit in the UARTICR register.
Sourcepub fn rxmis(&self) -> RXMIS_R
pub fn rxmis(&self) -> RXMIS_R
Bit 4 - 4:4] UART receive masked interrupt status 1: An unmasked interrupt was signaled due to passing through the specified receive FIFO level. 0: An interrupt has not occurred or is masked. This bit is cleared by writing 1 to the RXIC bit in the UARTICR register.
Sourcepub fn reserved4(&self) -> RESERVED4_R
pub fn reserved4(&self) -> RESERVED4_R
Bits 0:3 - 3:0] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Source§impl R<u32, Reg<u32, _ICR>>
impl R<u32, Reg<u32, _ICR>>
Sourcepub fn reserved16(&self) -> RESERVED16_R
pub fn reserved16(&self) -> RESERVED16_R
Bits 16:31 - 31:16] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Sourcepub fn lme5ic(&self) -> LME5IC_R
pub fn lme5ic(&self) -> LME5IC_R
Bit 15 - 15:15] LIN mode edge 5 interrupt clear Writing 1 to this bit clears the LME5RIS bit in the UARTRIS register and the LME5MIS bit in the UARTMIS register.
Sourcepub fn lme1ic(&self) -> LME1IC_R
pub fn lme1ic(&self) -> LME1IC_R
Bit 14 - 14:14] LIN mode edge 1 interrupt clear Writing 1 to this bit clears the LME1RIS bit in the UARTRIS register and the LME1MIS bit in the UARTMIS register.
Sourcepub fn lmsbic(&self) -> LMSBIC_R
pub fn lmsbic(&self) -> LMSBIC_R
Bit 13 - 13:13] LIN mode sync break interrupt clear Writing 1 to this bit clears the LMSBRIS bit in the UARTRIS register and the LMSBMIS bit in the UARTMIS register.
Sourcepub fn ninebitic(&self) -> NINEBITIC_R
pub fn ninebitic(&self) -> NINEBITIC_R
Bit 12 - 12:12] 9-bit mode interrupt clear Writing 1 to this bit clears the 9BITRIS bit in the UARTRIS register and the 9BITMIS bit in the UARTMIS register.
Sourcepub fn reserved1(&self) -> RESERVED1_R
pub fn reserved1(&self) -> RESERVED1_R
Bit 11 - 11:11] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Sourcepub fn oeic(&self) -> OEIC_R
pub fn oeic(&self) -> OEIC_R
Bit 10 - 10:10] Overrun error interrupt clear Writing 1 to this bit clears the OERIS bit in the UARTRIS register and the OEMIS bit in the UARTMIS register.
Sourcepub fn beic(&self) -> BEIC_R
pub fn beic(&self) -> BEIC_R
Bit 9 - 9:9] Break error interrupt clear Writing 1 to this bit clears the BERIS bit in the UARTRIS register and the BEMIS bit in the UARTMIS register.
Sourcepub fn peic(&self) -> PEIC_R
pub fn peic(&self) -> PEIC_R
Bit 8 - 8:8] Parity error interrupt clear Writing 1 to this bit clears the PERIS bit in the UARTRIS register and the PEMIS bit in the UARTMIS register.
Sourcepub fn feic(&self) -> FEIC_R
pub fn feic(&self) -> FEIC_R
Bit 7 - 7:7] Framing error interrupt clear Writing 1 to this bit clears the FERIS bit in the UARTRIS register and the FEMIS bit in the UARTMIS register.
Sourcepub fn rtic(&self) -> RTIC_R
pub fn rtic(&self) -> RTIC_R
Bit 6 - 6:6] Receive time-out interrupt clear Writing 1 to this bit clears the RTRIS bit in the UARTRIS register and the RTMIS bit in the UARTMIS register.
Sourcepub fn txic(&self) -> TXIC_R
pub fn txic(&self) -> TXIC_R
Bit 5 - 5:5] Transmit interrupt clear Writing 1 to this bit clears the TXRIS bit in the UARTRIS register and the TXMIS bit in the UARTMIS register.
Sourcepub fn rxic(&self) -> RXIC_R
pub fn rxic(&self) -> RXIC_R
Bit 4 - 4:4] Receive interrupt clear Writing 1 to this bit clears the RXRIS bit in the UARTRIS register and the RXMIS bit in the UARTMIS register.
Sourcepub fn reserved4(&self) -> RESERVED4_R
pub fn reserved4(&self) -> RESERVED4_R
Bits 0:3 - 3:0] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Source§impl R<u32, Reg<u32, _DMACTL>>
impl R<u32, Reg<u32, _DMACTL>>
Sourcepub fn reserved29(&self) -> RESERVED29_R
pub fn reserved29(&self) -> RESERVED29_R
Bits 3:31 - 31:3] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Sourcepub fn dmaerr(&self) -> DMAERR_R
pub fn dmaerr(&self) -> DMAERR_R
Bit 2 - 2:2] DMA on error 1: uDMA receive requests are automatically disabled when a receive error occurs. 0: uDMA receive requests are unaffected when a receive error occurs.
Source§impl R<u32, Reg<u32, _LCTL>>
impl R<u32, Reg<u32, _LCTL>>
Sourcepub fn reserved26(&self) -> RESERVED26_R
pub fn reserved26(&self) -> RESERVED26_R
Bits 6:31 - 31:6] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Sourcepub fn blen(&self) -> BLEN_R
pub fn blen(&self) -> BLEN_R
Bits 4:5 - 5:4] Sync break length 0x3: Sync break length is 16T bits 0x2: Sync break length is 15T bits 0x1: Sync break length is 14T bits 0x0: Sync break length is 13T bits (default)
Sourcepub fn reserved3(&self) -> RESERVED3_R
pub fn reserved3(&self) -> RESERVED3_R
Bits 1:3 - 3:1] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Source§impl R<u32, Reg<u32, _LSS>>
impl R<u32, Reg<u32, _LSS>>
Sourcepub fn reserved16(&self) -> RESERVED16_R
pub fn reserved16(&self) -> RESERVED16_R
Bits 16:31 - 31:16] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Source§impl R<u32, Reg<u32, _LTIM>>
impl R<u32, Reg<u32, _LTIM>>
Sourcepub fn reserved16(&self) -> RESERVED16_R
pub fn reserved16(&self) -> RESERVED16_R
Bits 16:31 - 31:16] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Source§impl R<u32, Reg<u32, _NINEBITADDR>>
impl R<u32, Reg<u32, _NINEBITADDR>>
Sourcepub fn reserved16(&self) -> RESERVED16_R
pub fn reserved16(&self) -> RESERVED16_R
Bits 16:31 - 31:16] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Sourcepub fn ninebiten(&self) -> NINEBITEN_R
pub fn ninebiten(&self) -> NINEBITEN_R
Bit 15 - 15:15] Enable 9-bit mode 1: 9-bit mode is enabled. 0: 9-bit mode is disabled.
Sourcepub fn reserved7(&self) -> RESERVED7_R
pub fn reserved7(&self) -> RESERVED7_R
Bits 8:14 - 14:8] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Source§impl R<u32, Reg<u32, _NINEBITAMASK>>
impl R<u32, Reg<u32, _NINEBITAMASK>>
Sourcepub fn reserved16(&self) -> RESERVED16_R
pub fn reserved16(&self) -> RESERVED16_R
Bits 16:31 - 31:16] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Source§impl R<u32, Reg<u32, _PP>>
impl R<u32, Reg<u32, _PP>>
Sourcepub fn reserved30(&self) -> RESERVED30_R
pub fn reserved30(&self) -> RESERVED30_R
Bits 2:31 - 31:2] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Source§impl R<u32, Reg<u32, _CC>>
impl R<u32, Reg<u32, _CC>>
Sourcepub fn reserved29(&self) -> RESERVED29_R
pub fn reserved29(&self) -> RESERVED29_R
Bits 3:31 - 31:3] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Sourcepub fn cs(&self) -> CS_R
pub fn cs(&self) -> CS_R
Bits 0:2 - 2:0] UART baud and system clock source The following bits determine the clock source that generates the baud and system clocks for the UART. bit0 (PIOSC): 1: The UART baud clock is determined by the IO DIV setting in the system controller. 0: The UART baud clock is determined by the SYS DIV setting in the system controller. bit1: Unused bit2: (DSEN) Only meaningful when the system is in deep sleep mode. This bit is a don’t care when not in sleep mode. 1: The UART system clock is running on the same clock as the baud clock, as per PIOSC setting above. 0: The UART system clock is determined by the SYS DIV setting in the system controller.
Source§impl R<u32, Reg<u32, _SA>>
impl R<u32, Reg<u32, _SA>>
Sourcepub fn reserved24(&self) -> RESERVED24_R
pub fn reserved24(&self) -> RESERVED24_R
Bits 8:31 - 31:8] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Source§impl R<u32, Reg<u32, _CTRL>>
impl R<u32, Reg<u32, _CTRL>>
Sourcepub fn reserved28(&self) -> RESERVED28_R
pub fn reserved28(&self) -> RESERVED28_R
Bits 4:31 - 31:4] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Sourcepub fn ack(&self) -> ACK_R
pub fn ack(&self) -> ACK_R
Bit 3 - 3:3] Data acknowledge enable 0: The received data byte is not acknowledged automatically by the master. 1: The received data byte is acknowledged automatically by the master.
Sourcepub fn stop(&self) -> STOP_R
pub fn stop(&self) -> STOP_R
Bit 2 - 2:2] Generate STOP 0: The controller does not generate the STOP condition. 1: The controller generates the STOP condition.
Source§impl R<u32, Reg<u32, _STAT>>
impl R<u32, Reg<u32, _STAT>>
Sourcepub fn reserved25(&self) -> RESERVED25_R
pub fn reserved25(&self) -> RESERVED25_R
Bits 7:31 - 31:7] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Sourcepub fn busbsy(&self) -> BUSBSY_R
pub fn busbsy(&self) -> BUSBSY_R
Bit 6 - 6:6] Bus busy 0: The I2C bus is idle. 1: The I2C bus is busy. The bit changes based on the START and STOP conditions.
Sourcepub fn idle(&self) -> IDLE_R
pub fn idle(&self) -> IDLE_R
Bit 5 - 5:5] I2C idle 0: The I2C controller is not idle. 1: The I2C controller is idle.
Sourcepub fn arblst(&self) -> ARBLST_R
pub fn arblst(&self) -> ARBLST_R
Bit 4 - 4:4] Arbitration lost 0: The I2C controller won arbitration. 1: The I2C controller lost arbitration.
Sourcepub fn datack(&self) -> DATACK_R
pub fn datack(&self) -> DATACK_R
Bit 3 - 3:3] Acknowledge data 0: The transmited data was acknowledged. 1: The transmited data was not acknowledged.
Sourcepub fn adrack(&self) -> ADRACK_R
pub fn adrack(&self) -> ADRACK_R
Bit 2 - 2:2] Acknowledge address 0: The transmited address was acknowledged. 1: The transmited address was not acknowledged.
Source§impl R<u32, Reg<u32, _DR>>
impl R<u32, Reg<u32, _DR>>
Sourcepub fn reserved24(&self) -> RESERVED24_R
pub fn reserved24(&self) -> RESERVED24_R
Bits 8:31 - 31:8] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Source§impl R<u32, Reg<u32, _TPR>>
impl R<u32, Reg<u32, _TPR>>
Sourcepub fn reserved25(&self) -> RESERVED25_R
pub fn reserved25(&self) -> RESERVED25_R
Bits 7:31 - 31:7] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Sourcepub fn tpr(&self) -> TPR_R
pub fn tpr(&self) -> TPR_R
Bits 0:6 - 6:0] SCL clock period This field specifies the period of the SCL clock. SCL_PRD = 2 * (1+TPR)*(SCL_LP + SCL_HP)*CLK_PRD where: SCL_PRD is the SCL line period (I2C clock). TPR is the timer period register value (range of 1 to 127) SCL_LP is the SCL low period (fixed at 6). SCL_HP is the SCL high period (fixed at 4). CLK_PRD is the system clock period in ns.
Source§impl R<u32, Reg<u32, _IMR>>
impl R<u32, Reg<u32, _IMR>>
Sourcepub fn reserved31(&self) -> RESERVED31_R
pub fn reserved31(&self) -> RESERVED31_R
Bits 1:31 - 31:1] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Source§impl R<u32, Reg<u32, _RIS>>
impl R<u32, Reg<u32, _RIS>>
Sourcepub fn reserved31(&self) -> RESERVED31_R
pub fn reserved31(&self) -> RESERVED31_R
Bits 1:31 - 31:1] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Source§impl R<u32, Reg<u32, _MIS>>
impl R<u32, Reg<u32, _MIS>>
Sourcepub fn reserved31(&self) -> RESERVED31_R
pub fn reserved31(&self) -> RESERVED31_R
Bits 1:31 - 31:1] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Source§impl R<u32, Reg<u32, _ICR>>
impl R<u32, Reg<u32, _ICR>>
Sourcepub fn reserved31(&self) -> RESERVED31_R
pub fn reserved31(&self) -> RESERVED31_R
Bits 1:31 - 31:1] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Source§impl R<u32, Reg<u32, _CR>>
impl R<u32, Reg<u32, _CR>>
Sourcepub fn reserved26(&self) -> RESERVED26_R
pub fn reserved26(&self) -> RESERVED26_R
Bits 6:31 - 31:6] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Sourcepub fn sfe(&self) -> SFE_R
pub fn sfe(&self) -> SFE_R
Bit 5 - 5:5] I2C slave function enable 1: Slave mode is enabled. 0: Slave mode is disabled.
Sourcepub fn mfe(&self) -> MFE_R
pub fn mfe(&self) -> MFE_R
Bit 4 - 4:4] I2C master function enable 1: Master mode is enabled. 0: Master mode is disabled.
Sourcepub fn reserved3(&self) -> RESERVED3_R
pub fn reserved3(&self) -> RESERVED3_R
Bits 1:3 - 3:1] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Source§impl R<u32, Reg<u32, _OAR>>
impl R<u32, Reg<u32, _OAR>>
Sourcepub fn reserved25(&self) -> RESERVED25_R
pub fn reserved25(&self) -> RESERVED25_R
Bits 7:31 - 31:7] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Source§impl R<u32, Reg<u32, _STAT>>
impl R<u32, Reg<u32, _STAT>>
Sourcepub fn reserved29(&self) -> RESERVED29_R
pub fn reserved29(&self) -> RESERVED29_R
Bits 3:31 - 31:3] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Sourcepub fn fbr(&self) -> FBR_R
pub fn fbr(&self) -> FBR_R
Bit 2 - 2:2] First byte received 1: The first byte following the slave’s own address has been received. 0: The first byte has not been received. This bit is only valid when the RREQ bit is set and is automatically cleared when data has been read from the I2CSDR register. Note: This bit is not used for slave transmit operations.
Source§impl R<u32, Reg<u32, _CTRL>>
impl R<u32, Reg<u32, _CTRL>>
Sourcepub fn reserved31(&self) -> RESERVED31_R
pub fn reserved31(&self) -> RESERVED31_R
Bits 1:31 - 31:1] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Source§impl R<u32, Reg<u32, _DR>>
impl R<u32, Reg<u32, _DR>>
Sourcepub fn reserved24(&self) -> RESERVED24_R
pub fn reserved24(&self) -> RESERVED24_R
Bits 8:31 - 31:8] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Source§impl R<u32, Reg<u32, _IMR>>
impl R<u32, Reg<u32, _IMR>>
Sourcepub fn reserved29(&self) -> RESERVED29_R
pub fn reserved29(&self) -> RESERVED29_R
Bits 3:31 - 31:3] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Sourcepub fn stopim(&self) -> STOPIM_R
pub fn stopim(&self) -> STOPIM_R
Bit 2 - 2:2] Stop condition interrupt mask 1: The STOP condition interrupt is sent to the interrupt controller when the STOPRIS bit in the I2CSRIS register is set. 0: The STOPRIS interrupt is supressed and not sent to the interrupt controller.
Source§impl R<u32, Reg<u32, _RIS>>
impl R<u32, Reg<u32, _RIS>>
Sourcepub fn reserved29(&self) -> RESERVED29_R
pub fn reserved29(&self) -> RESERVED29_R
Bits 3:31 - 31:3] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Sourcepub fn stopris(&self) -> STOPRIS_R
pub fn stopris(&self) -> STOPRIS_R
Bit 2 - 2:2] Stop condition raw interrupt status 1: A STOP condition interrupt is pending. 0: No interrupt This bit is cleared by writing 1 to the STOPIC bit in the I2CSICR register.
Sourcepub fn startris(&self) -> STARTRIS_R
pub fn startris(&self) -> STARTRIS_R
Bit 1 - 1:1] Start condition raw interrupt status 1: A START condition interrupt is pending. 0: No interrupt This bit is cleared by writing 1 to the STARTIC bit in the I2CSICR register.
Source§impl R<u32, Reg<u32, _MIS>>
impl R<u32, Reg<u32, _MIS>>
Sourcepub fn reserved29(&self) -> RESERVED29_R
pub fn reserved29(&self) -> RESERVED29_R
Bits 3:31 - 31:3] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Sourcepub fn stopmis(&self) -> STOPMIS_R
pub fn stopmis(&self) -> STOPMIS_R
Bit 2 - 2:2] Stop condition masked interrupt status 1: An unmasked STOP condition interrupt is pending. 0: An interrupt has not occurred or is masked. This bit is cleared by writing 1 to the STOPIC bit in the I2CSICR register.
Sourcepub fn startmis(&self) -> STARTMIS_R
pub fn startmis(&self) -> STARTMIS_R
Bit 1 - 1:1] Start condition masked interrupt status 1: An unmasked START condition interrupt is pending. 0: An interrupt has not occurred or is masked. This bit is cleared by writing 1 to the STARTIC bit in the I2CSICR register.
Source§impl R<u32, Reg<u32, _ICR>>
impl R<u32, Reg<u32, _ICR>>
Sourcepub fn reserved29(&self) -> RESERVED29_R
pub fn reserved29(&self) -> RESERVED29_R
Bits 3:31 - 31:3] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Sourcepub fn stopic(&self) -> STOPIC_R
pub fn stopic(&self) -> STOPIC_R
Bit 2 - 2:2] Stop condition interrupt clear Writing 1 to this bit clears the STOPRIS bit in the I2CSRIS register and the STOPMIS bit in the I2CSMIS register. A read of this register returns no meaningful data.
Source§impl R<u32, Reg<u32, _CFG>>
impl R<u32, Reg<u32, _CFG>>
Sourcepub fn gptmcfg(&self) -> GPTMCFG_R
pub fn gptmcfg(&self) -> GPTMCFG_R
Bits 0:2 - 2:0] GPTM configuration The GPTMCFG values are defined as follows: 0x0: 32-bit timer configuration. 0x1: 32-bit real-time clock 0x2: Reserved 0x3: Reserved 0x4: 16-bit timer configuration. The function is controlled by bits [1:0] of GPTMTAMR and GPTMTBMR. 0x5-0x7: Reserved
Source§impl R<u32, Reg<u32, _TAMR>>
impl R<u32, Reg<u32, _TAMR>>
Sourcepub fn reserved12(&self) -> RESERVED12_R
pub fn reserved12(&self) -> RESERVED12_R
Bits 12:31 - 31:12] Reserved
Sourcepub fn taplo(&self) -> TAPLO_R
pub fn taplo(&self) -> TAPLO_R
Bit 11 - 11:11] Legacy PWM operation 0: Legacy operation 1: CCP is set to 1 on time-out.
Sourcepub fn tamrsu(&self) -> TAMRSU_R
pub fn tamrsu(&self) -> TAMRSU_R
Bit 10 - 10:10] Timer A match register update mode 0: Update GPTMAMATCHR and GPTMAPR if used on the next cycle. 1: Update GPTMAMATCHR and GPTMAPR if used on the next time-out. If the timer is disabled (TAEN is clear) when this bit is set, GPTMTAMATCHR and GPTMTAPR are updated when the timer is enabled. If the timer is stalled (TASTALL is set), GPTMTAMATCHR and GPTMTAPR are updated according to the configuration of this bit.
Sourcepub fn tapwmie(&self) -> TAPWMIE_R
pub fn tapwmie(&self) -> TAPWMIE_R
Bit 9 - 9:9] GPTM Timer A PWM interrupt enable This bit enables interrupts in PWM mode on rising, falling, or both edges of the CCP output. 0: Interrupt is disabled. 1: Interrupt is enabled. This bit is valid only in PWM mode.
Sourcepub fn taild(&self) -> TAILD_R
pub fn taild(&self) -> TAILD_R
Bit 8 - 8:8] GPTM Timer A PWM interval load write 0: Update the GPTMTAR register with the value in the GPTMTAILR register on the next cycle. If the prescaler is used, update the GPTMTAPS register with the value in the GPTMTAPR register on the next cycle. 1: Update the GPTMTAR register with the value in the GPTMTAILR register on the next cycle. If the prescaler is used, update the GPTMTAPS register with the value in the GPTMTAPR register on the next time-out.
Sourcepub fn tasnaps(&self) -> TASNAPS_R
pub fn tasnaps(&self) -> TASNAPS_R
Bit 7 - 7:7] GPTM Timer A snap-shot mode 0: Snap-shot mode is disabled. 1: If Timer A is configured in periodic mode, the actual free-running value of Timer A is loaded at the time-out event into the GPTM Timer A (GPTMTAR) register.
Sourcepub fn tawot(&self) -> TAWOT_R
pub fn tawot(&self) -> TAWOT_R
Bit 6 - 6:6] GPTM Timer A wait-on-trigger 0: Timer A begins counting as soon as it is enabled. 1: If Timer A is enabled (TAEN is set in the GPTMCTL register), Timer A does not begin counting until it receives a trigger from the Timer in the previous position in the daisy-chain. This bit must be clear for GP Timer module 0, Timer A.
Sourcepub fn tamie(&self) -> TAMIE_R
pub fn tamie(&self) -> TAMIE_R
Bit 5 - 5:5] GPTM Timer A match interrupt enable 0: The match interrupt is disabled. 1: An interrupt is generated when the match value in the GPTMTAMATCHR register is reached in the one-shot and periodic modes.
Sourcepub fn tacdir(&self) -> TACDIR_R
pub fn tacdir(&self) -> TACDIR_R
Bit 4 - 4:4] GPTM Timer A count direction 0: The timer counts down. 1: The timer counts up. When counting up, the timer starts from a value of 0x0.
Sourcepub fn taams(&self) -> TAAMS_R
pub fn taams(&self) -> TAAMS_R
Bit 3 - 3:3] GPTM Timer A alternate mode 0: Capture mode is enabled. 1: PWM mode is enabled. Note: To enable PWM mode, the TACM bit must be cleared and the TAMR field must be configured to 0x2.
Source§impl R<u32, Reg<u32, _TBMR>>
impl R<u32, Reg<u32, _TBMR>>
Sourcepub fn reserved12(&self) -> RESERVED12_R
pub fn reserved12(&self) -> RESERVED12_R
Bits 12:31 - 31:12] Reserved
Sourcepub fn tbplo(&self) -> TBPLO_R
pub fn tbplo(&self) -> TBPLO_R
Bit 11 - 11:11] Legacy PWM operation 0: Legacy operation 1: CCP is set to 1 on time-out.
Sourcepub fn tbmrsu(&self) -> TBMRSU_R
pub fn tbmrsu(&self) -> TBMRSU_R
Bit 10 - 10:10] Timer B match register update mode 0: Update the GPTMBMATCHR and the GPTMBPR, if used on the next cycle. 1: Update the GPTMBMATCHR and the GPTMBPR, if used on the next time-out. If the timer is disabled (TAEN is clear) when this bit is set, GPTMTBMATCHR and GPTMTBPR are updated when the timer is enabled. If the timer is stalled (TBSTALL is set), GPTMTBMATCHR and GPTMTBPR are updated according to the configuration of this bit.
Sourcepub fn tbpwmie(&self) -> TBPWMIE_R
pub fn tbpwmie(&self) -> TBPWMIE_R
Bit 9 - 9:9] GPTM Timer B PWM interrupt enable This bit enables interrupts in PWM mode on rising, falling, or both edges of the CCP output. 0: Interrupt is disabled. 1: Interrupt is enabled. This bit is valid only in PWM mode.
Sourcepub fn tbild(&self) -> TBILD_R
pub fn tbild(&self) -> TBILD_R
Bit 8 - 8:8] GPTM Timer B PWM interval load write 0: Update the GPTMTBR register with the value in the GPTMTBILR register on the next cycle. If the prescaler is used, update the GPTMTBPS register with the value in the GPTMTBPR register on the next cycle. 1: Update the GPTMTBR register with the value in the GPTMTBILR register on the next cycle. If the prescaler is used, update the GPTMTBPS register with the value in the GPTMTBPR register on the next time-out.
Sourcepub fn tbsnaps(&self) -> TBSNAPS_R
pub fn tbsnaps(&self) -> TBSNAPS_R
Bit 7 - 7:7] GPTM Timer B snap-shot mode 0: Snap-shot mode is disabled. 1: If Timer B is configured in the periodic mode, the actual free-running value of Timer A is loaded into the GPTM Timer B (GPTMTBR) register at the time-out event.
Sourcepub fn tbwot(&self) -> TBWOT_R
pub fn tbwot(&self) -> TBWOT_R
Bit 6 - 6:6] GPTM Timer B wait-on-trigger 0: Timer B begins counting as soon as it is enabled. 1: If Timer B is enabled (TBEN is set in the GPTMCTL register), Timer B does not begin counting until it receives a trigger from the timer in the previous position in the daisy-chain.
Sourcepub fn tbmie(&self) -> TBMIE_R
pub fn tbmie(&self) -> TBMIE_R
Bit 5 - 5:5] GPTM Timer B match interrupt enable 0: The match interrupt is disabled. 1: An interrupt is generated when the match value in the GPTMTBMATCHR register is reached in the one-shot and periodic modes.
Sourcepub fn tbcdir(&self) -> TBCDIR_R
pub fn tbcdir(&self) -> TBCDIR_R
Bit 4 - 4:4] GPTM Timer B count direction 0: The timer counts down. 1: The timer counts up. When counting up, the timer starts from a value of 0x0.
Sourcepub fn tbams(&self) -> TBAMS_R
pub fn tbams(&self) -> TBAMS_R
Bit 3 - 3:3] GPTM Timer B alternate mode 0: Capture mode is enabled. 1: PWM mode is enabled. Note: To enable PWM mode, the TBCM bit must be cleared and the TBMR field must be configured to 0x2.
Source§impl R<u32, Reg<u32, _CTL>>
impl R<u32, Reg<u32, _CTL>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 15:31 - 31:15] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Sourcepub fn tbpwml(&self) -> TBPWML_R
pub fn tbpwml(&self) -> TBPWML_R
Bit 14 - 14:14] GPTM Timer B PWM output level 0: Output is unaffected. 1: Output is inverted.
Sourcepub fn tbote(&self) -> TBOTE_R
pub fn tbote(&self) -> TBOTE_R
Bit 13 - 13:13] GPTM Timer B output trigger enable 0: The ADC trigger of output Timer B is disabled. 1: The ADC trigger of output Timer B is enabled.
Sourcepub fn reserved13(&self) -> RESERVED13_R
pub fn reserved13(&self) -> RESERVED13_R
Bit 12 - 12:12] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Sourcepub fn tbevent(&self) -> TBEVENT_R
pub fn tbevent(&self) -> TBEVENT_R
Bits 10:11 - 11:10] GPTM Timer B event mode 0x0: Positive edge 0x1: Negative edge 0x2: Reserved 0x3: Both edges
Sourcepub fn tbstall(&self) -> TBSTALL_R
pub fn tbstall(&self) -> TBSTALL_R
Bit 9 - 9:9] GPTM Timer B stall enable 0: Timer B continues counting while the processor is halted by the debugger. 1: Timer B freezes counting while the processor is halted by the debugger.
Sourcepub fn tben(&self) -> TBEN_R
pub fn tben(&self) -> TBEN_R
Bit 8 - 8:8] GPTM Timer B enable 0: Timer B is disabled. 1: Timer B is enabled and begins counting or the capture logic is enabled based on the GPTMCFG register.
Sourcepub fn reserved8(&self) -> RESERVED8_R
pub fn reserved8(&self) -> RESERVED8_R
Bit 7 - 7:7] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Sourcepub fn tapwml(&self) -> TAPWML_R
pub fn tapwml(&self) -> TAPWML_R
Bit 6 - 6:6] GPTM Timer A PWM output level 0: Output is unaffected. 1: Output is inverted.
Sourcepub fn taote(&self) -> TAOTE_R
pub fn taote(&self) -> TAOTE_R
Bit 5 - 5:5] GPTM Timer A output trigger enable 0: The ADC trigger of output Timer A is disabled. 1: The ADC trigger of output Timer A is enabled.
Sourcepub fn reserved4(&self) -> RESERVED4_R
pub fn reserved4(&self) -> RESERVED4_R
Bit 4 - 4:4] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Sourcepub fn taevent(&self) -> TAEVENT_R
pub fn taevent(&self) -> TAEVENT_R
Bits 2:3 - 3:2] GPTM Timer A event mode 0x0: Positive edge 0x1: Negative edge 0x2: Reserved 0x3: Both edges
Source§impl R<u32, Reg<u32, _SYNC>>
impl R<u32, Reg<u32, _SYNC>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Sourcepub fn sync3(&self) -> SYNC3_R
pub fn sync3(&self) -> SYNC3_R
Bits 6:7 - 7:6] Synchronize GPTM3 0x0: GPTM3 is not affected. 0x1: A time-out event for Timer A of GPTM3 is triggered. 0x2: A time-out event for Timer B of GPTM3 is triggered. 0x3: A time-out event for Timer A and Timer B of GPTM3 is triggered.
Sourcepub fn sync2(&self) -> SYNC2_R
pub fn sync2(&self) -> SYNC2_R
Bits 4:5 - 5:4] Synchronize GPTM2 0x0: GPTM2 is not affected. 0x1: A time-out event for Timer A of GPTM2 is triggered. 0x2: A time-out event for Timer B of GPTM2 is triggered. 0x3: A time-out event for Timer A and Timer B of GPTM2 is triggered.
Source§impl R<u32, Reg<u32, _IMR>>
impl R<u32, Reg<u32, _IMR>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 12:31 - 31:12] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Sourcepub fn tbmim(&self) -> TBMIM_R
pub fn tbmim(&self) -> TBMIM_R
Bit 11 - 11:11] GPTM Timer B match interrupt mask 0: Interrupt is disabled. 1: Interrupt is enabled.
Sourcepub fn cbeim(&self) -> CBEIM_R
pub fn cbeim(&self) -> CBEIM_R
Bit 10 - 10:10] GPTM Timer B capture event interrupt mask 0: Interrupt is disabled. 1: Interrupt is enabled.
Sourcepub fn cbmim(&self) -> CBMIM_R
pub fn cbmim(&self) -> CBMIM_R
Bit 9 - 9:9] GPTM Timer B capture match interrupt mask 0: Interrupt is disabled. 1: Interrupt is enabled.
Sourcepub fn tbtoim(&self) -> TBTOIM_R
pub fn tbtoim(&self) -> TBTOIM_R
Bit 8 - 8:8] GPTM Timer B time-out interrupt mask 0: Interrupt is disabled. 1: Interrupt is enabled.
Sourcepub fn reserved8(&self) -> RESERVED8_R
pub fn reserved8(&self) -> RESERVED8_R
Bits 5:7 - 7:5] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Sourcepub fn tamim(&self) -> TAMIM_R
pub fn tamim(&self) -> TAMIM_R
Bit 4 - 4:4] GPTM Timer A match interrupt mask 0: Interrupt is disabled. 1: Interrupt is enabled.
Sourcepub fn reserved3(&self) -> RESERVED3_R
pub fn reserved3(&self) -> RESERVED3_R
Bit 3 - 3:3] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Sourcepub fn caeim(&self) -> CAEIM_R
pub fn caeim(&self) -> CAEIM_R
Bit 2 - 2:2] GPTM Timer A capture event interrupt mask 0: Interrupt is disabled. 1: Interrupt is enabled.
Source§impl R<u32, Reg<u32, _RIS>>
impl R<u32, Reg<u32, _RIS>>
Sourcepub fn reserved16(&self) -> RESERVED16_R
pub fn reserved16(&self) -> RESERVED16_R
Bits 12:31 - 31:12] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Sourcepub fn reserved8(&self) -> RESERVED8_R
pub fn reserved8(&self) -> RESERVED8_R
Bits 5:7 - 7:5] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Sourcepub fn reserved3(&self) -> RESERVED3_R
pub fn reserved3(&self) -> RESERVED3_R
Bit 3 - 3:3] Reserved
Source§impl R<u32, Reg<u32, _MIS>>
impl R<u32, Reg<u32, _MIS>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 12:31 - 31:12] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Sourcepub fn reserved8(&self) -> RESERVED8_R
pub fn reserved8(&self) -> RESERVED8_R
Bits 5:7 - 7:5] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Sourcepub fn reserved3(&self) -> RESERVED3_R
pub fn reserved3(&self) -> RESERVED3_R
Bit 3 - 3:3] Reserved
Source§impl R<u32, Reg<u32, _ICR>>
impl R<u32, Reg<u32, _ICR>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 17:31 - 31:17] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Sourcepub fn reserved16(&self) -> RESERVED16_R
pub fn reserved16(&self) -> RESERVED16_R
Bits 12:15 - 15:12] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Sourcepub fn tbtocint(&self) -> TBTOCINT_R
pub fn tbtocint(&self) -> TBTOCINT_R
Bit 8 - 8:8] GPTM Timer B time-out interrupt clear
Sourcepub fn reserved8(&self) -> RESERVED8_R
pub fn reserved8(&self) -> RESERVED8_R
Bits 5:7 - 7:5] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Sourcepub fn reserved3(&self) -> RESERVED3_R
pub fn reserved3(&self) -> RESERVED3_R
Bit 3 - 3:3] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Sourcepub fn tatocint(&self) -> TATOCINT_R
pub fn tatocint(&self) -> TATOCINT_R
Bit 0 - 0:0] GPTM Timer A time-out interrupt clear
Source§impl R<u32, Reg<u32, _TBILR>>
impl R<u32, Reg<u32, _TBILR>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 16:31 - 31:16] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Source§impl R<u32, Reg<u32, _TBMATCHR>>
impl R<u32, Reg<u32, _TBMATCHR>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 16:31 - 31:16] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Source§impl R<u32, Reg<u32, _TAPR>>
impl R<u32, Reg<u32, _TAPR>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Source§impl R<u32, Reg<u32, _TBPR>>
impl R<u32, Reg<u32, _TBPR>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Source§impl R<u32, Reg<u32, _TAPMR>>
impl R<u32, Reg<u32, _TAPMR>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Source§impl R<u32, Reg<u32, _TBPMR>>
impl R<u32, Reg<u32, _TBPMR>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Source§impl R<u32, Reg<u32, _TBR>>
impl R<u32, Reg<u32, _TBR>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 16:31 - 31:16] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Source§impl R<u32, Reg<u32, _TAPS>>
impl R<u32, Reg<u32, _TAPS>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 16:31 - 31:16] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Source§impl R<u32, Reg<u32, _TBPS>>
impl R<u32, Reg<u32, _TBPS>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 16:31 - 31:16] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Source§impl R<u32, Reg<u32, _TAPV>>
impl R<u32, Reg<u32, _TAPV>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 16:31 - 31:16] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Source§impl R<u32, Reg<u32, _TBPV>>
impl R<u32, Reg<u32, _TBPV>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 16:31 - 31:16] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Source§impl R<u32, Reg<u32, _PP>>
impl R<u32, Reg<u32, _PP>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 7:31 - 31:7] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Sourcepub fn altclk(&self) -> ALTCLK_R
pub fn altclk(&self) -> ALTCLK_R
Bit 6 - 6:6] Alternate clock source 0: Timer is not capable of using an alternate clock. 1: Timer is capable of using an alternate clock.
Sourcepub fn syncnt(&self) -> SYNCNT_R
pub fn syncnt(&self) -> SYNCNT_R
Bit 5 - 5:5] Synchronized start 0: Timer is not capable of synchronizing the count value with other timers. 1: Timer is capable of synchronizing the count value with other timers.
Source§impl R<u32, Reg<u32, _CFG>>
impl R<u32, Reg<u32, _CFG>>
Sourcepub fn gptmcfg(&self) -> GPTMCFG_R
pub fn gptmcfg(&self) -> GPTMCFG_R
Bits 0:2 - 2:0] GPTM configuration The GPTMCFG values are defined as follows: 0x0: 32-bit timer configuration. 0x1: 32-bit real-time clock 0x2: Reserved 0x3: Reserved 0x4: 16-bit timer configuration. The function is controlled by bits [1:0] of GPTMTAMR and GPTMTBMR. 0x5-0x7: Reserved
Source§impl R<u32, Reg<u32, _TAMR>>
impl R<u32, Reg<u32, _TAMR>>
Sourcepub fn reserved12(&self) -> RESERVED12_R
pub fn reserved12(&self) -> RESERVED12_R
Bits 12:31 - 31:12] Reserved
Sourcepub fn taplo(&self) -> TAPLO_R
pub fn taplo(&self) -> TAPLO_R
Bit 11 - 11:11] Legacy PWM operation 0: Legacy operation 1: CCP is set to 1 on time-out.
Sourcepub fn tamrsu(&self) -> TAMRSU_R
pub fn tamrsu(&self) -> TAMRSU_R
Bit 10 - 10:10] Timer A match register update mode 0: Update GPTMAMATCHR and GPTMAPR if used on the next cycle. 1: Update GPTMAMATCHR and GPTMAPR if used on the next time-out. If the timer is disabled (TAEN is clear) when this bit is set, GPTMTAMATCHR and GPTMTAPR are updated when the timer is enabled. If the timer is stalled (TASTALL is set), GPTMTAMATCHR and GPTMTAPR are updated according to the configuration of this bit.
Sourcepub fn tapwmie(&self) -> TAPWMIE_R
pub fn tapwmie(&self) -> TAPWMIE_R
Bit 9 - 9:9] GPTM Timer A PWM interrupt enable This bit enables interrupts in PWM mode on rising, falling, or both edges of the CCP output. 0: Interrupt is disabled. 1: Interrupt is enabled. This bit is valid only in PWM mode.
Sourcepub fn taild(&self) -> TAILD_R
pub fn taild(&self) -> TAILD_R
Bit 8 - 8:8] GPTM Timer A PWM interval load write 0: Update the GPTMTAR register with the value in the GPTMTAILR register on the next cycle. If the prescaler is used, update the GPTMTAPS register with the value in the GPTMTAPR register on the next cycle. 1: Update the GPTMTAR register with the value in the GPTMTAILR register on the next cycle. If the prescaler is used, update the GPTMTAPS register with the value in the GPTMTAPR register on the next time-out.
Sourcepub fn tasnaps(&self) -> TASNAPS_R
pub fn tasnaps(&self) -> TASNAPS_R
Bit 7 - 7:7] GPTM Timer A snap-shot mode 0: Snap-shot mode is disabled. 1: If Timer A is configured in periodic mode, the actual free-running value of Timer A is loaded at the time-out event into the GPTM Timer A (GPTMTAR) register.
Sourcepub fn tawot(&self) -> TAWOT_R
pub fn tawot(&self) -> TAWOT_R
Bit 6 - 6:6] GPTM Timer A wait-on-trigger 0: Timer A begins counting as soon as it is enabled. 1: If Timer A is enabled (TAEN is set in the GPTMCTL register), Timer A does not begin counting until it receives a trigger from the Timer in the previous position in the daisy-chain. This bit must be clear for GP Timer module 0, Timer A.
Sourcepub fn tamie(&self) -> TAMIE_R
pub fn tamie(&self) -> TAMIE_R
Bit 5 - 5:5] GPTM Timer A match interrupt enable 0: The match interrupt is disabled. 1: An interrupt is generated when the match value in the GPTMTAMATCHR register is reached in the one-shot and periodic modes.
Sourcepub fn tacdir(&self) -> TACDIR_R
pub fn tacdir(&self) -> TACDIR_R
Bit 4 - 4:4] GPTM Timer A count direction 0: The timer counts down. 1: The timer counts up. When counting up, the timer starts from a value of 0x0.
Sourcepub fn taams(&self) -> TAAMS_R
pub fn taams(&self) -> TAAMS_R
Bit 3 - 3:3] GPTM Timer A alternate mode 0: Capture mode is enabled. 1: PWM mode is enabled. Note: To enable PWM mode, the TACM bit must be cleared and the TAMR field must be configured to 0x2.
Source§impl R<u32, Reg<u32, _TBMR>>
impl R<u32, Reg<u32, _TBMR>>
Sourcepub fn reserved12(&self) -> RESERVED12_R
pub fn reserved12(&self) -> RESERVED12_R
Bits 12:31 - 31:12] Reserved
Sourcepub fn tbplo(&self) -> TBPLO_R
pub fn tbplo(&self) -> TBPLO_R
Bit 11 - 11:11] Legacy PWM operation 0: Legacy operation 1: CCP is set to 1 on time-out.
Sourcepub fn tbmrsu(&self) -> TBMRSU_R
pub fn tbmrsu(&self) -> TBMRSU_R
Bit 10 - 10:10] Timer B match register update mode 0: Update the GPTMBMATCHR and the GPTMBPR, if used on the next cycle. 1: Update the GPTMBMATCHR and the GPTMBPR, if used on the next time-out. If the timer is disabled (TAEN is clear) when this bit is set, GPTMTBMATCHR and GPTMTBPR are updated when the timer is enabled. If the timer is stalled (TBSTALL is set), GPTMTBMATCHR and GPTMTBPR are updated according to the configuration of this bit.
Sourcepub fn tbpwmie(&self) -> TBPWMIE_R
pub fn tbpwmie(&self) -> TBPWMIE_R
Bit 9 - 9:9] GPTM Timer B PWM interrupt enable This bit enables interrupts in PWM mode on rising, falling, or both edges of the CCP output. 0: Interrupt is disabled. 1: Interrupt is enabled. This bit is valid only in PWM mode.
Sourcepub fn tbild(&self) -> TBILD_R
pub fn tbild(&self) -> TBILD_R
Bit 8 - 8:8] GPTM Timer B PWM interval load write 0: Update the GPTMTBR register with the value in the GPTMTBILR register on the next cycle. If the prescaler is used, update the GPTMTBPS register with the value in the GPTMTBPR register on the next cycle. 1: Update the GPTMTBR register with the value in the GPTMTBILR register on the next cycle. If the prescaler is used, update the GPTMTBPS register with the value in the GPTMTBPR register on the next time-out.
Sourcepub fn tbsnaps(&self) -> TBSNAPS_R
pub fn tbsnaps(&self) -> TBSNAPS_R
Bit 7 - 7:7] GPTM Timer B snap-shot mode 0: Snap-shot mode is disabled. 1: If Timer B is configured in the periodic mode, the actual free-running value of Timer A is loaded into the GPTM Timer B (GPTMTBR) register at the time-out event.
Sourcepub fn tbwot(&self) -> TBWOT_R
pub fn tbwot(&self) -> TBWOT_R
Bit 6 - 6:6] GPTM Timer B wait-on-trigger 0: Timer B begins counting as soon as it is enabled. 1: If Timer B is enabled (TBEN is set in the GPTMCTL register), Timer B does not begin counting until it receives a trigger from the timer in the previous position in the daisy-chain.
Sourcepub fn tbmie(&self) -> TBMIE_R
pub fn tbmie(&self) -> TBMIE_R
Bit 5 - 5:5] GPTM Timer B match interrupt enable 0: The match interrupt is disabled. 1: An interrupt is generated when the match value in the GPTMTBMATCHR register is reached in the one-shot and periodic modes.
Sourcepub fn tbcdir(&self) -> TBCDIR_R
pub fn tbcdir(&self) -> TBCDIR_R
Bit 4 - 4:4] GPTM Timer B count direction 0: The timer counts down. 1: The timer counts up. When counting up, the timer starts from a value of 0x0.
Sourcepub fn tbams(&self) -> TBAMS_R
pub fn tbams(&self) -> TBAMS_R
Bit 3 - 3:3] GPTM Timer B alternate mode 0: Capture mode is enabled. 1: PWM mode is enabled. Note: To enable PWM mode, the TBCM bit must be cleared and the TBMR field must be configured to 0x2.
Source§impl R<u32, Reg<u32, _CTL>>
impl R<u32, Reg<u32, _CTL>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 15:31 - 31:15] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Sourcepub fn tbpwml(&self) -> TBPWML_R
pub fn tbpwml(&self) -> TBPWML_R
Bit 14 - 14:14] GPTM Timer B PWM output level 0: Output is unaffected. 1: Output is inverted.
Sourcepub fn tbote(&self) -> TBOTE_R
pub fn tbote(&self) -> TBOTE_R
Bit 13 - 13:13] GPTM Timer B output trigger enable 0: The ADC trigger of output Timer B is disabled. 1: The ADC trigger of output Timer B is enabled.
Sourcepub fn reserved13(&self) -> RESERVED13_R
pub fn reserved13(&self) -> RESERVED13_R
Bit 12 - 12:12] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Sourcepub fn tbevent(&self) -> TBEVENT_R
pub fn tbevent(&self) -> TBEVENT_R
Bits 10:11 - 11:10] GPTM Timer B event mode 0x0: Positive edge 0x1: Negative edge 0x2: Reserved 0x3: Both edges
Sourcepub fn tbstall(&self) -> TBSTALL_R
pub fn tbstall(&self) -> TBSTALL_R
Bit 9 - 9:9] GPTM Timer B stall enable 0: Timer B continues counting while the processor is halted by the debugger. 1: Timer B freezes counting while the processor is halted by the debugger.
Sourcepub fn tben(&self) -> TBEN_R
pub fn tben(&self) -> TBEN_R
Bit 8 - 8:8] GPTM Timer B enable 0: Timer B is disabled. 1: Timer B is enabled and begins counting or the capture logic is enabled based on the GPTMCFG register.
Sourcepub fn reserved8(&self) -> RESERVED8_R
pub fn reserved8(&self) -> RESERVED8_R
Bit 7 - 7:7] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Sourcepub fn tapwml(&self) -> TAPWML_R
pub fn tapwml(&self) -> TAPWML_R
Bit 6 - 6:6] GPTM Timer A PWM output level 0: Output is unaffected. 1: Output is inverted.
Sourcepub fn taote(&self) -> TAOTE_R
pub fn taote(&self) -> TAOTE_R
Bit 5 - 5:5] GPTM Timer A output trigger enable 0: The ADC trigger of output Timer A is disabled. 1: The ADC trigger of output Timer A is enabled.
Sourcepub fn reserved4(&self) -> RESERVED4_R
pub fn reserved4(&self) -> RESERVED4_R
Bit 4 - 4:4] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Sourcepub fn taevent(&self) -> TAEVENT_R
pub fn taevent(&self) -> TAEVENT_R
Bits 2:3 - 3:2] GPTM Timer A event mode 0x0: Positive edge 0x1: Negative edge 0x2: Reserved 0x3: Both edges
Source§impl R<u32, Reg<u32, _SYNC>>
impl R<u32, Reg<u32, _SYNC>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Sourcepub fn sync3(&self) -> SYNC3_R
pub fn sync3(&self) -> SYNC3_R
Bits 6:7 - 7:6] Synchronize GPTM3 0x0: GPTM3 is not affected. 0x1: A time-out event for Timer A of GPTM3 is triggered. 0x2: A time-out event for Timer B of GPTM3 is triggered. 0x3: A time-out event for Timer A and Timer B of GPTM3 is triggered.
Sourcepub fn sync2(&self) -> SYNC2_R
pub fn sync2(&self) -> SYNC2_R
Bits 4:5 - 5:4] Synchronize GPTM2 0x0: GPTM2 is not affected. 0x1: A time-out event for Timer A of GPTM2 is triggered. 0x2: A time-out event for Timer B of GPTM2 is triggered. 0x3: A time-out event for Timer A and Timer B of GPTM2 is triggered.
Source§impl R<u32, Reg<u32, _IMR>>
impl R<u32, Reg<u32, _IMR>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 12:31 - 31:12] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Sourcepub fn tbmim(&self) -> TBMIM_R
pub fn tbmim(&self) -> TBMIM_R
Bit 11 - 11:11] GPTM Timer B match interrupt mask 0: Interrupt is disabled. 1: Interrupt is enabled.
Sourcepub fn cbeim(&self) -> CBEIM_R
pub fn cbeim(&self) -> CBEIM_R
Bit 10 - 10:10] GPTM Timer B capture event interrupt mask 0: Interrupt is disabled. 1: Interrupt is enabled.
Sourcepub fn cbmim(&self) -> CBMIM_R
pub fn cbmim(&self) -> CBMIM_R
Bit 9 - 9:9] GPTM Timer B capture match interrupt mask 0: Interrupt is disabled. 1: Interrupt is enabled.
Sourcepub fn tbtoim(&self) -> TBTOIM_R
pub fn tbtoim(&self) -> TBTOIM_R
Bit 8 - 8:8] GPTM Timer B time-out interrupt mask 0: Interrupt is disabled. 1: Interrupt is enabled.
Sourcepub fn reserved8(&self) -> RESERVED8_R
pub fn reserved8(&self) -> RESERVED8_R
Bits 5:7 - 7:5] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Sourcepub fn tamim(&self) -> TAMIM_R
pub fn tamim(&self) -> TAMIM_R
Bit 4 - 4:4] GPTM Timer A match interrupt mask 0: Interrupt is disabled. 1: Interrupt is enabled.
Sourcepub fn reserved3(&self) -> RESERVED3_R
pub fn reserved3(&self) -> RESERVED3_R
Bit 3 - 3:3] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Sourcepub fn caeim(&self) -> CAEIM_R
pub fn caeim(&self) -> CAEIM_R
Bit 2 - 2:2] GPTM Timer A capture event interrupt mask 0: Interrupt is disabled. 1: Interrupt is enabled.
Source§impl R<u32, Reg<u32, _RIS>>
impl R<u32, Reg<u32, _RIS>>
Sourcepub fn reserved16(&self) -> RESERVED16_R
pub fn reserved16(&self) -> RESERVED16_R
Bits 12:31 - 31:12] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Sourcepub fn reserved8(&self) -> RESERVED8_R
pub fn reserved8(&self) -> RESERVED8_R
Bits 5:7 - 7:5] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Sourcepub fn reserved3(&self) -> RESERVED3_R
pub fn reserved3(&self) -> RESERVED3_R
Bit 3 - 3:3] Reserved
Source§impl R<u32, Reg<u32, _MIS>>
impl R<u32, Reg<u32, _MIS>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 12:31 - 31:12] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Sourcepub fn reserved8(&self) -> RESERVED8_R
pub fn reserved8(&self) -> RESERVED8_R
Bits 5:7 - 7:5] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Sourcepub fn reserved3(&self) -> RESERVED3_R
pub fn reserved3(&self) -> RESERVED3_R
Bit 3 - 3:3] Reserved
Source§impl R<u32, Reg<u32, _ICR>>
impl R<u32, Reg<u32, _ICR>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 17:31 - 31:17] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Sourcepub fn reserved16(&self) -> RESERVED16_R
pub fn reserved16(&self) -> RESERVED16_R
Bits 12:15 - 15:12] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Sourcepub fn tbtocint(&self) -> TBTOCINT_R
pub fn tbtocint(&self) -> TBTOCINT_R
Bit 8 - 8:8] GPTM Timer B time-out interrupt clear
Sourcepub fn reserved8(&self) -> RESERVED8_R
pub fn reserved8(&self) -> RESERVED8_R
Bits 5:7 - 7:5] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Sourcepub fn reserved3(&self) -> RESERVED3_R
pub fn reserved3(&self) -> RESERVED3_R
Bit 3 - 3:3] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Sourcepub fn tatocint(&self) -> TATOCINT_R
pub fn tatocint(&self) -> TATOCINT_R
Bit 0 - 0:0] GPTM Timer A time-out interrupt clear
Source§impl R<u32, Reg<u32, _TBILR>>
impl R<u32, Reg<u32, _TBILR>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 16:31 - 31:16] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Source§impl R<u32, Reg<u32, _TBMATCHR>>
impl R<u32, Reg<u32, _TBMATCHR>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 16:31 - 31:16] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Source§impl R<u32, Reg<u32, _TAPR>>
impl R<u32, Reg<u32, _TAPR>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Source§impl R<u32, Reg<u32, _TBPR>>
impl R<u32, Reg<u32, _TBPR>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Source§impl R<u32, Reg<u32, _TAPMR>>
impl R<u32, Reg<u32, _TAPMR>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Source§impl R<u32, Reg<u32, _TBPMR>>
impl R<u32, Reg<u32, _TBPMR>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Source§impl R<u32, Reg<u32, _TBR>>
impl R<u32, Reg<u32, _TBR>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 16:31 - 31:16] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Source§impl R<u32, Reg<u32, _TAPS>>
impl R<u32, Reg<u32, _TAPS>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 16:31 - 31:16] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Source§impl R<u32, Reg<u32, _TBPS>>
impl R<u32, Reg<u32, _TBPS>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 16:31 - 31:16] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Source§impl R<u32, Reg<u32, _TAPV>>
impl R<u32, Reg<u32, _TAPV>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 16:31 - 31:16] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Source§impl R<u32, Reg<u32, _TBPV>>
impl R<u32, Reg<u32, _TBPV>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 16:31 - 31:16] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Source§impl R<u32, Reg<u32, _PP>>
impl R<u32, Reg<u32, _PP>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 7:31 - 31:7] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Sourcepub fn altclk(&self) -> ALTCLK_R
pub fn altclk(&self) -> ALTCLK_R
Bit 6 - 6:6] Alternate clock source 0: Timer is not capable of using an alternate clock. 1: Timer is capable of using an alternate clock.
Sourcepub fn syncnt(&self) -> SYNCNT_R
pub fn syncnt(&self) -> SYNCNT_R
Bit 5 - 5:5] Synchronized start 0: Timer is not capable of synchronizing the count value with other timers. 1: Timer is capable of synchronizing the count value with other timers.
Source§impl R<u32, Reg<u32, _CFG>>
impl R<u32, Reg<u32, _CFG>>
Sourcepub fn gptmcfg(&self) -> GPTMCFG_R
pub fn gptmcfg(&self) -> GPTMCFG_R
Bits 0:2 - 2:0] GPTM configuration The GPTMCFG values are defined as follows: 0x0: 32-bit timer configuration. 0x1: 32-bit real-time clock 0x2: Reserved 0x3: Reserved 0x4: 16-bit timer configuration. The function is controlled by bits [1:0] of GPTMTAMR and GPTMTBMR. 0x5-0x7: Reserved
Source§impl R<u32, Reg<u32, _TAMR>>
impl R<u32, Reg<u32, _TAMR>>
Sourcepub fn reserved12(&self) -> RESERVED12_R
pub fn reserved12(&self) -> RESERVED12_R
Bits 12:31 - 31:12] Reserved
Sourcepub fn taplo(&self) -> TAPLO_R
pub fn taplo(&self) -> TAPLO_R
Bit 11 - 11:11] Legacy PWM operation 0: Legacy operation 1: CCP is set to 1 on time-out.
Sourcepub fn tamrsu(&self) -> TAMRSU_R
pub fn tamrsu(&self) -> TAMRSU_R
Bit 10 - 10:10] Timer A match register update mode 0: Update GPTMAMATCHR and GPTMAPR if used on the next cycle. 1: Update GPTMAMATCHR and GPTMAPR if used on the next time-out. If the timer is disabled (TAEN is clear) when this bit is set, GPTMTAMATCHR and GPTMTAPR are updated when the timer is enabled. If the timer is stalled (TASTALL is set), GPTMTAMATCHR and GPTMTAPR are updated according to the configuration of this bit.
Sourcepub fn tapwmie(&self) -> TAPWMIE_R
pub fn tapwmie(&self) -> TAPWMIE_R
Bit 9 - 9:9] GPTM Timer A PWM interrupt enable This bit enables interrupts in PWM mode on rising, falling, or both edges of the CCP output. 0: Interrupt is disabled. 1: Interrupt is enabled. This bit is valid only in PWM mode.
Sourcepub fn taild(&self) -> TAILD_R
pub fn taild(&self) -> TAILD_R
Bit 8 - 8:8] GPTM Timer A PWM interval load write 0: Update the GPTMTAR register with the value in the GPTMTAILR register on the next cycle. If the prescaler is used, update the GPTMTAPS register with the value in the GPTMTAPR register on the next cycle. 1: Update the GPTMTAR register with the value in the GPTMTAILR register on the next cycle. If the prescaler is used, update the GPTMTAPS register with the value in the GPTMTAPR register on the next time-out.
Sourcepub fn tasnaps(&self) -> TASNAPS_R
pub fn tasnaps(&self) -> TASNAPS_R
Bit 7 - 7:7] GPTM Timer A snap-shot mode 0: Snap-shot mode is disabled. 1: If Timer A is configured in periodic mode, the actual free-running value of Timer A is loaded at the time-out event into the GPTM Timer A (GPTMTAR) register.
Sourcepub fn tawot(&self) -> TAWOT_R
pub fn tawot(&self) -> TAWOT_R
Bit 6 - 6:6] GPTM Timer A wait-on-trigger 0: Timer A begins counting as soon as it is enabled. 1: If Timer A is enabled (TAEN is set in the GPTMCTL register), Timer A does not begin counting until it receives a trigger from the Timer in the previous position in the daisy-chain. This bit must be clear for GP Timer module 0, Timer A.
Sourcepub fn tamie(&self) -> TAMIE_R
pub fn tamie(&self) -> TAMIE_R
Bit 5 - 5:5] GPTM Timer A match interrupt enable 0: The match interrupt is disabled. 1: An interrupt is generated when the match value in the GPTMTAMATCHR register is reached in the one-shot and periodic modes.
Sourcepub fn tacdir(&self) -> TACDIR_R
pub fn tacdir(&self) -> TACDIR_R
Bit 4 - 4:4] GPTM Timer A count direction 0: The timer counts down. 1: The timer counts up. When counting up, the timer starts from a value of 0x0.
Sourcepub fn taams(&self) -> TAAMS_R
pub fn taams(&self) -> TAAMS_R
Bit 3 - 3:3] GPTM Timer A alternate mode 0: Capture mode is enabled. 1: PWM mode is enabled. Note: To enable PWM mode, the TACM bit must be cleared and the TAMR field must be configured to 0x2.
Source§impl R<u32, Reg<u32, _TBMR>>
impl R<u32, Reg<u32, _TBMR>>
Sourcepub fn reserved12(&self) -> RESERVED12_R
pub fn reserved12(&self) -> RESERVED12_R
Bits 12:31 - 31:12] Reserved
Sourcepub fn tbplo(&self) -> TBPLO_R
pub fn tbplo(&self) -> TBPLO_R
Bit 11 - 11:11] Legacy PWM operation 0: Legacy operation 1: CCP is set to 1 on time-out.
Sourcepub fn tbmrsu(&self) -> TBMRSU_R
pub fn tbmrsu(&self) -> TBMRSU_R
Bit 10 - 10:10] Timer B match register update mode 0: Update the GPTMBMATCHR and the GPTMBPR, if used on the next cycle. 1: Update the GPTMBMATCHR and the GPTMBPR, if used on the next time-out. If the timer is disabled (TAEN is clear) when this bit is set, GPTMTBMATCHR and GPTMTBPR are updated when the timer is enabled. If the timer is stalled (TBSTALL is set), GPTMTBMATCHR and GPTMTBPR are updated according to the configuration of this bit.
Sourcepub fn tbpwmie(&self) -> TBPWMIE_R
pub fn tbpwmie(&self) -> TBPWMIE_R
Bit 9 - 9:9] GPTM Timer B PWM interrupt enable This bit enables interrupts in PWM mode on rising, falling, or both edges of the CCP output. 0: Interrupt is disabled. 1: Interrupt is enabled. This bit is valid only in PWM mode.
Sourcepub fn tbild(&self) -> TBILD_R
pub fn tbild(&self) -> TBILD_R
Bit 8 - 8:8] GPTM Timer B PWM interval load write 0: Update the GPTMTBR register with the value in the GPTMTBILR register on the next cycle. If the prescaler is used, update the GPTMTBPS register with the value in the GPTMTBPR register on the next cycle. 1: Update the GPTMTBR register with the value in the GPTMTBILR register on the next cycle. If the prescaler is used, update the GPTMTBPS register with the value in the GPTMTBPR register on the next time-out.
Sourcepub fn tbsnaps(&self) -> TBSNAPS_R
pub fn tbsnaps(&self) -> TBSNAPS_R
Bit 7 - 7:7] GPTM Timer B snap-shot mode 0: Snap-shot mode is disabled. 1: If Timer B is configured in the periodic mode, the actual free-running value of Timer A is loaded into the GPTM Timer B (GPTMTBR) register at the time-out event.
Sourcepub fn tbwot(&self) -> TBWOT_R
pub fn tbwot(&self) -> TBWOT_R
Bit 6 - 6:6] GPTM Timer B wait-on-trigger 0: Timer B begins counting as soon as it is enabled. 1: If Timer B is enabled (TBEN is set in the GPTMCTL register), Timer B does not begin counting until it receives a trigger from the timer in the previous position in the daisy-chain.
Sourcepub fn tbmie(&self) -> TBMIE_R
pub fn tbmie(&self) -> TBMIE_R
Bit 5 - 5:5] GPTM Timer B match interrupt enable 0: The match interrupt is disabled. 1: An interrupt is generated when the match value in the GPTMTBMATCHR register is reached in the one-shot and periodic modes.
Sourcepub fn tbcdir(&self) -> TBCDIR_R
pub fn tbcdir(&self) -> TBCDIR_R
Bit 4 - 4:4] GPTM Timer B count direction 0: The timer counts down. 1: The timer counts up. When counting up, the timer starts from a value of 0x0.
Sourcepub fn tbams(&self) -> TBAMS_R
pub fn tbams(&self) -> TBAMS_R
Bit 3 - 3:3] GPTM Timer B alternate mode 0: Capture mode is enabled. 1: PWM mode is enabled. Note: To enable PWM mode, the TBCM bit must be cleared and the TBMR field must be configured to 0x2.
Source§impl R<u32, Reg<u32, _CTL>>
impl R<u32, Reg<u32, _CTL>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 15:31 - 31:15] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Sourcepub fn tbpwml(&self) -> TBPWML_R
pub fn tbpwml(&self) -> TBPWML_R
Bit 14 - 14:14] GPTM Timer B PWM output level 0: Output is unaffected. 1: Output is inverted.
Sourcepub fn tbote(&self) -> TBOTE_R
pub fn tbote(&self) -> TBOTE_R
Bit 13 - 13:13] GPTM Timer B output trigger enable 0: The ADC trigger of output Timer B is disabled. 1: The ADC trigger of output Timer B is enabled.
Sourcepub fn reserved13(&self) -> RESERVED13_R
pub fn reserved13(&self) -> RESERVED13_R
Bit 12 - 12:12] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Sourcepub fn tbevent(&self) -> TBEVENT_R
pub fn tbevent(&self) -> TBEVENT_R
Bits 10:11 - 11:10] GPTM Timer B event mode 0x0: Positive edge 0x1: Negative edge 0x2: Reserved 0x3: Both edges
Sourcepub fn tbstall(&self) -> TBSTALL_R
pub fn tbstall(&self) -> TBSTALL_R
Bit 9 - 9:9] GPTM Timer B stall enable 0: Timer B continues counting while the processor is halted by the debugger. 1: Timer B freezes counting while the processor is halted by the debugger.
Sourcepub fn tben(&self) -> TBEN_R
pub fn tben(&self) -> TBEN_R
Bit 8 - 8:8] GPTM Timer B enable 0: Timer B is disabled. 1: Timer B is enabled and begins counting or the capture logic is enabled based on the GPTMCFG register.
Sourcepub fn reserved8(&self) -> RESERVED8_R
pub fn reserved8(&self) -> RESERVED8_R
Bit 7 - 7:7] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Sourcepub fn tapwml(&self) -> TAPWML_R
pub fn tapwml(&self) -> TAPWML_R
Bit 6 - 6:6] GPTM Timer A PWM output level 0: Output is unaffected. 1: Output is inverted.
Sourcepub fn taote(&self) -> TAOTE_R
pub fn taote(&self) -> TAOTE_R
Bit 5 - 5:5] GPTM Timer A output trigger enable 0: The ADC trigger of output Timer A is disabled. 1: The ADC trigger of output Timer A is enabled.
Sourcepub fn reserved4(&self) -> RESERVED4_R
pub fn reserved4(&self) -> RESERVED4_R
Bit 4 - 4:4] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Sourcepub fn taevent(&self) -> TAEVENT_R
pub fn taevent(&self) -> TAEVENT_R
Bits 2:3 - 3:2] GPTM Timer A event mode 0x0: Positive edge 0x1: Negative edge 0x2: Reserved 0x3: Both edges
Source§impl R<u32, Reg<u32, _SYNC>>
impl R<u32, Reg<u32, _SYNC>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Sourcepub fn sync3(&self) -> SYNC3_R
pub fn sync3(&self) -> SYNC3_R
Bits 6:7 - 7:6] Synchronize GPTM3 0x0: GPTM3 is not affected. 0x1: A time-out event for Timer A of GPTM3 is triggered. 0x2: A time-out event for Timer B of GPTM3 is triggered. 0x3: A time-out event for Timer A and Timer B of GPTM3 is triggered.
Sourcepub fn sync2(&self) -> SYNC2_R
pub fn sync2(&self) -> SYNC2_R
Bits 4:5 - 5:4] Synchronize GPTM2 0x0: GPTM2 is not affected. 0x1: A time-out event for Timer A of GPTM2 is triggered. 0x2: A time-out event for Timer B of GPTM2 is triggered. 0x3: A time-out event for Timer A and Timer B of GPTM2 is triggered.
Source§impl R<u32, Reg<u32, _IMR>>
impl R<u32, Reg<u32, _IMR>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 12:31 - 31:12] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Sourcepub fn tbmim(&self) -> TBMIM_R
pub fn tbmim(&self) -> TBMIM_R
Bit 11 - 11:11] GPTM Timer B match interrupt mask 0: Interrupt is disabled. 1: Interrupt is enabled.
Sourcepub fn cbeim(&self) -> CBEIM_R
pub fn cbeim(&self) -> CBEIM_R
Bit 10 - 10:10] GPTM Timer B capture event interrupt mask 0: Interrupt is disabled. 1: Interrupt is enabled.
Sourcepub fn cbmim(&self) -> CBMIM_R
pub fn cbmim(&self) -> CBMIM_R
Bit 9 - 9:9] GPTM Timer B capture match interrupt mask 0: Interrupt is disabled. 1: Interrupt is enabled.
Sourcepub fn tbtoim(&self) -> TBTOIM_R
pub fn tbtoim(&self) -> TBTOIM_R
Bit 8 - 8:8] GPTM Timer B time-out interrupt mask 0: Interrupt is disabled. 1: Interrupt is enabled.
Sourcepub fn reserved8(&self) -> RESERVED8_R
pub fn reserved8(&self) -> RESERVED8_R
Bits 5:7 - 7:5] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Sourcepub fn tamim(&self) -> TAMIM_R
pub fn tamim(&self) -> TAMIM_R
Bit 4 - 4:4] GPTM Timer A match interrupt mask 0: Interrupt is disabled. 1: Interrupt is enabled.
Sourcepub fn reserved3(&self) -> RESERVED3_R
pub fn reserved3(&self) -> RESERVED3_R
Bit 3 - 3:3] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Sourcepub fn caeim(&self) -> CAEIM_R
pub fn caeim(&self) -> CAEIM_R
Bit 2 - 2:2] GPTM Timer A capture event interrupt mask 0: Interrupt is disabled. 1: Interrupt is enabled.
Source§impl R<u32, Reg<u32, _RIS>>
impl R<u32, Reg<u32, _RIS>>
Sourcepub fn reserved16(&self) -> RESERVED16_R
pub fn reserved16(&self) -> RESERVED16_R
Bits 12:31 - 31:12] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Sourcepub fn reserved8(&self) -> RESERVED8_R
pub fn reserved8(&self) -> RESERVED8_R
Bits 5:7 - 7:5] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Sourcepub fn reserved3(&self) -> RESERVED3_R
pub fn reserved3(&self) -> RESERVED3_R
Bit 3 - 3:3] Reserved
Source§impl R<u32, Reg<u32, _MIS>>
impl R<u32, Reg<u32, _MIS>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 12:31 - 31:12] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Sourcepub fn reserved8(&self) -> RESERVED8_R
pub fn reserved8(&self) -> RESERVED8_R
Bits 5:7 - 7:5] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Sourcepub fn reserved3(&self) -> RESERVED3_R
pub fn reserved3(&self) -> RESERVED3_R
Bit 3 - 3:3] Reserved
Source§impl R<u32, Reg<u32, _ICR>>
impl R<u32, Reg<u32, _ICR>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 17:31 - 31:17] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Sourcepub fn reserved16(&self) -> RESERVED16_R
pub fn reserved16(&self) -> RESERVED16_R
Bits 12:15 - 15:12] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Sourcepub fn tbtocint(&self) -> TBTOCINT_R
pub fn tbtocint(&self) -> TBTOCINT_R
Bit 8 - 8:8] GPTM Timer B time-out interrupt clear
Sourcepub fn reserved8(&self) -> RESERVED8_R
pub fn reserved8(&self) -> RESERVED8_R
Bits 5:7 - 7:5] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Sourcepub fn reserved3(&self) -> RESERVED3_R
pub fn reserved3(&self) -> RESERVED3_R
Bit 3 - 3:3] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Sourcepub fn tatocint(&self) -> TATOCINT_R
pub fn tatocint(&self) -> TATOCINT_R
Bit 0 - 0:0] GPTM Timer A time-out interrupt clear
Source§impl R<u32, Reg<u32, _TBILR>>
impl R<u32, Reg<u32, _TBILR>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 16:31 - 31:16] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Source§impl R<u32, Reg<u32, _TBMATCHR>>
impl R<u32, Reg<u32, _TBMATCHR>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 16:31 - 31:16] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Source§impl R<u32, Reg<u32, _TAPR>>
impl R<u32, Reg<u32, _TAPR>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Source§impl R<u32, Reg<u32, _TBPR>>
impl R<u32, Reg<u32, _TBPR>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Source§impl R<u32, Reg<u32, _TAPMR>>
impl R<u32, Reg<u32, _TAPMR>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Source§impl R<u32, Reg<u32, _TBPMR>>
impl R<u32, Reg<u32, _TBPMR>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Source§impl R<u32, Reg<u32, _TBR>>
impl R<u32, Reg<u32, _TBR>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 16:31 - 31:16] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Source§impl R<u32, Reg<u32, _TAPS>>
impl R<u32, Reg<u32, _TAPS>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 16:31 - 31:16] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Source§impl R<u32, Reg<u32, _TBPS>>
impl R<u32, Reg<u32, _TBPS>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 16:31 - 31:16] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Source§impl R<u32, Reg<u32, _TAPV>>
impl R<u32, Reg<u32, _TAPV>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 16:31 - 31:16] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Source§impl R<u32, Reg<u32, _TBPV>>
impl R<u32, Reg<u32, _TBPV>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 16:31 - 31:16] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Source§impl R<u32, Reg<u32, _PP>>
impl R<u32, Reg<u32, _PP>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 7:31 - 31:7] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Sourcepub fn altclk(&self) -> ALTCLK_R
pub fn altclk(&self) -> ALTCLK_R
Bit 6 - 6:6] Alternate clock source 0: Timer is not capable of using an alternate clock. 1: Timer is capable of using an alternate clock.
Sourcepub fn syncnt(&self) -> SYNCNT_R
pub fn syncnt(&self) -> SYNCNT_R
Bit 5 - 5:5] Synchronized start 0: Timer is not capable of synchronizing the count value with other timers. 1: Timer is capable of synchronizing the count value with other timers.
Source§impl R<u32, Reg<u32, _CFG>>
impl R<u32, Reg<u32, _CFG>>
Sourcepub fn gptmcfg(&self) -> GPTMCFG_R
pub fn gptmcfg(&self) -> GPTMCFG_R
Bits 0:2 - 2:0] GPTM configuration The GPTMCFG values are defined as follows: 0x0: 32-bit timer configuration. 0x1: 32-bit real-time clock 0x2: Reserved 0x3: Reserved 0x4: 16-bit timer configuration. The function is controlled by bits [1:0] of GPTMTAMR and GPTMTBMR. 0x5-0x7: Reserved
Source§impl R<u32, Reg<u32, _TAMR>>
impl R<u32, Reg<u32, _TAMR>>
Sourcepub fn reserved12(&self) -> RESERVED12_R
pub fn reserved12(&self) -> RESERVED12_R
Bits 12:31 - 31:12] Reserved
Sourcepub fn taplo(&self) -> TAPLO_R
pub fn taplo(&self) -> TAPLO_R
Bit 11 - 11:11] Legacy PWM operation 0: Legacy operation 1: CCP is set to 1 on time-out.
Sourcepub fn tamrsu(&self) -> TAMRSU_R
pub fn tamrsu(&self) -> TAMRSU_R
Bit 10 - 10:10] Timer A match register update mode 0: Update GPTMAMATCHR and GPTMAPR if used on the next cycle. 1: Update GPTMAMATCHR and GPTMAPR if used on the next time-out. If the timer is disabled (TAEN is clear) when this bit is set, GPTMTAMATCHR and GPTMTAPR are updated when the timer is enabled. If the timer is stalled (TASTALL is set), GPTMTAMATCHR and GPTMTAPR are updated according to the configuration of this bit.
Sourcepub fn tapwmie(&self) -> TAPWMIE_R
pub fn tapwmie(&self) -> TAPWMIE_R
Bit 9 - 9:9] GPTM Timer A PWM interrupt enable This bit enables interrupts in PWM mode on rising, falling, or both edges of the CCP output. 0: Interrupt is disabled. 1: Interrupt is enabled. This bit is valid only in PWM mode.
Sourcepub fn taild(&self) -> TAILD_R
pub fn taild(&self) -> TAILD_R
Bit 8 - 8:8] GPTM Timer A PWM interval load write 0: Update the GPTMTAR register with the value in the GPTMTAILR register on the next cycle. If the prescaler is used, update the GPTMTAPS register with the value in the GPTMTAPR register on the next cycle. 1: Update the GPTMTAR register with the value in the GPTMTAILR register on the next cycle. If the prescaler is used, update the GPTMTAPS register with the value in the GPTMTAPR register on the next time-out.
Sourcepub fn tasnaps(&self) -> TASNAPS_R
pub fn tasnaps(&self) -> TASNAPS_R
Bit 7 - 7:7] GPTM Timer A snap-shot mode 0: Snap-shot mode is disabled. 1: If Timer A is configured in periodic mode, the actual free-running value of Timer A is loaded at the time-out event into the GPTM Timer A (GPTMTAR) register.
Sourcepub fn tawot(&self) -> TAWOT_R
pub fn tawot(&self) -> TAWOT_R
Bit 6 - 6:6] GPTM Timer A wait-on-trigger 0: Timer A begins counting as soon as it is enabled. 1: If Timer A is enabled (TAEN is set in the GPTMCTL register), Timer A does not begin counting until it receives a trigger from the Timer in the previous position in the daisy-chain. This bit must be clear for GP Timer module 0, Timer A.
Sourcepub fn tamie(&self) -> TAMIE_R
pub fn tamie(&self) -> TAMIE_R
Bit 5 - 5:5] GPTM Timer A match interrupt enable 0: The match interrupt is disabled. 1: An interrupt is generated when the match value in the GPTMTAMATCHR register is reached in the one-shot and periodic modes.
Sourcepub fn tacdir(&self) -> TACDIR_R
pub fn tacdir(&self) -> TACDIR_R
Bit 4 - 4:4] GPTM Timer A count direction 0: The timer counts down. 1: The timer counts up. When counting up, the timer starts from a value of 0x0.
Sourcepub fn taams(&self) -> TAAMS_R
pub fn taams(&self) -> TAAMS_R
Bit 3 - 3:3] GPTM Timer A alternate mode 0: Capture mode is enabled. 1: PWM mode is enabled. Note: To enable PWM mode, the TACM bit must be cleared and the TAMR field must be configured to 0x2.
Source§impl R<u32, Reg<u32, _TBMR>>
impl R<u32, Reg<u32, _TBMR>>
Sourcepub fn reserved12(&self) -> RESERVED12_R
pub fn reserved12(&self) -> RESERVED12_R
Bits 12:31 - 31:12] Reserved
Sourcepub fn tbplo(&self) -> TBPLO_R
pub fn tbplo(&self) -> TBPLO_R
Bit 11 - 11:11] Legacy PWM operation 0: Legacy operation 1: CCP is set to 1 on time-out.
Sourcepub fn tbmrsu(&self) -> TBMRSU_R
pub fn tbmrsu(&self) -> TBMRSU_R
Bit 10 - 10:10] Timer B match register update mode 0: Update the GPTMBMATCHR and the GPTMBPR, if used on the next cycle. 1: Update the GPTMBMATCHR and the GPTMBPR, if used on the next time-out. If the timer is disabled (TAEN is clear) when this bit is set, GPTMTBMATCHR and GPTMTBPR are updated when the timer is enabled. If the timer is stalled (TBSTALL is set), GPTMTBMATCHR and GPTMTBPR are updated according to the configuration of this bit.
Sourcepub fn tbpwmie(&self) -> TBPWMIE_R
pub fn tbpwmie(&self) -> TBPWMIE_R
Bit 9 - 9:9] GPTM Timer B PWM interrupt enable This bit enables interrupts in PWM mode on rising, falling, or both edges of the CCP output. 0: Interrupt is disabled. 1: Interrupt is enabled. This bit is valid only in PWM mode.
Sourcepub fn tbild(&self) -> TBILD_R
pub fn tbild(&self) -> TBILD_R
Bit 8 - 8:8] GPTM Timer B PWM interval load write 0: Update the GPTMTBR register with the value in the GPTMTBILR register on the next cycle. If the prescaler is used, update the GPTMTBPS register with the value in the GPTMTBPR register on the next cycle. 1: Update the GPTMTBR register with the value in the GPTMTBILR register on the next cycle. If the prescaler is used, update the GPTMTBPS register with the value in the GPTMTBPR register on the next time-out.
Sourcepub fn tbsnaps(&self) -> TBSNAPS_R
pub fn tbsnaps(&self) -> TBSNAPS_R
Bit 7 - 7:7] GPTM Timer B snap-shot mode 0: Snap-shot mode is disabled. 1: If Timer B is configured in the periodic mode, the actual free-running value of Timer A is loaded into the GPTM Timer B (GPTMTBR) register at the time-out event.
Sourcepub fn tbwot(&self) -> TBWOT_R
pub fn tbwot(&self) -> TBWOT_R
Bit 6 - 6:6] GPTM Timer B wait-on-trigger 0: Timer B begins counting as soon as it is enabled. 1: If Timer B is enabled (TBEN is set in the GPTMCTL register), Timer B does not begin counting until it receives a trigger from the timer in the previous position in the daisy-chain.
Sourcepub fn tbmie(&self) -> TBMIE_R
pub fn tbmie(&self) -> TBMIE_R
Bit 5 - 5:5] GPTM Timer B match interrupt enable 0: The match interrupt is disabled. 1: An interrupt is generated when the match value in the GPTMTBMATCHR register is reached in the one-shot and periodic modes.
Sourcepub fn tbcdir(&self) -> TBCDIR_R
pub fn tbcdir(&self) -> TBCDIR_R
Bit 4 - 4:4] GPTM Timer B count direction 0: The timer counts down. 1: The timer counts up. When counting up, the timer starts from a value of 0x0.
Sourcepub fn tbams(&self) -> TBAMS_R
pub fn tbams(&self) -> TBAMS_R
Bit 3 - 3:3] GPTM Timer B alternate mode 0: Capture mode is enabled. 1: PWM mode is enabled. Note: To enable PWM mode, the TBCM bit must be cleared and the TBMR field must be configured to 0x2.
Source§impl R<u32, Reg<u32, _CTL>>
impl R<u32, Reg<u32, _CTL>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 15:31 - 31:15] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Sourcepub fn tbpwml(&self) -> TBPWML_R
pub fn tbpwml(&self) -> TBPWML_R
Bit 14 - 14:14] GPTM Timer B PWM output level 0: Output is unaffected. 1: Output is inverted.
Sourcepub fn tbote(&self) -> TBOTE_R
pub fn tbote(&self) -> TBOTE_R
Bit 13 - 13:13] GPTM Timer B output trigger enable 0: The ADC trigger of output Timer B is disabled. 1: The ADC trigger of output Timer B is enabled.
Sourcepub fn reserved13(&self) -> RESERVED13_R
pub fn reserved13(&self) -> RESERVED13_R
Bit 12 - 12:12] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Sourcepub fn tbevent(&self) -> TBEVENT_R
pub fn tbevent(&self) -> TBEVENT_R
Bits 10:11 - 11:10] GPTM Timer B event mode 0x0: Positive edge 0x1: Negative edge 0x2: Reserved 0x3: Both edges
Sourcepub fn tbstall(&self) -> TBSTALL_R
pub fn tbstall(&self) -> TBSTALL_R
Bit 9 - 9:9] GPTM Timer B stall enable 0: Timer B continues counting while the processor is halted by the debugger. 1: Timer B freezes counting while the processor is halted by the debugger.
Sourcepub fn tben(&self) -> TBEN_R
pub fn tben(&self) -> TBEN_R
Bit 8 - 8:8] GPTM Timer B enable 0: Timer B is disabled. 1: Timer B is enabled and begins counting or the capture logic is enabled based on the GPTMCFG register.
Sourcepub fn reserved8(&self) -> RESERVED8_R
pub fn reserved8(&self) -> RESERVED8_R
Bit 7 - 7:7] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Sourcepub fn tapwml(&self) -> TAPWML_R
pub fn tapwml(&self) -> TAPWML_R
Bit 6 - 6:6] GPTM Timer A PWM output level 0: Output is unaffected. 1: Output is inverted.
Sourcepub fn taote(&self) -> TAOTE_R
pub fn taote(&self) -> TAOTE_R
Bit 5 - 5:5] GPTM Timer A output trigger enable 0: The ADC trigger of output Timer A is disabled. 1: The ADC trigger of output Timer A is enabled.
Sourcepub fn reserved4(&self) -> RESERVED4_R
pub fn reserved4(&self) -> RESERVED4_R
Bit 4 - 4:4] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Sourcepub fn taevent(&self) -> TAEVENT_R
pub fn taevent(&self) -> TAEVENT_R
Bits 2:3 - 3:2] GPTM Timer A event mode 0x0: Positive edge 0x1: Negative edge 0x2: Reserved 0x3: Both edges
Source§impl R<u32, Reg<u32, _SYNC>>
impl R<u32, Reg<u32, _SYNC>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Sourcepub fn sync3(&self) -> SYNC3_R
pub fn sync3(&self) -> SYNC3_R
Bits 6:7 - 7:6] Synchronize GPTM3 0x0: GPTM3 is not affected. 0x1: A time-out event for Timer A of GPTM3 is triggered. 0x2: A time-out event for Timer B of GPTM3 is triggered. 0x3: A time-out event for Timer A and Timer B of GPTM3 is triggered.
Sourcepub fn sync2(&self) -> SYNC2_R
pub fn sync2(&self) -> SYNC2_R
Bits 4:5 - 5:4] Synchronize GPTM2 0x0: GPTM2 is not affected. 0x1: A time-out event for Timer A of GPTM2 is triggered. 0x2: A time-out event for Timer B of GPTM2 is triggered. 0x3: A time-out event for Timer A and Timer B of GPTM2 is triggered.
Source§impl R<u32, Reg<u32, _IMR>>
impl R<u32, Reg<u32, _IMR>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 12:31 - 31:12] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Sourcepub fn tbmim(&self) -> TBMIM_R
pub fn tbmim(&self) -> TBMIM_R
Bit 11 - 11:11] GPTM Timer B match interrupt mask 0: Interrupt is disabled. 1: Interrupt is enabled.
Sourcepub fn cbeim(&self) -> CBEIM_R
pub fn cbeim(&self) -> CBEIM_R
Bit 10 - 10:10] GPTM Timer B capture event interrupt mask 0: Interrupt is disabled. 1: Interrupt is enabled.
Sourcepub fn cbmim(&self) -> CBMIM_R
pub fn cbmim(&self) -> CBMIM_R
Bit 9 - 9:9] GPTM Timer B capture match interrupt mask 0: Interrupt is disabled. 1: Interrupt is enabled.
Sourcepub fn tbtoim(&self) -> TBTOIM_R
pub fn tbtoim(&self) -> TBTOIM_R
Bit 8 - 8:8] GPTM Timer B time-out interrupt mask 0: Interrupt is disabled. 1: Interrupt is enabled.
Sourcepub fn reserved8(&self) -> RESERVED8_R
pub fn reserved8(&self) -> RESERVED8_R
Bits 5:7 - 7:5] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Sourcepub fn tamim(&self) -> TAMIM_R
pub fn tamim(&self) -> TAMIM_R
Bit 4 - 4:4] GPTM Timer A match interrupt mask 0: Interrupt is disabled. 1: Interrupt is enabled.
Sourcepub fn reserved3(&self) -> RESERVED3_R
pub fn reserved3(&self) -> RESERVED3_R
Bit 3 - 3:3] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Sourcepub fn caeim(&self) -> CAEIM_R
pub fn caeim(&self) -> CAEIM_R
Bit 2 - 2:2] GPTM Timer A capture event interrupt mask 0: Interrupt is disabled. 1: Interrupt is enabled.
Source§impl R<u32, Reg<u32, _RIS>>
impl R<u32, Reg<u32, _RIS>>
Sourcepub fn reserved16(&self) -> RESERVED16_R
pub fn reserved16(&self) -> RESERVED16_R
Bits 12:31 - 31:12] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Sourcepub fn reserved8(&self) -> RESERVED8_R
pub fn reserved8(&self) -> RESERVED8_R
Bits 5:7 - 7:5] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Sourcepub fn reserved3(&self) -> RESERVED3_R
pub fn reserved3(&self) -> RESERVED3_R
Bit 3 - 3:3] Reserved
Source§impl R<u32, Reg<u32, _MIS>>
impl R<u32, Reg<u32, _MIS>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 12:31 - 31:12] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Sourcepub fn reserved8(&self) -> RESERVED8_R
pub fn reserved8(&self) -> RESERVED8_R
Bits 5:7 - 7:5] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Sourcepub fn reserved3(&self) -> RESERVED3_R
pub fn reserved3(&self) -> RESERVED3_R
Bit 3 - 3:3] Reserved
Source§impl R<u32, Reg<u32, _ICR>>
impl R<u32, Reg<u32, _ICR>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 17:31 - 31:17] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Sourcepub fn reserved16(&self) -> RESERVED16_R
pub fn reserved16(&self) -> RESERVED16_R
Bits 12:15 - 15:12] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Sourcepub fn tbtocint(&self) -> TBTOCINT_R
pub fn tbtocint(&self) -> TBTOCINT_R
Bit 8 - 8:8] GPTM Timer B time-out interrupt clear
Sourcepub fn reserved8(&self) -> RESERVED8_R
pub fn reserved8(&self) -> RESERVED8_R
Bits 5:7 - 7:5] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Sourcepub fn reserved3(&self) -> RESERVED3_R
pub fn reserved3(&self) -> RESERVED3_R
Bit 3 - 3:3] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Sourcepub fn tatocint(&self) -> TATOCINT_R
pub fn tatocint(&self) -> TATOCINT_R
Bit 0 - 0:0] GPTM Timer A time-out interrupt clear
Source§impl R<u32, Reg<u32, _TBILR>>
impl R<u32, Reg<u32, _TBILR>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 16:31 - 31:16] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Source§impl R<u32, Reg<u32, _TBMATCHR>>
impl R<u32, Reg<u32, _TBMATCHR>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 16:31 - 31:16] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Source§impl R<u32, Reg<u32, _TAPR>>
impl R<u32, Reg<u32, _TAPR>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Source§impl R<u32, Reg<u32, _TBPR>>
impl R<u32, Reg<u32, _TBPR>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Source§impl R<u32, Reg<u32, _TAPMR>>
impl R<u32, Reg<u32, _TAPMR>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Source§impl R<u32, Reg<u32, _TBPMR>>
impl R<u32, Reg<u32, _TBPMR>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Source§impl R<u32, Reg<u32, _TBR>>
impl R<u32, Reg<u32, _TBR>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 16:31 - 31:16] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Source§impl R<u32, Reg<u32, _TAPS>>
impl R<u32, Reg<u32, _TAPS>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 16:31 - 31:16] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Source§impl R<u32, Reg<u32, _TBPS>>
impl R<u32, Reg<u32, _TBPS>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 16:31 - 31:16] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Source§impl R<u32, Reg<u32, _TAPV>>
impl R<u32, Reg<u32, _TAPV>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 16:31 - 31:16] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Source§impl R<u32, Reg<u32, _TBPV>>
impl R<u32, Reg<u32, _TBPV>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 16:31 - 31:16] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Source§impl R<u32, Reg<u32, _PP>>
impl R<u32, Reg<u32, _PP>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 7:31 - 31:7] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Sourcepub fn altclk(&self) -> ALTCLK_R
pub fn altclk(&self) -> ALTCLK_R
Bit 6 - 6:6] Alternate clock source 0: Timer is not capable of using an alternate clock. 1: Timer is capable of using an alternate clock.
Sourcepub fn syncnt(&self) -> SYNCNT_R
pub fn syncnt(&self) -> SYNCNT_R
Bit 5 - 5:5] Synchronized start 0: Timer is not capable of synchronizing the count value with other timers. 1: Timer is capable of synchronizing the count value with other timers.
Source§impl R<u32, Reg<u32, _SRCRESMASK0>>
impl R<u32, Reg<u32, _SRCRESMASK0>>
Sourcepub fn srcresmask0(&self) -> SRCRESMASK0_R
pub fn srcresmask0(&self) -> SRCRESMASK0_R
Bits 0:7 - 7:0] Extended address matching When there is a match on entry ext_n, bits 2n and 2n + 1 are set in SRCRESMASK.
Source§impl R<u32, Reg<u32, _SRCRESMASK1>>
impl R<u32, Reg<u32, _SRCRESMASK1>>
Sourcepub fn srcresmask1(&self) -> SRCRESMASK1_R
pub fn srcresmask1(&self) -> SRCRESMASK1_R
Bits 0:7 - 7:0] Short address matching When there is a match on entry panid_n + short_n, bit n is set in SRCRESMASK.
Source§impl R<u32, Reg<u32, _SRCRESMASK2>>
impl R<u32, Reg<u32, _SRCRESMASK2>>
Sourcepub fn srcresmask2(&self) -> SRCRESMASK2_R
pub fn srcresmask2(&self) -> SRCRESMASK2_R
Bits 0:7 - 7:0] 24-bit mask that indicates source address match for each individual entry in the source address table
Source§impl R<u32, Reg<u32, _SRCRESINDEX>>
impl R<u32, Reg<u32, _SRCRESINDEX>>
Sourcepub fn srcresindex(&self) -> SRCRESINDEX_R
pub fn srcresindex(&self) -> SRCRESINDEX_R
Bits 0:7 - 7:0] The bit index of the least-significant entry (0-23 for short addresses or 0-11 for extended addresses) in SRCRESMASK, or 0x3F when there is no source match On a match, bit 5 is 0 when the match is on a short address and 1 when it is on an extended address. On a match, bit 6 is 1 when the conditions for automatic pending bit in acknowledgment have been met (see the description of SRCMATCH.AUTOPEND). The bit does not indicate if the acknowledgment is actually transmitted, and does not consider the PENDING_OR register bit and the SACK/SACKPEND/SNACK strobes.
Source§impl R<u32, Reg<u32, _SRCEXTPENDEN0>>
impl R<u32, Reg<u32, _SRCEXTPENDEN0>>
Sourcepub fn srcextpenden0(&self) -> SRCEXTPENDEN0_R
pub fn srcextpenden0(&self) -> SRCEXTPENDEN0_R
Bits 0:7 - 7:0] 8 LSBs of the 24-bit mask that enables or disables automatic pending for each of the 12 extended addresses. Entry n is mapped to SRCEXTPENDEN[2n]. All SRCEXTPENDEN[2n + 1] bits are don’t care.
Source§impl R<u32, Reg<u32, _SRCEXTPENDEN1>>
impl R<u32, Reg<u32, _SRCEXTPENDEN1>>
Sourcepub fn srcextpenden1(&self) -> SRCEXTPENDEN1_R
pub fn srcextpenden1(&self) -> SRCEXTPENDEN1_R
Bits 0:7 - 7:0] 8 middle bits of the 24-bit mask that enables or disables automatic pending for each of the 12 extended addresses Entry n is mapped to SRCEXTPENDEN[2n]. All SRCEXTPENDEN[2n + 1] bits are don’t care.
Source§impl R<u32, Reg<u32, _SRCEXTPENDEN2>>
impl R<u32, Reg<u32, _SRCEXTPENDEN2>>
Sourcepub fn srcextpenden2(&self) -> SRCEXTPENDEN2_R
pub fn srcextpenden2(&self) -> SRCEXTPENDEN2_R
Bits 0:7 - 7:0] 8 MSBs of the 24-bit mask that enables or disables automatic pending for each of the 12 extended addresses Entry n is mapped to SRCEXTPENDEN[2n]. All SRCEXTPENDEN[2n + 1] bits are don’t care.
Source§impl R<u32, Reg<u32, _SRCSHORTPENDEN0>>
impl R<u32, Reg<u32, _SRCSHORTPENDEN0>>
Sourcepub fn srcshortpenden0(&self) -> SRCSHORTPENDEN0_R
pub fn srcshortpenden0(&self) -> SRCSHORTPENDEN0_R
Bits 0:7 - 7:0] 8 LSBs of the 24-bit mask that enables or disables automatic pending for each of the 24 short addresses
Source§impl R<u32, Reg<u32, _SRCSHORTPENDEN1>>
impl R<u32, Reg<u32, _SRCSHORTPENDEN1>>
Sourcepub fn srcshortpenden1(&self) -> SRCSHORTPENDEN1_R
pub fn srcshortpenden1(&self) -> SRCSHORTPENDEN1_R
Bits 0:7 - 7:0] 8 middle bits of the 24-bit mask that enables or disables automatic pending for each of the 24 short addresses
Source§impl R<u32, Reg<u32, _SRCSHORTPENDEN2>>
impl R<u32, Reg<u32, _SRCSHORTPENDEN2>>
Sourcepub fn srcshortpenden2(&self) -> SRCSHORTPENDEN2_R
pub fn srcshortpenden2(&self) -> SRCSHORTPENDEN2_R
Bits 0:7 - 7:0] 8 MSBs of the 24-bit mask that enables or disables automatic pending for each of the 24 short addresses
Source§impl R<u32, Reg<u32, _EXT_ADDR0>>
impl R<u32, Reg<u32, _EXT_ADDR0>>
Sourcepub fn ext_addr0(&self) -> EXT_ADDR0_R
pub fn ext_addr0(&self) -> EXT_ADDR0_R
Bits 0:7 - 7:0] EXT_ADDR[7:0] The IEEE extended address used during destination address filtering
Source§impl R<u32, Reg<u32, _EXT_ADDR1>>
impl R<u32, Reg<u32, _EXT_ADDR1>>
Sourcepub fn ext_addr1(&self) -> EXT_ADDR1_R
pub fn ext_addr1(&self) -> EXT_ADDR1_R
Bits 0:7 - 7:0] EXT_ADDR[15:8] The IEEE extended address used during destination address filtering
Source§impl R<u32, Reg<u32, _EXT_ADDR2>>
impl R<u32, Reg<u32, _EXT_ADDR2>>
Sourcepub fn ext_addr2(&self) -> EXT_ADDR2_R
pub fn ext_addr2(&self) -> EXT_ADDR2_R
Bits 0:7 - 7:0] EXT_ADDR[23:16] The IEEE extended address used during destination address filtering
Source§impl R<u32, Reg<u32, _EXT_ADDR3>>
impl R<u32, Reg<u32, _EXT_ADDR3>>
Sourcepub fn ext_addr3(&self) -> EXT_ADDR3_R
pub fn ext_addr3(&self) -> EXT_ADDR3_R
Bits 0:7 - 7:0] EXT_ADDR[31:24] The IEEE extended address used during destination address filtering
Source§impl R<u32, Reg<u32, _EXT_ADDR4>>
impl R<u32, Reg<u32, _EXT_ADDR4>>
Sourcepub fn ext_addr4(&self) -> EXT_ADDR4_R
pub fn ext_addr4(&self) -> EXT_ADDR4_R
Bits 0:7 - 7:0] EXT_ADDR[39:32] The IEEE extended address used during destination address filtering
Source§impl R<u32, Reg<u32, _EXT_ADDR5>>
impl R<u32, Reg<u32, _EXT_ADDR5>>
Sourcepub fn ext_addr5(&self) -> EXT_ADDR5_R
pub fn ext_addr5(&self) -> EXT_ADDR5_R
Bits 0:7 - 7:0] EXT_ADDR[47:40] The IEEE extended address used during destination address filtering
Source§impl R<u32, Reg<u32, _EXT_ADDR6>>
impl R<u32, Reg<u32, _EXT_ADDR6>>
Sourcepub fn ext_addr6(&self) -> EXT_ADDR6_R
pub fn ext_addr6(&self) -> EXT_ADDR6_R
Bits 0:7 - 7:0] EXT_ADDR[55:48] The IEEE extended address used during destination address filtering
Source§impl R<u32, Reg<u32, _EXT_ADDR7>>
impl R<u32, Reg<u32, _EXT_ADDR7>>
Sourcepub fn ext_addr7(&self) -> EXT_ADDR7_R
pub fn ext_addr7(&self) -> EXT_ADDR7_R
Bits 0:7 - 7:0] EXT_ADDR[63:56] The IEEE extended address used during destination address filtering
Source§impl R<u32, Reg<u32, _SHORT_ADDR0>>
impl R<u32, Reg<u32, _SHORT_ADDR0>>
Sourcepub fn short_addr0(&self) -> SHORT_ADDR0_R
pub fn short_addr0(&self) -> SHORT_ADDR0_R
Bits 0:7 - 7:0] SHORT_ADDR[7:0] The short address used during destination address filtering
Source§impl R<u32, Reg<u32, _SHORT_ADDR1>>
impl R<u32, Reg<u32, _SHORT_ADDR1>>
Sourcepub fn short_addr1(&self) -> SHORT_ADDR1_R
pub fn short_addr1(&self) -> SHORT_ADDR1_R
Bits 0:7 - 7:0] SHORT_ADDR[15:8] The short address used during destination address filtering
Source§impl R<u32, Reg<u32, _FRMFILT0>>
impl R<u32, Reg<u32, _FRMFILT0>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] This register is 8 bits in a 32-bit address space.
Sourcepub fn reserved8(&self) -> RESERVED8_R
pub fn reserved8(&self) -> RESERVED8_R
Bit 7 - 7:7] Reserved. Always read 0.
Sourcepub fn fcf_reserved_mask(&self) -> FCF_RESERVED_MASK_R
pub fn fcf_reserved_mask(&self) -> FCF_RESERVED_MASK_R
Bits 4:6 - 6:4] Used for filtering on the reserved part of the frame control field (FCF) FCF_RESERVED_MASK[2:0] is ANDed with FCF[9:7]. If the result is nonzero and frame filtering is enabled, the frame is rejected.
Sourcepub fn max_frame_version(&self) -> MAX_FRAME_VERSION_R
pub fn max_frame_version(&self) -> MAX_FRAME_VERSION_R
Bits 2:3 - 3:2] Used for filtering on the frame version field of the frame control field (FCF) If FCF[13:12] (the frame version subfield) is higher than MAX_FRAME_VERSION[1:0] and frame filtering is enabled, the frame is rejected.
Sourcepub fn pan_coordinator(&self) -> PAN_COORDINATOR_R
pub fn pan_coordinator(&self) -> PAN_COORDINATOR_R
Bit 1 - 1:1] Should be set high when the device is a PAN coordinator, to accept frames with no destination address (as specified in Section 7.5.6.2 in IEEE 802.15.4) 0: Device is not a PAN coordinator 1: Device is a PAN coordinator
Sourcepub fn frame_filter_en(&self) -> FRAME_FILTER_EN_R
pub fn frame_filter_en(&self) -> FRAME_FILTER_EN_R
Bit 0 - 0:0] Enables frame filtering When this bit is set, the radio performs frame filtering as specified in section 7.5.6.2 of IEEE 802.15.4(b), third filtering level. FRMFILT0[6:1] and FRMFILT1[7:1], together with the local address information, define the behavior of the filtering algorithm. 0: Frame filtering off. (FRMFILT0[6:1], FRMFILT1[7:1] and SRCMATCH[2:0] are don’t care.) 1: Frame filtering on.
Source§impl R<u32, Reg<u32, _FRMFILT1>>
impl R<u32, Reg<u32, _FRMFILT1>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] This register is 8 bits in a 32-bit address space.
Sourcepub fn accept_ft_4to7_reserved(&self) -> ACCEPT_FT_4TO7_RESERVED_R
pub fn accept_ft_4to7_reserved(&self) -> ACCEPT_FT_4TO7_RESERVED_R
Bit 7 - 7:7] Defines whether reserved frames are accepted or not. Reserved frames have frame type = 100, 101, 110, or 111. 0: Reject 1: Accept
Sourcepub fn accept_ft_3_mac_cmd(&self) -> ACCEPT_FT_3_MAC_CMD_R
pub fn accept_ft_3_mac_cmd(&self) -> ACCEPT_FT_3_MAC_CMD_R
Bit 6 - 6:6] Defines whether MAC command frames are accepted or not. MAC command frames have frame type = 011. 0: Reject 1: Accept
Sourcepub fn accept_ft_2_ack(&self) -> ACCEPT_FT_2_ACK_R
pub fn accept_ft_2_ack(&self) -> ACCEPT_FT_2_ACK_R
Bit 5 - 5:5] Defines whether acknowledgment frames are accepted or not. Acknowledgement frames have frame type = 010. 0: Reject 1: Accept
Sourcepub fn accept_ft_1_data(&self) -> ACCEPT_FT_1_DATA_R
pub fn accept_ft_1_data(&self) -> ACCEPT_FT_1_DATA_R
Bit 4 - 4:4] Defines whether data frames are accepted or not. Data frames have frame type = 001. 0: Reject 1: Accept
Sourcepub fn accept_ft_0_beacon(&self) -> ACCEPT_FT_0_BEACON_R
pub fn accept_ft_0_beacon(&self) -> ACCEPT_FT_0_BEACON_R
Bit 3 - 3:3] Defines whether beacon frames are accepted or not. Beacon frames have frame type = 000. 0: Reject 1: Accept
Sourcepub fn modify_ft_filter(&self) -> MODIFY_FT_FILTER_R
pub fn modify_ft_filter(&self) -> MODIFY_FT_FILTER_R
Bits 1:2 - 2:1] These bits are used to modify the frame type field of a received frame before frame type filtering is performed. The modification does not influence the frame that is written to the RX FIFO. 00: Leave the frame type as it is. 01: Invert MSB of the frame type. 10: Set MSB of the frame type to 0. 11: Set MSB of the frame type to 1.
Sourcepub fn frm_reserved(&self) -> FRM_RESERVED_R
pub fn frm_reserved(&self) -> FRM_RESERVED_R
Bit 0 - 0:0] Reserved. Always write 0.
Source§impl R<u32, Reg<u32, _SRCMATCH>>
impl R<u32, Reg<u32, _SRCMATCH>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] This register is 8 bits in a 32-bit address space.
Sourcepub fn reserved8(&self) -> RESERVED8_R
pub fn reserved8(&self) -> RESERVED8_R
Bits 3:7 - 7:3] Reserved. Always read 0.
Sourcepub fn pend_datareq_only(&self) -> PEND_DATAREQ_ONLY_R
pub fn pend_datareq_only(&self) -> PEND_DATAREQ_ONLY_R
Bit 2 - 2:2] When this bit is set, the AUTOPEND function also requires that the received frame is a DATA REQUEST MAC command frame.
Sourcepub fn autopend(&self) -> AUTOPEND_R
pub fn autopend(&self) -> AUTOPEND_R
Bit 1 - 1:1] Automatic acknowledgment pending flag enable When a frame is received, the pending bit in the (possibly) returned acknowledgment is set automatically when the following conditions are met: - FRMFILT.FRAME_FILTER_EN is set. - SRCMATCH.SRC_MATCH_EN is set. - SRCMATCH.AUTOPEND is set. - The received frame matches the current SRCMATCH.PEND_DATAREQ_ONLY setting. - The received source address matches at least one source match table entry, which is enabled in SHORT_ADDR_EN and SHORT_PEND_EN or in EXT_ADDR_EN and EXT_PEND_EN.
Sourcepub fn src_match_en(&self) -> SRC_MATCH_EN_R
pub fn src_match_en(&self) -> SRC_MATCH_EN_R
Bit 0 - 0:0] Source address matching enable (requires that FRMFILT.FRAME_FILTER_EN = 1)
Source§impl R<u32, Reg<u32, _SRCSHORTEN0>>
impl R<u32, Reg<u32, _SRCSHORTEN0>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] This register is 8 bits in a 32-bit address space.
Sourcepub fn short_addr_en(&self) -> SHORT_ADDR_EN_R
pub fn short_addr_en(&self) -> SHORT_ADDR_EN_R
Bits 0:7 - 7:0] 7:0 part of the 24-bit word SHORT_ADDR_EN that enables or disables source address matching for each of the 24 short address table entries Optional safety feature: To ensure that an entry in the source matching table is not used while it is being updated, set the corresponding SHORT_ADDR_EN bit to 0 while updating.
Source§impl R<u32, Reg<u32, _SRCSHORTEN1>>
impl R<u32, Reg<u32, _SRCSHORTEN1>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] This register is 8 bits in a 32-bit address space.
Sourcepub fn short_addr_en(&self) -> SHORT_ADDR_EN_R
pub fn short_addr_en(&self) -> SHORT_ADDR_EN_R
Bits 0:7 - 7:0] 15:8 part of the 24-bit word SHORT_ADDR_EN See description of SRCSHORTEN0.SHORT_ADDR_EN.
Source§impl R<u32, Reg<u32, _SRCSHORTEN2>>
impl R<u32, Reg<u32, _SRCSHORTEN2>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] This register is 8 bits in a 32-bit address space.
Sourcepub fn short_addr_en(&self) -> SHORT_ADDR_EN_R
pub fn short_addr_en(&self) -> SHORT_ADDR_EN_R
Bits 0:7 - 7:0] 23:16 part of the 24-bit word SHORT_ADDR_EN See description of SRCSHORTEN0.SHORT_ADDR_EN.
Source§impl R<u32, Reg<u32, _SRCEXTEN0>>
impl R<u32, Reg<u32, _SRCEXTEN0>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] This register is 8 bits in a 32-bit address space.
Sourcepub fn ext_addr_en(&self) -> EXT_ADDR_EN_R
pub fn ext_addr_en(&self) -> EXT_ADDR_EN_R
Bits 0:7 - 7:0] 7:0 part of the 24-bit word EXT_ADDR_EN that enables or disables source address matching for each of the 12 extended address table entries Write access: Extended address enable for table entry n (0 to 11) is mapped to EXT_ADDR_EN[2n]. All EXT_ADDR_EN[2n + 1] bits are read only. Read access: Extended address enable for table entry n (0 to 11) is mapped to EXT_ADDR_EN[2n] and EXT_ADDR_EN[2n + 1]. Optional safety feature: To ensure that an entry in the source matching table is not used while it is being updated, set the corresponding EXT_ADDR_EN bit to 0 while updating.
Source§impl R<u32, Reg<u32, _SRCEXTEN1>>
impl R<u32, Reg<u32, _SRCEXTEN1>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] This register is 8 bits in a 32-bit address space.
Sourcepub fn ext_addr_en(&self) -> EXT_ADDR_EN_R
pub fn ext_addr_en(&self) -> EXT_ADDR_EN_R
Bits 0:7 - 7:0] 15:8 part of the 24-bit word EXT_ADDR_EN See description of SRCEXTEN0.EXT_ADDR_EN.
Source§impl R<u32, Reg<u32, _SRCEXTEN2>>
impl R<u32, Reg<u32, _SRCEXTEN2>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] This register is 8 bits in a 32-bit address space.
Sourcepub fn ext_addr_en(&self) -> EXT_ADDR_EN_R
pub fn ext_addr_en(&self) -> EXT_ADDR_EN_R
Bits 0:7 - 7:0] 23:16 part of the 24-bit word EXT_ADDR_EN See description of SRCEXTEN0.EXT_ADDR_EN.
Source§impl R<u32, Reg<u32, _FRMCTRL0>>
impl R<u32, Reg<u32, _FRMCTRL0>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] This register is 8 bits in a 32-bit address space.
Sourcepub fn append_data_mode(&self) -> APPEND_DATA_MODE_R
pub fn append_data_mode(&self) -> APPEND_DATA_MODE_R
Bit 7 - 7:7] When AUTOCRC = 0: Don’t care When AUTOCRC = 1: 0: RSSI + The CRC_OK bit and the 7-bit correlation value are appended at the end of each received frame 1: RSSI + The CRC_OK bit and the 7-bit SRCRESINDEX are appended at the end of each received frame.
Sourcepub fn autocrc(&self) -> AUTOCRC_R
pub fn autocrc(&self) -> AUTOCRC_R
Bit 6 - 6:6] In TX 1: A CRC-16 (ITU-T) is generated in hardware and appended to the transmitted frame. There is no need to write the last 2 bytes to TXBUF. 0: No CRC-16 is appended to the frame. The last 2 bytes of the frame must be generated manually and written to TXBUF (if not, TX_UNDERFLOW occurs). In RX 1: The CRC-16 is checked in hardware, and replaced in the RXFIFO by a 16-bit status word which contains a CRC OK bit. The status word is controllable through APPEND_DATA_MODE. 0: The last 2 bytes of the frame (CRC-16 field) are stored in the RX FIFO. The CRC (if any) must be done manually. This setting does not influence acknowledgment transmission (including AUTOACK).
Sourcepub fn autoack(&self) -> AUTOACK_R
pub fn autoack(&self) -> AUTOACK_R
Bit 5 - 5:5] Defines whether the radio automatically transmits acknowledge frames or not. When autoack is enabled, all frames that are accepted by address filtering, have the acknowledge request flag set, and have a valid CRC are automatically acknowledged 12 symbol periods after being received. 0: Autoack disabled 1: Autoack enabled
Sourcepub fn energy_scan(&self) -> ENERGY_SCAN_R
pub fn energy_scan(&self) -> ENERGY_SCAN_R
Bit 4 - 4:4] Defines whether the RSSI register contains the most-recent signal strength or the peak signal strength since the energy scan was enabled. 0: Most-recent signal strength 1: Peak signal strength
Sourcepub fn rx_mode(&self) -> RX_MODE_R
pub fn rx_mode(&self) -> RX_MODE_R
Bits 2:3 - 3:2] Set RX modes. 00: Normal operation, use RX FIFO 01: Receive serial mode, output received data on to IOC; infinite RX 10: RX FIFO looping ignore overflow in RX FIFO; infinite reception 11: Same as normal operation except that symbol search is disabled. Can be used for RSSI or CCA measurements when finding symbol is not desired.
Source§impl R<u32, Reg<u32, _FRMCTRL1>>
impl R<u32, Reg<u32, _FRMCTRL1>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] This register is 8 bits in a 32-bit address space.
Sourcepub fn reserved8(&self) -> RESERVED8_R
pub fn reserved8(&self) -> RESERVED8_R
Bits 3:7 - 7:3] Reserved. Read as 0.
Sourcepub fn pending_or(&self) -> PENDING_OR_R
pub fn pending_or(&self) -> PENDING_OR_R
Bit 2 - 2:2] Defines whether the pending data bit in outgoing acknowledgment frames is always set to 1 or controlled by the main FSM and the address filtering 0: Pending data bit is controlled by main FSM and address filtering. 1: Pending data bit is always 1.
Sourcepub fn ignore_tx_underf(&self) -> IGNORE_TX_UNDERF_R
pub fn ignore_tx_underf(&self) -> IGNORE_TX_UNDERF_R
Bit 1 - 1:1] Defines whether or not TX underflow should be ignored 0: Normal TX operation. TX underflow is detected and TX is aborted if underflow occurs. 1: Ignore TX underflow. Transmit the number of bytes given by the frame-length field.
Sourcepub fn set_rxenmask_on_tx(&self) -> SET_RXENMASK_ON_TX_R
pub fn set_rxenmask_on_tx(&self) -> SET_RXENMASK_ON_TX_R
Bit 0 - 0:0] Defines whether STXON sets bit 6 in the RXENABLE register or leaves it unchanged 0: Does not affect RXENABLE 1: Sets bit 6 in RXENABLE. Used for backward compatibility with the CC2420.
Source§impl R<u32, Reg<u32, _RXENABLE>>
impl R<u32, Reg<u32, _RXENABLE>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] This register is 8 bits in a 32-bit address space.
Sourcepub fn rxenmask(&self) -> RXENMASK_R
pub fn rxenmask(&self) -> RXENMASK_R
Bits 0:7 - 7:0] RXENABLE enables the receiver. A nonzero value in this register causes FFCTRL to enable the receiver when in idle, after transmission and after acknowledgement transmission. The following strobes can modify RXENMASK: SRXON: Set bit 7 in RXENMASK. STXON: Set bit 6 in RXENMASK if SET_RXENMASK_ON_TX = 1. SRFOFF: Clears all bits in RXENMASK. SRXMASKBITSET: Set bit 5 in RXENMASK. SRXMASKBITCLR: Clear bit 5 in RXENMASK. There could be conflicts between the CSP and xreg_bus write operations if both operations try to modify RXENMASK simultaneously. To handle the case of simultaneous access to RXENMASK the following rules apply: - If the two sources agree (they modify different parts of the register) both of their requests to modify RXENMASK are processed. - If both operations try to modify the mask simultaneously, bus write operations to RXMASKSET and RXMASKCLR have priority over the CSP. This situation must be avoided.
Source§impl R<u32, Reg<u32, _RXMASKSET>>
impl R<u32, Reg<u32, _RXMASKSET>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] This register is 8 bits in a 32-bit address space.
Sourcepub fn rxenmaskset(&self) -> RXENMASKSET_R
pub fn rxenmaskset(&self) -> RXENMASKSET_R
Bits 0:7 - 7:0] When written, the written data is ORed with the RXENMASK and stored in RXENMASK.
Source§impl R<u32, Reg<u32, _RXMASKCLR>>
impl R<u32, Reg<u32, _RXMASKCLR>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] This register is 8 bits in a 32-bit address space.
Sourcepub fn rxenmaskclr(&self) -> RXENMASKCLR_R
pub fn rxenmaskclr(&self) -> RXENMASKCLR_R
Bits 0:7 - 7:0] When written, the written data is inverted and ANDed with the RXENMASK and stored in RXENMASK. For example, if 1 is written to one or more bit positions in this register, the corresponding bits are cleared in RXENMASK.
Source§impl R<u32, Reg<u32, _FREQTUNE>>
impl R<u32, Reg<u32, _FREQTUNE>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] This register is 8 bits in a 32-bit address space.
Sourcepub fn reserved8(&self) -> RESERVED8_R
pub fn reserved8(&self) -> RESERVED8_R
Bits 4:7 - 7:4] Reserved. Always read 0.
Sourcepub fn xosc32m_tune(&self) -> XOSC32M_TUNE_R
pub fn xosc32m_tune(&self) -> XOSC32M_TUNE_R
Bits 0:3 - 3:0] Tune crystal oscillator The default setting 1111 leaves the XOSC untuned. Changing the setting from the default setting (1111) switches in extra capacitance to the oscillator, effectively lowering the XOSC frequency. Hence, a higher setting gives a higher frequency.
Source§impl R<u32, Reg<u32, _FREQCTRL>>
impl R<u32, Reg<u32, _FREQCTRL>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] This register is 8 bits in a 32-bit address space.
Sourcepub fn reserved8(&self) -> RESERVED8_R
pub fn reserved8(&self) -> RESERVED8_R
Bit 7 - 7:7] Reserved. Always read 0.
Sourcepub fn freq(&self) -> FREQ_R
pub fn freq(&self) -> FREQ_R
Bits 0:6 - 6:0] Frequency control word The frequency word in FREQ[6:0] is an offset value from 2394 (fRF = FREQ[6 0] + 2394). The RF-frequency is specified from 2405 to 2480 MHz in 1-MHz steps; hence, the only valid settings for FREQ[6:0] are 11 to 86 (11 + 2394 = 2405 and 86 + 2394 = 2480). The device supports the frequency range from 2394 to 2507 MHz. Consequently, the usable settings for FREQ[6:0] are 0 to 113. Settings outside of the usable range (114 to 127) give a frequency of 2507 MHz. IEEE 802.15.4-2006 specifies a frequency range from 2405 MHz to 2480 MHz with 16 channels 5 MHz apart. The channels are numbered 11 through 26. For an IEEE 802.15.4-2006 compliant system, the only valid settings are thus FREQ[6:0] = 11 + 5 (channel number - 11).
Source§impl R<u32, Reg<u32, _TXPOWER>>
impl R<u32, Reg<u32, _TXPOWER>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] This register is 8 bits in a 32-bit address space.
Sourcepub fn pa_power(&self) -> PA_POWER_R
pub fn pa_power(&self) -> PA_POWER_R
Bits 4:7 - 7:4] PA power control
Source§impl R<u32, Reg<u32, _TXCTRL>>
impl R<u32, Reg<u32, _TXCTRL>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] This register is 8 bits in a 32-bit address space.
Sourcepub fn reserved8(&self) -> RESERVED8_R
pub fn reserved8(&self) -> RESERVED8_R
Bit 7 - 7:7] Reserved. Always read 0.
Sourcepub fn dac_curr(&self) -> DAC_CURR_R
pub fn dac_curr(&self) -> DAC_CURR_R
Bits 4:6 - 6:4] Change the current in the DAC.
Sourcepub fn txmix_current(&self) -> TXMIX_CURRENT_R
pub fn txmix_current(&self) -> TXMIX_CURRENT_R
Bits 0:1 - 1:0] Transmit mixers core current Current increases with increasing setting.
Source§impl R<u32, Reg<u32, _FSMSTAT0>>
impl R<u32, Reg<u32, _FSMSTAT0>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] This register is 8 bits in a 32-bit address space.
Sourcepub fn cal_done(&self) -> CAL_DONE_R
pub fn cal_done(&self) -> CAL_DONE_R
Bit 7 - 7:7] Frequency synthesis calibration has been performed since the last time the FS was turned on.
Sourcepub fn cal_running(&self) -> CAL_RUNNING_R
pub fn cal_running(&self) -> CAL_RUNNING_R
Bit 6 - 6:6] Frequency synthesis calibration status 0: Calibration is complete or not started. 1: Calibration is in progress.
Sourcepub fn fsm_ffctrl_state(&self) -> FSM_FFCTRL_STATE_R
pub fn fsm_ffctrl_state(&self) -> FSM_FFCTRL_STATE_R
Bits 0:5 - 5:0] Gives the current state of the FIFO and frame control (FFCTRL) finite state-machine.
Source§impl R<u32, Reg<u32, _FSMSTAT1>>
impl R<u32, Reg<u32, _FSMSTAT1>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] This register is 8 bits in a 32-bit address space.
Sourcepub fn fifo(&self) -> FIFO_R
pub fn fifo(&self) -> FIFO_R
Bit 7 - 7:7] FIFO is high when there is data in the RX FIFO. FIFO is low during RX FIFO overflow.
Sourcepub fn fifop(&self) -> FIFOP_R
pub fn fifop(&self) -> FIFOP_R
Bit 6 - 6:6] FIFOP is set high when there are at more than FIFOP_THR bytes of data in the RX FIFO that has passed frame filtering. FIFOP is set high when there is at least one complete frame in the RX FIFO. FIFOP is high during RX FIFO overflow.
Sourcepub fn sfd(&self) -> SFD_R
pub fn sfd(&self) -> SFD_R
Bit 5 - 5:5] In TX 0: When a complete frame with SFD was sent or no SFD was sent 1: SFD was sent. In RX 0: When a complete frame was received or no SFD was received 1: SFD was received.
Sourcepub fn cca(&self) -> CCA_R
pub fn cca(&self) -> CCA_R
Bit 4 - 4:4] Clear channel assessment Dependent on CCA_MODE settings. See CCACTRL1 for details.
Sourcepub fn sampled_cca(&self) -> SAMPLED_CCA_R
pub fn sampled_cca(&self) -> SAMPLED_CCA_R
Bit 3 - 3:3] Contains a sampled value of the CCA The value is updated when a SSAMPLECCA or STXONCCA strobe is issued.
Sourcepub fn lock_status(&self) -> LOCK_STATUS_R
pub fn lock_status(&self) -> LOCK_STATUS_R
Bit 2 - 2:2] 1 when PLL is in lock; otherwise 0
Sourcepub fn tx_active(&self) -> TX_ACTIVE_R
pub fn tx_active(&self) -> TX_ACTIVE_R
Bit 1 - 1:1] Status signal Active when FFC is in one of the transmit states
Sourcepub fn rx_active(&self) -> RX_ACTIVE_R
pub fn rx_active(&self) -> RX_ACTIVE_R
Bit 0 - 0:0] Status signal Active when FFC is in one of the receive states
Source§impl R<u32, Reg<u32, _FIFOPCTRL>>
impl R<u32, Reg<u32, _FIFOPCTRL>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] This register is 8 bits in a 32-bit address space.
Sourcepub fn reserved8(&self) -> RESERVED8_R
pub fn reserved8(&self) -> RESERVED8_R
Bit 7 - 7:7] Reserved. Always read 0.
Sourcepub fn fifop_thr(&self) -> FIFOP_THR_R
pub fn fifop_thr(&self) -> FIFOP_THR_R
Bits 0:6 - 6:0] Threshold used when generating FIFOP signal
Source§impl R<u32, Reg<u32, _FSMCTRL>>
impl R<u32, Reg<u32, _FSMCTRL>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] This register is 8 bits in a 32-bit address space.
Sourcepub fn reserved8(&self) -> RESERVED8_R
pub fn reserved8(&self) -> RESERVED8_R
Bits 2:7 - 7:2] Reserved. Always read 0.
Sourcepub fn slotted_ack(&self) -> SLOTTED_ACK_R
pub fn slotted_ack(&self) -> SLOTTED_ACK_R
Bit 1 - 1:1] Controls timing of transmission of acknowledge frames 0: The acknowledge frame is sent 12 symbol periods after the end of the received frame which requests the aknowledge. 1: The acknowledge frame is sent at the first backoff-slot boundary more than 12 symbol periods after the end of the received frame which requests the aknowledge.
Sourcepub fn rx2rx_time_off(&self) -> RX2RX_TIME_OFF_R
pub fn rx2rx_time_off(&self) -> RX2RX_TIME_OFF_R
Bit 0 - 0:0] Defines whether or not a 12-symbol time-out should be used after frame reception has ended. 0: No time-out 1: 12-symbol-period time-out
Source§impl R<u32, Reg<u32, _CCACTRL0>>
impl R<u32, Reg<u32, _CCACTRL0>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] This register is 8 bits in a 32-bit address space.
Sourcepub fn cca_thr(&self) -> CCA_THR_R
pub fn cca_thr(&self) -> CCA_THR_R
Bits 0:7 - 7:0] Clear-channel-assessment threshold value, signed 2’s-complement number for comparison with the RSSI. The unit is 1 dB, offset is 73dB The CCA signal goes high when the received signal is below this value. The CCA signal is available on the CCA pin and in the FSMSTAT1 register. The value must never be set lower than CCA_HYST - 128 to avoid erroneous behavior of the CCA signal. Note: The reset value translates to an input level of approximately -32 - 73 = -105 dBm, which is well below the sensitivity limit. This means that the CCA signal never indicates a clear channel. This register should be updated to 0xF8, which translates to an input level of about -8 - 73 = -81 dBm.
Source§impl R<u32, Reg<u32, _CCACTRL1>>
impl R<u32, Reg<u32, _CCACTRL1>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] This register is 8 bits in a 32-bit address space.
Sourcepub fn reserved8(&self) -> RESERVED8_R
pub fn reserved8(&self) -> RESERVED8_R
Bits 5:7 - 7:5] Reserved. Always read 0.
Sourcepub fn cca_mode(&self) -> CCA_MODE_R
pub fn cca_mode(&self) -> CCA_MODE_R
Bits 3:4 - 4:3] 00: CCA always set to 1 01: CCA = 1 when RSSI < CCA_THR - CCA_HYST; CCA = 0 when RSSI >= CCA_THR 10: CCA = 1 when not receiving a frame, else CCA = 0 11: CCA = 1 when RSSI < CCA_THR - CCA_HYST and not receiving a frame; CCA = 0 when RSSI >= CCA_THR or when receiving a frame
Sourcepub fn cca_hyst(&self) -> CCA_HYST_R
pub fn cca_hyst(&self) -> CCA_HYST_R
Bits 0:2 - 2:0] Sets the level of CCA hysteresis. Unsigned values given in dB
Source§impl R<u32, Reg<u32, _RSSI>>
impl R<u32, Reg<u32, _RSSI>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] This register is 8 bits in a 32-bit address space.
Sourcepub fn rssi_val(&self) -> RSSI_VAL_R
pub fn rssi_val(&self) -> RSSI_VAL_R
Bits 0:7 - 7:0] RSSI estimate on a logarithmic scale, signed number on 2’s complement Unit is 1 dB, offset is 73dB. The RSSI value is averaged over eight symbol periods. The RSSI_VALID status bit should be checked before reading RSSI_VAL for the first time. The reset value of -128 also indicates that the RSSI value is invalid.
Source§impl R<u32, Reg<u32, _RSSISTAT>>
impl R<u32, Reg<u32, _RSSISTAT>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] This register is 8 bits in a 32-bit address space.
Sourcepub fn reserved8(&self) -> RESERVED8_R
pub fn reserved8(&self) -> RESERVED8_R
Bits 1:7 - 7:1] Reserved. Always read 0.
Sourcepub fn rssi_valid(&self) -> RSSI_VALID_R
pub fn rssi_valid(&self) -> RSSI_VALID_R
Bit 0 - 0:0] RSSI value is valid. Occurs eight symbol periods after entering RX.
Source§impl R<u32, Reg<u32, _RXFIRST>>
impl R<u32, Reg<u32, _RXFIRST>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] This register is 8 bits in a 32-bit address space.
Source§impl R<u32, Reg<u32, _RXFIFOCNT>>
impl R<u32, Reg<u32, _RXFIFOCNT>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] This register is 8 bits in a 32-bit address space.
Sourcepub fn rxfifocnt(&self) -> RXFIFOCNT_R
pub fn rxfifocnt(&self) -> RXFIFOCNT_R
Bits 0:7 - 7:0] Number of bytes in the RX FIFO (unsigned integer)
Source§impl R<u32, Reg<u32, _TXFIFOCNT>>
impl R<u32, Reg<u32, _TXFIFOCNT>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] This register is 8 bits in a 32-bit address space.
Sourcepub fn txfifocnt(&self) -> TXFIFOCNT_R
pub fn txfifocnt(&self) -> TXFIFOCNT_R
Bits 0:7 - 7:0] Number of bytes in the TX FIFO (unsigned integer)
Source§impl R<u32, Reg<u32, _RXFIRST_PTR>>
impl R<u32, Reg<u32, _RXFIRST_PTR>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] This register is 8 bits in a 32-bit address space.
Sourcepub fn rxfirst_ptr(&self) -> RXFIRST_PTR_R
pub fn rxfirst_ptr(&self) -> RXFIRST_PTR_R
Bits 0:7 - 7:0] RAM address offset of the first byte in the RX FIFO
Source§impl R<u32, Reg<u32, _RXLAST_PTR>>
impl R<u32, Reg<u32, _RXLAST_PTR>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] This register is 8 bits in a 32-bit address space.
Sourcepub fn rxlast_ptr(&self) -> RXLAST_PTR_R
pub fn rxlast_ptr(&self) -> RXLAST_PTR_R
Bits 0:7 - 7:0] RAM address offset of the last byte + 1 byte in the RX FIFO
Source§impl R<u32, Reg<u32, _RXP1_PTR>>
impl R<u32, Reg<u32, _RXP1_PTR>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] This register is 8 bits in a 32-bit address space.
Sourcepub fn rxp1_ptr(&self) -> RXP1_PTR_R
pub fn rxp1_ptr(&self) -> RXP1_PTR_R
Bits 0:7 - 7:0] RAM address offset of the first byte of the first frame in the RX FIFO
Source§impl R<u32, Reg<u32, _TXFIRST_PTR>>
impl R<u32, Reg<u32, _TXFIRST_PTR>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] This register is 8 bits in a 32-bit address space.
Sourcepub fn txfirst_ptr(&self) -> TXFIRST_PTR_R
pub fn txfirst_ptr(&self) -> TXFIRST_PTR_R
Bits 0:7 - 7:0] RAM address offset of the next byte to be transmitted from the TX FIFO
Source§impl R<u32, Reg<u32, _TXLAST_PTR>>
impl R<u32, Reg<u32, _TXLAST_PTR>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] This register is 8 bits in a 32-bit address space.
Sourcepub fn txlast_ptr(&self) -> TXLAST_PTR_R
pub fn txlast_ptr(&self) -> TXLAST_PTR_R
Bits 0:7 - 7:0] RAM address offset of the last byte + 1 byte of the TX FIFO
Source§impl R<u32, Reg<u32, _RFIRQM0>>
impl R<u32, Reg<u32, _RFIRQM0>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] This register is 8 bits in a 32-bit address space.
Source§impl R<u32, Reg<u32, _RFIRQM1>>
impl R<u32, Reg<u32, _RFIRQM1>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] This register is 8 bits in a 32-bit address space.
Sourcepub fn reserved8(&self) -> RESERVED8_R
pub fn reserved8(&self) -> RESERVED8_R
Bits 6:7 - 7:6] 7: Reserved 6: Reserved
Source§impl R<u32, Reg<u32, _RFERRM>>
impl R<u32, Reg<u32, _RFERRM>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] This register is 8 bits in a 32-bit address space.
Sourcepub fn reserved8(&self) -> RESERVED8_R
pub fn reserved8(&self) -> RESERVED8_R
Bit 7 - 7:7] 7: Reserved
Source§impl R<u32, Reg<u32, _RFRND>>
impl R<u32, Reg<u32, _RFRND>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] This register is 8 bits in a 32-bit address space.
Sourcepub fn reserved8(&self) -> RESERVED8_R
pub fn reserved8(&self) -> RESERVED8_R
Bits 2:7 - 7:2] Reserved. Always read 0.
Source§impl R<u32, Reg<u32, _MDMCTRL0>>
impl R<u32, Reg<u32, _MDMCTRL0>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] This register is 8 bits in a 32-bit address space.
Sourcepub fn dem_num_zeros(&self) -> DEM_NUM_ZEROS_R
pub fn dem_num_zeros(&self) -> DEM_NUM_ZEROS_R
Bits 6:7 - 7:6] Sets how many zero symbols must be detected before the sync word when searching for sync. Only one zero symbol is required to have a correlation value above the correlation threshold set in the MDMCTRL1 register. 00: Reserved 01: 1 zero symbol 10: 2 zero symbols 11: 3 zero symbols
Sourcepub fn demod_avg_mode(&self) -> DEMOD_AVG_MODE_R
pub fn demod_avg_mode(&self) -> DEMOD_AVG_MODE_R
Bit 5 - 5:5] Defines the behavior or the frequency offset averaging filter. 0: Lock average level after preamble match. Restart frequency offset calibration when searching for the next frame. 1: Continuously update average level.
Sourcepub fn preamble_length(&self) -> PREAMBLE_LENGTH_R
pub fn preamble_length(&self) -> PREAMBLE_LENGTH_R
Bits 1:4 - 4:1] The number of preamble bytes (two zero-symbols) to be sent in TX mode before the SFD, encoded in steps of 2 symbols (1 byte). The reset value of 2 is compliant with IEEE 802.15.4. 0000: 2 leading-zero bytes 0001: 3 leading-zero bytes 0010: 4 leading-zero bytes … 1111: 17 leading-zero bytes
Sourcepub fn tx_filter(&self) -> TX_FILTER_R
pub fn tx_filter(&self) -> TX_FILTER_R
Bit 0 - 0:0] Defines the kind of TX filter that is used. The normal TX filter is as defined by the IEEE 802.15.4 standard. Extra filtering may be applied to lower the out-of-band emissions. 0: Normal TX filtering 1: Enable extra filtering
Source§impl R<u32, Reg<u32, _MDMCTRL1>>
impl R<u32, Reg<u32, _MDMCTRL1>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] This register is 8 bits in a 32-bit address space.
Sourcepub fn reserved8(&self) -> RESERVED8_R
pub fn reserved8(&self) -> RESERVED8_R
Bits 6:7 - 7:6] Reserved. Always read 0.
Sourcepub fn corr_thr_sfd(&self) -> CORR_THR_SFD_R
pub fn corr_thr_sfd(&self) -> CORR_THR_SFD_R
Bit 5 - 5:5] Defines requirements for SFD detection: 0: The correlation value of one of the zero symbols of the preamble must be above the correlation threshold. 1: The correlation value of one zero symbol of the preamble and both symbols in the SFD must be above the correlation threshold.
Sourcepub fn corr_thr(&self) -> CORR_THR_R
pub fn corr_thr(&self) -> CORR_THR_R
Bits 0:4 - 4:0] Demodulator correlator threshold value, required before SFD search. Threshold value adjusts how the receiver synchronizes to data from the radio. If the threshold is set too low, sync can more easily be found on noise. If set too high, the sensitivity is reduced, but sync is not likely to be found on noise. In combination with DEM_NUM_ZEROS, the system can be tuned so sensitivity is high with less sync found on noise.
Source§impl R<u32, Reg<u32, _FREQEST>>
impl R<u32, Reg<u32, _FREQEST>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] This register is 8 bits in a 32-bit address space.
Sourcepub fn freqest(&self) -> FREQEST_R
pub fn freqest(&self) -> FREQEST_R
Bits 0:7 - 7:0] Signed 2’s-complement value. Contains an estimate of the frequency offset between carrier and the receiver LO. The offset frequency is FREQEST x 7800 Hz. DEM_AVG_MODE controls when this estimate is updated. If DEM_AVG_MODE = 0, it is updated until sync is found. Then the frequency offset estimate is frozen until the end of the received frame. If DEM_AVG_MODE = 1, it is updated as long as the demodulator is enabled. To calculate the correct value, one must use an offset (FREQEST_offset), which can be found in the device data sheet. Real FREQEST value = FREQEST - FREQEST_offset.
Source§impl R<u32, Reg<u32, _RXCTRL>>
impl R<u32, Reg<u32, _RXCTRL>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] This register is 8 bits in a 32-bit address space.
Sourcepub fn reserved8(&self) -> RESERVED8_R
pub fn reserved8(&self) -> RESERVED8_R
Bits 6:7 - 7:6] Reserved. Always read 0.
Sourcepub fn gbias_lna2_ref(&self) -> GBIAS_LNA2_REF_R
pub fn gbias_lna2_ref(&self) -> GBIAS_LNA2_REF_R
Bits 4:5 - 5:4] Adjusts front-end LNA2/mixer PTAT current output (from M = 3 to M = 6), default: M = 5
Sourcepub fn gbias_lna_ref(&self) -> GBIAS_LNA_REF_R
pub fn gbias_lna_ref(&self) -> GBIAS_LNA_REF_R
Bits 2:3 - 3:2] Adjusts front-end LNA PTAT current output (from M = 3 to M = 6), default: M = 5
Sourcepub fn mix_current(&self) -> MIX_CURRENT_R
pub fn mix_current(&self) -> MIX_CURRENT_R
Bits 0:1 - 1:0] Control of the output current from the receiver mixers The current increases with increasing setting set.
Source§impl R<u32, Reg<u32, _FSCTRL>>
impl R<u32, Reg<u32, _FSCTRL>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] This register is 8 bits in a 32-bit address space.
Sourcepub fn pre_current(&self) -> PRE_CURRENT_R
pub fn pre_current(&self) -> PRE_CURRENT_R
Bits 6:7 - 7:6] Prescaler current setting
Sourcepub fn lodiv_buf_current_tx(&self) -> LODIV_BUF_CURRENT_TX_R
pub fn lodiv_buf_current_tx(&self) -> LODIV_BUF_CURRENT_TX_R
Bits 4:5 - 5:4] Adjusts current in mixer and PA buffers Used when TX_ACTIVE = 1
Sourcepub fn lodiv_buf_current_rx(&self) -> LODIV_BUF_CURRENT_RX_R
pub fn lodiv_buf_current_rx(&self) -> LODIV_BUF_CURRENT_RX_R
Bits 2:3 - 3:2] Adjusts current in mixer and PA buffers Used when TX_ACTIVE = 0
Sourcepub fn lodiv_current(&self) -> LODIV_CURRENT_R
pub fn lodiv_current(&self) -> LODIV_CURRENT_R
Bits 0:1 - 1:0] Adjusts divider currents, except mixer and PA buffers
Source§impl R<u32, Reg<u32, _FSCAL0>>
impl R<u32, Reg<u32, _FSCAL0>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] This register is 8 bits in a 32-bit address space.
Sourcepub fn vco_curr_comp_en_ov(&self) -> VCO_CURR_COMP_EN_OV_R
pub fn vco_curr_comp_en_ov(&self) -> VCO_CURR_COMP_EN_OV_R
Bit 7 - 7:7] Force on the current comparator in the VCO. This signal is ORed with the signal coming from the calibration module.
Sourcepub fn chp_disable(&self) -> CHP_DISABLE_R
pub fn chp_disable(&self) -> CHP_DISABLE_R
Bit 6 - 6:6] Set this bit to manually disable charge pump by masking the up and down pulses from the phase detector.
Sourcepub fn chp_current(&self) -> CHP_CURRENT_R
pub fn chp_current(&self) -> CHP_CURRENT_R
Bits 2:5 - 5:2] Digital bit vector defining the charge-pump output current on an exponential scale If FFC_BW_BOOST = 0, the read value is the value stored in CHP_CURRENT. If FFC_BW_BOOST = 1, the read value is CHP_CURRENT + 4. If the addition causes overflow, the signal is saturated.
Sourcepub fn bw_boost_mode(&self) -> BW_BOOST_MODE_R
pub fn bw_boost_mode(&self) -> BW_BOOST_MODE_R
Bits 0:1 - 1:0] Control signal Defines the synthesizer boost mode 00: No BW_BOOST 01: BW_BOOST is high during calibration and approximately 30 us into the settling. 10: BW_BOOST is always on (or high). 11: Reserved
Source§impl R<u32, Reg<u32, _FSCAL1>>
impl R<u32, Reg<u32, _FSCAL1>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] This register is 8 bits in a 32-bit address space.
Sourcepub fn vco_curr_cal_oe(&self) -> VCO_CURR_CAL_OE_R
pub fn vco_curr_cal_oe(&self) -> VCO_CURR_CAL_OE_R
Bit 7 - 7:7] Override current calibration
Sourcepub fn vco_curr_cal(&self) -> VCO_CURR_CAL_R
pub fn vco_curr_cal(&self) -> VCO_CURR_CAL_R
Bits 2:6 - 6:2] Calibration result Override value if VCO_CURR_CAL_OE = 1
Sourcepub fn vco_curr(&self) -> VCO_CURR_R
pub fn vco_curr(&self) -> VCO_CURR_R
Bits 0:1 - 1:0] Defines current in VCO core Sets the multiplier between calibrated current and VCO current.
Source§impl R<u32, Reg<u32, _FSCAL2>>
impl R<u32, Reg<u32, _FSCAL2>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] This register is 8 bits in a 32-bit address space.
Sourcepub fn reserved8(&self) -> RESERVED8_R
pub fn reserved8(&self) -> RESERVED8_R
Bit 7 - 7:7] Reserved. Always read 0.
Sourcepub fn vco_caparr_oe(&self) -> VCO_CAPARR_OE_R
pub fn vco_caparr_oe(&self) -> VCO_CAPARR_OE_R
Bit 6 - 6:6] Override the calibration result with the value from VCO_CAPARR[5:0].
Sourcepub fn vco_caparr(&self) -> VCO_CAPARR_R
pub fn vco_caparr(&self) -> VCO_CAPARR_R
Bits 0:5 - 5:0] VCO capacitor array setting Programmed during calibration Override value when VCO_CAPARR_OE = 1
Source§impl R<u32, Reg<u32, _FSCAL3>>
impl R<u32, Reg<u32, _FSCAL3>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] This register is 8 bits in a 32-bit address space.
Sourcepub fn reserved8(&self) -> RESERVED8_R
pub fn reserved8(&self) -> RESERVED8_R
Bit 7 - 7:7] Reserved. Always read 0.
Sourcepub fn vco_dac_en_ov(&self) -> VCO_DAC_EN_OV_R
pub fn vco_dac_en_ov(&self) -> VCO_DAC_EN_OV_R
Bit 6 - 6:6] Enables the VCO DAC when 1
Sourcepub fn vco_vc_dac(&self) -> VCO_VC_DAC_R
pub fn vco_vc_dac(&self) -> VCO_VC_DAC_R
Bits 2:5 - 5:2] Bit vector for programming varactor control voltage from VC DAC
Sourcepub fn vco_caparr_cal_ctrl(&self) -> VCO_CAPARR_CAL_CTRL_R
pub fn vco_caparr_cal_ctrl(&self) -> VCO_CAPARR_CAL_CTRL_R
Bits 0:1 - 1:0] Calibration accuracy setting for the cap_array calibration part of the calibration 00: 80 XOSC periods 01: 100 XOSC periods 10: 125 XOSC periods 11: 250 XOSC periods
Source§impl R<u32, Reg<u32, _AGCCTRL0>>
impl R<u32, Reg<u32, _AGCCTRL0>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] This register is 8 bits in a 32-bit address space.
Sourcepub fn reserved8(&self) -> RESERVED8_R
pub fn reserved8(&self) -> RESERVED8_R
Bit 7 - 7:7] Reserved. Always read 0.
Sourcepub fn agc_dr_xtnd_en(&self) -> AGC_DR_XTND_EN_R
pub fn agc_dr_xtnd_en(&self) -> AGC_DR_XTND_EN_R
Bit 6 - 6:6] 0: The AGC performs no adjustment of attenuation in the AAF. 1: The AGC adjusts the gain in the AAF to achieve extra dynamic range for the receiver.
Sourcepub fn agc_dr_xtnd_thr(&self) -> AGC_DR_XTND_THR_R
pub fn agc_dr_xtnd_thr(&self) -> AGC_DR_XTND_THR_R
Bits 0:5 - 5:0] If the measured error between the AGC reference magnitude and the actual magnitude in dB is larger than this threshold, the extra attenuation is enabled in the front end. This threshold must be set higher than 0x0C. This feature is enabled by AGC_DR_XTND_EN.
Source§impl R<u32, Reg<u32, _AGCCTRL1>>
impl R<u32, Reg<u32, _AGCCTRL1>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] This register is 8 bits in a 32-bit address space.
Sourcepub fn reserved8(&self) -> RESERVED8_R
pub fn reserved8(&self) -> RESERVED8_R
Bits 6:7 - 7:6] Reserved. Always read 0.
Source§impl R<u32, Reg<u32, _AGCCTRL2>>
impl R<u32, Reg<u32, _AGCCTRL2>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] This register is 8 bits in a 32-bit address space.
Sourcepub fn lna1_current(&self) -> LNA1_CURRENT_R
pub fn lna1_current(&self) -> LNA1_CURRENT_R
Bits 6:7 - 7:6] Overrride value for LNA 1 Used only when LNA_CURRENT_OE = 1 When read, this register returns the current applied gain setting. 00: 0-dB gain (reference level) 01: 3-dB gain 10: Reserved 11: 6-dB gain
Sourcepub fn lna2_current(&self) -> LNA2_CURRENT_R
pub fn lna2_current(&self) -> LNA2_CURRENT_R
Bits 3:5 - 5:3] Overrride value for LNA 2 Used only when LNA_CURRENT_OE = 1 When read, this register returns the current applied gain setting. 000: 0-dB gain (reference level) 001: 3-dB gain 010: 6-dB gain 011: 9-dB gain 100: 12-dB gain 101: 15-dB gain 110: 18-dB gain 111: 21-dB gain
Sourcepub fn lna3_current(&self) -> LNA3_CURRENT_R
pub fn lna3_current(&self) -> LNA3_CURRENT_R
Bits 1:2 - 2:1] Overrride value for LNA 3 Used only when LNA_CURRENT_OE = 1 When read, this register returns the current applied gain setting. 00: 0-dB gain (reference level) 01: 3-dB gain 10: 6-dB gain 11: 9-dB gain
Sourcepub fn lna_current_oe(&self) -> LNA_CURRENT_OE_R
pub fn lna_current_oe(&self) -> LNA_CURRENT_OE_R
Bit 0 - 0:0] Write 1 to override the AGC LNA current setting with the values above (LNA1_CURRENT, LNA2_CURRENT, and LNA3_CURRENT).
Source§impl R<u32, Reg<u32, _AGCCTRL3>>
impl R<u32, Reg<u32, _AGCCTRL3>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] This register is 8 bits in a 32-bit address space.
Sourcepub fn reserved8(&self) -> RESERVED8_R
pub fn reserved8(&self) -> RESERVED8_R
Bit 7 - 7:7] Reserved. Always read 0.
Sourcepub fn agc_settle_wait(&self) -> AGC_SETTLE_WAIT_R
pub fn agc_settle_wait(&self) -> AGC_SETTLE_WAIT_R
Bits 5:6 - 6:5] Timing for AGC to wait for analog gain to settle after a gain change. During this period, the energy measurement in the AGC is paused. 00: 15 periods 01: 20 periods 10: 25 periods 11: 30 periods
Sourcepub fn agc_win_size(&self) -> AGC_WIN_SIZE_R
pub fn agc_win_size(&self) -> AGC_WIN_SIZE_R
Bits 3:4 - 4:3] Window size for the accumulate-and-dump function in the AGC. 00: 16 samples 01: 32 samples 10: 64 samples 11: 128 samples
Sourcepub fn aaf_rp(&self) -> AAF_RP_R
pub fn aaf_rp(&self) -> AAF_RP_R
Bits 1:2 - 2:1] Overrides the control signals of the AGC to AAF when AAF_RP_OE = 1. When read, it returns the applied signal to the AAF. 00: 9-dB attenuation in AAF 01: 6-dB attenuation in AAF 10: 3-dB attenuation in AAF 11: 0-dB attenuation in AAF (reference level)
Sourcepub fn aaf_rp_oe(&self) -> AAF_RP_OE_R
pub fn aaf_rp_oe(&self) -> AAF_RP_OE_R
Bit 0 - 0:0] Override the AAF control signals of the AGC with the values stored in AAF_RP.
Source§impl R<u32, Reg<u32, _ADCTEST0>>
impl R<u32, Reg<u32, _ADCTEST0>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] This register is 8 bits in a 32-bit address space.
Sourcepub fn adc_vref_adj(&self) -> ADC_VREF_ADJ_R
pub fn adc_vref_adj(&self) -> ADC_VREF_ADJ_R
Bits 6:7 - 7:6] Quantizer threshold control for test and debug
Sourcepub fn adc_quant_adj(&self) -> ADC_QUANT_ADJ_R
pub fn adc_quant_adj(&self) -> ADC_QUANT_ADJ_R
Bits 4:5 - 5:4] Quantizer threshold control for test and debug
Sourcepub fn adc_gm_adj(&self) -> ADC_GM_ADJ_R
pub fn adc_gm_adj(&self) -> ADC_GM_ADJ_R
Bits 1:3 - 3:1] Gm-control for test and debug
Sourcepub fn adc_dac2_en(&self) -> ADC_DAC2_EN_R
pub fn adc_dac2_en(&self) -> ADC_DAC2_EN_R
Bit 0 - 0:0] Enables DAC2 for enhanced ADC stability
Source§impl R<u32, Reg<u32, _ADCTEST1>>
impl R<u32, Reg<u32, _ADCTEST1>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] This register is 8 bits in a 32-bit address space.
Sourcepub fn adc_test_ctrl(&self) -> ADC_TEST_CTRL_R
pub fn adc_test_ctrl(&self) -> ADC_TEST_CTRL_R
Bits 4:7 - 7:4] ADC test mode selector
Sourcepub fn adc_c2_adj(&self) -> ADC_C2_ADJ_R
pub fn adc_c2_adj(&self) -> ADC_C2_ADJ_R
Bits 2:3 - 3:2] Used to adjust capacitor values in ADC
Sourcepub fn adc_c3_adj(&self) -> ADC_C3_ADJ_R
pub fn adc_c3_adj(&self) -> ADC_C3_ADJ_R
Bits 0:1 - 1:0] Used to adjust capacitor values in ADC
Source§impl R<u32, Reg<u32, _ADCTEST2>>
impl R<u32, Reg<u32, _ADCTEST2>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] This register is 8 bits in a 32-bit address space.
Sourcepub fn reserved8(&self) -> RESERVED8_R
pub fn reserved8(&self) -> RESERVED8_R
Bit 7 - 7:7] Reserved. Always read 0.
Sourcepub fn adc_test_mode(&self) -> ADC_TEST_MODE_R
pub fn adc_test_mode(&self) -> ADC_TEST_MODE_R
Bits 5:6 - 6:5] Test mode to enable output of ADC data from demodulator. When enabled, raw ADC data is clocked out on the GPIO pins. 00: Test mode disabled 01: Data from the I and Q ADCs are output (data rate 76 MHz) 10: Data from the I ADC is output. Two and two ADC samples grouped (data rate 38 MHz) 11: Data from the Q ADC is output. Two and two ADC samples grouped (data rate 38 MHz)
Sourcepub fn adc_ff_adj(&self) -> ADC_FF_ADJ_R
pub fn adc_ff_adj(&self) -> ADC_FF_ADJ_R
Bits 1:2 - 2:1] Adjust feed forward
Sourcepub fn adc_dac_rot(&self) -> ADC_DAC_ROT_R
pub fn adc_dac_rot(&self) -> ADC_DAC_ROT_R
Bit 0 - 0:0] Control of DAC DWA scheme 0 = DWA (scrambling) disabled 1 = DWA enabled
Source§impl R<u32, Reg<u32, _MDMTEST0>>
impl R<u32, Reg<u32, _MDMTEST0>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] This register is 8 bits in a 32-bit address space.
Sourcepub fn tx_tone(&self) -> TX_TONE_R
pub fn tx_tone(&self) -> TX_TONE_R
Bits 4:7 - 7:4] Enables the possibility to transmit a baseband tone by picking samples from the sine tables with a controllable phase step between the samples. The step size is controlled by TX_TONE. If MDMTEST1.MOD_IF is 0, the tone is superpositioned on the modulated data, effectively giving modulation with an IF. If MDMTEST1.MOD_IF is 1, only the tone is transmitted. 0000: -6 MHz 0001: -4 MHz 0010: -3 MHz 0011: -2 MHz 0100: -1 MHz 0101: -500 kHz 0110: -4 kHz 0111: 0 1000: 4 kHz 1001: 500 kHz 1010: 1 MHz 1011: 2 MHz 1100: 3 MHz 1101: 4 MHz 1110: 6 MHz Others: Reserved
Sourcepub fn dc_win_size(&self) -> DC_WIN_SIZE_R
pub fn dc_win_size(&self) -> DC_WIN_SIZE_R
Bits 2:3 - 3:2] Controls the numbers of samples to be accumulated between each dump of the accumulate-and-dump filter used in DC removal 00: 32 samples 01: 64 samples 10: 128 samples 11: 256 samples
Sourcepub fn dc_block_mode(&self) -> DC_BLOCK_MODE_R
pub fn dc_block_mode(&self) -> DC_BLOCK_MODE_R
Bits 0:1 - 1:0] Selects the mode of operation 00: The input signal to the DC blocker is passed to the output without any attempt to remove DC. 01: Enable DC cancellation. Normal operation 10: Freeze estimates of DC when sync is found. Resume estimating DC when searching for the next frame. 11: Reserved
Source§impl R<u32, Reg<u32, _MDMTEST1>>
impl R<u32, Reg<u32, _MDMTEST1>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] This register is 8 bits in a 32-bit address space.
Sourcepub fn reserved8(&self) -> RESERVED8_R
pub fn reserved8(&self) -> RESERVED8_R
Bits 6:7 - 7:6] Reserved. Always read 0.
Sourcepub fn usemirror_if(&self) -> USEMIRROR_IF_R
pub fn usemirror_if(&self) -> USEMIRROR_IF_R
Bit 5 - 5:5] 0: Use the normal IF frequency (MDMTEST0.TX_TONE) for automatic IF compensation of channel frequency on TX. 1: Use mirror IF frequency for automatic compensation of channel frequency on TX.
Sourcepub fn mod_if(&self) -> MOD_IF_R
pub fn mod_if(&self) -> MOD_IF_R
Bit 4 - 4:4] 0: Modulation is performed at an IF set by MDMTEST0.TX_TONE. The tone set by MDMTEST0.TX_TONE is superimposed on the data. 1: Modulate a tone set by MDMTEST0.TX_TONE. A tone is transmitted with frequency set by MDMTEST0.TX_TONE.
Sourcepub fn ramp_amp(&self) -> RAMP_AMP_R
pub fn ramp_amp(&self) -> RAMP_AMP_R
Bit 3 - 3:3] 1: Enable ramping of DAC output amplitude during startup and finish. 0: Disable ramping of DAC output amplitude.
Sourcepub fn rfc_sniff_en(&self) -> RFC_SNIFF_EN_R
pub fn rfc_sniff_en(&self) -> RFC_SNIFF_EN_R
Bit 2 - 2:2] 0: Packet sniffer module disabled 1: Packet sniffer module enabled. The received and transmitted data can be observed on GPIO pins.
Sourcepub fn loopback_en(&self) -> LOOPBACK_EN_R
pub fn loopback_en(&self) -> LOOPBACK_EN_R
Bit 0 - 0:0] Enables loopback of modulated data into the receiver chain 0: An STXCAL instruction calibrates for TX. Use STXON to continue to active TX. 1: An STXCAL instruction enables the loopback mode.
Source§impl R<u32, Reg<u32, _DACTEST0>>
impl R<u32, Reg<u32, _DACTEST0>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] This register is 8 bits in a 32-bit address space.
Sourcepub fn dac_q_o(&self) -> DAC_Q_O_R
pub fn dac_q_o(&self) -> DAC_Q_O_R
Bits 0:7 - 7:0] Q-branch DAC override value when DAC_SRC = 001 If DAC_SRC is set to be ADC data, CORDIC magnitude, or channel filtered data, then DAC_Q_O controls the part of the word in question that is actually multiplexed to the DAC, as described below. 000111: Bits 7:0 001000: Bits 8:1 001001: Bits 9:2 … If an invalid setting is chosen, the DAC outputs only zeros (minimum value).
Source§impl R<u32, Reg<u32, _DACTEST1>>
impl R<u32, Reg<u32, _DACTEST1>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] This register is 8 bits in a 32-bit address space.
Sourcepub fn dac_i_o(&self) -> DAC_I_O_R
pub fn dac_i_o(&self) -> DAC_I_O_R
Bits 0:7 - 7:0] I-branch DAC override value when DAC_SRC = 001 If DAC_SRC is set to be ADC data, CORDIC magnitude, channel filtered data, or DC filtered data, then DAC_I_O controls the part of the word in question that is actually multiplexed to the DAC as described below. 000111: Bits 7:0 001000: Bits 8:1 001001: Bits 9:2 … If an invalid setting is chosen, then the DAC outputs only zeros (minimum value).
Source§impl R<u32, Reg<u32, _DACTEST2>>
impl R<u32, Reg<u32, _DACTEST2>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] This register is 8 bits in a 32-bit address space.
Sourcepub fn reserved8(&self) -> RESERVED8_R
pub fn reserved8(&self) -> RESERVED8_R
Bits 6:7 - 7:6] Reserved. Always read 0.
Sourcepub fn dac_dem_en(&self) -> DAC_DEM_EN_R
pub fn dac_dem_en(&self) -> DAC_DEM_EN_R
Bit 5 - 5:5] Enable and disable dynamic element matching Drives RFR_DAC_DEM_EN
Sourcepub fn dac_casc_ctrl(&self) -> DAC_CASC_CTRL_R
pub fn dac_casc_ctrl(&self) -> DAC_CASC_CTRL_R
Bits 3:4 - 4:3] Adjustment of output stage Drives RFR_DAC_CASC_CTRL
Sourcepub fn dac_src(&self) -> DAC_SRC_R
pub fn dac_src(&self) -> DAC_SRC_R
Bits 0:2 - 2:0] The TX DACs data source is selected by DAC_SRC according to: 000: Normal operation (from modulator) 001: The DAC_I_O and DAC_Q_O override values 010: ADC data after decimation, magnitude controlled by DAC_I_O and DAC_Q_O 011: I/Q after decimation, channel and DC filtering, magnitude controlled by DAC_I_O and DAC_Q_O 100: CORDIC magnitude output and front-end gain is output, magnitude controlled by DAC_I_O and DAC_Q_O 101: RSSI I output on the I DAC 111: Reserved
Source§impl R<u32, Reg<u32, _ATEST>>
impl R<u32, Reg<u32, _ATEST>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] This register is 8 bits in a 32-bit address space.
Sourcepub fn reserved8(&self) -> RESERVED8_R
pub fn reserved8(&self) -> RESERVED8_R
Bits 6:7 - 7:6] Reserved. Always read 0.
Sourcepub fn atest_ctrl(&self) -> ATEST_CTRL_R
pub fn atest_ctrl(&self) -> ATEST_CTRL_R
Bits 0:5 - 5:0] Controls the analog test mode: 00 0000: Disabled 00 0001: Enables the temperature sensor (see also the CCTEST_TR0 register description). Other values reserved.
Source§impl R<u32, Reg<u32, _PTEST0>>
impl R<u32, Reg<u32, _PTEST0>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] This register is 8 bits in a 32-bit address space.
Sourcepub fn chp_pd(&self) -> CHP_PD_R
pub fn chp_pd(&self) -> CHP_PD_R
Bit 6 - 6:6] Charge pump power-down signal When PD_OVERRIDE = 1
Sourcepub fn lna_pd(&self) -> LNA_PD_R
pub fn lna_pd(&self) -> LNA_PD_R
Bits 2:3 - 3:2] Low-noise amplifier power-down signal Defines LNA/mixer power-down modes: 00: Power up 01: LNA off, mixer/regulator on 10: LNA/mixer off, regulator on 11: PD When PD_OVERRIDE = 1
Sourcepub fn txmix_pd(&self) -> TXMIX_PD_R
pub fn txmix_pd(&self) -> TXMIX_PD_R
Bit 1 - 1:1] Transmit mixer power-down signal When PD_OVERRIDE = 1
Source§impl R<u32, Reg<u32, _PTEST1>>
impl R<u32, Reg<u32, _PTEST1>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] This register is 8 bits in a 32-bit address space.
Sourcepub fn reserved8(&self) -> RESERVED8_R
pub fn reserved8(&self) -> RESERVED8_R
Bits 4:7 - 7:4] Reserved. Always read 0.
Sourcepub fn pd_override(&self) -> PD_OVERRIDE_R
pub fn pd_override(&self) -> PD_OVERRIDE_R
Bit 3 - 3:3] Override enabling and disabling of various modules (for debug and testing only) It is impossible to override hard-coded BIAS_PD[1:0] depenancy.
Sourcepub fn pa_pd(&self) -> PA_PD_R
pub fn pa_pd(&self) -> PA_PD_R
Bit 2 - 2:2] Power amplifier power-down signal When PD_OVERRIDE = 1
Sourcepub fn lodiv_pd(&self) -> LODIV_PD_R
pub fn lodiv_pd(&self) -> LODIV_PD_R
Bit 0 - 0:0] LO power-down signal When PD_OVERRIDE = 1
Source§impl R<u32, Reg<u32, _CSPPROG_0>>
impl R<u32, Reg<u32, _CSPPROG_0>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] This register is 8 bits in a 32-bit address space.
Sourcepub fn csp_instr(&self) -> CSP_INSTR_R
pub fn csp_instr(&self) -> CSP_INSTR_R
Bits 0:7 - 7:0] Byte N of the CSP program memory
Source§impl R<u32, Reg<u32, _CSPPROG_1>>
impl R<u32, Reg<u32, _CSPPROG_1>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] This register is 8 bits in a 32-bit address space.
Sourcepub fn csp_instr(&self) -> CSP_INSTR_R
pub fn csp_instr(&self) -> CSP_INSTR_R
Bits 0:7 - 7:0] Byte N of the CSP program memory
Source§impl R<u32, Reg<u32, _CSPPROG_2>>
impl R<u32, Reg<u32, _CSPPROG_2>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] This register is 8 bits in a 32-bit address space.
Sourcepub fn csp_instr(&self) -> CSP_INSTR_R
pub fn csp_instr(&self) -> CSP_INSTR_R
Bits 0:7 - 7:0] Byte N of the CSP program memory
Source§impl R<u32, Reg<u32, _CSPPROG_3>>
impl R<u32, Reg<u32, _CSPPROG_3>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] This register is 8 bits in a 32-bit address space.
Sourcepub fn csp_instr(&self) -> CSP_INSTR_R
pub fn csp_instr(&self) -> CSP_INSTR_R
Bits 0:7 - 7:0] Byte N of the CSP program memory
Source§impl R<u32, Reg<u32, _CSPPROG_4>>
impl R<u32, Reg<u32, _CSPPROG_4>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] This register is 8 bits in a 32-bit address space.
Sourcepub fn csp_instr(&self) -> CSP_INSTR_R
pub fn csp_instr(&self) -> CSP_INSTR_R
Bits 0:7 - 7:0] Byte N of the CSP program memory
Source§impl R<u32, Reg<u32, _CSPPROG_5>>
impl R<u32, Reg<u32, _CSPPROG_5>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] This register is 8 bits in a 32-bit address space.
Sourcepub fn csp_instr(&self) -> CSP_INSTR_R
pub fn csp_instr(&self) -> CSP_INSTR_R
Bits 0:7 - 7:0] Byte N of the CSP program memory
Source§impl R<u32, Reg<u32, _CSPPROG_6>>
impl R<u32, Reg<u32, _CSPPROG_6>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] This register is 8 bits in a 32-bit address space.
Sourcepub fn csp_instr(&self) -> CSP_INSTR_R
pub fn csp_instr(&self) -> CSP_INSTR_R
Bits 0:7 - 7:0] Byte N of the CSP program memory
Source§impl R<u32, Reg<u32, _CSPPROG_7>>
impl R<u32, Reg<u32, _CSPPROG_7>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] This register is 8 bits in a 32-bit address space.
Sourcepub fn csp_instr(&self) -> CSP_INSTR_R
pub fn csp_instr(&self) -> CSP_INSTR_R
Bits 0:7 - 7:0] Byte N of the CSP program memory
Source§impl R<u32, Reg<u32, _CSPPROG_8>>
impl R<u32, Reg<u32, _CSPPROG_8>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] This register is 8 bits in a 32-bit address space.
Sourcepub fn csp_instr(&self) -> CSP_INSTR_R
pub fn csp_instr(&self) -> CSP_INSTR_R
Bits 0:7 - 7:0] Byte N of the CSP program memory
Source§impl R<u32, Reg<u32, _CSPPROG_9>>
impl R<u32, Reg<u32, _CSPPROG_9>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] This register is 8 bits in a 32-bit address space.
Sourcepub fn csp_instr(&self) -> CSP_INSTR_R
pub fn csp_instr(&self) -> CSP_INSTR_R
Bits 0:7 - 7:0] Byte N of the CSP program memory
Source§impl R<u32, Reg<u32, _CSPPROG_10>>
impl R<u32, Reg<u32, _CSPPROG_10>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] This register is 8 bits in a 32-bit address space.
Sourcepub fn csp_instr(&self) -> CSP_INSTR_R
pub fn csp_instr(&self) -> CSP_INSTR_R
Bits 0:7 - 7:0] Byte N of the CSP program memory
Source§impl R<u32, Reg<u32, _CSPPROG_11>>
impl R<u32, Reg<u32, _CSPPROG_11>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] This register is 8 bits in a 32-bit address space.
Sourcepub fn csp_instr(&self) -> CSP_INSTR_R
pub fn csp_instr(&self) -> CSP_INSTR_R
Bits 0:7 - 7:0] Byte N of the CSP program memory
Source§impl R<u32, Reg<u32, _CSPPROG_12>>
impl R<u32, Reg<u32, _CSPPROG_12>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] This register is 8 bits in a 32-bit address space.
Sourcepub fn csp_instr(&self) -> CSP_INSTR_R
pub fn csp_instr(&self) -> CSP_INSTR_R
Bits 0:7 - 7:0] Byte N of the CSP program memory
Source§impl R<u32, Reg<u32, _CSPPROG_13>>
impl R<u32, Reg<u32, _CSPPROG_13>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] This register is 8 bits in a 32-bit address space.
Sourcepub fn csp_instr(&self) -> CSP_INSTR_R
pub fn csp_instr(&self) -> CSP_INSTR_R
Bits 0:7 - 7:0] Byte N of the CSP program memory
Source§impl R<u32, Reg<u32, _CSPPROG_14>>
impl R<u32, Reg<u32, _CSPPROG_14>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] This register is 8 bits in a 32-bit address space.
Sourcepub fn csp_instr(&self) -> CSP_INSTR_R
pub fn csp_instr(&self) -> CSP_INSTR_R
Bits 0:7 - 7:0] Byte N of the CSP program memory
Source§impl R<u32, Reg<u32, _CSPPROG_15>>
impl R<u32, Reg<u32, _CSPPROG_15>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] This register is 8 bits in a 32-bit address space.
Sourcepub fn csp_instr(&self) -> CSP_INSTR_R
pub fn csp_instr(&self) -> CSP_INSTR_R
Bits 0:7 - 7:0] Byte N of the CSP program memory
Source§impl R<u32, Reg<u32, _CSPPROG_16>>
impl R<u32, Reg<u32, _CSPPROG_16>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] This register is 8 bits in a 32-bit address space.
Sourcepub fn csp_instr(&self) -> CSP_INSTR_R
pub fn csp_instr(&self) -> CSP_INSTR_R
Bits 0:7 - 7:0] Byte N of the CSP program memory
Source§impl R<u32, Reg<u32, _CSPPROG_17>>
impl R<u32, Reg<u32, _CSPPROG_17>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] This register is 8 bits in a 32-bit address space.
Sourcepub fn csp_instr(&self) -> CSP_INSTR_R
pub fn csp_instr(&self) -> CSP_INSTR_R
Bits 0:7 - 7:0] Byte N of the CSP program memory
Source§impl R<u32, Reg<u32, _CSPPROG_18>>
impl R<u32, Reg<u32, _CSPPROG_18>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] This register is 8 bits in a 32-bit address space.
Sourcepub fn csp_instr(&self) -> CSP_INSTR_R
pub fn csp_instr(&self) -> CSP_INSTR_R
Bits 0:7 - 7:0] Byte N of the CSP program memory
Source§impl R<u32, Reg<u32, _CSPPROG_19>>
impl R<u32, Reg<u32, _CSPPROG_19>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] This register is 8 bits in a 32-bit address space.
Sourcepub fn csp_instr(&self) -> CSP_INSTR_R
pub fn csp_instr(&self) -> CSP_INSTR_R
Bits 0:7 - 7:0] Byte N of the CSP program memory
Source§impl R<u32, Reg<u32, _CSPPROG_20>>
impl R<u32, Reg<u32, _CSPPROG_20>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] This register is 8 bits in a 32-bit address space.
Sourcepub fn csp_instr(&self) -> CSP_INSTR_R
pub fn csp_instr(&self) -> CSP_INSTR_R
Bits 0:7 - 7:0] Byte N of the CSP program memory
Source§impl R<u32, Reg<u32, _CSPPROG_21>>
impl R<u32, Reg<u32, _CSPPROG_21>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] This register is 8 bits in a 32-bit address space.
Sourcepub fn csp_instr(&self) -> CSP_INSTR_R
pub fn csp_instr(&self) -> CSP_INSTR_R
Bits 0:7 - 7:0] Byte N of the CSP program memory
Source§impl R<u32, Reg<u32, _CSPPROG_22>>
impl R<u32, Reg<u32, _CSPPROG_22>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] This register is 8 bits in a 32-bit address space.
Sourcepub fn csp_instr(&self) -> CSP_INSTR_R
pub fn csp_instr(&self) -> CSP_INSTR_R
Bits 0:7 - 7:0] Byte N of the CSP program memory
Source§impl R<u32, Reg<u32, _CSPPROG_23>>
impl R<u32, Reg<u32, _CSPPROG_23>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] This register is 8 bits in a 32-bit address space.
Sourcepub fn csp_instr(&self) -> CSP_INSTR_R
pub fn csp_instr(&self) -> CSP_INSTR_R
Bits 0:7 - 7:0] Byte N of the CSP program memory
Source§impl R<u32, Reg<u32, _CSPCTRL>>
impl R<u32, Reg<u32, _CSPCTRL>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] This register is 8 bits in a 32-bit address space.
Sourcepub fn reserved8(&self) -> RESERVED8_R
pub fn reserved8(&self) -> RESERVED8_R
Bits 1:7 - 7:1] Reserved. Always read 0.
Sourcepub fn mcu_ctrl(&self) -> MCU_CTRL_R
pub fn mcu_ctrl(&self) -> MCU_CTRL_R
Bit 0 - 0:0] CSP MCU control input
Source§impl R<u32, Reg<u32, _CSPSTAT>>
impl R<u32, Reg<u32, _CSPSTAT>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] This register is 8 bits in a 32-bit address space.
Sourcepub fn reserved8(&self) -> RESERVED8_R
pub fn reserved8(&self) -> RESERVED8_R
Bits 6:7 - 7:6] Reserved. Always read 0.
Sourcepub fn csp_running(&self) -> CSP_RUNNING_R
pub fn csp_running(&self) -> CSP_RUNNING_R
Bit 5 - 5:5] 1: CSP is running. 0: CSP is idle.
Source§impl R<u32, Reg<u32, _CSPX>>
impl R<u32, Reg<u32, _CSPX>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] This register is 8 bits in a 32-bit address space.
Source§impl R<u32, Reg<u32, _CSPY>>
impl R<u32, Reg<u32, _CSPY>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] This register is 8 bits in a 32-bit address space.
Source§impl R<u32, Reg<u32, _CSPZ>>
impl R<u32, Reg<u32, _CSPZ>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] This register is 8 bits in a 32-bit address space.
Source§impl R<u32, Reg<u32, _CSPT>>
impl R<u32, Reg<u32, _CSPT>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] This register is 8 bits in a 32-bit address space.
Source§impl R<u32, Reg<u32, _RFC_OBS_CTRL0>>
impl R<u32, Reg<u32, _RFC_OBS_CTRL0>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] This register is 8 bits in a 32-bit address space.
Sourcepub fn reserved8(&self) -> RESERVED8_R
pub fn reserved8(&self) -> RESERVED8_R
Bit 7 - 7:7] Reserved. Always read 0.
Sourcepub fn rfc_obs_pol0(&self) -> RFC_OBS_POL0_R
pub fn rfc_obs_pol0(&self) -> RFC_OBS_POL0_R
Bit 6 - 6:6] The signal chosen by RFC_OBS_MUX0 is XORed with this bit.
Sourcepub fn rfc_obs_mux0(&self) -> RFC_OBS_MUX0_R
pub fn rfc_obs_mux0(&self) -> RFC_OBS_MUX0_R
Bits 0:5 - 5:0] Controls which observable signal from RF Core is to be muxed out to rfc_obs_sigs[0]. 00 0000: 0 - Constant value 00 0001: 1 - Constant value 00 1000: rfc_sniff_data - Data from packet sniffer. Sample data on rising edges of sniff_clk. 00 1001: rfc_sniff_clk - 250kHz clock for packet sniffer data. 00 1100: rssi_valid - Pin is high when the RSSI value has been updated at least once since RX was started. Cleared when leaving RX. 00 1101: demod_cca - Clear channel assessment. See FSMSTAT1 register for details on how to configure the behavior of this signal. 00 1110: sampled_cca - A sampled version of the CCA bit from demodulator. The value is updated whenever a SSAMPLECCA or STXONCCA strobe is issued. 00 1111: sfd_sync - Pin is high when a SFD has been received or transmitted. Cleared when leaving RX/TX respectively. Not to be confused with the SFD exception. 01 0000: tx_active - Indicates that FFCTRL is in one of the TX states. Active-high. Note: This signal might have glitches, because it has no output flip-flop and is based on the current state register of the FFCTRL FSM. 01 0001: rx_active - Indicates that FFCTRL is in one of the RX states. Active-high. Note: This signal might have glitches, because it has no output flip-flop and is based on the current state register of the FFCTRL FSM. 01 0010: ffctrl_fifo - Pin is high when one or more bytes are in the RXFIFO. Low during RXFIFO overflow. 01 0011: ffctrl_fifop - Pin is high when the number of bytes in the RXFIFO exceeds the programmable threshold or at least one complete frame is in the RXFIFO. Also high during RXFIFO overflow. Not to be confused with the FIFOP exception. 01 0100: packet_done - A complete frame has been received. I.e., the number of bytes set by the frame-length field has been received. 01 0110: rfc_xor_rand_i_q - XOR between I and Q random outputs. Updated at 8 MHz. 01 0111: rfc_rand_q - Random data output from the Q channel of the receiver. Updated at 8 MHz. 01 1000: rfc_rand_i - Random data output from the I channel of the receiver. Updated at 8 MHz 01 1001: lock_status - 1 when PLL is in lock, otherwise 0 10 1000: pa_pd - Power amplifier power-down signal 10 1010: lna_pd - LNA power-down signal Others: Reserved
Source§impl R<u32, Reg<u32, _RFC_OBS_CTRL1>>
impl R<u32, Reg<u32, _RFC_OBS_CTRL1>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] This register is 8 bits in a 32-bit address space.
Sourcepub fn reserved8(&self) -> RESERVED8_R
pub fn reserved8(&self) -> RESERVED8_R
Bit 7 - 7:7] Reserved. Always read 0.
Sourcepub fn rfc_obs_pol1(&self) -> RFC_OBS_POL1_R
pub fn rfc_obs_pol1(&self) -> RFC_OBS_POL1_R
Bit 6 - 6:6] The signal chosen by RFC_OBS_MUX1 is XORed with this bit.
Sourcepub fn rfc_obs_mux1(&self) -> RFC_OBS_MUX1_R
pub fn rfc_obs_mux1(&self) -> RFC_OBS_MUX1_R
Bits 0:5 - 5:0] Controls which observable signal from RF Core is to be muxed out to rfc_obs_sigs[1]. See description of RFC_OBS_CTRL0 for details.
Source§impl R<u32, Reg<u32, _RFC_OBS_CTRL2>>
impl R<u32, Reg<u32, _RFC_OBS_CTRL2>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] This register is 8 bits in a 32-bit address space.
Sourcepub fn reserved8(&self) -> RESERVED8_R
pub fn reserved8(&self) -> RESERVED8_R
Bit 7 - 7:7] Reserved. Always read 0.
Sourcepub fn rfc_obs_pol2(&self) -> RFC_OBS_POL2_R
pub fn rfc_obs_pol2(&self) -> RFC_OBS_POL2_R
Bit 6 - 6:6] The signal chosen by RFC_OBS_MUX2 is XORed with this bit.
Sourcepub fn rfc_obs_mux2(&self) -> RFC_OBS_MUX2_R
pub fn rfc_obs_mux2(&self) -> RFC_OBS_MUX2_R
Bits 0:5 - 5:0] Controls which observable signal from RF Core is to be muxed out to rfc_obs_sigs[2]. See description of RFC_OBS_CTRL0 for details.
Source§impl R<u32, Reg<u32, _TXFILTCFG>>
impl R<u32, Reg<u32, _TXFILTCFG>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] This register is 8 bits in a 32-bit address space.
Sourcepub fn reserved8(&self) -> RESERVED8_R
pub fn reserved8(&self) -> RESERVED8_R
Bits 4:7 - 7:4] Reserved. Always read 0.
Source§impl R<u32, Reg<u32, _MTCSPCFG>>
impl R<u32, Reg<u32, _MTCSPCFG>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] This register is 8 bits in a 32-bit address space.
Sourcepub fn reserved8(&self) -> RESERVED8_R
pub fn reserved8(&self) -> RESERVED8_R
Bit 7 - 7:7] Reserved. Always read 0.
Sourcepub fn mactimer_evenmt_cfg(&self) -> MACTIMER_EVENMT_CFG_R
pub fn mactimer_evenmt_cfg(&self) -> MACTIMER_EVENMT_CFG_R
Bits 4:6 - 6:4] Selects the event that triggers an MT_EVENT2 pulse 000: MT_per_event 001: MT_cmp1_event 010: MT_cmp2_event 011: MTovf_per_event 100: MTovf_cmp1_event 101: MTovf_cmp2_event 110: Reserved 111: No event
Sourcepub fn reserved3(&self) -> RESERVED3_R
pub fn reserved3(&self) -> RESERVED3_R
Bit 3 - 3:3] Reserved. Always read 0.
Sourcepub fn mactimer_event1_cfg(&self) -> MACTIMER_EVENT1_CFG_R
pub fn mactimer_event1_cfg(&self) -> MACTIMER_EVENT1_CFG_R
Bits 0:2 - 2:0] Selects the event that triggers an MT_EVENT1 pulse 000: MT_per_event 001: MT_cmp1_event 010: MT_cmp2_event 011: MTovf_per_event 100: MTovf_cmp1_event 101: MTovf_cmp2_event 110: Reserved 111: No event
Source§impl R<u32, Reg<u32, _MTCTRL>>
impl R<u32, Reg<u32, _MTCTRL>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] This register is 8 bits in a 32-bit address space.
Sourcepub fn reserved8(&self) -> RESERVED8_R
pub fn reserved8(&self) -> RESERVED8_R
Bits 4:7 - 7:4] Reserved. Always read 0.
Sourcepub fn latch_mode(&self) -> LATCH_MODE_R
pub fn latch_mode(&self) -> LATCH_MODE_R
Bit 3 - 3:3] 0: Reading MTM0 with MTMSEL.MTMSEL = 000 latches the high byte of the timer, making it ready to be read from MTM1. Reading MTMOVF0 with MTMSEL.MTMOVFSEL = 000 latches the two most-significant bytes of the overflow counter, making it possible to read these from MTMOVF1 and MTMOVF2. 1: Reading MTM0 with MTMSEL.MTMSEL = 000 latches the high byte of the timer and the entire overflow counter at once, making it possible to read the values from MTM1, MTMOVF0, MTMOVF1, and MTMOVF2.
Source§impl R<u32, Reg<u32, _MTIRQM>>
impl R<u32, Reg<u32, _MTIRQM>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] This register is 8 bits in a 32-bit address space.
Sourcepub fn reserved8(&self) -> RESERVED8_R
pub fn reserved8(&self) -> RESERVED8_R
Bits 6:7 - 7:6] Reserved. Always read 0.
Sourcepub fn mactimer_ovf_compare2m(&self) -> MACTIMER_OVF_COMPARE2M_R
pub fn mactimer_ovf_compare2m(&self) -> MACTIMER_OVF_COMPARE2M_R
Bit 5 - 5:5] Enables the MACTIMER_OVF_COMPARE2 interrupt
Sourcepub fn mactimer_ovf_compare1m(&self) -> MACTIMER_OVF_COMPARE1M_R
pub fn mactimer_ovf_compare1m(&self) -> MACTIMER_OVF_COMPARE1M_R
Bit 4 - 4:4] Enables the MACTIMER_OVF_COMPARE1 interrupt
Sourcepub fn mactimer_ovf_perm(&self) -> MACTIMER_OVF_PERM_R
pub fn mactimer_ovf_perm(&self) -> MACTIMER_OVF_PERM_R
Bit 3 - 3:3] Enables the MACTIMER_OVF_PER interrupt
Sourcepub fn mactimer_compare2m(&self) -> MACTIMER_COMPARE2M_R
pub fn mactimer_compare2m(&self) -> MACTIMER_COMPARE2M_R
Bit 2 - 2:2] Enables the MACTIMER_COMPARE2 interrupt
Sourcepub fn mactimer_compare1m(&self) -> MACTIMER_COMPARE1M_R
pub fn mactimer_compare1m(&self) -> MACTIMER_COMPARE1M_R
Bit 1 - 1:1] Enables the MACTIMER_COMPARE1 interrupt
Sourcepub fn mactimer_perm(&self) -> MACTIMER_PERM_R
pub fn mactimer_perm(&self) -> MACTIMER_PERM_R
Bit 0 - 0:0] Enables the MACTIMER_PER interrupt
Source§impl R<u32, Reg<u32, _MTIRQF>>
impl R<u32, Reg<u32, _MTIRQF>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] This register is 8 bits in a 32-bit address space.
Sourcepub fn reserved8(&self) -> RESERVED8_R
pub fn reserved8(&self) -> RESERVED8_R
Bits 6:7 - 7:6] Reserved. Always read 0.
Sourcepub fn mactimer_ovf_compare2f(&self) -> MACTIMER_OVF_COMPARE2F_R
pub fn mactimer_ovf_compare2f(&self) -> MACTIMER_OVF_COMPARE2F_R
Bit 5 - 5:5] Set when the MAC Timer overflow counter counts to the value set at MTovf_cmp2
Sourcepub fn mactimer_ovf_compare1f(&self) -> MACTIMER_OVF_COMPARE1F_R
pub fn mactimer_ovf_compare1f(&self) -> MACTIMER_OVF_COMPARE1F_R
Bit 4 - 4:4] Set when the MAC Timer overflow counter counts to the value set at Timer 2 MTovf_cmp1
Sourcepub fn mactimer_ovf_perf(&self) -> MACTIMER_OVF_PERF_R
pub fn mactimer_ovf_perf(&self) -> MACTIMER_OVF_PERF_R
Bit 3 - 3:3] Set when the MAC Timer overflow counter would have counted to a value equal to MTovf_per, but instead wraps to 0
Sourcepub fn mactimer_compare2f(&self) -> MACTIMER_COMPARE2F_R
pub fn mactimer_compare2f(&self) -> MACTIMER_COMPARE2F_R
Bit 2 - 2:2] Set when the MAC Timer counter counts to the value set at MT_cmp2
Sourcepub fn mactimer_compare1f(&self) -> MACTIMER_COMPARE1F_R
pub fn mactimer_compare1f(&self) -> MACTIMER_COMPARE1F_R
Bit 1 - 1:1] Set when the MAC Timer counter counts to the value set at MT_cmp1
Sourcepub fn mactimer_perf(&self) -> MACTIMER_PERF_R
pub fn mactimer_perf(&self) -> MACTIMER_PERF_R
Bit 0 - 0:0] Set when the MAC Timer counter would have counted to a value equal to MT_per, but instead wraps to 0
Source§impl R<u32, Reg<u32, _MTMSEL>>
impl R<u32, Reg<u32, _MTMSEL>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] This register is 8 bits in a 32-bit address space.
Sourcepub fn reserved8(&self) -> RESERVED8_R
pub fn reserved8(&self) -> RESERVED8_R
Bit 7 - 7:7] Reserved. Always read 0.
Sourcepub fn mtmovfsel(&self) -> MTMOVFSEL_R
pub fn mtmovfsel(&self) -> MTMOVFSEL_R
Bits 4:6 - 6:4] The value of this register selects the internal registers that are modified or read when accessing MTMOVF0, MTMOVF1, and MTMOVF2. 000: MTovf (overflow counter) 001: MTovf_cap (overflow capture) 010: MTovf_per (overflow period) 011: MTovf_cmp1 (overflow compare 1) 100: MTovf_cmp2 (overflow compare 2) 101 to 111: Reserved
Sourcepub fn reserved3(&self) -> RESERVED3_R
pub fn reserved3(&self) -> RESERVED3_R
Bit 3 - 3:3] Reserved. Read as 0.
Sourcepub fn mtmsel(&self) -> MTMSEL_R
pub fn mtmsel(&self) -> MTMSEL_R
Bits 0:2 - 2:0] The value of this register selects the internal registers that are modified or read when accessing MTM0 and MTM1. 000: MTtim (timer count value) 001: MT_cap (timer capture) 010: MT_per (timer period) 011: MT_cmp1 (timer compare 1) 100: MT_cmp2 (timer compare 2) 101 to 111: Reserved MTM0
Source§impl R<u32, Reg<u32, _MTM0>>
impl R<u32, Reg<u32, _MTM0>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] This register is 8 bits in a 32-bit address space.
Sourcepub fn mtm0(&self) -> MTM0_R
pub fn mtm0(&self) -> MTM0_R
Bits 0:7 - 7:0] Indirectly returns and modifies bits [7:0] of an internal register depending on the value of MTMSEL.MTMSEL. When reading the MTM0 register with MTMSEL.MTMSEL set to 000 and MTCTRL.LATCH_MODE set to 0, the timer (MTtim) value is latched. When reading the MTM0 register with MTMSEL.MTMSEL set to 000 and MTCTRL.LATCH_MODE set to 1, the timer (MTtim) and overflow counter (MTovf) values are latched.
Source§impl R<u32, Reg<u32, _MTM1>>
impl R<u32, Reg<u32, _MTM1>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] This register is 8 bits in a 32-bit address space.
Sourcepub fn mtm1(&self) -> MTM1_R
pub fn mtm1(&self) -> MTM1_R
Bits 0:7 - 7:0] Indirectly returns and modifies bits [15:8] of an internal register, depending on the value of MTMSEL.MTMSEL. When reading the MTM0 register with MTMSEL.MTMSEL set to 000, the timer (MTtim) value is latched. Reading this register with MTMSEL.MTMSEL set to 000 returns the latched value of MTtim[15:8].
Source§impl R<u32, Reg<u32, _MTMOVF2>>
impl R<u32, Reg<u32, _MTMOVF2>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] This register is 8 bits in a 32-bit address space.
Source§impl R<u32, Reg<u32, _MTMOVF1>>
impl R<u32, Reg<u32, _MTMOVF1>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] This register is 8 bits in a 32-bit address space.
Source§impl R<u32, Reg<u32, _MTMOVF0>>
impl R<u32, Reg<u32, _MTMOVF0>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] This register is 8 bits in a 32-bit address space.
Sourcepub fn mtmovf0(&self) -> MTMOVF0_R
pub fn mtmovf0(&self) -> MTMOVF0_R
Bits 0:7 - 7:0] Indirectly returns and modifies bits [7:0] of an internal register, depending on the value of MTMSEL.MTMOVFSEL. When reading the MTMOVF0 register with MTMSEL.MTMOVFSEL set to 000 and MTCTRL.LATCH_MODE set to 0, the overflow counter value (MTovf) is latched. When reading the MTM0 register with MTMSEL.MTMOVFSEL set to 000 and MTCTRL.LATCH_MODE set to 1, the overflow counter value (MTovf) is latched.
Source§impl R<u32, Reg<u32, _RFDATA>>
impl R<u32, Reg<u32, _RFDATA>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] This register is 8 bits in a 32-bit address space.
Source§impl R<u32, Reg<u32, _RFERRF>>
impl R<u32, Reg<u32, _RFERRF>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] This register is 8 bits in a 32-bit address space.
Sourcepub fn strobeerr(&self) -> STROBEERR_R
pub fn strobeerr(&self) -> STROBEERR_R
Bit 6 - 6:6] A command strobe was issued when it could not be processed. Triggered if trying to disable the radio when it is already disabled, or when trying to do a SACK, SACKPEND, or SNACK command when not in active RX. 0: No interrupt pending 1: Interrupt pending
Sourcepub fn txunderf(&self) -> TXUNDERF_R
pub fn txunderf(&self) -> TXUNDERF_R
Bit 5 - 5:5] TX FIFO underflowed. 0: No interrupt pending 1: Interrupt pending
Sourcepub fn txoverf(&self) -> TXOVERF_R
pub fn txoverf(&self) -> TXOVERF_R
Bit 4 - 4:4] TX FIFO overflowed. 0: No interrupt pending 1: Interrupt pending
Sourcepub fn rxunderf(&self) -> RXUNDERF_R
pub fn rxunderf(&self) -> RXUNDERF_R
Bit 3 - 3:3] RX FIFO underflowed. 0: No interrupt pending 1: Interrupt pending
Sourcepub fn rxoverf(&self) -> RXOVERF_R
pub fn rxoverf(&self) -> RXOVERF_R
Bit 2 - 2:2] RX FIFO overflowed. 0: No interrupt pending 1: Interrupt pending
Source§impl R<u32, Reg<u32, _RFIRQF1>>
impl R<u32, Reg<u32, _RFIRQF1>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] This register is 8 bits in a 32-bit address space.
Sourcepub fn csp_wait(&self) -> CSP_WAIT_R
pub fn csp_wait(&self) -> CSP_WAIT_R
Bit 5 - 5:5] Execution continued after a wait instruction in CSP. 0: No interrupt pending 1: Interrupt pending
Sourcepub fn csp_stop(&self) -> CSP_STOP_R
pub fn csp_stop(&self) -> CSP_STOP_R
Bit 4 - 4:4] CSP has stopped program execution. 0: No interrupt pending 1: Interrupt pending
Sourcepub fn csp_manint(&self) -> CSP_MANINT_R
pub fn csp_manint(&self) -> CSP_MANINT_R
Bit 3 - 3:3] Manual interrupt generated from CSP 0: No interrupt pending 1: Interrupt pending
Sourcepub fn rfidle(&self) -> RFIDLE_R
pub fn rfidle(&self) -> RFIDLE_R
Bit 2 - 2:2] Radio state-machine has entered the IDLE state. 0: No interrupt pending 1: Interrupt pending
Sourcepub fn txdone(&self) -> TXDONE_R
pub fn txdone(&self) -> TXDONE_R
Bit 1 - 1:1] A complete frame has been transmitted. 0: No interrupt pending 1: Interrupt pending
Sourcepub fn txackdone(&self) -> TXACKDONE_R
pub fn txackdone(&self) -> TXACKDONE_R
Bit 0 - 0:0] An acknowledgement frame has been completely transmitted. 0: No interrupt pending 1: Interrupt pending
Source§impl R<u32, Reg<u32, _RFIRQF0>>
impl R<u32, Reg<u32, _RFIRQF0>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] This register is 8 bits in a 32-bit address space.
Sourcepub fn rxmaskzero(&self) -> RXMASKZERO_R
pub fn rxmaskzero(&self) -> RXMASKZERO_R
Bit 7 - 7:7] The RXENABLE register has gone from a nonzero state to an all-zero state. 0: No interrupt pending 1: Interrupt pending
Sourcepub fn rxpktdone(&self) -> RXPKTDONE_R
pub fn rxpktdone(&self) -> RXPKTDONE_R
Bit 6 - 6:6] A complete frame has been received. 0: No interrupt pending 1: Interrupt pending
Sourcepub fn frame_accepted(&self) -> FRAME_ACCEPTED_R
pub fn frame_accepted(&self) -> FRAME_ACCEPTED_R
Bit 5 - 5:5] Frame has passed frame filtering. 0: No interrupt pending 1: Interrupt pending
Sourcepub fn src_match_found(&self) -> SRC_MATCH_FOUND_R
pub fn src_match_found(&self) -> SRC_MATCH_FOUND_R
Bit 4 - 4:4] Source match is found. 0: No interrupt pending 1: Interrupt pending
Sourcepub fn src_match_done(&self) -> SRC_MATCH_DONE_R
pub fn src_match_done(&self) -> SRC_MATCH_DONE_R
Bit 3 - 3:3] Source matching is complete. 0: No interrupt pending 1: Interrupt pending
Sourcepub fn fifop(&self) -> FIFOP_R
pub fn fifop(&self) -> FIFOP_R
Bit 2 - 2:2] The number of bytes in the RX FIFO is greater than the threshold. Also raised when a complete frame is received, and when a packet is read out completely and more complete packets are available. 0: No interrupt pending 1: Interrupt pending
Sourcepub fn sfd(&self) -> SFD_R
pub fn sfd(&self) -> SFD_R
Bit 1 - 1:1] SFD has been received or transmitted. 0: No interrupt pending 1: Interrupt pending
Sourcepub fn act_unused(&self) -> ACT_UNUSED_R
pub fn act_unused(&self) -> ACT_UNUSED_R
Bit 0 - 0:0] Reserved 0: No interrupt pending 1: Interrupt pending
Source§impl R<u32, Reg<u32, _RFST>>
impl R<u32, Reg<u32, _RFST>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] This register is 8 bits in a 32-bit address space.
Source§impl R<u32, Reg<u32, _ADDR>>
impl R<u32, Reg<u32, _ADDR>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] Reserved
Source§impl R<u32, Reg<u32, _POW>>
impl R<u32, Reg<u32, _POW>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] Reserved
Sourcepub fn isowaitsof(&self) -> ISOWAITSOF_R
pub fn isowaitsof(&self) -> ISOWAITSOF_R
Bit 7 - 7:7] For isochronous mode IN endpoints: When set, the USB controller will wait for an SOF token from the time USB_CSIL.INPKTRDY is set before sending the packet. If an IN token is received before an SOF token, then a zero length data packet will be sent.
Sourcepub fn reserved7(&self) -> RESERVED7_R
pub fn reserved7(&self) -> RESERVED7_R
Bits 4:6 - 6:4] Reserved
Sourcepub fn resume(&self) -> RESUME_R
pub fn resume(&self) -> RESUME_R
Bit 2 - 2:2] Drives resume signaling for remote wakeup According to the USB Specification, the resume signal must be held active for at least 1 ms and no more than 15 ms. It is recommended to keep this bit set for approximately 10 ms.
Sourcepub fn suspend(&self) -> SUSPEND_R
pub fn suspend(&self) -> SUSPEND_R
Bit 1 - 1:1] Indicates entry into suspend mode Suspend mode must be enabled by setting USB_POW.SUSPENDEN Software clears this bit by reading the USB_CIF register or by asserting USB_POW.RESUME
Sourcepub fn suspenden(&self) -> SUSPENDEN_R
pub fn suspenden(&self) -> SUSPENDEN_R
Bit 0 - 0:0] Enables detection of and entry into suspend mode.
Source§impl R<u32, Reg<u32, _IIF>>
impl R<u32, Reg<u32, _IIF>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] Reserved
Sourcepub fn reserved8(&self) -> RESERVED8_R
pub fn reserved8(&self) -> RESERVED8_R
Bits 6:7 - 7:6] Reserved
Sourcepub fn inep5if(&self) -> INEP5IF_R
pub fn inep5if(&self) -> INEP5IF_R
Bit 5 - 5:5] Interrupt flag for IN endpoint 5 Cleared by hardware when read
Sourcepub fn inep4if(&self) -> INEP4IF_R
pub fn inep4if(&self) -> INEP4IF_R
Bit 4 - 4:4] Interrupt flag for IN endpoint 4 Cleared by hardware when read
Sourcepub fn inep3if(&self) -> INEP3IF_R
pub fn inep3if(&self) -> INEP3IF_R
Bit 3 - 3:3] Interrupt flag for IN endpoint 3 Cleared by hardware when read
Sourcepub fn inep2if(&self) -> INEP2IF_R
pub fn inep2if(&self) -> INEP2IF_R
Bit 2 - 2:2] Interrupt flag for IN endpoint 2 Cleared by hardware when read
Source§impl R<u32, Reg<u32, _OIF>>
impl R<u32, Reg<u32, _OIF>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] Reserved
Sourcepub fn reserved8(&self) -> RESERVED8_R
pub fn reserved8(&self) -> RESERVED8_R
Bits 6:7 - 7:6] Reserved
Sourcepub fn outep5if(&self) -> OUTEP5IF_R
pub fn outep5if(&self) -> OUTEP5IF_R
Bit 5 - 5:5] Interrupt flag for OUT endpoint 5 Cleared by hardware when read
Sourcepub fn outep4if(&self) -> OUTEP4IF_R
pub fn outep4if(&self) -> OUTEP4IF_R
Bit 4 - 4:4] Interrupt flag for OUT endpoint 4 Cleared by hardware when read
Sourcepub fn outep3if(&self) -> OUTEP3IF_R
pub fn outep3if(&self) -> OUTEP3IF_R
Bit 3 - 3:3] Interrupt flag for OUT endpoint 3 Cleared by hardware when read
Sourcepub fn outep2if(&self) -> OUTEP2IF_R
pub fn outep2if(&self) -> OUTEP2IF_R
Bit 2 - 2:2] Interrupt flag for OUT endpoint 2 Cleared by hardware when read
Sourcepub fn outep1if(&self) -> OUTEP1IF_R
pub fn outep1if(&self) -> OUTEP1IF_R
Bit 1 - 1:1] Interrupt flag for OUT endpoint 1 Cleared by hardware when read
Sourcepub fn reserved1(&self) -> RESERVED1_R
pub fn reserved1(&self) -> RESERVED1_R
Bit 0 - 0:0] Reserved
Source§impl R<u32, Reg<u32, _CIF>>
impl R<u32, Reg<u32, _CIF>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] Reserved
Sourcepub fn reserved8(&self) -> RESERVED8_R
pub fn reserved8(&self) -> RESERVED8_R
Bits 4:7 - 7:4] Reserved
Sourcepub fn sofif(&self) -> SOFIF_R
pub fn sofif(&self) -> SOFIF_R
Bit 3 - 3:3] Start-of-frame interrupt flag Cleared by hardware when read
Sourcepub fn resumeif(&self) -> RESUMEIF_R
pub fn resumeif(&self) -> RESUMEIF_R
Bit 1 - 1:1] Resume interrupt flag Cleared by hardware when read
Sourcepub fn suspendif(&self) -> SUSPENDIF_R
pub fn suspendif(&self) -> SUSPENDIF_R
Bit 0 - 0:0] Suspend interrupt flag Cleared by hardware when read
Source§impl R<u32, Reg<u32, _IIE>>
impl R<u32, Reg<u32, _IIE>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] Reserved
Sourcepub fn reserved8(&self) -> RESERVED8_R
pub fn reserved8(&self) -> RESERVED8_R
Bits 6:7 - 7:6] Reserved
Sourcepub fn inep5ie(&self) -> INEP5IE_R
pub fn inep5ie(&self) -> INEP5IE_R
Bit 5 - 5:5] Interrupt enable for IN endpoint 5 0: Interrupt disabled 1: Interrupt enabled
Sourcepub fn inep4ie(&self) -> INEP4IE_R
pub fn inep4ie(&self) -> INEP4IE_R
Bit 4 - 4:4] Interrupt enable for IN endpoint 4 0: Interrupt disabled 1: Interrupt enabled
Sourcepub fn inep3ie(&self) -> INEP3IE_R
pub fn inep3ie(&self) -> INEP3IE_R
Bit 3 - 3:3] Interrupt enable for IN endpoint 3 0: Interrupt disabled 1: Interrupt enabled
Sourcepub fn inep2ie(&self) -> INEP2IE_R
pub fn inep2ie(&self) -> INEP2IE_R
Bit 2 - 2:2] Interrupt enable for IN endpoint 2 0: Interrupt disabled 1: Interrupt enabled
Source§impl R<u32, Reg<u32, _OIE>>
impl R<u32, Reg<u32, _OIE>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] Reserved
Sourcepub fn reserved8(&self) -> RESERVED8_R
pub fn reserved8(&self) -> RESERVED8_R
Bits 6:7 - 7:6] Reserved
Sourcepub fn outep5ie(&self) -> OUTEP5IE_R
pub fn outep5ie(&self) -> OUTEP5IE_R
Bit 5 - 5:5] Interrupt enable for OUT endpoint 5 0: Interrupt disabled 1: Interrupt enabled
Sourcepub fn outep4ie(&self) -> OUTEP4IE_R
pub fn outep4ie(&self) -> OUTEP4IE_R
Bit 4 - 4:4] Interrupt enable for OUT endpoint 4 0: Interrupt disabled 1: Interrupt enabled
Sourcepub fn outep3ie(&self) -> OUTEP3IE_R
pub fn outep3ie(&self) -> OUTEP3IE_R
Bit 3 - 3:3] Interrupt enable for OUT endpoint 3 0: Interrupt disabled 1: Interrupt enabled
Sourcepub fn outep2ie(&self) -> OUTEP2IE_R
pub fn outep2ie(&self) -> OUTEP2IE_R
Bit 2 - 2:2] Interrupt enable for OUT endpoint 2 0: Interrupt disabled 1: Interrupt enabled
Sourcepub fn outep1ie(&self) -> OUTEP1IE_R
pub fn outep1ie(&self) -> OUTEP1IE_R
Bit 1 - 1:1] Interrupt enable for OUT endpoint 1 0: Interrupt disabled 1: Interrupt enabled
Sourcepub fn reserved1(&self) -> RESERVED1_R
pub fn reserved1(&self) -> RESERVED1_R
Bit 0 - 0:0] Reserved
Source§impl R<u32, Reg<u32, _CIE>>
impl R<u32, Reg<u32, _CIE>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] Reserved
Sourcepub fn reserved8(&self) -> RESERVED8_R
pub fn reserved8(&self) -> RESERVED8_R
Bits 4:7 - 7:4] Reserved
Sourcepub fn sofie(&self) -> SOFIE_R
pub fn sofie(&self) -> SOFIE_R
Bit 3 - 3:3] Start-of-frame interrupt enable 0: Interrupt disabled 1: Interrupt enabled
Sourcepub fn rstie(&self) -> RSTIE_R
pub fn rstie(&self) -> RSTIE_R
Bit 2 - 2:2] Reset interrupt enable 0: Interrupt disabled 1: Interrupt enabled
Sourcepub fn resumeie(&self) -> RESUMEIE_R
pub fn resumeie(&self) -> RESUMEIE_R
Bit 1 - 1:1] Resume interrupt enable 0: Interrupt disabled 1: Interrupt enabled
Sourcepub fn suspendie(&self) -> SUSPENDIE_R
pub fn suspendie(&self) -> SUSPENDIE_R
Bit 0 - 0:0] Suspend interrupt enable 0: Interrupt disabled 1: Interrupt enabled
Source§impl R<u32, Reg<u32, _FRML>>
impl R<u32, Reg<u32, _FRML>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] Reserved
Source§impl R<u32, Reg<u32, _FRMH>>
impl R<u32, Reg<u32, _FRMH>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] Reserved
Sourcepub fn reserved8(&self) -> RESERVED8_R
pub fn reserved8(&self) -> RESERVED8_R
Bits 3:7 - 7:3] Reserved
Source§impl R<u32, Reg<u32, _INDEX>>
impl R<u32, Reg<u32, _INDEX>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] Reserved
Sourcepub fn reserved8(&self) -> RESERVED8_R
pub fn reserved8(&self) -> RESERVED8_R
Bits 4:7 - 7:4] Reserved
Sourcepub fn usbindex(&self) -> USBINDEX_R
pub fn usbindex(&self) -> USBINDEX_R
Bits 0:3 - 3:0] Index of the currently selected endpoint The index is set to 0 to enable access to endpoint 0 control and status registers The index is set to 1, 2, 3, 4 or 5 to enable access to IN/OUT endpoint 1, 2, 3, 4 or 5 control and status registers, respectively
Source§impl R<u32, Reg<u32, _CTRL>>
impl R<u32, Reg<u32, _CTRL>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] Reserved
Sourcepub fn plllocked(&self) -> PLLLOCKED_R
pub fn plllocked(&self) -> PLLLOCKED_R
Bit 7 - 7:7] PLL lock status. The PLL is locked when USB_CTRL.PLLLOCKED is 1.
Sourcepub fn reserved7(&self) -> RESERVED7_R
pub fn reserved7(&self) -> RESERVED7_R
Bits 3:6 - 6:3] Reserved
Sourcepub fn reserved3(&self) -> RESERVED3_R
pub fn reserved3(&self) -> RESERVED3_R
Bit 2 - 2:2] Reserved.
Sourcepub fn pllen(&self) -> PLLEN_R
pub fn pllen(&self) -> PLLEN_R
Bit 1 - 1:1] 48 MHz USB PLL enable When this bit is set, the 48 MHz PLL is started. Software must avoid access to other USB registers before the PLL has locked; that is, USB_CTRL.PLLLOCKED is 1. This bit can be set only when USB_CTRL.USBEN is 1. The PLL must be disabled before entering PM1 when suspended, and must be re-enabled when resuming operation.
Source§impl R<u32, Reg<u32, _MAXI>>
impl R<u32, Reg<u32, _MAXI>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] Reserved
Source§impl R<u32, Reg<u32, _CS0_CSIL>>
impl R<u32, Reg<u32, _CS0_CSIL>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] Reserved
Sourcepub fn clrsetupend_or_reserved8(&self) -> CLRSETUPEND_OR_RESERVED8_R
pub fn clrsetupend_or_reserved8(&self) -> CLRSETUPEND_OR_RESERVED8_R
Bit 7 - 7:7] USB_CS0.CLRSETUPEND [RW]: Software sets this bit to clear the USB_CS0.SETUPEND bit. It is cleared automatically. USB_CSIL.Reserved [RO]: Reserved
Sourcepub fn clroutpktrdy_or_clrdatatog(&self) -> CLROUTPKTRDY_OR_CLRDATATOG_R
pub fn clroutpktrdy_or_clrdatatog(&self) -> CLROUTPKTRDY_OR_CLRDATATOG_R
Bit 6 - 6:6] USB_CS0.CLROUTPKTRDY [RW]: Software sets this bit to clear the USB_CS0.OUTPKTRDY bit. It is cleared automatically. USB_CSIL.CLRDATATOG [RW]: Software sets this bit to reset the IN endpoint data toggle to 0.
Sourcepub fn sendstall_or_sentstall(&self) -> SENDSTALL_OR_SENTSTALL_R
pub fn sendstall_or_sentstall(&self) -> SENDSTALL_OR_SENTSTALL_R
Bit 5 - 5:5] USB_CS0.SENDSTALL [RW]: Software sets this bit to terminate the current transaction with a STALL handshake. The bit is cleared automatically when the STALL handshake has been transmitted. USB_CSIL.SENTSTALL [RW]: For bulk/interrupt mode IN endpoints: This bit is set when a STALL handshake is transmitted. The FIFO is flushed and the USB_CSIL.INPKTRDY bit cleared. Software should clear this bit.
Sourcepub fn setupend_or_sendstall(&self) -> SETUPEND_OR_SENDSTALL_R
pub fn setupend_or_sendstall(&self) -> SETUPEND_OR_SENDSTALL_R
Bit 4 - 4:4] USB_CS0.SETUPEND [RO]: This bit is set when a control transaction ends before the USB_CS0.DATAEND bit has been set. An interrupt is generated and the FIFO flushed at this time. Software clears this bit by setting USB_CS0.CLRSETUPEND. CSIL.SENDSTALL [RW]: For bulk/interrupt mode IN endpoints: Software sets this bit to issue a STALL handshake. Software clears this bit to terminate the stall condition.
Sourcepub fn dataend_or_flushpacket(&self) -> DATAEND_OR_FLUSHPACKET_R
pub fn dataend_or_flushpacket(&self) -> DATAEND_OR_FLUSHPACKET_R
Bit 3 - 3:3] USB_CS0.DATAEND [RW]: This bit is used to signal the end of the data stage, and must be set: 1. When the last data packet is loaded and USB_CS0.INPKTRDY is set. 2. When the last data packet is unloaded and USB_CS0.CLROUTPKTRDY is set. 3. When USB_CS0.INPKTRDY is set to send a zero-length packet. The USB controller clears this bit automatically. USB_CSIL.FLUSHPACKET [RW]: Software sets this bit to flush the next packet to be transmitted from the IN endpoint FIFO. The FIFO pointer is reset and the USB_CSIL.INPKTRDY bit is cleared. Note: If the FIFO contains two packets, USB_CSIL.FLUSHPACKET will need to be set twice to completely clear the FIFO.
Sourcepub fn sentstall_or_underrun(&self) -> SENTSTALL_OR_UNDERRUN_R
pub fn sentstall_or_underrun(&self) -> SENTSTALL_OR_UNDERRUN_R
Bit 2 - 2:2] USB_CS0.SENTSTALL [RW]: This bit is set when a STALL handshake is sent. An interrupt is generated is generated when this bit is set. Software must clear this bit. USB_CSIL.UNDERRUN [RW]: In isochronous mode, this bit is set when a zero length data packet is sent after receiving an IN token with USB_CSIL.INPKTRDY not set. In bulk/interrupt mode, this bit is set when a NAK is returned in response to an IN token. Software should clear this bit.
Sourcepub fn inpktrdy_or_pktpresent(&self) -> INPKTRDY_OR_PKTPRESENT_R
pub fn inpktrdy_or_pktpresent(&self) -> INPKTRDY_OR_PKTPRESENT_R
Bit 1 - 1:1] USB_CS0. INPKTRDY [RW]: Software sets this bit after loading a data packet into the endpoint 0 FIFO. It is cleared automatically when the data packet has been transmitted. An interrupt is generated when the bit is cleared. USB_CSIL.PKTPRESENT [RO]: This bit is set when there is at least one packet in the IN endpoint FIFO.
Sourcepub fn outpktrdy_or_inpktrdy(&self) -> OUTPKTRDY_OR_INPKTRDY_R
pub fn outpktrdy_or_inpktrdy(&self) -> OUTPKTRDY_OR_INPKTRDY_R
Bit 0 - 0:0] USB_CS0.OUTPKTRDY [RO]: Endpoint 0 data packet received An interrupt request (EP0) is generated if the interrupt is enabled. Software must read the endpoint 0 FIFO empty, and clear this bit by setting USB_CS0.CLROUTPKTRDY USB_CSIL.INPKTRDY [RW]: IN endpoint {1-5} packet transfer pending Software sets this bit after loading a data packet into the FIFO. It is cleared automatically when a data packet has been transmitted. An interrupt is generated (if enabled) when the bit is cleared. When using double-buffering, the bit is cleared immediately if the other FIFO is empty.
Source§impl R<u32, Reg<u32, _CSIH>>
impl R<u32, Reg<u32, _CSIH>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] Reserved
Sourcepub fn autiset(&self) -> AUTISET_R
pub fn autiset(&self) -> AUTISET_R
Bit 7 - 7:7] If set by software, the USB_CSIL.INPKTRDY bit is automatically set when a data packet of maximum size (specified by USBMAXI) is loaded into the IN endpoint FIFO. If a packet of less than the maximum packet size is loaded, then USB_CSIL.INPKTRDY will have to be set manually.
Sourcepub fn iso(&self) -> ISO_R
pub fn iso(&self) -> ISO_R
Bit 6 - 6:6] Selects IN endpoint type: 0: Bulk/interrupt 1: Isochronous
Sourcepub fn reserved5(&self) -> RESERVED5_R
pub fn reserved5(&self) -> RESERVED5_R
Bit 5 - 5:5] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Sourcepub fn reserved4(&self) -> RESERVED4_R
pub fn reserved4(&self) -> RESERVED4_R
Bit 4 - 4:4] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Sourcepub fn forcedatatog(&self) -> FORCEDATATOG_R
pub fn forcedatatog(&self) -> FORCEDATATOG_R
Bit 3 - 3:3] Software sets this bit to force the IN endpoint’s data toggle to switch after each data packet is sent regardless of whether an ACK was received. This can be used by interrupt IN endpoints which are used to communicate rate feedback for isochronous endpoints.
Sourcepub fn reserved2(&self) -> RESERVED2_R
pub fn reserved2(&self) -> RESERVED2_R
Bits 1:2 - 2:1] Reserved
Sourcepub fn indblbuf(&self) -> INDBLBUF_R
pub fn indblbuf(&self) -> INDBLBUF_R
Bit 0 - 0:0] IN endpoint FIFO double-buffering enable: 0: Double buffering disabled 1: Double buffering enabled
Source§impl R<u32, Reg<u32, _MAXO>>
impl R<u32, Reg<u32, _MAXO>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] Reserved
Source§impl R<u32, Reg<u32, _CSOL>>
impl R<u32, Reg<u32, _CSOL>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] Reserved
Sourcepub fn clrdatatog(&self) -> CLRDATATOG_R
pub fn clrdatatog(&self) -> CLRDATATOG_R
Bit 7 - 7:7] Software sets this bit to reset the endpoint data toggle to 0.
Sourcepub fn sentstall(&self) -> SENTSTALL_R
pub fn sentstall(&self) -> SENTSTALL_R
Bit 6 - 6:6] This bit is set when a STALL handshake is transmitted. An interrupt is generated when this bit is set. Software should clear this bit.
Sourcepub fn sendstall(&self) -> SENDSTALL_R
pub fn sendstall(&self) -> SENDSTALL_R
Bit 5 - 5:5] For bulk/interrupt mode OUT endpoints: Software sets this bit to issue a STALL handshake. Software clears this bit to terminate the stall condition.
Sourcepub fn flushpacket(&self) -> FLUSHPACKET_R
pub fn flushpacket(&self) -> FLUSHPACKET_R
Bit 4 - 4:4] Software sets this bit to flush the next packet to be read from the endpoint OUT FIFO. Note: If the FIFO contains two packets, USB_CSOL.FLUSHPACKET will need to be set twice to completely clear the FIFO.
Sourcepub fn dataerror(&self) -> DATAERROR_R
pub fn dataerror(&self) -> DATAERROR_R
Bit 3 - 3:3] For isochronous mode OUT endpoints: This bit is set when USB_CSOL.OUTPKTRDY is set if the data packet has a CRC or bit-stuff error. It is cleared automatically when USB_CSOL.OUTPKTRDY is cleared.
Sourcepub fn overrun(&self) -> OVERRUN_R
pub fn overrun(&self) -> OVERRUN_R
Bit 2 - 2:2] For isochronous mode OUT endpoints: This bit is set when an OUT packet cannot be loaded into the OUT endpoint FIFO. Firmware should clear this bit.
Sourcepub fn fifofull(&self) -> FIFOFULL_R
pub fn fifofull(&self) -> FIFOFULL_R
Bit 1 - 1:1] This bit is set when no more packets can be loaded into the OUT endpoint FIFO.
Sourcepub fn outpktrdy(&self) -> OUTPKTRDY_R
pub fn outpktrdy(&self) -> OUTPKTRDY_R
Bit 0 - 0:0] This bit is set when a data packet has been received. Software should clear this bit when the packet has been unloaded from the OUT endpoint FIFO. An interrupt is generated when the bit is set.
Source§impl R<u32, Reg<u32, _CSOH>>
impl R<u32, Reg<u32, _CSOH>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] Reserved
Sourcepub fn autoclear(&self) -> AUTOCLEAR_R
pub fn autoclear(&self) -> AUTOCLEAR_R
Bit 7 - 7:7] If software sets this bit, the USB_CSOL.OUTPKTRDY bit will be automatically cleared when a packet of maximum size (specified by USB_MAXO) has been unloaded from the OUT FIFO. When packets of less than the maximum packet size are unloaded, USB_CSOL.OUTPKTRDY will have to be cleared manually.
Sourcepub fn iso(&self) -> ISO_R
pub fn iso(&self) -> ISO_R
Bit 6 - 6:6] Selects OUT endpoint type: 0: Bulk/interrupt 1: Isochronous
Sourcepub fn reserved5(&self) -> RESERVED5_R
pub fn reserved5(&self) -> RESERVED5_R
Bit 5 - 5:5] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Sourcepub fn reserved4(&self) -> RESERVED4_R
pub fn reserved4(&self) -> RESERVED4_R
Bit 4 - 4:4] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Sourcepub fn reserved1(&self) -> RESERVED1_R
pub fn reserved1(&self) -> RESERVED1_R
Bits 1:3 - 3:1] Reserved
Sourcepub fn outdblbuf(&self) -> OUTDBLBUF_R
pub fn outdblbuf(&self) -> OUTDBLBUF_R
Bit 0 - 0:0] OUT endpoint FIFO double-buffering enable: 0: Double buffering disabled 1: Double buffering enabled
Source§impl R<u32, Reg<u32, _CNT0_CNTL>>
impl R<u32, Reg<u32, _CNT0_CNTL>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] Reserved
Sourcepub fn fifocnt_or_fifocntl(&self) -> FIFOCNT_OR_FIFOCNTL_R
pub fn fifocnt_or_fifocntl(&self) -> FIFOCNT_OR_FIFOCNTL_R
Bits 0:7 - 7:0] USB_CS0.FIFOCNT (USBINDEX = 0) [RO]: Number of bytes received in the packet in the endpoint 0 FIFO Valid only when USB_CS0.OUTPKTRDY is set USB_CSIL.FIFOCNTL (USBINDEX = 1 to 5) [RW]: Bits 7:0 of the of the number of bytes received in the packet in the OUT endpoint {1-5} FIFO Valid only when USB_CSOL.OUTPKTRDY is set
Source§impl R<u32, Reg<u32, _CNTH>>
impl R<u32, Reg<u32, _CNTH>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] Reserved
Sourcepub fn reserved8(&self) -> RESERVED8_R
pub fn reserved8(&self) -> RESERVED8_R
Bits 3:7 - 7:3] Reserved
Sourcepub fn fifocnth(&self) -> FIFOCNTH_R
pub fn fifocnth(&self) -> FIFOCNTH_R
Bits 0:2 - 2:0] Bits 10:8 of the of the number of bytes received in the packet in the OUT endpoint {1-5} FIFO Valid only when USB_CSOL.OUTPKTRDY is set
Source§impl R<u32, Reg<u32, _F0>>
impl R<u32, Reg<u32, _F0>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] Reserved
Source§impl R<u32, Reg<u32, _F1>>
impl R<u32, Reg<u32, _F1>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] Reserved
Source§impl R<u32, Reg<u32, _F2>>
impl R<u32, Reg<u32, _F2>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] Reserved
Source§impl R<u32, Reg<u32, _F3>>
impl R<u32, Reg<u32, _F3>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] Reserved
Source§impl R<u32, Reg<u32, _F4>>
impl R<u32, Reg<u32, _F4>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] Reserved
Source§impl R<u32, Reg<u32, _F5>>
impl R<u32, Reg<u32, _F5>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] Reserved
Source§impl R<u32, Reg<u32, _DMAC_CH0_CTRL>>
impl R<u32, Reg<u32, _DMAC_CH0_CTRL>>
Sourcepub fn reserved30(&self) -> RESERVED30_R
pub fn reserved30(&self) -> RESERVED30_R
Bits 2:31 - 31:2] Should be written with 0s and ignored on read
Sourcepub fn prio(&self) -> PRIO_R
pub fn prio(&self) -> PRIO_R
Bit 1 - 1:1] Channel priority 0: Low 1: High If both channels have the same priority, access of the channels to the external port is arbitrated using the round robin scheme. If one channel has a high priority and another one low, the channel with the high priority is served first, in case of simultaneous access requests.
Source§impl R<u32, Reg<u32, _DMAC_CH0_DMALENGTH>>
impl R<u32, Reg<u32, _DMAC_CH0_DMALENGTH>>
Sourcepub fn reserved16(&self) -> RESERVED16_R
pub fn reserved16(&self) -> RESERVED16_R
Bits 16:31 - 31:16] Should be written with 0s and ignored on read
Sourcepub fn dmalen(&self) -> DMALEN_R
pub fn dmalen(&self) -> DMALEN_R
Bits 0:15 - 15:0] Channel DMA length in bytes During configuration, this register contains the DMA transfer length in bytes. During operation, it contains the last updated value of the DMA transfer length after being sent to the master interface. Note: Setting this register to a nonzero value starts the transfer if the channel is enabled. Therefore, this register must be written last when setting up a DMA channel.
Source§impl R<u32, Reg<u32, _DMAC_STATUS>>
impl R<u32, Reg<u32, _DMAC_STATUS>>
Sourcepub fn reserved14(&self) -> RESERVED14_R
pub fn reserved14(&self) -> RESERVED14_R
Bits 18:31 - 31:18] Bits should be ignored on read.
Sourcepub fn port_err(&self) -> PORT_ERR_R
pub fn port_err(&self) -> PORT_ERR_R
Bit 17 - 17:17] Reflects possible transfer errors on the AHB port.
Sourcepub fn reserved15(&self) -> RESERVED15_R
pub fn reserved15(&self) -> RESERVED15_R
Bits 2:16 - 16:2] Bits should be ignored on read.
Source§impl R<u32, Reg<u32, _DMAC_SWRES>>
impl R<u32, Reg<u32, _DMAC_SWRES>>
Sourcepub fn reserved31(&self) -> RESERVED31_R
pub fn reserved31(&self) -> RESERVED31_R
Bits 1:31 - 31:1] Bits should be written with a value of 0.
Source§impl R<u32, Reg<u32, _DMAC_CH1_CTRL>>
impl R<u32, Reg<u32, _DMAC_CH1_CTRL>>
Sourcepub fn reserved30(&self) -> RESERVED30_R
pub fn reserved30(&self) -> RESERVED30_R
Bits 2:31 - 31:2] Should be written with 0s and ignored on read
Sourcepub fn prio(&self) -> PRIO_R
pub fn prio(&self) -> PRIO_R
Bit 1 - 1:1] Channel priority 0: Low 1: High If both channels have the same priority, access of the channels to the external port is arbitrated using the round robin scheme. If one channel has a high priority and another one low, the channel with the high priority is served first, in case of simultaneous access requests.
Source§impl R<u32, Reg<u32, _DMAC_CH1_DMALENGTH>>
impl R<u32, Reg<u32, _DMAC_CH1_DMALENGTH>>
Sourcepub fn reserved16(&self) -> RESERVED16_R
pub fn reserved16(&self) -> RESERVED16_R
Bits 16:31 - 31:16] Should be written with 0s and ignored on read
Sourcepub fn dmalen(&self) -> DMALEN_R
pub fn dmalen(&self) -> DMALEN_R
Bits 0:15 - 15:0] Channel DMA length in bytes. During configuration, this register contains the DMA transfer length in bytes. During operation, it contains the last updated value of the DMA transfer length after being sent to the master interface. Note: Setting this register to a nonzero value starts the transfer if the channel is enabled. Therefore, this register must be written last when setting up a DMA channel.
Source§impl R<u32, Reg<u32, _DMAC_MST_RUNPARAMS>>
impl R<u32, Reg<u32, _DMAC_MST_RUNPARAMS>>
Sourcepub fn reserved16(&self) -> RESERVED16_R
pub fn reserved16(&self) -> RESERVED16_R
Bits 16:31 - 31:16] Should be written with 0s and ignored on read
Sourcepub fn ahb_mst1_burst_size(&self) -> AHB_MST1_BURST_SIZE_R
pub fn ahb_mst1_burst_size(&self) -> AHB_MST1_BURST_SIZE_R
Bits 12:15 - 15:12] Maximum burst size that can be performed on the AHB bus 0010b = 4 bytes (default) 0011b = 8 bytes 0100b = 16 bytes 0101b = 32 bytes 0110b = 64 bytes Others = Reserved
Sourcepub fn ahb_mst1_idle_en(&self) -> AHB_MST1_IDLE_EN_R
pub fn ahb_mst1_idle_en(&self) -> AHB_MST1_IDLE_EN_R
Bit 11 - 11:11] Idle insertion between consecutive burst transfers on AHB 0: No Idle insertion 1: Idle insertion
Sourcepub fn ahb_mst1_incr_en(&self) -> AHB_MST1_INCR_EN_R
pub fn ahb_mst1_incr_en(&self) -> AHB_MST1_INCR_EN_R
Bit 10 - 10:10] Burst length type of AHB transfer 0: Unspecified length burst transfers 1: Fixed length burst or single transfers
Sourcepub fn ahb_mst1_lock_en(&self) -> AHB_MST1_LOCK_EN_R
pub fn ahb_mst1_lock_en(&self) -> AHB_MST1_LOCK_EN_R
Bit 9 - 9:9] Locked transform on AHB 0: Transfers are not locked 1: Transfers are locked
Sourcepub fn ahb_mst1_bigend(&self) -> AHB_MST1_BIGEND_R
pub fn ahb_mst1_bigend(&self) -> AHB_MST1_BIGEND_R
Bit 8 - 8:8] Endianess for the AHB master 0: Little endian 1: Big endian
Sourcepub fn reserved8(&self) -> RESERVED8_R
pub fn reserved8(&self) -> RESERVED8_R
Bits 0:7 - 7:0] Should be written with 0s and ignored on read
Source§impl R<u32, Reg<u32, _DMAC_PERSR>>
impl R<u32, Reg<u32, _DMAC_PERSR>>
Sourcepub fn reserved19(&self) -> RESERVED19_R
pub fn reserved19(&self) -> RESERVED19_R
Bits 13:31 - 31:13] Bits should be ignored on read
Sourcepub fn port1_ahb_error(&self) -> PORT1_AHB_ERROR_R
pub fn port1_ahb_error(&self) -> PORT1_AHB_ERROR_R
Bit 12 - 12:12] A value of 1 indicates that the EIP-101 has detected an AHB bus error
Sourcepub fn reserved2(&self) -> RESERVED2_R
pub fn reserved2(&self) -> RESERVED2_R
Bits 10:11 - 11:10] Bits should be ignored on read
Sourcepub fn port1_channel(&self) -> PORT1_CHANNEL_R
pub fn port1_channel(&self) -> PORT1_CHANNEL_R
Bit 9 - 9:9] Indicates which channel has serviced last (channel 0 or channel 1) by AHB master port.
Sourcepub fn reserved9(&self) -> RESERVED9_R
pub fn reserved9(&self) -> RESERVED9_R
Bits 0:8 - 8:0] Bits should be ignored on read
Source§impl R<u32, Reg<u32, _DMAC_OPTIONS>>
impl R<u32, Reg<u32, _DMAC_OPTIONS>>
Sourcepub fn reserved20(&self) -> RESERVED20_R
pub fn reserved20(&self) -> RESERVED20_R
Bits 12:31 - 31:12] Bits should be ignored on read
Sourcepub fn nr_of_channels(&self) -> NR_OF_CHANNELS_R
pub fn nr_of_channels(&self) -> NR_OF_CHANNELS_R
Bits 8:11 - 11:8] Number of channels implemented, value in the range 1-8.
Sourcepub fn reserved5(&self) -> RESERVED5_R
pub fn reserved5(&self) -> RESERVED5_R
Bits 3:7 - 7:3] Bits should be ignored on read
Sourcepub fn nr_of_ports(&self) -> NR_OF_PORTS_R
pub fn nr_of_ports(&self) -> NR_OF_PORTS_R
Bits 0:2 - 2:0] Number of ports implemented, value in range 1-4.
Source§impl R<u32, Reg<u32, _DMAC_VERSION>>
impl R<u32, Reg<u32, _DMAC_VERSION>>
Sourcepub fn reserved4(&self) -> RESERVED4_R
pub fn reserved4(&self) -> RESERVED4_R
Bits 28:31 - 31:28] Bits should be ignored on read
Sourcepub fn hw_major_version(&self) -> HW_MAJOR_VERSION_R
pub fn hw_major_version(&self) -> HW_MAJOR_VERSION_R
Bits 24:27 - 27:24] Major version number
Sourcepub fn hw_minor_version(&self) -> HW_MINOR_VERSION_R
pub fn hw_minor_version(&self) -> HW_MINOR_VERSION_R
Bits 20:23 - 23:20] Minor version number
Sourcepub fn hw_patch_level(&self) -> HW_PATCH_LEVEL_R
pub fn hw_patch_level(&self) -> HW_PATCH_LEVEL_R
Bits 16:19 - 19:16] Patch level Starts at 0 at first delivery of this version
Sourcepub fn eip_number_compl(&self) -> EIP_NUMBER_COMPL_R
pub fn eip_number_compl(&self) -> EIP_NUMBER_COMPL_R
Bits 8:15 - 15:8] Bit-by-bit complement of the EIP_NUMBER field bits.
Sourcepub fn eip_number(&self) -> EIP_NUMBER_R
pub fn eip_number(&self) -> EIP_NUMBER_R
Bits 0:7 - 7:0] Binary encoding of the EIP-number of this DMA controller (209)
Source§impl R<u32, Reg<u32, _KEY_STORE_WRITE_AREA>>
impl R<u32, Reg<u32, _KEY_STORE_WRITE_AREA>>
Sourcepub fn reserved1(&self) -> RESERVED1_R
pub fn reserved1(&self) -> RESERVED1_R
Bits 8:31 - 31:8] Write 0s and ignore on reading
Sourcepub fn ram_area7(&self) -> RAM_AREA7_R
pub fn ram_area7(&self) -> RAM_AREA7_R
Bit 7 - 7:7] Each RAM_AREAx represents an area of 128 bits. Select the key store RAM area(s) where the key(s) needs to be written 0: RAM_AREA7 is not selected to be written. 1: RAM_AREA7 is selected to be written. Writing to multiple RAM locations is possible only when the selected RAM areas are sequential. Keys that require more than one RAM locations (key size is 192 or 256 bits), must start at one of the following areas: RAM_AREA0, RAM_AREA2, RAM_AREA4, or RAM_AREA6.
Sourcepub fn ram_area6(&self) -> RAM_AREA6_R
pub fn ram_area6(&self) -> RAM_AREA6_R
Bit 6 - 6:6] Each RAM_AREAx represents an area of 128 bits. Select the key store RAM area(s) where the key(s) needs to be written 0: RAM_AREA6 is not selected to be written. 1: RAM_AREA6 is selected to be written. Writing to multiple RAM locations is possible only when the selected RAM areas are sequential. Keys that require more than one RAM locations (key size is 192 or 256 bits), must start at one of the following areas: RAM_AREA0, RAM_AREA2, RAM_AREA4, or RAM_AREA6.
Sourcepub fn ram_area5(&self) -> RAM_AREA5_R
pub fn ram_area5(&self) -> RAM_AREA5_R
Bit 5 - 5:5] Each RAM_AREAx represents an area of 128 bits. Select the key store RAM area(s) where the key(s) needs to be written 0: RAM_AREA5 is not selected to be written. 1: RAM_AREA5 is selected to be written. Writing to multiple RAM locations is possible only when the selected RAM areas are sequential. Keys that require more than one RAM locations (key size is 192 or 256 bits), must start at one of the following areas: RAM_AREA0, RAM_AREA2, RAM_AREA4, or RAM_AREA6.
Sourcepub fn ram_area4(&self) -> RAM_AREA4_R
pub fn ram_area4(&self) -> RAM_AREA4_R
Bit 4 - 4:4] Each RAM_AREAx represents an area of 128 bits. Select the key store RAM area(s) where the key(s) needs to be written 0: RAM_AREA4 is not selected to be written. 1: RAM_AREA4 is selected to be written. Writing to multiple RAM locations is possible only when the selected RAM areas are sequential. Keys that require more than one RAM locations (key size is 192 or 256 bits), must start at one of the following areas: RAM_AREA0, RAM_AREA2, RAM_AREA4, or RAM_AREA6.
Sourcepub fn ram_area3(&self) -> RAM_AREA3_R
pub fn ram_area3(&self) -> RAM_AREA3_R
Bit 3 - 3:3] Each RAM_AREAx represents an area of 128 bits. Select the key store RAM area(s) where the key(s) needs to be written 0: RAM_AREA3 is not selected to be written. 1: RAM_AREA3 is selected to be written. Writing to multiple RAM locations is possible only when the selected RAM areas are sequential. Keys that require more than one RAM locations (key size is 192 or 256 bits), must start at one of the following areas: RAM_AREA0, RAM_AREA2, RAM_AREA4, or RAM_AREA6.
Sourcepub fn ram_area2(&self) -> RAM_AREA2_R
pub fn ram_area2(&self) -> RAM_AREA2_R
Bit 2 - 2:2] Each RAM_AREAx represents an area of 128 bits. Select the key store RAM area(s) where the key(s) needs to be written 0: RAM_AREA2 is not selected to be written. 1: RAM_AREA2 is selected to be written. Writing to multiple RAM locations is possible only when the selected RAM areas are sequential. Keys that require more than one RAM locations (key size is 192 or 256 bits), must start at one of the following areas: RAM_AREA0, RAM_AREA2, RAM_AREA4, or RAM_AREA6.
Sourcepub fn ram_area1(&self) -> RAM_AREA1_R
pub fn ram_area1(&self) -> RAM_AREA1_R
Bit 1 - 1:1] Each RAM_AREAx represents an area of 128 bits. Select the key store RAM area(s) where the key(s) needs to be written 0: RAM_AREA1 is not selected to be written. 1: RAM_AREA1 is selected to be written. Writing to multiple RAM locations is possible only when the selected RAM areas are sequential. Keys that require more than one RAM locations (key size is 192 or 256 bits), must start at one of the following areas: RAM_AREA0, RAM_AREA2, RAM_AREA4, or RAM_AREA6.
Sourcepub fn ram_area0(&self) -> RAM_AREA0_R
pub fn ram_area0(&self) -> RAM_AREA0_R
Bit 0 - 0:0] Each RAM_AREAx represents an area of 128 bits. Select the key store RAM area(s) where the key(s) needs to be written 0: RAM_AREA0 is not selected to be written. 1: RAM_AREA0 is selected to be written. Writing to multiple RAM locations is possible only when the selected RAM areas are sequential. Keys that require more than one RAM locations (key size is 192 or 256 bits), must start at one of the following areas: RAM_AREA0, RAM_AREA2, RAM_AREA4, or RAM_AREA6.
Source§impl R<u32, Reg<u32, _KEY_STORE_WRITTEN_AREA>>
impl R<u32, Reg<u32, _KEY_STORE_WRITTEN_AREA>>
Sourcepub fn reserved1(&self) -> RESERVED1_R
pub fn reserved1(&self) -> RESERVED1_R
Bits 8:31 - 31:8] Write 0s and ignore on reading
Sourcepub fn ram_area_written7(&self) -> RAM_AREA_WRITTEN7_R
pub fn ram_area_written7(&self) -> RAM_AREA_WRITTEN7_R
Bit 7 - 7:7] Read operation: 0: This RAM area is not written with valid key information. 1: This RAM area is written with valid key information. Each individual ram_area_writtenx bit can be reset by writing 1. Note: This register is reset on a soft reset from the master control module. After a soft reset, all keys must be rewritten to the key store memory.
Sourcepub fn ram_area_written6(&self) -> RAM_AREA_WRITTEN6_R
pub fn ram_area_written6(&self) -> RAM_AREA_WRITTEN6_R
Bit 6 - 6:6] Read operation: 0: This RAM area is not written with valid key information. 1: This RAM area is written with valid key information. Each individual ram_area_writtenx bit can be reset by writing 1. Note: This register is reset on a soft reset from the master control module. After a soft reset, all keys must be rewritten to the key store memory.
Sourcepub fn ram_area_written5(&self) -> RAM_AREA_WRITTEN5_R
pub fn ram_area_written5(&self) -> RAM_AREA_WRITTEN5_R
Bit 5 - 5:5] Read operation: 0: This RAM area is not written with valid key information. 1: This RAM area is written with valid key information. Each individual ram_area_writtenx bit can be reset by writing 1. Note: This register is reset on a soft reset from the master control module. After a soft reset, all keys must be rewritten to the key store memory.
Sourcepub fn ram_area_written4(&self) -> RAM_AREA_WRITTEN4_R
pub fn ram_area_written4(&self) -> RAM_AREA_WRITTEN4_R
Bit 4 - 4:4] Read operation: 0: This RAM area is not written with valid key information. 1: This RAM area is written with valid key information. Each individual ram_area_writtenx bit can be reset by writing 1. Note: This register is reset on a soft reset from the master control module. After a soft reset, all keys must be rewritten to the key store memory.
Sourcepub fn ram_area_written3(&self) -> RAM_AREA_WRITTEN3_R
pub fn ram_area_written3(&self) -> RAM_AREA_WRITTEN3_R
Bit 3 - 3:3] Read operation: 0: This RAM area is not written with valid key information. 1: This RAM area is written with valid key information. Each individual ram_area_writtenx bit can be reset by writing 1. Note: This register is reset on a soft reset from the master control module. After a soft reset, all keys must be rewritten to the key store memory.
Sourcepub fn ram_area_written2(&self) -> RAM_AREA_WRITTEN2_R
pub fn ram_area_written2(&self) -> RAM_AREA_WRITTEN2_R
Bit 2 - 2:2] Read operation: 0: This RAM area is not written with valid key information. 1: This RAM area is written with valid key information. Each individual ram_area_writtenx bit can be reset by writing 1. Note: This register is reset on a soft reset from the master control module. After a soft reset, all keys must be rewritten to the key store memory.
Sourcepub fn ram_area_written1(&self) -> RAM_AREA_WRITTEN1_R
pub fn ram_area_written1(&self) -> RAM_AREA_WRITTEN1_R
Bit 1 - 1:1] Read operation: 0: This RAM area is not written with valid key information. 1: This RAM area is written with valid key information. Each individual ram_area_writtenx bit can be reset by writing 1. Note: This register is reset on a soft reset from the master control module. After a soft reset, all keys must be rewritten to the key store memory.
Sourcepub fn ram_area_written0(&self) -> RAM_AREA_WRITTEN0_R
pub fn ram_area_written0(&self) -> RAM_AREA_WRITTEN0_R
Bit 0 - 0:0] Read operation: 0: This RAM area is not written with valid key information. 1: This RAM area is written with valid key information. Each individual ram_area_writtenx bit can be reset by writing 1. Note: This register is reset on a soft reset from the master control module. After a soft reset, all keys must be rewritten to the key store memory.
Source§impl R<u32, Reg<u32, _KEY_STORE_SIZE>>
impl R<u32, Reg<u32, _KEY_STORE_SIZE>>
Sourcepub fn reserved1(&self) -> RESERVED1_R
pub fn reserved1(&self) -> RESERVED1_R
Bits 2:31 - 31:2] Write 0s and ignore on reading
Sourcepub fn key_size(&self) -> KEY_SIZE_R
pub fn key_size(&self) -> KEY_SIZE_R
Bits 0:1 - 1:0] Key size: 00: Reserved 01: 128 bits 10: 192 bits 11: 256 bits When writing this to this register, the KEY_STORE_WRITTEN_AREA register is reset.
Source§impl R<u32, Reg<u32, _KEY_STORE_READ_AREA>>
impl R<u32, Reg<u32, _KEY_STORE_READ_AREA>>
Sourcepub fn busy(&self) -> BUSY_R
pub fn busy(&self) -> BUSY_R
Bit 31 - 31:31] Key store operation busy status flag (read only): 0: Operation is complete. 1: Operation is not completed and the key store is busy.
Sourcepub fn reserved1(&self) -> RESERVED1_R
pub fn reserved1(&self) -> RESERVED1_R
Bits 4:30 - 30:4] Write 0s and ignore on reading
Sourcepub fn ram_area(&self) -> RAM_AREA_R
pub fn ram_area(&self) -> RAM_AREA_R
Bits 0:3 - 3:0] Selects the area of the key store RAM from where the key needs to be read that will be writen to the AES engine RAM_AREA: 0000: RAM_AREA0 0001: RAM_AREA1 0010: RAM_AREA2 0011: RAM_AREA3 0100: RAM_AREA4 0101: RAM_AREA5 0110: RAM_AREA6 0111: RAM_AREA7 1000: no RAM area selected 1001-1111: Reserved RAM areas RAM_AREA0, RAM_AREA2, RAM_AREA4 and RAM_AREA6 are the only valid read areas for 192 and 256 bits key sizes. Only RAM areas that contain valid written keys can be selected.
Source§impl R<u32, Reg<u32, _AES_KEY2_0>>
impl R<u32, Reg<u32, _AES_KEY2_0>>
Sourcepub fn aes_key2(&self) -> AES_KEY2_R
pub fn aes_key2(&self) -> AES_KEY2_R
Bits 0:31 - 31:0] AES_KEY2/AES_GHASH_H[31:0] For GCM: -[127:0] - GHASH_H - The internally calculated GHASH key is stored in these registers. Only used for modes that use the GHASH function (GCM). -[255:128] - This register is used to store intermediate values and is initialized with 0s when loading a new key. For CCM: -[255:0] - This register is used to store intermediate values. For CBC-MAC: -[255:0] - ZEROES - This register must remain 0.
Source§impl R<u32, Reg<u32, _AES_KEY2_1>>
impl R<u32, Reg<u32, _AES_KEY2_1>>
Sourcepub fn aes_key2(&self) -> AES_KEY2_R
pub fn aes_key2(&self) -> AES_KEY2_R
Bits 0:31 - 31:0] AES_KEY2/AES_GHASH_H[63:32] For GCM: -[127:0] - GHASH_H - The internally calculated GHASH key is stored in these registers. Only used for modes that use the GHASH function (GCM). -[255:128] - This register is used to store intermediate values and is initialized with 0s when loading a new key. For CCM: -[255:0] - This register is used to store intermediate values. For CBC-MAC: -[255:0] - ZEROES - This register must remain 0.
Source§impl R<u32, Reg<u32, _AES_KEY2_2>>
impl R<u32, Reg<u32, _AES_KEY2_2>>
Sourcepub fn aes_key2(&self) -> AES_KEY2_R
pub fn aes_key2(&self) -> AES_KEY2_R
Bits 0:31 - 31:0] AES_KEY2/AES_GHASH_H[95:64] For GCM: -[127:0] - GHASH_H - The internally calculated GHASH key is stored in these registers. Only used for modes that use the GHASH function (GCM). -[255:128] - This register is used to store intermediate values and is initialized with 0s when loading a new key. For CCM: -[255:0] - This register is used to store intermediate values. For CBC-MAC: -[255:0] - ZEROES - This register must remain 0.
Source§impl R<u32, Reg<u32, _AES_KEY2_3>>
impl R<u32, Reg<u32, _AES_KEY2_3>>
Sourcepub fn aes_key2(&self) -> AES_KEY2_R
pub fn aes_key2(&self) -> AES_KEY2_R
Bits 0:31 - 31:0] AES_KEY2/AES_GHASH_H[127:96] For GCM: -[127:0] - GHASH_H - The internally calculated GHASH key is stored in these registers. Only used for modes that use the GHASH function (GCM). -[255:128] - This register is used to store intermediate values and is initialized with 0s when loading a new key. For CCM: -[255:0] - This register is used to store intermediate values. For CBC-MAC: -[255:0] - ZEROES - This register must remain 0.
Source§impl R<u32, Reg<u32, _AES_KEY3_0>>
impl R<u32, Reg<u32, _AES_KEY3_0>>
Sourcepub fn aes_key3(&self) -> AES_KEY3_R
pub fn aes_key3(&self) -> AES_KEY3_R
Bits 0:31 - 31:0] AES_KEY3[31:0]/AES_KEY2[159:128] For GCM: -[127:0] - GHASH_H - The internally calculated GHASH key is stored in these registers. Only used for modes that use the GHASH function (GCM). -[255:128] - This register is used to store intermediate values and is initialized with 0s when loading a new key. For CCM: -[255:0] - This register is used to store intermediate values. For CBC-MAC: -[255:0] - ZEROES - This register must remain 0.
Source§impl R<u32, Reg<u32, _AES_KEY3_1>>
impl R<u32, Reg<u32, _AES_KEY3_1>>
Sourcepub fn aes_key3(&self) -> AES_KEY3_R
pub fn aes_key3(&self) -> AES_KEY3_R
Bits 0:31 - 31:0] AES_KEY3[63:32]/AES_KEY2[191:160] For GCM: -[127:0] - GHASH_H - The internally calculated GHASH key is stored in these registers. Only used for modes that use the GHASH function (GCM). -[255:128] - This register is used to store intermediate values and is initialized with 0s when loading a new key. For CCM: -[255:0] - This register is used to store intermediate values. For CBC-MAC: -[255:0] - ZEROES - This register must remain 0.
Source§impl R<u32, Reg<u32, _AES_KEY3_2>>
impl R<u32, Reg<u32, _AES_KEY3_2>>
Sourcepub fn aes_key3(&self) -> AES_KEY3_R
pub fn aes_key3(&self) -> AES_KEY3_R
Bits 0:31 - 31:0] AES_KEY3[95:64]/AES_KEY2[223:192] For GCM: -[127:0] - GHASH_H - The internally calculated GHASH key is stored in these registers. Only used for modes that use the GHASH function (GCM). -[255:128] - This register is used to store intermediate values and is initialized with 0s when loading a new key. For CCM: -[255:0] - This register is used to store intermediate values. For CBC-MAC: -[255:0] - ZEROES - This register must remain 0.
Source§impl R<u32, Reg<u32, _AES_KEY3_3>>
impl R<u32, Reg<u32, _AES_KEY3_3>>
Sourcepub fn aes_key3(&self) -> AES_KEY3_R
pub fn aes_key3(&self) -> AES_KEY3_R
Bits 0:31 - 31:0] AES_KEY3[127:96]/AES_KEY2[255:224] For GCM: -[127:0] - GHASH_H - The internally calculated GHASH key is stored in these registers. Only used for modes that use the GHASH function (GCM). -[255:128] - This register is used to store intermediate values and is initialized with 0s when loading a new key. For CCM: -[255:0] - This register is used to store intermediate values. For CBC-MAC: -[255:0] - ZEROES - This register must remain 0.
Source§impl R<u32, Reg<u32, _AES_IV_0>>
impl R<u32, Reg<u32, _AES_IV_0>>
Sourcepub fn aes_iv(&self) -> AES_IV_R
pub fn aes_iv(&self) -> AES_IV_R
Bits 0:31 - 31:0] AES_IV[31:0] Initialization vector Used for regular non-ECB modes (CBC/CTR): -[127:0] - AES_IV - For regular AES operations (CBC and CTR) these registers must be written with a new 128-bit IV. After an operation, these registers contain the latest 128-bit result IV, generated by the EIP-120t. If CTR mode is selected, this value is incremented with 0x1: After first use - When a new data block is submitted to the engine For GCM: -[127:0] - AES_IV - For GCM operations, these registers must be written with a new 128-bit IV. After an operation, these registers contain the updated 128-bit result IV, generated by the EIP-120t. Note that bits [127:96] of the IV represent the initial counter value (which is 1 for GCM) and must therefore be initialized to 0x01000000. This value is incremented with 0x1: After first use - When a new data block is submitted to the engine. For CCM: -[127:0] - A0: For CCM this field must be written with value A0, this value is the concatenation of: A0-flags (5-bits of 0 and 3-bits ‘L’), Nonce and counter value. ‘L’ must be a copy from the ‘L’ value of the AES_CTRL register. This ‘L’ indicates the width of the Nonce and counter. The loaded counter must be initialized to 0. The total width of A0 is 128-bit. For CBC-MAC: -[127:0] - Zeroes - For CBC-MAC this register must be written with 0s at the start of each operation. After an operation, these registers contain the 128-bit TAG output, generated by the EIP-120t.
Source§impl R<u32, Reg<u32, _AES_IV_1>>
impl R<u32, Reg<u32, _AES_IV_1>>
Sourcepub fn aes_iv(&self) -> AES_IV_R
pub fn aes_iv(&self) -> AES_IV_R
Bits 0:31 - 31:0] AES_IV[63:32] Initialization vector Used for regular non-ECB modes (CBC/CTR): -[127:0] - AES_IV - For regular AES operations (CBC and CTR) these registers must be written with a new 128-bit IV. After an operation, these registers contain the latest 128-bit result IV, generated by the EIP-120t. If CTR mode is selected, this value is incremented with 0x1: After first use - When a new data block is submitted to the engine For GCM: -[127:0] - AES_IV - For GCM operations, these registers must be written with a new 128-bit IV. After an operation, these registers contain the updated 128-bit result IV, generated by the EIP-120t. Note that bits [127:96] of the IV represent the initial counter value (which is 1 for GCM) and must therefore be initialized to 0x01000000. This value is incremented with 0x1: After first use - When a new data block is submitted to the engine. For CCM: -[127:0] - A0: For CCM this field must be written with value A0, this value is the concatenation of: A0-flags (5-bits of 0 and 3-bits ‘L’), Nonce and counter value. ‘L’ must be a copy from the ‘L’ value of the AES_CTRL register. This ‘L’ indicates the width of the Nonce and counter. The loaded counter must be initialized to 0. The total width of A0 is 128-bit. For CBC-MAC: -[127:0] - Zeroes - For CBC-MAC this register must be written with 0s at the start of each operation. After an operation, these registers contain the 128-bit TAG output, generated by the EIP-120t.
Source§impl R<u32, Reg<u32, _AES_IV_2>>
impl R<u32, Reg<u32, _AES_IV_2>>
Sourcepub fn aes_iv(&self) -> AES_IV_R
pub fn aes_iv(&self) -> AES_IV_R
Bits 0:31 - 31:0] AES_IV[95:64] Initialization vector Used for regular non-ECB modes (CBC/CTR): -[127:0] - AES_IV - For regular AES operations (CBC and CTR) these registers must be written with a new 128-bit IV. After an operation, these registers contain the latest 128-bit result IV, generated by the EIP-120t. If CTR mode is selected, this value is incremented with 0x1: After first use - When a new data block is submitted to the engine For GCM: -[127:0] - AES_IV - For GCM operations, these registers must be written with a new 128-bit IV. After an operation, these registers contain the updated 128-bit result IV, generated by the EIP-120t. Note that bits [127:96] of the IV represent the initial counter value (which is 1 for GCM) and must therefore be initialized to 0x01000000. This value is incremented with 0x1: After first use - When a new data block is submitted to the engine. For CCM: -[127:0] - A0: For CCM this field must be written with value A0, this value is the concatenation of: A0-flags (5-bits of 0 and 3-bits ‘L’), Nonce and counter value. ‘L’ must be a copy from the ‘L’ value of the AES_CTRL register. This ‘L’ indicates the width of the Nonce and counter. The loaded counter must be initialized to 0. The total width of A0 is 128-bit. For CBC-MAC: -[127:0] - Zeroes - For CBC-MAC this register must be written with 0s at the start of each operation. After an operation, these registers contain the 128-bit TAG output, generated by the EIP-120t.
Source§impl R<u32, Reg<u32, _AES_IV_3>>
impl R<u32, Reg<u32, _AES_IV_3>>
Sourcepub fn aes_iv(&self) -> AES_IV_R
pub fn aes_iv(&self) -> AES_IV_R
Bits 0:31 - 31:0] AES_IV[127:96] Initialization vector Used for regular non-ECB modes (CBC/CTR): -[127:0] - AES_IV - For regular AES operations (CBC and CTR) these registers must be written with a new 128-bit IV. After an operation, these registers contain the latest 128-bit result IV, generated by the EIP-120t. If CTR mode is selected, this value is incremented with 0x1: After first use - When a new data block is submitted to the engine For GCM: -[127:0] - AES_IV - For GCM operations, these registers must be written with a new 128-bit IV. After an operation, these registers contain the updated 128-bit result IV, generated by the EIP-120t. Note that bits [127:96] of the IV represent the initial counter value (which is 1 for GCM) and must therefore be initialized to 0x01000000. This value is incremented with 0x1: After first use - When a new data block is submitted to the engine. For CCM: -[127:0] - A0: For CCM this field must be written with value A0, this value is the concatenation of: A0-flags (5-bits of 0 and 3-bits ‘L’), Nonce and counter value. ‘L’ must be a copy from the ‘L’ value of the AES_CTRL register. This ‘L’ indicates the width of the Nonce and counter. The loaded counter must be initialized to 0. The total width of A0 is 128-bit. For CBC-MAC: -[127:0] - Zeroes - For CBC-MAC this register must be written with 0s at the start of each operation. After an operation, these registers contain the 128-bit TAG output, generated by the EIP-120t.
Source§impl R<u32, Reg<u32, _AES_CTRL>>
impl R<u32, Reg<u32, _AES_CTRL>>
Sourcepub fn context_ready(&self) -> CONTEXT_READY_R
pub fn context_ready(&self) -> CONTEXT_READY_R
Bit 31 - 31:31] If 1, this read-only status bit indicates that the context data registers can be overwritten and the host is permitted to write the next context.
Sourcepub fn saved_context_ready(&self) -> SAVED_CONTEXT_READY_R
pub fn saved_context_ready(&self) -> SAVED_CONTEXT_READY_R
Bit 30 - 30:30] If 1, this status bit indicates that an AES authentication TAG and/or IV block(s) is/are available for the host to retrieve. This bit is only asserted if the save_context bit is set to 1. The bit is mutual exclusive with the context_ready bit. Writing one clears the bit to 0, indicating the AES core can start its next operation. This bit is also cleared when the 4th word of the output TAG and/or IV is read. Note: All other mode bit writes are ignored when this mode bit is written with 1. Note: This bit is controlled automatically by the EIP-120t for TAG read DMA operations.
Sourcepub fn save_context(&self) -> SAVE_CONTEXT_R
pub fn save_context(&self) -> SAVE_CONTEXT_R
Bit 29 - 29:29] This bit indicates that an authentication TAG or result IV needs to be stored as a result context. Typically this bit must be set for authentication modes returning a TAG (CBC-MAC, GCM and CCM), or for basic encryption modes that require future continuation with the current result IV. If this bit is set, the engine retains its full context until the TAG and/or IV registers are read. The TAG or IV must be read before the AES engine can start a new operation.
Sourcepub fn reserved1(&self) -> RESERVED1_R
pub fn reserved1(&self) -> RESERVED1_R
Bits 25:28 - 28:25] Bits should be written with a value of 0. and ignored on a read.
Sourcepub fn ccm_m(&self) -> CCM_M_R
pub fn ccm_m(&self) -> CCM_M_R
Bits 22:24 - 24:22] Defines M, which indicates the length of the authentication field for CCM operations; the authentication field length equals two times (the value of CCM-M plus one). Note: The EIP-120t always returns a 128-bit authentication field, of which the M least significant bytes are valid. All values are supported.
Sourcepub fn ccm_l(&self) -> CCM_L_R
pub fn ccm_l(&self) -> CCM_L_R
Bits 19:21 - 21:19] Defines L, which indicates the width of the length field for CCM operations; the length field in bytes equals the value of CMM-L plus one. All values are supported.
Sourcepub fn ccm(&self) -> CCM_R
pub fn ccm(&self) -> CCM_R
Bit 18 - 18:18] If set to 1, AES-CCM is selected AES-CCM is a combined mode, using AES for authentication and encryption. Note: Selecting AES-CCM mode requires writing of the AAD length register after all other registers. Note: The CTR mode bit in this register must also be set to 1 to enable AES-CTR; selecting other AES modes than CTR mode is invalid.
Sourcepub fn gcm(&self) -> GCM_R
pub fn gcm(&self) -> GCM_R
Bits 16:17 - 17:16] Set these bits to 11 to select AES-GCM mode. AES-GCM is a combined mode, using the Galois field multiplier GF(2 to the power of 128) for authentication and AES-CTR mode for encryption. Note: The CTR mode bit in this register must also be set to 1 to enable AES-CTR Bit combination description: 00 = No GCM mode 01 = Reserved, do not select 10 = Reserved, do not select 11 = Autonomous GHASH (both H- and Y0-encrypted calculated internally) Note: The EIP-120t-1 configuration only supports mode 11 (autonomous GHASH), other GCM modes are not allowed.
Sourcepub fn cbc_mac(&self) -> CBC_MAC_R
pub fn cbc_mac(&self) -> CBC_MAC_R
Bit 15 - 15:15] Set to 1 to select AES-CBC MAC mode. The direction bit must be set to 1 for this mode. Selecting this mode requires writing the length register after all other registers.
Sourcepub fn reserved2(&self) -> RESERVED2_R
pub fn reserved2(&self) -> RESERVED2_R
Bits 9:14 - 14:9] Bits should be written with a value of 0. and ignored on a read.
Sourcepub fn ctr_width(&self) -> CTR_WIDTH_R
pub fn ctr_width(&self) -> CTR_WIDTH_R
Bits 7:8 - 8:7] Specifies the counter width for AES-CTR mode 00 = 32-bit counter 01 = 64-bit counter 10 = 96-bit counter 11 = 128-bit counter
Sourcepub fn ctr(&self) -> CTR_R
pub fn ctr(&self) -> CTR_R
Bit 6 - 6:6] If set to 1, AES counter mode (CTR) is selected. Note: This bit must also be set for GCM and CCM, when encryption/decryption is required.
Sourcepub fn cbc(&self) -> CBC_R
pub fn cbc(&self) -> CBC_R
Bit 5 - 5:5] If set to 1, cipher-block-chaining (CBC) mode is selected.
Sourcepub fn key_size(&self) -> KEY_SIZE_R
pub fn key_size(&self) -> KEY_SIZE_R
Bits 3:4 - 4:3] This read-only field specifies the key size. The key size is automatically configured when a new key is loaded through the key store module. 00 = N/A - Reserved 01 = 128-bit 10 = 192-bit 11 = 256-bit
Sourcepub fn direction(&self) -> DIRECTION_R
pub fn direction(&self) -> DIRECTION_R
Bit 2 - 2:2] If set to 1 an encrypt operation is performed. If set to 0 a decrypt operation is performed. This bit must be written with a 1 when CBC-MAC is selected.
Sourcepub fn input_ready(&self) -> INPUT_READY_R
pub fn input_ready(&self) -> INPUT_READY_R
Bit 1 - 1:1] If 1, this status bit indicates that the 16-byte AES input buffer is empty. The host is permitted to write the next block of data. Writing 0 clears the bit to 0 and indicates that the AES core can use the provided input data block. Writing 1 to this bit is ignored. Note: For DMA operations, this bit is automatically controlled by the EIP-120t. After reset, this bit is 0. After writing a context, this bit becomes 1.
Sourcepub fn output_ready(&self) -> OUTPUT_READY_R
pub fn output_ready(&self) -> OUTPUT_READY_R
Bit 0 - 0:0] If 1, this status bit indicates that an AES output block is available to be retrieved by the host. Writing 0 clears the bit to 0 and indicates that output data is read by the host. The AES core can provide a next output data block. Writing 1 to this bit is ignored. Note: For DMA operations, this bit is automatically controlled by the EIP-120t.
Source§impl R<u32, Reg<u32, _AES_C_LENGTH_0>>
impl R<u32, Reg<u32, _AES_C_LENGTH_0>>
Sourcepub fn c_length(&self) -> C_LENGTH_R
pub fn c_length(&self) -> C_LENGTH_R
Bits 0:31 - 31:0] C_LENGTH[31:0] Bits [60:0] of the crypto length registers (LSW and MSW) store the cryptographic data length in bytes for all modes. Once processing with this context is started, this length decrements to 0. Data lengths up to (261: 1) bytes are allowed. For GCM, any value up to 236 - 32 bytes can be used. This is because a 32-bit counter mode is used; the maximum number of 128-bit blocks is 232 - 2, resulting in a maximum number of bytes of 236 - 32. A write to this register triggers the engine to start using this context. This is valid for all modes except GCM and CCM. Note: For the combined modes (GCM and CCM), this length does not include the authentication only data; the authentication length is specified in the AES_AUTH_LENGTH register below. All modes must have a length greater than 0. For the combined modes, it is allowed to have one of the lengths equal to 0. For the basic encryption modes (ECB, CBC, and CTR) it is allowed to program zero to the length field; in that case the length is assumed infinite. All data must be byte (8-bit) aligned for stream cipher modes; bit aligned data streams are not supported by the EIP-120t. For block cipher modes, the data length must be programmed in multiples of the block cipher size, 16 bytes. For a host read operation, these registers return all-0s.
Source§impl R<u32, Reg<u32, _AES_C_LENGTH_1>>
impl R<u32, Reg<u32, _AES_C_LENGTH_1>>
Sourcepub fn reserved1(&self) -> RESERVED1_R
pub fn reserved1(&self) -> RESERVED1_R
Bits 29:31 - 31:29] Bits should be written with a value of 0. and ignored on a read.
Sourcepub fn c_length(&self) -> C_LENGTH_R
pub fn c_length(&self) -> C_LENGTH_R
Bits 0:28 - 28:0] C_LENGTH[60:32] Bits [60:0] of the crypto length registers (LSW and MSW) store the cryptographic data length in bytes for all modes. Once processing with this context is started, this length decrements to 0. Data lengths up to (261: 1) bytes are allowed. For GCM, any value up to 236 - 32 bytes can be used. This is because a 32-bit counter mode is used; the maximum number of 128-bit blocks is 232 - 2, resulting in a maximum number of bytes of 236 - 32. A write to this register triggers the engine to start using this context. This is valid for all modes except GCM and CCM. Note: For the combined modes (GCM and CCM), this length does not include the authentication only data; the authentication length is specified in the AES_AUTH_LENGTH register below. All modes must have a length greater than 0. For the combined modes, it is allowed to have one of the lengths equal to 0. For the basic encryption modes (ECB, CBC, and CTR) it is allowed to program zero to the length field; in that case the length is assumed infinite. All data must be byte (8-bit) aligned for stream cipher modes; bit aligned data streams are not supported by the EIP-120t. For block cipher modes, the data length must be programmed in multiples of the block cipher size, 16 bytes. For a host read operation, these registers return all-0s.
Source§impl R<u32, Reg<u32, _AES_AUTH_LENGTH>>
impl R<u32, Reg<u32, _AES_AUTH_LENGTH>>
Sourcepub fn auth_length(&self) -> AUTH_LENGTH_R
pub fn auth_length(&self) -> AUTH_LENGTH_R
Bits 0:31 - 31:0] Bits [31:0] of the authentication length register store the authentication data length in bytes for combined modes only (GCM or CCM). Supported AAD-lengths for CCM are from 0 to (2^16 - 2^8) bytes. For GCM any value up to (2^32 - 1) bytes can be used. Once processing with this context is started, this length decrements to 0. A write to this register triggers the engine to start using this context for GCM and CCM. For a host read operation, these registers return all-0s.
Source§impl R<u32, Reg<u32, _AES_DATA_IN_OUT_0>>
impl R<u32, Reg<u32, _AES_DATA_IN_OUT_0>>
Sourcepub fn aes_data_in_out(&self) -> AES_DATA_IN_OUT_R
pub fn aes_data_in_out(&self) -> AES_DATA_IN_OUT_R
Bits 0:31 - 31:0] AES input data[31:0] / AES output data[31:0] Data registers for input/output block data to/from the EIP-120t. For normal operations, this register is not used, since data input and output is transferred from and to the AES core via DMA. For a host write operation, these registers must be written with the 128-bit input block for the next AES operation. Writing at a word-aligned offset within this address range stores the word (4 bytes) of data into the corresponding position of 4-word deep (16 bytes = 128-bit AES block) data input buffer. This buffer is used for the next AES operation. If the last data block is not completely filled with valid data (see notes below), it is allowed to write only the words with valid data. Next AES operation is triggered by writing to the input_ready flag of the AES_CTRL register. For a host read operation, these registers contain the 128-bit output block from the latest AES operation. Reading from a word-aligned offset within this address range reads one word (4 bytes) of data out the 4-word deep (16 bytes = 128-bits AES block) data output buffer. The words (4 words, one full block) should be read before the core will move the next block to the data output buffer. To empty the data output buffer, the output_ready flag of the AES_CTRL register must be written. For the modes with authentication (CBC-MAC, GCM and CCM), the invalid (message) bytes/words can be written with any data. Note: AES typically operates on 128 bits block multiple input data. The CTR, GCM and CCM modes form an exception. The last block of a CTR-mode message may contain less than 128 bits (refer to [NIST 800-38A]). For GCM/CCM, the last block of both AAD and message data may contain less than 128 bits (refer to [NIST 800-38D]). The EIP-120t automatically pads or masks misaligned ending data blocks with 0s for GCM, CCM and CBC-MAC. For CTR mode, the remaining data in an unaligned data block is ignored. Note: The AAD / authentication only data is not copied to the output buffer but only used for authentication.
Source§impl R<u32, Reg<u32, _AES_DATA_IN_OUT_1>>
impl R<u32, Reg<u32, _AES_DATA_IN_OUT_1>>
Sourcepub fn aes_data_in_out(&self) -> AES_DATA_IN_OUT_R
pub fn aes_data_in_out(&self) -> AES_DATA_IN_OUT_R
Bits 0:31 - 31:0] AES input data[63:32] / AES output data[63:32] Data registers for input/output block data to/from the EIP-120t. For normal operations, this register is not used, since data input and output is transferred from and to the AES core via DMA. For a host write operation, these registers must be written with the 128-bit input block for the next AES operation. Writing at a word-aligned offset within this address range stores the word (4 bytes) of data into the corresponding position of 4-word deep (16 bytes = 128-bit AES block) data input buffer. This buffer is used for the next AES operation. If the last data block is not completely filled with valid data (see notes below), it is allowed to write only the words with valid data. Next AES operation is triggered by writing to the input_ready flag of the AES_CTRL register. For a host read operation, these registers contain the 128-bit output block from the latest AES operation. Reading from a word-aligned offset within this address range reads one word (4 bytes) of data out the 4-word deep (16 bytes = 128-bits AES block) data output buffer. The words (4 words, one full block) should be read before the core will move the next block to the data output buffer. To empty the data output buffer, the output_ready flag of the AES_CTRL register must be written. For the modes with authentication (CBC-MAC, GCM and CCM), the invalid (message) bytes/words can be written with any data. Note: AES typically operates on 128 bits block multiple input data. The CTR, GCM and CCM modes form an exception. The last block of a CTR-mode message may contain less than 128 bits (refer to [NIST 800-38A]). For GCM/CCM, the last block of both AAD and message data may contain less than 128 bits (refer to [NIST 800-38D]). The EIP-120t automatically pads or masks misaligned ending data blocks with 0s for GCM, CCM and CBC-MAC. For CTR mode, the remaining data in an unaligned data block is ignored. Note: The AAD / authentication only data is not copied to the output buffer but only used for authentication.
Source§impl R<u32, Reg<u32, _AES_DATA_IN_OUT_2>>
impl R<u32, Reg<u32, _AES_DATA_IN_OUT_2>>
Sourcepub fn aes_data_in_out(&self) -> AES_DATA_IN_OUT_R
pub fn aes_data_in_out(&self) -> AES_DATA_IN_OUT_R
Bits 0:31 - 31:0] AES input data[95:64] / AES output data[95:64] Data registers for input/output block data to/from the EIP-120t. For normal operations, this register is not used, since data input and output is transferred from and to the AES core via DMA. For a host write operation, these registers must be written with the 128-bit input block for the next AES operation. Writing at a word-aligned offset within this address range stores the word (4 bytes) of data into the corresponding position of 4-word deep (16 bytes = 128-bit AES block) data input buffer. This buffer is used for the next AES operation. If the last data block is not completely filled with valid data (see notes below), it is allowed to write only the words with valid data. Next AES operation is triggered by writing to the input_ready flag of the AES_CTRL register. For a host read operation, these registers contain the 128-bit output block from the latest AES operation. Reading from a word-aligned offset within this address range reads one word (4 bytes) of data out the 4-word deep (16 bytes = 128-bits AES block) data output buffer. The words (4 words, one full block) should be read before the core will move the next block to the data output buffer. To empty the data output buffer, the output_ready flag of the AES_CTRL register must be written. For the modes with authentication (CBC-MAC, GCM and CCM), the invalid (message) bytes/words can be written with any data. Note: AES typically operates on 128 bits block multiple input data. The CTR, GCM and CCM modes form an exception. The last block of a CTR-mode message may contain less than 128 bits (refer to [NIST 800-38A]). For GCM/CCM, the last block of both AAD and message data may contain less than 128 bits (refer to [NIST 800-38D]). The EIP-120t automatically pads or masks misaligned ending data blocks with 0s for GCM, CCM and CBC-MAC. For CTR mode, the remaining data in an unaligned data block is ignored. Note: The AAD / authentication only data is not copied to the output buffer but only used for authentication.
Source§impl R<u32, Reg<u32, _AES_DATA_IN_OUT_3>>
impl R<u32, Reg<u32, _AES_DATA_IN_OUT_3>>
Sourcepub fn aes_data_in_out(&self) -> AES_DATA_IN_OUT_R
pub fn aes_data_in_out(&self) -> AES_DATA_IN_OUT_R
Bits 0:31 - 31:0] AES input data[127:96] / AES output data[127:96] Data registers for input/output block data to/from the EIP-120t. For normal operations, this register is not used, since data input and output is transferred from and to the AES core via DMA. For a host write operation, these registers must be written with the 128-bit input block for the next AES operation. Writing at a word-aligned offset within this address range stores the word (4 bytes) of data into the corresponding position of 4-word deep (16 bytes = 128-bit AES block) data input buffer. This buffer is used for the next AES operation. If the last data block is not completely filled with valid data (see notes below), it is allowed to write only the words with valid data. Next AES operation is triggered by writing to the input_ready flag of the AES_CTRL register. For a host read operation, these registers contain the 128-bit output block from the latest AES operation. Reading from a word-aligned offset within this address range reads one word (4 bytes) of data out the 4-word deep (16 bytes = 128-bits AES block) data output buffer. The words (4 words, one full block) should be read before the core will move the next block to the data output buffer. To empty the data output buffer, the output_ready flag of the AES_CTRL register must be written. For the modes with authentication (CBC-MAC, GCM and CCM), the invalid (message) bytes/words can be written with any data. Note: AES typically operates on 128 bits block multiple input data. The CTR, GCM and CCM modes form an exception. The last block of a CTR-mode message may contain less than 128 bits (refer to [NIST 800-38A]). For GCM/CCM, the last block of both AAD and message data may contain less than 128 bits (refer to [NIST 800-38D]). The EIP-120t automatically pads or masks misaligned ending data blocks with 0s for GCM, CCM and CBC-MAC. For CTR mode, the remaining data in an unaligned data block is ignored. Note: The AAD / authentication only data is not copied to the output buffer but only used for authentication.
Source§impl R<u32, Reg<u32, _AES_TAG_OUT_0>>
impl R<u32, Reg<u32, _AES_TAG_OUT_0>>
Sourcepub fn aes_tag(&self) -> AES_TAG_R
pub fn aes_tag(&self) -> AES_TAG_R
Bits 0:31 - 31:0] AES_TAG[31:0] Bits [31:0] of the AES_TAG registers store the authentication value for the combined and authentication only modes. For a host read operation, these registers contain the last 128-bit TAG output of the EIP-120t; the TAG is available until the next context is written. This register will only contain valid data if the TAG is available and when the store_ready bit from AES_CTRL register is set. During processing or for operations/modes that do not return a TAG, reads from this register return data from the IV register.
Source§impl R<u32, Reg<u32, _AES_TAG_OUT_1>>
impl R<u32, Reg<u32, _AES_TAG_OUT_1>>
Sourcepub fn aes_tag(&self) -> AES_TAG_R
pub fn aes_tag(&self) -> AES_TAG_R
Bits 0:31 - 31:0] AES_TAG[63:32] For a host read operation, these registers contain the last 128-bit TAG output of the EIP-120t; the TAG is available until the next context is written. This register contains valid data only if the TAG is available and when the store_ready bit from AES_CTRL register is set. During processing or for operations/modes that do not return a TAG, reads from this register return data from the IV register.
Source§impl R<u32, Reg<u32, _AES_TAG_OUT_2>>
impl R<u32, Reg<u32, _AES_TAG_OUT_2>>
Sourcepub fn aes_tag(&self) -> AES_TAG_R
pub fn aes_tag(&self) -> AES_TAG_R
Bits 0:31 - 31:0] AES_TAG[95:64] For a host read operation, these registers contain the last 128-bit TAG output of the EIP-120t; the TAG is available until the next context is written. This register contains valid data only if the TAG is available and when the store_ready bit from AES_CTRL register is set. During processing or for operations/modes that do not return a TAG, reads from this register return data from the IV register.
Source§impl R<u32, Reg<u32, _AES_TAG_OUT_3>>
impl R<u32, Reg<u32, _AES_TAG_OUT_3>>
Sourcepub fn aes_tag(&self) -> AES_TAG_R
pub fn aes_tag(&self) -> AES_TAG_R
Bits 0:31 - 31:0] AES_TAG[127:96] For a host read operation, these registers contain the last 128-bit TAG output of the EIP-120t; the TAG is available until the next context is written. This register contains valid data only if the TAG is available and when the store_ready bit from AES_CTRL register is set. During processing or for operations/modes that do not return a TAG, reads from this register return data from the IV register.
Source§impl R<u32, Reg<u32, _HASH_DATA_IN_0>>
impl R<u32, Reg<u32, _HASH_DATA_IN_0>>
Sourcepub fn hash_data_in(&self) -> HASH_DATA_IN_R
pub fn hash_data_in(&self) -> HASH_DATA_IN_R
Bits 0:31 - 31:0] HASH_DATA_IN[31:0] These registers must be written with the 512-bit input data. The data lines are connected directly to the data input of the hash module and hence into the engine’s internal data buffer. Writing to each of the registers triggers a corresponding 32-bit write enable to the internal buffer. Note: The host may only write the input data buffer when the rfd_in bit of the HASH_IO_BUF_CTRL register is high. If the rfd_in bit is 0, the engine is busy with processing. During processing, it is not allowed to write new input data. For message lengths larger than 64 bytes, multiple blocks of data are written to this input buffer using a handshake through flags of the HASH_IO_BUF_CTRL register. All blocks except the last are required to be 512 bits in size. If the last block is not 512 bits long, only the least significant bits of data must be written, but they must be padded with 0s to the next 32-bit boundary. Host read operations from these register addresses return 0s.
Source§impl R<u32, Reg<u32, _HASH_DATA_IN_1>>
impl R<u32, Reg<u32, _HASH_DATA_IN_1>>
Sourcepub fn hash_data_in(&self) -> HASH_DATA_IN_R
pub fn hash_data_in(&self) -> HASH_DATA_IN_R
Bits 0:31 - 31:0] HASH_DATA_IN[63:32] These registers must be written with the 512-bit input data. The data lines are connected directly to the data input of the hash module and hence into the engine’s internal data buffer. Writing to each of the registers triggers a corresponding 32-bit write enable to the internal buffer. Note: The host may only write the input data buffer when the rfd_in bit of the HASH_IO_BUF_CTRL register is high. If the rfd_in bit is 0, the engine is busy with processing. During processing, it is not allowed to write new input data. For message lengths larger than 64 bytes, multiple blocks of data are written to this input buffer using a handshake through flags of the HASH_IO_BUF_CTRL register. All blocks except the last are required to be 512 bits in size. If the last block is not 512 bits long, only the least significant bits of data must be written, but they must be padded with 0s to the next 32-bit boundary. Host read operations from these register addresses return 0s.
Source§impl R<u32, Reg<u32, _HASH_DATA_IN_2>>
impl R<u32, Reg<u32, _HASH_DATA_IN_2>>
Sourcepub fn hash_data_in(&self) -> HASH_DATA_IN_R
pub fn hash_data_in(&self) -> HASH_DATA_IN_R
Bits 0:31 - 31:0] HASH_DATA_IN[95:64] These registers must be written with the 512-bit input data. The data lines are connected directly to the data input of the hash module and hence into the engine’s internal data buffer. Writing to each of the registers triggers a corresponding 32-bit write enable to the internal buffer. Note: The host may only write the input data buffer when the rfd_in bit of the HASH_IO_BUF_CTRL register is high. If the rfd_in bit is 0, the engine is busy with processing. During processing, it is not allowed to write new input data. For message lengths larger than 64 bytes, multiple blocks of data are written to this input buffer using a handshake through flags of the HASH_IO_BUF_CTRL register. All blocks except the last are required to be 512 bits in size. If the last block is not 512 bits long, only the least significant bits of data must be written, but they must be padded with 0s to the next 32-bit boundary. Host read operations from these register addresses return 0s.
Source§impl R<u32, Reg<u32, _HASH_DATA_IN_3>>
impl R<u32, Reg<u32, _HASH_DATA_IN_3>>
Sourcepub fn hash_data_in(&self) -> HASH_DATA_IN_R
pub fn hash_data_in(&self) -> HASH_DATA_IN_R
Bits 0:31 - 31:0] HASH_DATA_IN[127:96] These registers must be written with the 512-bit input data. The data lines are connected directly to the data input of the hash module and hence into the engine’s internal data buffer. Writing to each of the registers triggers a corresponding 32-bit write enable to the internal buffer. Note: The host may only write the input data buffer when the rfd_in bit of the HASH_IO_BUF_CTRL register is high. If the rfd_in bit is 0, the engine is busy with processing. During processing, it is not allowed to write new input data. For message lengths larger than 64 bytes, multiple blocks of data are written to this input buffer using a handshake through flags of the HASH_IO_BUF_CTRL register. All blocks except the last are required to be 512 bits in size. If the last block is not 512 bits long, only the least significant bits of data must be written, but they must be padded with 0s to the next 32-bit boundary. Host read operations from these register addresses return 0s.
Source§impl R<u32, Reg<u32, _HASH_DATA_IN_4>>
impl R<u32, Reg<u32, _HASH_DATA_IN_4>>
Sourcepub fn hash_data_in(&self) -> HASH_DATA_IN_R
pub fn hash_data_in(&self) -> HASH_DATA_IN_R
Bits 0:31 - 31:0] HASH_DATA_IN[159:128] These registers must be written with the 512-bit input data. The data lines are connected directly to the data input of the hash module and hence into the engine’s internal data buffer. Writing to each of the registers triggers a corresponding 32-bit write enable to the internal buffer. Note: The host may only write the input data buffer when the rfd_in bit of the HASH_IO_BUF_CTRL register is high. If the rfd_in bit is 0, the engine is busy with processing. During processing, it is not allowed to write new input data. For message lengths larger than 64 bytes, multiple blocks of data are written to this input buffer using a handshake through flags of the HASH_IO_BUF_CTRL register. All blocks except the last are required to be 512 bits in size. If the last block is not 512 bits long, only the least significant bits of data must be written, but they must be padded with 0s to the next 32-bit boundary. Host read operations from these register addresses return 0s.
Source§impl R<u32, Reg<u32, _HASH_DATA_IN_5>>
impl R<u32, Reg<u32, _HASH_DATA_IN_5>>
Sourcepub fn hash_data_in(&self) -> HASH_DATA_IN_R
pub fn hash_data_in(&self) -> HASH_DATA_IN_R
Bits 0:31 - 31:0] HASH_DATA_IN[191:160] These registers must be written with the 512-bit input data. The data lines are connected directly to the data input of the hash module and hence into the engine’s internal data buffer. Writing to each of the registers triggers a corresponding 32-bit write enable to the internal buffer. Note: The host may only write the input data buffer when the rfd_in bit of the HASH_IO_BUF_CTRL register is high. If the rfd_in bit is 0, the engine is busy with processing. During processing, it is not allowed to write new input data. For message lengths larger than 64 bytes, multiple blocks of data are written to this input buffer using a handshake through flags of the HASH_IO_BUF_CTRL register. All blocks except the last are required to be 512 bits in size. If the last block is not 512 bits long, only the least significant bits of data must be written, but they must be padded with 0s to the next 32-bit boundary. Host read operations from these register addresses return 0s.
Source§impl R<u32, Reg<u32, _HASH_DATA_IN_6>>
impl R<u32, Reg<u32, _HASH_DATA_IN_6>>
Sourcepub fn hash_data_in(&self) -> HASH_DATA_IN_R
pub fn hash_data_in(&self) -> HASH_DATA_IN_R
Bits 0:31 - 31:0] HASH_DATA_IN[223:192] These registers must be written with the 512-bit input data. The data lines are connected directly to the data input of the hash module and hence into the engine’s internal data buffer. Writing to each of the registers triggers a corresponding 32-bit write enable to the internal buffer. Note: The host may only write the input data buffer when the rfd_in bit of the HASH_IO_BUF_CTRL register is high. If the rfd_in bit is 0, the engine is busy with processing. During processing, it is not allowed to write new input data. For message lengths larger than 64 bytes, multiple blocks of data are written to this input buffer using a handshake through flags of the HASH_IO_BUF_CTRL register. All blocks except the last are required to be 512 bits in size. If the last block is not 512 bits long, only the least significant bits of data must be written, but they must be padded with 0s to the next 32-bit boundary. Host read operations from these register addresses return 0s.
Source§impl R<u32, Reg<u32, _HASH_DATA_IN_7>>
impl R<u32, Reg<u32, _HASH_DATA_IN_7>>
Sourcepub fn hash_data_in(&self) -> HASH_DATA_IN_R
pub fn hash_data_in(&self) -> HASH_DATA_IN_R
Bits 0:31 - 31:0] HASH_DATA_IN[255:224] These registers must be written with the 512-bit input data. The data lines are connected directly to the data input of the hash module and hence into the engine’s internal data buffer. Writing to each of the registers triggers a corresponding 32-bit write enable to the internal buffer. Note: The host may only write the input data buffer when the rfd_in bit of the HASH_IO_BUF_CTRL register is high. If the rfd_in bit is 0, the engine is busy with processing. During processing, it is not allowed to write new input data. For message lengths larger than 64 bytes, multiple blocks of data are written to this input buffer using a handshake through flags of the HASH_IO_BUF_CTRL register. All blocks except the last are required to be 512 bits in size. If the last block is not 512 bits long, only the least significant bits of data must be written, but they must be padded with 0s to the next 32-bit boundary. Host read operations from these register addresses return 0s.
Source§impl R<u32, Reg<u32, _HASH_DATA_IN_8>>
impl R<u32, Reg<u32, _HASH_DATA_IN_8>>
Sourcepub fn hash_data_in(&self) -> HASH_DATA_IN_R
pub fn hash_data_in(&self) -> HASH_DATA_IN_R
Bits 0:31 - 31:0] HASH_DATA_IN[287:256] These registers must be written with the 512-bit input data. The data lines are connected directly to the data input of the hash module and hence into the engine’s internal data buffer. Writing to each of the registers triggers a corresponding 32-bit write enable to the internal buffer. Note: The host may only write the input data buffer when the rfd_in bit of the HASH_IO_BUF_CTRL register is high. If the rfd_in bit is 0, the engine is busy with processing. During processing, it is not allowed to write new input data. For message lengths larger than 64 bytes, multiple blocks of data are written to this input buffer using a handshake through flags of the HASH_IO_BUF_CTRL register. All blocks except the last are required to be 512 bits in size. If the last block is not 512 bits long, only the least significant bits of data must be written, but they must be padded with 0s to the next 32-bit boundary. Host read operations from these register addresses return 0s.
Source§impl R<u32, Reg<u32, _HASH_DATA_IN_9>>
impl R<u32, Reg<u32, _HASH_DATA_IN_9>>
Sourcepub fn hash_data_in(&self) -> HASH_DATA_IN_R
pub fn hash_data_in(&self) -> HASH_DATA_IN_R
Bits 0:31 - 31:0] HASH_DATA_IN[319:288] These registers must be written with the 512-bit input data. The data lines are connected directly to the data input of the hash module and hence into the engine’s internal data buffer. Writing to each of the registers triggers a corresponding 32-bit write enable to the internal buffer. Note: The host may only write the input data buffer when the rfd_in bit of the HASH_IO_BUF_CTRL register is high. If the rfd_in bit is 0, the engine is busy with processing. During processing, it is not allowed to write new input data. For message lengths larger than 64 bytes, multiple blocks of data are written to this input buffer using a handshake through flags of the HASH_IO_BUF_CTRL register. All blocks except the last are required to be 512 bits in size. If the last block is not 512 bits long, only the least significant bits of data must be written, but they must be padded with 0s to the next 32-bit boundary. Host read operations from these register addresses return 0s.
Source§impl R<u32, Reg<u32, _HASH_DATA_IN_10>>
impl R<u32, Reg<u32, _HASH_DATA_IN_10>>
Sourcepub fn hash_data_in(&self) -> HASH_DATA_IN_R
pub fn hash_data_in(&self) -> HASH_DATA_IN_R
Bits 0:31 - 31:0] HASH_DATA_IN[351:320] These registers must be written with the 512-bit input data. The data lines are connected directly to the data input of the hash module and hence into the engine’s internal data buffer. Writing to each of the registers triggers a corresponding 32-bit write enable to the internal buffer. Note: The host may only write the input data buffer when the rfd_in bit of the HASH_IO_BUF_CTRL register is high. If the rfd_in bit is 0, the engine is busy with processing. During processing, it is not allowed to write new input data. For message lengths larger than 64 bytes, multiple blocks of data are written to this input buffer using a handshake through flags of the HASH_IO_BUF_CTRL register. All blocks except the last are required to be 512 bits in size. If the last block is not 512 bits long, only the least significant bits of data must be written, but they must be padded with 0s to the next 32-bit boundary. Host read operations from these register addresses return 0s.
Source§impl R<u32, Reg<u32, _HASH_DATA_IN_11>>
impl R<u32, Reg<u32, _HASH_DATA_IN_11>>
Sourcepub fn hash_data_in(&self) -> HASH_DATA_IN_R
pub fn hash_data_in(&self) -> HASH_DATA_IN_R
Bits 0:31 - 31:0] HASH_DATA_IN[383:352] These registers must be written with the 512-bit input data. The data lines are connected directly to the data input of the hash module and hence into the engine’s internal data buffer. Writing to each of the registers triggers a corresponding 32-bit write enable to the internal buffer. Note: The host may only write the input data buffer when the rfd_in bit of the HASH_IO_BUF_CTRL register is high. If the rfd_in bit is 0, the engine is busy with processing. During processing, it is not allowed to write new input data. For message lengths larger than 64 bytes, multiple blocks of data are written to this input buffer using a handshake through flags of the HASH_IO_BUF_CTRL register. All blocks except the last are required to be 512 bits in size. If the last block is not 512 bits long, only the least significant bits of data must be written, but they must be padded with 0s to the next 32-bit boundary. Host read operations from these register addresses return 0s.
Source§impl R<u32, Reg<u32, _HASH_DATA_IN_12>>
impl R<u32, Reg<u32, _HASH_DATA_IN_12>>
Sourcepub fn hash_data_in(&self) -> HASH_DATA_IN_R
pub fn hash_data_in(&self) -> HASH_DATA_IN_R
Bits 0:31 - 31:0] HASH_DATA_IN[415:384] These registers must be written with the 512-bit input data. The data lines are connected directly to the data input of the hash module and hence into the engine’s internal data buffer. Writing to each of the registers triggers a corresponding 32-bit write enable to the internal buffer. Note: The host may only write the input data buffer when the rfd_in bit of the HASH_IO_BUF_CTRL register is high. If the rfd_in bit is 0, the engine is busy with processing. During processing, it is not allowed to write new input data. For message lengths larger than 64 bytes, multiple blocks of data are written to this input buffer using a handshake through flags of the HASH_IO_BUF_CTRL register. All blocks except the last are required to be 512 bits in size. If the last block is not 512 bits long, only the least significant bits of data must be written, but they must be padded with 0s to the next 32-bit boundary. Host read operations from these register addresses return 0s.
Source§impl R<u32, Reg<u32, _HASH_DATA_IN_13>>
impl R<u32, Reg<u32, _HASH_DATA_IN_13>>
Sourcepub fn hash_data_in(&self) -> HASH_DATA_IN_R
pub fn hash_data_in(&self) -> HASH_DATA_IN_R
Bits 0:31 - 31:0] HASH_DATA_IN[447:416] These registers must be written with the 512-bit input data. The data lines are connected directly to the data input of the hash module and hence into the engine’s internal data buffer. Writing to each of the registers triggers a corresponding 32-bit write enable to the internal buffer. Note: The host may only write the input data buffer when the rfd_in bit of the HASH_IO_BUF_CTRL register is high. If the rfd_in bit is 0, the engine is busy with processing. During processing, it is not allowed to write new input data. For message lengths larger than 64 bytes, multiple blocks of data are written to this input buffer using a handshake through flags of the HASH_IO_BUF_CTRL register. All blocks except the last are required to be 512 bits in size. If the last block is not 512 bits long, only the least significant bits of data must be written, but they must be padded with 0s to the next 32-bit boundary. Host read operations from these register addresses return 0s.
Source§impl R<u32, Reg<u32, _HASH_DATA_IN_14>>
impl R<u32, Reg<u32, _HASH_DATA_IN_14>>
Sourcepub fn hash_data_in(&self) -> HASH_DATA_IN_R
pub fn hash_data_in(&self) -> HASH_DATA_IN_R
Bits 0:31 - 31:0] HASH_DATA_IN[479:448] These registers must be written with the 512-bit input data. The data lines are connected directly to the data input of the hash module and hence into the engine’s internal data buffer. Writing to each of the registers triggers a corresponding 32-bit write enable to the internal buffer. Note: The host may only write the input data buffer when the rfd_in bit of the HASH_IO_BUF_CTRL register is high. If the rfd_in bit is 0, the engine is busy with processing. During processing, it is not allowed to write new input data. For message lengths larger than 64 bytes, multiple blocks of data are written to this input buffer using a handshake through flags of the HASH_IO_BUF_CTRL register. All blocks except the last are required to be 512 bits in size. If the last block is not 512 bits long, only the least significant bits of data must be written, but they must be padded with 0s to the next 32-bit boundary. Host read operations from these register addresses return 0s.
Source§impl R<u32, Reg<u32, _HASH_DATA_IN_15>>
impl R<u32, Reg<u32, _HASH_DATA_IN_15>>
Sourcepub fn hash_data_in(&self) -> HASH_DATA_IN_R
pub fn hash_data_in(&self) -> HASH_DATA_IN_R
Bits 0:31 - 31:0] HASH_DATA_IN[511:480] These registers must be written with the 512-bit input data. The data lines are connected directly to the data input of the hash module and hence into the engine’s internal data buffer. Writing to each of the registers triggers a corresponding 32-bit write enable to the internal buffer. Note: The host may only write the input data buffer when the rfd_in bit of the HASH_IO_BUF_CTRL register is high. If the rfd_in bit is 0, the engine is busy with processing. During processing, it is not allowed to write new input data. For message lengths larger than 64 bytes, multiple blocks of data are written to this input buffer using a handshake through flags of the HASH_IO_BUF_CTRL register. All blocks except the last are required to be 512 bits in size. If the last block is not 512 bits long, only the least significant bits of data must be written, but they must be padded with 0s to the next 32-bit boundary. Host read operations from these register addresses return 0s.
Source§impl R<u32, Reg<u32, _HASH_IO_BUF_CTRL>>
impl R<u32, Reg<u32, _HASH_IO_BUF_CTRL>>
Sourcepub fn reserved1(&self) -> RESERVED1_R
pub fn reserved1(&self) -> RESERVED1_R
Bits 8:31 - 31:8] Write 0s and ignore on reading
Sourcepub fn pad_dma_message(&self) -> PAD_DMA_MESSAGE_R
pub fn pad_dma_message(&self) -> PAD_DMA_MESSAGE_R
Bit 7 - 7:7] Note: This bit must only be used when data is supplied through the DMA. It should not be used when data is supplied through the slave interface. This bit indicates whether the hash engine has to pad the message, received through the DMA and finalize the hash. When set to 1, the hash engine pads the last block using the programmed length. After padding, the final hash result is calculated. When set to 0, the hash engine treats the last written block as block-size aligned and calculates the intermediate digest. This bit is automatically cleared when the last DMA data block is arrived in the hash engine.
Sourcepub fn get_digest(&self) -> GET_DIGEST_R
pub fn get_digest(&self) -> GET_DIGEST_R
Bit 6 - 6:6] Note: The bit description below is only applicable when data is sent through the slave interface. This bit must be set to 0 when data is received through the DMA. This bit indicates whether the hash engine should provide the hash digest. When provided simultaneously with data_in_av, the hash digest is provided after processing the data that is currently in the HASH_DATA_IN register. When provided without data_in_av, the current internal digest buffer value is copied to the HASH_DIGEST_n registers. The host must write a 1 to this bit to make the intermediate hash digest available. Writing 0 to this bit has no effect. This bit is automatically cleared (that is, reads 0) when the hash engine has processed the contents of the HASH_DATA_IN register. In the period between this bit is set by the host and the actual HASH_DATA_IN processing, this bit reads 1.
Sourcepub fn pad_message(&self) -> PAD_MESSAGE_R
pub fn pad_message(&self) -> PAD_MESSAGE_R
Bit 5 - 5:5] Note: The bit description below is only applicable when data is sent through the slave interface. This bit must be set to 0 when data is received through the DMA. This bit indicates that the HASH_DATA_IN registers hold the last data of the message and hash padding must be applied. The host must write this bit to 1 in order to indicate to the hash engine that the HASH_DATA_IN register currently holds the last data of the message. When pad_message is set to 1, the hash engine will add padding bits to the data currently in the HASH_DATA_IN register. When the last message block is smaller than 512 bits, the pad_message bit must be set to 1 together with the data_in_av bit. When the last message block is equal to 512 bits, pad_message may be set together with data_in_av. In this case the pad_message bit may also be set after the last data block has been written to the hash engine (so when the rfd_in bit has become 1 again after writing the last data block). Writing 0 to this bit has no effect. This bit is automatically cleared (i.e. reads 0) by the hash engine. This bit reads 1 between the time it was set by the host and the hash engine interpreted its value.
Sourcepub fn reserved0(&self) -> RESERVED0_R
pub fn reserved0(&self) -> RESERVED0_R
Bits 3:4 - 4:3] Write 0s and ignore on reading
Sourcepub fn rfd_in(&self) -> RFD_IN_R
pub fn rfd_in(&self) -> RFD_IN_R
Bit 2 - 2:2] Note: The bit description below is only applicable when data is sent through the slave interface. This bit can be ignored when data is received through the DMA. Read-only status of the input buffer of the hash engine. When 1, the input buffer of the hash engine can accept new data; the HASH_DATA_IN registers can safely be populated with new data. When 0, the input buffer of the hash engine is processing the data that is currently in HASH_DATA_IN; writing new data to these registers is not allowed.
Sourcepub fn data_in_av(&self) -> DATA_IN_AV_R
pub fn data_in_av(&self) -> DATA_IN_AV_R
Bit 1 - 1:1] Note: The bit description below is only applicable when data is sent through the slave interface. This bit must be set to 0 when data is received through the DMA. This bit indicates that the HASH_DATA_IN registers contain new input data for processing. The host must write a 1 to this bit to start processing the data in HASH_DATA_IN; the hash engine will process the new data as soon as it is ready for it (rfd_in bit is 1). Writing 0 to this bit has no effect. This bit is automatically cleared (i.e. reads as 0) when the hash engine starts processing the HASH_DATA_IN contents. This bit reads 1 between the time it was set by the host and the hash engine actually starts processing the input data block.
Sourcepub fn output_full(&self) -> OUTPUT_FULL_R
pub fn output_full(&self) -> OUTPUT_FULL_R
Bit 0 - 0:0] Indicates that the output buffer registers (HASH_DIGEST_n) are available for reading by the host. When this bit reads 0, the output buffer registers are released; the hash engine is allowed to write new data to it. In this case, the registers should not be read by the host. When this bit reads 1, the hash engine has stored the result of the latest hash operation in the output buffer registers. As long as this bit reads 1, the host may read output buffer registers and the hash engine is prevented from writing new data to the output buffer. After retrieving the hash result data from the output buffer, the host must write a 1 to this bit to clear it. This makes the digest output buffer available for the hash engine to store new hash results. Writing 0 to this bit has no effect. Note: If this bit is asserted (1) no new operation should be started before the digest is retrieved from the hash engine and this bit is cleared (0).
Source§impl R<u32, Reg<u32, _HASH_MODE_IN>>
impl R<u32, Reg<u32, _HASH_MODE_IN>>
Sourcepub fn reserved1(&self) -> RESERVED1_R
pub fn reserved1(&self) -> RESERVED1_R
Bits 4:31 - 31:4] Write 0s and ignore on reading
Sourcepub fn sha256_mode(&self) -> SHA256_MODE_R
pub fn sha256_mode(&self) -> SHA256_MODE_R
Bit 3 - 3:3] The host must write this bit with 1 before processing a hash session.
Sourcepub fn reserved2(&self) -> RESERVED2_R
pub fn reserved2(&self) -> RESERVED2_R
Bits 1:2 - 2:1] Write 0s and ignore on reading
Sourcepub fn new_hash(&self) -> NEW_HASH_R
pub fn new_hash(&self) -> NEW_HASH_R
Bit 0 - 0:0] When set to 1, it indicates that the hash engine must start processing a new hash session. The HASH_DIGEST_n registers will automatically be loaded with the initial hash algorithm constants of the selected hash algorithm. When this bit is 0 while the hash processing is started, the initial hash algorithm constants are not loaded in the HASH_DIGEST_n registers. The hash engine will start processing with the digest that is currently in its internal HASH_DIGEST_n registers. This bit is automatically cleared when hash processing is started.
Source§impl R<u32, Reg<u32, _HASH_LENGTH_IN_L>>
impl R<u32, Reg<u32, _HASH_LENGTH_IN_L>>
Sourcepub fn length_in(&self) -> LENGTH_IN_R
pub fn length_in(&self) -> LENGTH_IN_R
Bits 0:31 - 31:0] LENGTH_IN[31:0] Message length registers. The content of these registers is used by the hash engine during the message padding phase of the hash session. The data lines of this registers are directly connected to the interface of the hash engine. For a write operation by the host, these registers should be written with the message length in bits. Final hash operations: The total input data length must be programmed for new hash operations that require finalization (padding). The input data must be provided through the slave or DMA interface. Continued hash operations (finalized): For continued hash operations that require finalization, the total message length must be programmed, including the length of previously hashed data that corresponds to the written input digest. Non-final hash operations: For hash operations that do not require finalization (input data length is multiple of 512-bits which is SHA-256 data block size), the length field does not need to be programmed since not used by the operation. If the message length in bits is below (2^32-1), then only HASH_LENGTH_IN_L needs to be written. The hardware automatically sets HASH_LENGTH_IN_H to 0s in this case. The host may write the length register at any time during the hash session when the rfd_in bit of the HASH_IO_BUF_CTRL is high. The length register must be written before the last data of the active hash session is written into the hash engine. host read operations from these register locations will return 0s. Note: When getting data from DMA, this register must be programmed before DMA is programmed to start.
Source§impl R<u32, Reg<u32, _HASH_LENGTH_IN_H>>
impl R<u32, Reg<u32, _HASH_LENGTH_IN_H>>
Sourcepub fn length_in(&self) -> LENGTH_IN_R
pub fn length_in(&self) -> LENGTH_IN_R
Bits 0:31 - 31:0] LENGTH_IN[63:32] Message length registers. The content of these registers is used by the hash engine during the message padding phase of the hash session. The data lines of this registers are directly connected to the interface of the hash engine. For a write operation by the host, these registers should be written with the message length in bits. Final hash operations: The total input data length must be programmed for new hash operations that require finalization (padding). The input data must be provided through the slave or DMA interface. Continued hash operations (finalized): For continued hash operations that require finalization, the total message length must be programmed, including the length of previously hashed data that corresponds to the written input digest. Non-final hash operations: For hash operations that do not require finalization (input data length is multiple of 512-bits which is SHA-256 data block size), the length field does not need to be programmed since not used by the operation. If the message length in bits is below (2^32-1), then only HASH_LENGTH_IN_L needs to be written. The hardware automatically sets HASH_LENGTH_IN_H to 0s in this case. The host may write the length register at any time during the hash session when the rfd_in bit of the HASH_IO_BUF_CTRL is high. The length register must be written before the last data of the active hash session is written into the hash engine. host read operations from these register locations will return 0s. Note: When getting data from DMA, this register must be programmed before DMA is programmed to start.
Source§impl R<u32, Reg<u32, _HASH_DIGEST_A>>
impl R<u32, Reg<u32, _HASH_DIGEST_A>>
Sourcepub fn hash_digest(&self) -> HASH_DIGEST_R
pub fn hash_digest(&self) -> HASH_DIGEST_R
Bits 0:31 - 31:0] HASH_DIGEST[31:0] Hash digest registers Write operation: Continued hash: These registers should be written with the context data, before the start of a resumed hash session (the new_hash bit in the HASH_MODE register is 0 when starting a hash session). New hash: When initiating a new hash session (the new_hash bit in the HASH_MODE register is high), the internal digest registers are automatically set to the SHA-256 algorithm constant and these register should not be written. Reading from these registers provides the intermediate hash result (non-final hash operation) or the final hash result (final hash operation) after data processing.
Source§impl R<u32, Reg<u32, _HASH_DIGEST_B>>
impl R<u32, Reg<u32, _HASH_DIGEST_B>>
Sourcepub fn hash_digest(&self) -> HASH_DIGEST_R
pub fn hash_digest(&self) -> HASH_DIGEST_R
Bits 0:31 - 31:0] HASH_DIGEST[63:32] Hash digest registers Write operation: Continued hash: These registers should be written with the context data, before the start of a resumed hash session (the new_hash bit in the HASH_MODE register is 0 when starting a hash session). New hash: When initiating a new hash session (the new_hash bit in the HASH_MODE register is high), the internal digest registers are automatically set to the SHA-256 algorithm constant and these register should not be written. Reading from these registers provides the intermediate hash result (non-final hash operation) or the final hash result (final hash operation) after data processing.
Source§impl R<u32, Reg<u32, _HASH_DIGEST_C>>
impl R<u32, Reg<u32, _HASH_DIGEST_C>>
Sourcepub fn hash_digest(&self) -> HASH_DIGEST_R
pub fn hash_digest(&self) -> HASH_DIGEST_R
Bits 0:31 - 31:0] HASH_DIGEST[95:64] Hash digest registers Write operation: Continued hash: These registers should be written with the context data, before the start of a resumed hash session (the new_hash bit in the HASH_MODE register is 0 when starting a hash session). New hash: When initiating a new hash session (the new_hash bit in the HASH_MODE register is high), the internal digest registers are automatically set to the SHA-256 algorithm constant and these register should not be written. Reading from these registers provides the intermediate hash result (non-final hash operation) or the final hash result (final hash operation) after data processing.
Source§impl R<u32, Reg<u32, _HASH_DIGEST_D>>
impl R<u32, Reg<u32, _HASH_DIGEST_D>>
Sourcepub fn hash_digest(&self) -> HASH_DIGEST_R
pub fn hash_digest(&self) -> HASH_DIGEST_R
Bits 0:31 - 31:0] HASH_DIGEST[127:96] Hash digest registers Write operation: Continued hash: These registers should be written with the context data, before the start of a resumed hash session (the new_hash bit in the HASH_MODE register is 0 when starting a hash session). New hash: When initiating a new hash session (the new_hash bit in the HASH_MODE register is high), the internal digest registers are automatically set to the SHA-256 algorithm constant and these register should not be written. Reading from these registers provides the intermediate hash result (non-final hash operation) or the final hash result (final hash operation) after data processing.
Source§impl R<u32, Reg<u32, _HASH_DIGEST_E>>
impl R<u32, Reg<u32, _HASH_DIGEST_E>>
Sourcepub fn hash_digest(&self) -> HASH_DIGEST_R
pub fn hash_digest(&self) -> HASH_DIGEST_R
Bits 0:31 - 31:0] HASH_DIGEST[159:128] Hash digest registers Write operation: Continued hash: These registers should be written with the context data, before the start of a resumed hash session (the new_hash bit in the HASH_MODE register is 0 when starting a hash session). New hash: When initiating a new hash session (the new_hash bit in the HASH_MODE register is high), the internal digest registers are automatically set to the SHA-256 algorithm constant and these register should not be written. Reading from these registers provides the intermediate hash result (non-final hash operation) or the final hash result (final hash operation) after data processing.
Source§impl R<u32, Reg<u32, _HASH_DIGEST_F>>
impl R<u32, Reg<u32, _HASH_DIGEST_F>>
Sourcepub fn hash_digest(&self) -> HASH_DIGEST_R
pub fn hash_digest(&self) -> HASH_DIGEST_R
Bits 0:31 - 31:0] HASH_DIGEST[191:160] Hash digest registers Write operation: Continued hash: These registers should be written with the context data, before the start of a resumed hash session (the new_hash bit in the HASH_MODE register is 0 when starting a hash session). New hash: When initiating a new hash session (the new_hash bit in the HASH_MODE register is high), the internal digest registers are automatically set to the SHA-256 algorithm constant and these register should not be written. Reading from these registers provides the intermediate hash result (non-final hash operation) or the final hash result (final hash operation) after data processing.
Source§impl R<u32, Reg<u32, _HASH_DIGEST_G>>
impl R<u32, Reg<u32, _HASH_DIGEST_G>>
Sourcepub fn hash_digest(&self) -> HASH_DIGEST_R
pub fn hash_digest(&self) -> HASH_DIGEST_R
Bits 0:31 - 31:0] HASH_DIGEST[223:192] Hash digest registers Write operation: Continued hash: These registers should be written with the context data, before the start of a resumed hash session (the new_hash bit in the HASH_MODE register is 0 when starting a hash session). New hash: When initiating a new hash session (the new_hash bit in the HASH_MODE register is high), the internal digest registers are automatically set to the SHA-256 algorithm constant and these register should not be written. Reading from these registers provides the intermediate hash result (non-final hash operation) or the final hash result (final hash operation) after data processing.
Source§impl R<u32, Reg<u32, _HASH_DIGEST_H>>
impl R<u32, Reg<u32, _HASH_DIGEST_H>>
Sourcepub fn hash_digest(&self) -> HASH_DIGEST_R
pub fn hash_digest(&self) -> HASH_DIGEST_R
Bits 0:31 - 31:0] HASH_DIGEST[255:224] Hash digest registers Write operation: Continued hash: These registers should be written with the context data, before the start of a resumed hash session (the new_hash bit in the HASH_MODE register is 0 when starting a hash session). New hash: When initiating a new hash session (the new_hash bit in the HASH_MODE register is high), the internal digest registers are automatically set to the SHA-256 algorithm constant and these register should not be written. Reading from these registers provides the intermediate hash result (non-final hash operation) or the final hash result (final hash operation) after data processing.
Source§impl R<u32, Reg<u32, _CTRL_ALG_SEL>>
impl R<u32, Reg<u32, _CTRL_ALG_SEL>>
Sourcepub fn tag(&self) -> TAG_R
pub fn tag(&self) -> TAG_R
Bit 31 - 31:31] If this bit is cleared to 0, the DMA operation involves only data. If this bit is set, the DMA operation includes a TAG (Authentication Result / Digest). For SHA-256 operation, a DMA must be set up for both input data and TAG. For any other selected module, setting this bit only allows a DMA that reads the TAG. No data allowed to be transferred to or from the selected module via the DMA.
Sourcepub fn reserved28(&self) -> RESERVED28_R
pub fn reserved28(&self) -> RESERVED28_R
Bits 3:30 - 30:3] Bits should be written with 0s and ignored on read.
Sourcepub fn hash(&self) -> HASH_R
pub fn hash(&self) -> HASH_R
Bit 2 - 2:2] If set to one, selects the hash engine as destination for the DMA The maximum transfer size to DMA engine is set to 64 bytes for reading and 32 bytes for writing (the latter is only applicable if the hash result is written out through the DMA).
Sourcepub fn aes(&self) -> AES_R
pub fn aes(&self) -> AES_R
Bit 1 - 1:1] If set to one, selects the AES engine as source/destination for the DMA The read and write maximum transfer size to the DMA engine is set to 16 bytes.
Sourcepub fn keystore(&self) -> KEYSTORE_R
pub fn keystore(&self) -> KEYSTORE_R
Bit 0 - 0:0] If set to one, selects the Key Store as destination for the DMA The maximum transfer size to DMA engine is set to 32 bytes (however transfers of 16, 24 and 32 bytes are allowed)
Source§impl R<u32, Reg<u32, _CTRL_PROT_EN>>
impl R<u32, Reg<u32, _CTRL_PROT_EN>>
Sourcepub fn reserved31(&self) -> RESERVED31_R
pub fn reserved31(&self) -> RESERVED31_R
Bits 1:31 - 31:1] Bits should be written with 0s and ignored on read.
Sourcepub fn prot_en(&self) -> PROT_EN_R
pub fn prot_en(&self) -> PROT_EN_R
Bit 0 - 0:0] If this bit is cleared to 0, m_h_prot[1] on the AHB mater interface always remains 0. If this bit is set to one, the m_h_prot[1] signal on the master AHB bus is asserted to 1 if an AHB read operation is performed, using DMA, with the key store module as destination.
Source§impl R<u32, Reg<u32, _CTRL_SW_RESET>>
impl R<u32, Reg<u32, _CTRL_SW_RESET>>
Sourcepub fn reserved31(&self) -> RESERVED31_R
pub fn reserved31(&self) -> RESERVED31_R
Bits 1:31 - 31:1] Bits should be written with 0s and ignored on read.
Sourcepub fn sw_reset(&self) -> SW_RESET_R
pub fn sw_reset(&self) -> SW_RESET_R
Bit 0 - 0:0] If this bit is set to 1, the following modules are reset: - Master control internal state is reset. That includes interrupt, error status register, and result available interrupt generation FSM. - Key store module state is reset. That includes clearing the written area flags; therefore, the keys must be reloaded to the key store module. Writing 0 has no effect. The bit is self cleared after executing the reset.
Source§impl R<u32, Reg<u32, _CTRL_INT_CFG>>
impl R<u32, Reg<u32, _CTRL_INT_CFG>>
Sourcepub fn reserved31(&self) -> RESERVED31_R
pub fn reserved31(&self) -> RESERVED31_R
Bits 1:31 - 31:1] Bits should be written with 0s and ignored on read.
Source§impl R<u32, Reg<u32, _CTRL_INT_EN>>
impl R<u32, Reg<u32, _CTRL_INT_EN>>
Sourcepub fn reserved30(&self) -> RESERVED30_R
pub fn reserved30(&self) -> RESERVED30_R
Bits 2:31 - 31:2] Bits should be written with 0s and ignored on read.
Sourcepub fn dma_in_done(&self) -> DMA_IN_DONE_R
pub fn dma_in_done(&self) -> DMA_IN_DONE_R
Bit 1 - 1:1] If this bit is set to 0, the DMA input done (irq_dma_in_done) interrupt output is disabled and remains 0. If this bit is set to 1, the DMA input done interrupt output is enabled.
Sourcepub fn result_av(&self) -> RESULT_AV_R
pub fn result_av(&self) -> RESULT_AV_R
Bit 0 - 0:0] If this bit is set to 0, the result available (irq_result_av) interrupt output is disabled and remains 0. If this bit is set to 1, the result available interrupt output is enabled.
Source§impl R<u32, Reg<u32, _CTRL_INT_CLR>>
impl R<u32, Reg<u32, _CTRL_INT_CLR>>
Sourcepub fn dma_bus_err(&self) -> DMA_BUS_ERR_R
pub fn dma_bus_err(&self) -> DMA_BUS_ERR_R
Bit 31 - 31:31] If 1 is written to this bit, the DMA bus error status is cleared. Writing 0 has no effect.
Sourcepub fn key_st_wr_err(&self) -> KEY_ST_WR_ERR_R
pub fn key_st_wr_err(&self) -> KEY_ST_WR_ERR_R
Bit 30 - 30:30] If 1 is written to this bit, the key store write error status is cleared. Writing 0 has no effect.
Sourcepub fn key_st_rd_err(&self) -> KEY_ST_RD_ERR_R
pub fn key_st_rd_err(&self) -> KEY_ST_RD_ERR_R
Bit 29 - 29:29] If 1 is written to this bit, the key store read error status is cleared. Writing 0 has no effect.
Sourcepub fn reserved27(&self) -> RESERVED27_R
pub fn reserved27(&self) -> RESERVED27_R
Bits 2:28 - 28:2] Bits should be written with 0s and ignored on read.
Sourcepub fn dma_in_done(&self) -> DMA_IN_DONE_R
pub fn dma_in_done(&self) -> DMA_IN_DONE_R
Bit 1 - 1:1] If 1 is written to this bit, the DMA in done (irq_dma_in_done) interrupt output is cleared. Writing 0 has no effect. Note that clearing an interrupt makes sense only if the interrupt output is programmed as level (refer to CTRL_INT_CFG).
Sourcepub fn result_av(&self) -> RESULT_AV_R
pub fn result_av(&self) -> RESULT_AV_R
Bit 0 - 0:0] If 1 is written to this bit, the result available (irq_result_av) interrupt output is cleared. Writing 0 has no effect. Note that clearing an interrupt makes sense only if the interrupt output is programmed as level (refer to CTRL_INT_CFG).
Source§impl R<u32, Reg<u32, _CTRL_INT_SET>>
impl R<u32, Reg<u32, _CTRL_INT_SET>>
Sourcepub fn reserved30(&self) -> RESERVED30_R
pub fn reserved30(&self) -> RESERVED30_R
Bits 2:31 - 31:2] Bits should be written with 0s and ignored on read.
Sourcepub fn dma_in_done(&self) -> DMA_IN_DONE_R
pub fn dma_in_done(&self) -> DMA_IN_DONE_R
Bit 1 - 1:1] If 1 is written to this bit, the DMA data in done (irq_dma_in_done) interrupt output is set to one. Writing 0 has no effect. If the interrupt configuration register is programmed to pulse, clearing the DMA data in done (irq_dma_in_done) interrupt is not needed. If it is programmed to level, clearing the interrupt output should be done by writing the interrupt clear register (CTRL_INT_CLR).
Sourcepub fn result_av(&self) -> RESULT_AV_R
pub fn result_av(&self) -> RESULT_AV_R
Bit 0 - 0:0] If 1 is written to this bit, the result available (irq_result_av) interrupt output is set to one. Writing 0 has no effect. If the interrupt configuration register is programmed to pulse, clearing the result available (irq_result_av) interrupt is not needed. If it is programmed to level, clearing the interrupt output should be done by writing the interrupt clear register (CTRL_INT_CLR).
Source§impl R<u32, Reg<u32, _CTRL_INT_STAT>>
impl R<u32, Reg<u32, _CTRL_INT_STAT>>
Sourcepub fn dma_bus_err(&self) -> DMA_BUS_ERR_R
pub fn dma_bus_err(&self) -> DMA_BUS_ERR_R
Bit 31 - 31:31] This bit is set when a DMA bus error is detected during a DMA operation. The value of this register is held until it is cleared through the CTRL_INT_CLR register. Note: This error is asserted if an error is detected on the AHB master interface during a DMA operation.
Sourcepub fn key_st_wr_err(&self) -> KEY_ST_WR_ERR_R
pub fn key_st_wr_err(&self) -> KEY_ST_WR_ERR_R
Bit 30 - 30:30] This bit is set when a write error is detected during the DMA write operation to the key store memory. The value of this register is held until it is cleared through the CTRL_INT_CLR register. Note: This error is asserted if a DMA operation does not cover a full key area or more areas are written than expected.
Sourcepub fn key_st_rd_err(&self) -> KEY_ST_RD_ERR_R
pub fn key_st_rd_err(&self) -> KEY_ST_RD_ERR_R
Bit 29 - 29:29] This bit is set when a read error is detected during the read of a key from the key store, while copying it to the AES core. The value of this register is held until it is cleared through the CTRL_INT_CLR register. Note: This error is asserted if a key location is selected in the key store that is not available.
Sourcepub fn reserved27(&self) -> RESERVED27_R
pub fn reserved27(&self) -> RESERVED27_R
Bits 2:28 - 28:2] Bits should be ignored
Sourcepub fn dma_in_done(&self) -> DMA_IN_DONE_R
pub fn dma_in_done(&self) -> DMA_IN_DONE_R
Bit 1 - 1:1] This read only bit returns the actual DMA data in done (irq_data_in_done) interrupt status of the DMA data in done interrupt output pin (irq_data_in_done).
Sourcepub fn result_av(&self) -> RESULT_AV_R
pub fn result_av(&self) -> RESULT_AV_R
Bit 0 - 0:0] This read only bit returns the actual result available (irq_result_av) interrupt status of the result available interrupt output pin (irq_result_av).
Source§impl R<u32, Reg<u32, _CTRL_OPTIONS>>
impl R<u32, Reg<u32, _CTRL_OPTIONS>>
Sourcepub fn reserved7(&self) -> RESERVED7_R
pub fn reserved7(&self) -> RESERVED7_R
Bits 17:23 - 23:17] Bits should be ignored
Sourcepub fn ahbinterface(&self) -> AHBINTERFACE_R
pub fn ahbinterface(&self) -> AHBINTERFACE_R
Bit 16 - 16:16] AHB interface is available If this bit is 0, the EIP-120t has a TCM interface.
Sourcepub fn reserved1(&self) -> RESERVED1_R
pub fn reserved1(&self) -> RESERVED1_R
Bits 9:15 - 15:9] Bits should be ignored
Sourcepub fn aes_256(&self) -> AES_256_R
pub fn aes_256(&self) -> AES_256_R
Bit 5 - 5:5] AES core supports 256-bit keys Note: If both AES-128 and AES-256 are set to one, the AES core supports 192-bit keys as well.
Sourcepub fn reserved2(&self) -> RESERVED2_R
pub fn reserved2(&self) -> RESERVED2_R
Bit 3 - 3:3] Bit should be ignored
Sourcepub fn keystore(&self) -> KEYSTORE_R
pub fn keystore(&self) -> KEYSTORE_R
Bit 0 - 0:0] KEY STORE is available.
Source§impl R<u32, Reg<u32, _CTRL_VERSION>>
impl R<u32, Reg<u32, _CTRL_VERSION>>
Sourcepub fn reserved1(&self) -> RESERVED1_R
pub fn reserved1(&self) -> RESERVED1_R
Bits 28:31 - 31:28] Bit should be ignored
Sourcepub fn major_version(&self) -> MAJOR_VERSION_R
pub fn major_version(&self) -> MAJOR_VERSION_R
Bits 24:27 - 27:24] Major version number
Sourcepub fn minor_version(&self) -> MINOR_VERSION_R
pub fn minor_version(&self) -> MINOR_VERSION_R
Bits 20:23 - 23:20] Minor version number
Sourcepub fn patch_level(&self) -> PATCH_LEVEL_R
pub fn patch_level(&self) -> PATCH_LEVEL_R
Bits 16:19 - 19:16] Patch level Starts at 0 at first delivery of this version
Sourcepub fn eip_number_compl(&self) -> EIP_NUMBER_COMPL_R
pub fn eip_number_compl(&self) -> EIP_NUMBER_COMPL_R
Bits 8:15 - 15:8] These bits simply contain the complement of bits [7:0] (0x87), used by a driver to ascertain that the EIP-120t register is indeed read.
Sourcepub fn eip_number(&self) -> EIP_NUMBER_R
pub fn eip_number(&self) -> EIP_NUMBER_R
Bits 0:7 - 7:0] These bits encode the EIP number for the EIP-120t, this field contains the value 120 (decimal) or 0x78.
Source§impl R<u32, Reg<u32, _CLOCK_CTRL>>
impl R<u32, Reg<u32, _CLOCK_CTRL>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 26:31 - 31:26] This register is 8 bits in a 32-bit address space.
Sourcepub fn osc32k_caldis(&self) -> OSC32K_CALDIS_R
pub fn osc32k_caldis(&self) -> OSC32K_CALDIS_R
Bit 25 - 25:25] Disable calibration 32-kHz RC oscillator. 0: Enable calibration 1: Disable calibration
Sourcepub fn osc32k(&self) -> OSC32K_R
pub fn osc32k(&self) -> OSC32K_R
Bit 24 - 24:24] 32-kHz clock oscillator selection 0: 32-kHz crystal oscillator 1: 32-kHz RC oscillator
Sourcepub fn reserved24(&self) -> RESERVED24_R
pub fn reserved24(&self) -> RESERVED24_R
Bits 22:23 - 23:22] Reserved. Always read 0.
Sourcepub fn amp_det(&self) -> AMP_DET_R
pub fn amp_det(&self) -> AMP_DET_R
Bit 21 - 21:21] Amplitude detector of XOSC during power up 0: No action 1: Delay qualification of XOSC until amplitude is greater than the threshold.
Sourcepub fn reserved21(&self) -> RESERVED21_R
pub fn reserved21(&self) -> RESERVED21_R
Bits 18:20 - 20:18] Reserved. Always read 0.
Sourcepub fn osc_pd(&self) -> OSC_PD_R
pub fn osc_pd(&self) -> OSC_PD_R
Bit 17 - 17:17] 0: Power up both oscillators 1: Power down oscillator not selected by OSC bit (hardware-controlled when selected).
Sourcepub fn osc(&self) -> OSC_R
pub fn osc(&self) -> OSC_R
Bit 16 - 16:16] System clock oscillator selection 0: 32-MHz crystal oscillator 1: 16-MHz HF-RC oscillator
Sourcepub fn reserved16(&self) -> RESERVED16_R
pub fn reserved16(&self) -> RESERVED16_R
Bits 11:15 - 15:11] Reserved. Always read 0.
Sourcepub fn io_div(&self) -> IO_DIV_R
pub fn io_div(&self) -> IO_DIV_R
Bits 8:10 - 10:8] I/O clock rate setting Cannot be higher than OSC setting 000: 32 MHz 001: 16 MHz 010: 8 MHz 011: 4 MHz 100: 2 MHz 101: 1 MHz 110: 0.5 MHz 111: 0.25 MHz
Sourcepub fn reserved8(&self) -> RESERVED8_R
pub fn reserved8(&self) -> RESERVED8_R
Bits 6:7 - 7:6] Reserved. Always read 0.
Sourcepub fn reserved5(&self) -> RESERVED5_R
pub fn reserved5(&self) -> RESERVED5_R
Bit 5 - 5:5] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Sourcepub fn reserved3(&self) -> RESERVED3_R
pub fn reserved3(&self) -> RESERVED3_R
Bits 3:4 - 4:3] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Source§impl R<u32, Reg<u32, _CLOCK_STA>>
impl R<u32, Reg<u32, _CLOCK_STA>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 27:31 - 31:27] This register is 8 bits in a 32-bit address space.
Sourcepub fn sync_32k(&self) -> SYNC_32K_R
pub fn sync_32k(&self) -> SYNC_32K_R
Bit 26 - 26:26] 32-kHz clock source synced to undivided system clock (16 or 32 MHz).
Sourcepub fn osc32k_caldis(&self) -> OSC32K_CALDIS_R
pub fn osc32k_caldis(&self) -> OSC32K_CALDIS_R
Bit 25 - 25:25] Disable calibration 32-kHz RC oscillator. 0: Calibration enabled 1: Calibration disabled
Sourcepub fn osc32k(&self) -> OSC32K_R
pub fn osc32k(&self) -> OSC32K_R
Bit 24 - 24:24] Current 32-kHz clock oscillator selected. 0: 32-kHz crystal oscillator 1: 32-kHz RC oscillator
Sourcepub fn rst(&self) -> RST_R
pub fn rst(&self) -> RST_R
Bits 22:23 - 23:22] Returns last source of reset 00: POR 01: External reset 10: WDT 11: CLD or software reset
Sourcepub fn reserved22(&self) -> RESERVED22_R
pub fn reserved22(&self) -> RESERVED22_R
Bit 21 - 21:21] Reserved. Always read 0.
Sourcepub fn source_change(&self) -> SOURCE_CHANGE_R
pub fn source_change(&self) -> SOURCE_CHANGE_R
Bit 20 - 20:20] 0: System clock is not requested to change. 1: A change of system clock source has been initiated and is not finished. Same as when OSC bit in CLOCK_STA and CLOCK_CTRL register are not equal
Sourcepub fn xosc_stb(&self) -> XOSC_STB_R
pub fn xosc_stb(&self) -> XOSC_STB_R
Bit 19 - 19:19] XOSC stable status 0: XOSC is not powered up or not yet stable. 1: XOSC is powered up and stable.
Sourcepub fn hsosc_stb(&self) -> HSOSC_STB_R
pub fn hsosc_stb(&self) -> HSOSC_STB_R
Bit 18 - 18:18] HSOSC stable status 0: HSOSC is not powered up or not yet stable. 1: HSOSC is powered up and stable.
Sourcepub fn osc_pd(&self) -> OSC_PD_R
pub fn osc_pd(&self) -> OSC_PD_R
Bit 17 - 17:17] 0: Both oscillators powered up and stable and OSC_PD_CMD = 0. 1: Oscillator not selected by CLOCK_CTRL.OSC bit is powered down.
Sourcepub fn osc(&self) -> OSC_R
pub fn osc(&self) -> OSC_R
Bit 16 - 16:16] Current clock source selected 0: 32-MHz crystal oscillator 1: 16-MHz HF-RC oscillator
Sourcepub fn reserved16(&self) -> RESERVED16_R
pub fn reserved16(&self) -> RESERVED16_R
Bits 11:15 - 15:11] Reserved. Always read 0.
Sourcepub fn io_div(&self) -> IO_DIV_R
pub fn io_div(&self) -> IO_DIV_R
Bits 8:10 - 10:8] Returns current functional frequency for IO_CLK (may differ from setting in the CLOCK_CTRL register) 000: 32 MHz 001: 16 MHz 010: 8 MHz 011: 4 MHz 100: 2 MHz 101: 1 MHz 110: 0.5 MHz 111: 0.25 MHz
Sourcepub fn reserved8(&self) -> RESERVED8_R
pub fn reserved8(&self) -> RESERVED8_R
Bits 5:7 - 7:5] Reserved. Always read 0.
Sourcepub fn rtclk_freq(&self) -> RTCLK_FREQ_R
pub fn rtclk_freq(&self) -> RTCLK_FREQ_R
Bits 3:4 - 4:3] Returns current functional frequency for real-time clock. (may differ from setting in the CLOCK_CTRL register) 1x : 8 MHz 01: 2 MHz 00: 62.5 kHz
Source§impl R<u32, Reg<u32, _RCGCGPT>>
impl R<u32, Reg<u32, _RCGCGPT>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 4:31 - 31:4] This register is 8 bits in a 32-bit address space.
Sourcepub fn gpt3(&self) -> GPT3_R
pub fn gpt3(&self) -> GPT3_R
Bit 3 - 3:3] 0: Clock for GPT3 is gated. 1: Clock for GPT3 is enabled.
Sourcepub fn gpt2(&self) -> GPT2_R
pub fn gpt2(&self) -> GPT2_R
Bit 2 - 2:2] 0: Clock for GPT2 is gated. 1: Clock for GPT2 is enabled.
Source§impl R<u32, Reg<u32, _SCGCGPT>>
impl R<u32, Reg<u32, _SCGCGPT>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 4:31 - 31:4] This register is 8 bits in a 32-bit address space.
Sourcepub fn gpt3(&self) -> GPT3_R
pub fn gpt3(&self) -> GPT3_R
Bit 3 - 3:3] 0: Clock for GPT3 is gated. 1: Clock for GPT3 is enabled.
Sourcepub fn gpt2(&self) -> GPT2_R
pub fn gpt2(&self) -> GPT2_R
Bit 2 - 2:2] 0: Clock for GPT2 is gated. 1: Clock for GPT2 is enabled.
Source§impl R<u32, Reg<u32, _DCGCGPT>>
impl R<u32, Reg<u32, _DCGCGPT>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 4:31 - 31:4] This register is 8 bits in a 32-bit address space.
Sourcepub fn gpt3(&self) -> GPT3_R
pub fn gpt3(&self) -> GPT3_R
Bit 3 - 3:3] 0: Clock for GPT3 is gated. 1: Clock for GPT3 is enabled.
Sourcepub fn gpt2(&self) -> GPT2_R
pub fn gpt2(&self) -> GPT2_R
Bit 2 - 2:2] 0: Clock for GPT2 is gated. 1: Clock for GPT2 is enabled.
Source§impl R<u32, Reg<u32, _SRGPT>>
impl R<u32, Reg<u32, _SRGPT>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 4:31 - 31:4] This register is 8 bits in a 32-bit address space.
Source§impl R<u32, Reg<u32, _RCGCSSI>>
impl R<u32, Reg<u32, _RCGCSSI>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 2:31 - 31:2] This register is 8 bits in a 32-bit address space.
Source§impl R<u32, Reg<u32, _SCGCSSI>>
impl R<u32, Reg<u32, _SCGCSSI>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 2:31 - 31:2] This register is 8 bits in a 32-bit address space.
Source§impl R<u32, Reg<u32, _DCGCSSI>>
impl R<u32, Reg<u32, _DCGCSSI>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 2:31 - 31:2] This register is 8 bits in a 32-bit address space.
Source§impl R<u32, Reg<u32, _SRSSI>>
impl R<u32, Reg<u32, _SRSSI>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 2:31 - 31:2] This register is 8 bits in a 32-bit address space.
Source§impl R<u32, Reg<u32, _RCGCUART>>
impl R<u32, Reg<u32, _RCGCUART>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 2:31 - 31:2] This register is 8 bits in a 32-bit address space.
Source§impl R<u32, Reg<u32, _SCGCUART>>
impl R<u32, Reg<u32, _SCGCUART>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 2:31 - 31:2] This register is 8 bits in a 32-bit address space.
Source§impl R<u32, Reg<u32, _DCGCUART>>
impl R<u32, Reg<u32, _DCGCUART>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 2:31 - 31:2] This register is 8 bits in a 32-bit address space.
Source§impl R<u32, Reg<u32, _SRUART>>
impl R<u32, Reg<u32, _SRUART>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 2:31 - 31:2] This register is 8 bits in a 32-bit address space.
Source§impl R<u32, Reg<u32, _RCGCI2C>>
impl R<u32, Reg<u32, _RCGCI2C>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 1:31 - 31:1] This register is 8 bits in a 32-bit address space.
Source§impl R<u32, Reg<u32, _SCGCI2C>>
impl R<u32, Reg<u32, _SCGCI2C>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 1:31 - 31:1] This register is 8 bits in a 32-bit address space.
Source§impl R<u32, Reg<u32, _DCGCI2C>>
impl R<u32, Reg<u32, _DCGCI2C>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 1:31 - 31:1] This register is 8 bits in a 32-bit address space.
Source§impl R<u32, Reg<u32, _SRI2C>>
impl R<u32, Reg<u32, _SRI2C>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 1:31 - 31:1] This register is 8 bits in a 32-bit address space.
Source§impl R<u32, Reg<u32, _RCGCSEC>>
impl R<u32, Reg<u32, _RCGCSEC>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 2:31 - 31:2] This register is 8 bits in a 32-bit address space.
Source§impl R<u32, Reg<u32, _SCGCSEC>>
impl R<u32, Reg<u32, _SCGCSEC>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 2:31 - 31:2] This register is 8 bits in a 32-bit address space.
Source§impl R<u32, Reg<u32, _DCGCSEC>>
impl R<u32, Reg<u32, _DCGCSEC>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 2:31 - 31:2] This register is 8 bits in a 32-bit address space.
Source§impl R<u32, Reg<u32, _SRSEC>>
impl R<u32, Reg<u32, _SRSEC>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 2:31 - 31:2] This register is 8 bits in a 32-bit address space.
Source§impl R<u32, Reg<u32, _PMCTL>>
impl R<u32, Reg<u32, _PMCTL>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 2:31 - 31:2] This register is 8 bits in a 32-bit address space.
Source§impl R<u32, Reg<u32, _SRCRC>>
impl R<u32, Reg<u32, _SRCRC>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 13:31 - 31:13] This register is 8 bits in a 32-bit address space.
Sourcepub fn reserved12(&self) -> RESERVED12_R
pub fn reserved12(&self) -> RESERVED12_R
Bit 12 - 12:12] Reserved
Sourcepub fn reserved10(&self) -> RESERVED10_R
pub fn reserved10(&self) -> RESERVED10_R
Bits 10:11 - 11:10] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Sourcepub fn reserved9(&self) -> RESERVED9_R
pub fn reserved9(&self) -> RESERVED9_R
Bit 9 - 9:9] Reserved
Sourcepub fn crc_ren_usb(&self) -> CRC_REN_USB_R
pub fn crc_ren_usb(&self) -> CRC_REN_USB_R
Bit 8 - 8:8] 1: Enable reset of chip if CRC fails. 0: Disable reset feature of chip due to CRC.
Sourcepub fn reserved8(&self) -> RESERVED8_R
pub fn reserved8(&self) -> RESERVED8_R
Bits 5:7 - 7:5] Reserved
Sourcepub fn reserved4(&self) -> RESERVED4_R
pub fn reserved4(&self) -> RESERVED4_R
Bit 4 - 4:4] Reserved
Sourcepub fn reserved2(&self) -> RESERVED2_R
pub fn reserved2(&self) -> RESERVED2_R
Bits 2:3 - 3:2] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Sourcepub fn reserved1(&self) -> RESERVED1_R
pub fn reserved1(&self) -> RESERVED1_R
Bit 1 - 1:1] Reserved
Sourcepub fn crc_ren_rf(&self) -> CRC_REN_RF_R
pub fn crc_ren_rf(&self) -> CRC_REN_RF_R
Bit 0 - 0:0] 1: Enable reset of chip if CRC fails. 0: Disable reset feature of chip due to CRC.
Source§impl R<u32, Reg<u32, _PWRDBG>>
impl R<u32, Reg<u32, _PWRDBG>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 4:31 - 31:4] This register is 8 bits in a 32-bit address space.
Sourcepub fn force_warm_reset(&self) -> FORCE_WARM_RESET_R
pub fn force_warm_reset(&self) -> FORCE_WARM_RESET_R
Bit 3 - 3:3] 0: No action 1: When written high, the chip is reset in the same manner as a CLD event and is readable from the RST field in the CLOCK_STA register.
Sourcepub fn reserved2(&self) -> RESERVED2_R
pub fn reserved2(&self) -> RESERVED2_R
Bit 2 - 2:2] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Sourcepub fn reserved1(&self) -> RESERVED1_R
pub fn reserved1(&self) -> RESERVED1_R
Bit 1 - 1:1] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Source§impl R<u32, Reg<u32, _CLD>>
impl R<u32, Reg<u32, _CLD>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 9:31 - 31:9] This register is 8 bits in a 32-bit address space.
Sourcepub fn valid(&self) -> VALID_R
pub fn valid(&self) -> VALID_R
Bit 8 - 8:8] 0: CLD status in always-on domain is not equal to status in the EN register. 1: CLD status in always-on domain and EN register are equal.
Sourcepub fn reserved8(&self) -> RESERVED8_R
pub fn reserved8(&self) -> RESERVED8_R
Bits 1:7 - 7:1] Reserved. Always read zero
Source§impl R<u32, Reg<u32, _IWE>>
impl R<u32, Reg<u32, _IWE>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 6:31 - 31:6] This register is 8 bits in a 32-bit address space.
Sourcepub fn sm_timer_iwe(&self) -> SM_TIMER_IWE_R
pub fn sm_timer_iwe(&self) -> SM_TIMER_IWE_R
Bit 5 - 5:5] 1: Enable SM Timer wake-up interrupt. 0: Disable SM Timer wake-up interrupt.
Sourcepub fn usb_iwe(&self) -> USB_IWE_R
pub fn usb_iwe(&self) -> USB_IWE_R
Bit 4 - 4:4] 1: Enable USB wake-up interrupt. 0: Disable USB wake-up interrupt.
Sourcepub fn port_d_iwe(&self) -> PORT_D_IWE_R
pub fn port_d_iwe(&self) -> PORT_D_IWE_R
Bit 3 - 3:3] 1: Enable port D wake-up interrupt. 0: Disable port D wake-up interrupt.
Sourcepub fn port_c_iwe(&self) -> PORT_C_IWE_R
pub fn port_c_iwe(&self) -> PORT_C_IWE_R
Bit 2 - 2:2] 1: Enable port C wake-up interrupt. 0: Disable port C wake-up interrupt.
Sourcepub fn port_b_iwe(&self) -> PORT_B_IWE_R
pub fn port_b_iwe(&self) -> PORT_B_IWE_R
Bit 1 - 1:1] 1: Enable port B wake-up interrupt. 0: Disable port B wake-up interrupt.
Sourcepub fn port_a_iwe(&self) -> PORT_A_IWE_R
pub fn port_a_iwe(&self) -> PORT_A_IWE_R
Bit 0 - 0:0] 1: Enable port A wake-up interrupt. 0: Disable port A wake-up interrupt.
Source§impl R<u32, Reg<u32, _I_MAP>>
impl R<u32, Reg<u32, _I_MAP>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 1:31 - 31:1] This register is 8 bits in a 32-bit address space.
Source§impl R<u32, Reg<u32, _RCGCRFC>>
impl R<u32, Reg<u32, _RCGCRFC>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 1:31 - 31:1] This register is 8 bits in a 32-bit address space.
Source§impl R<u32, Reg<u32, _SCGCRFC>>
impl R<u32, Reg<u32, _SCGCRFC>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 1:31 - 31:1] This register is 8 bits in a 32-bit address space.
Source§impl R<u32, Reg<u32, _DCGCRFC>>
impl R<u32, Reg<u32, _DCGCRFC>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 1:31 - 31:1] This register is 8 bits in a 32-bit address space.
Source§impl R<u32, Reg<u32, _EMUOVR>>
impl R<u32, Reg<u32, _EMUOVR>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] Unused. This register is 8 bits in a 32-bit address space.
Sourcepub fn icepick_force_clock_cg(&self) -> ICEPICK_FORCE_CLOCK_CG_R
pub fn icepick_force_clock_cg(&self) -> ICEPICK_FORCE_CLOCK_CG_R
Bit 7 - 7:7] ICEPick ‘Force Active’ clock gate override bit. ‘Force Active’ is an ICEPick command. 1 –> In non-sleep power mode, peripherals clocks are forced to follow RCG* register settings. It forces CM3 clocks on. 0 –> Does not affect the peripheral clock settings.
Sourcepub fn icepick_force_power_cg(&self) -> ICEPICK_FORCE_POWER_CG_R
pub fn icepick_force_power_cg(&self) -> ICEPICK_FORCE_POWER_CG_R
Bit 6 - 6:6] ICEPick ‘Force Power’ clock gate override bit. ‘Force Power’ is an ICEPick command. 1 –> In non-sleep power mode, peripherals clocks are forced to follow RCG* register settings. It forces CM3 clocks on. 0 –> Does not affect the peripheral clock settings.
Sourcepub fn icepick_inhibit_sleep_cg(&self) -> ICEPICK_INHIBIT_SLEEP_CG_R
pub fn icepick_inhibit_sleep_cg(&self) -> ICEPICK_INHIBIT_SLEEP_CG_R
Bit 5 - 5:5] ICEPick ‘Inhibit Sleep’ clock gate override bit. ‘Inhibit Sleep’ is an ICEPick command. 1 –> In non-sleep power mode, peripherals clocks are forced to follow RCG* register settings. It forces CM3 clocks on. 0 –> Does not affect the peripheral clock settings.
Sourcepub fn icemelter_wkup_cg(&self) -> ICEMELTER_WKUP_CG_R
pub fn icemelter_wkup_cg(&self) -> ICEMELTER_WKUP_CG_R
Bit 4 - 4:4] ICEMelter ‘WAKEUPEMU’ clock gate override bit. 1 –> In non-sleep power mode, peripherals clocks are forced to follow RCG* register settings. It forces CM3 clocks on. 0 –> Does not affect the peripheral clock settings
Sourcepub fn icepick_force_clock_pm(&self) -> ICEPICK_FORCE_CLOCK_PM_R
pub fn icepick_force_clock_pm(&self) -> ICEPICK_FORCE_CLOCK_PM_R
Bit 3 - 3:3] ICEPick ‘Force Active’ power mode override bit. ‘Force Active’ is an ICEPick command. 1 –> Prohibit the system to go into any power down modes. Keeps the emulator attached. 0 –> Does not override any power mode settings from SYSREGS and does not prohibit system to go into any power down modes.
Sourcepub fn icepick_force_power_pm(&self) -> ICEPICK_FORCE_POWER_PM_R
pub fn icepick_force_power_pm(&self) -> ICEPICK_FORCE_POWER_PM_R
Bit 2 - 2:2] ICEPick ‘Force Power’ power mode override bit. ‘Force Power’ is an ICEPick command. 1 –> Prohibit the system to go into any power down modes. Keeps the emulator attached. 0 –> Does not override any power mode settings from SYSREGS and does not prohibit system to go into any power down modes.
Sourcepub fn icepick_inhibit_sleep_pm(&self) -> ICEPICK_INHIBIT_SLEEP_PM_R
pub fn icepick_inhibit_sleep_pm(&self) -> ICEPICK_INHIBIT_SLEEP_PM_R
Bit 1 - 1:1] ICEPick ‘Inhibit Sleep’ power mode override bit. ‘Inhibit Sleep’ is an ICEPick command. 1 –> Prohibit the system to go into any power down modes. Keeps the emulator attached. 0 –> Does not override any power mode settings from SYSREGS and does not prohibit system to go into any power down modes.
Sourcepub fn icemelter_wkup_pm(&self) -> ICEMELTER_WKUP_PM_R
pub fn icemelter_wkup_pm(&self) -> ICEMELTER_WKUP_PM_R
Bit 0 - 0:0] ICEMelter ‘WAKEUPEMU’ power mode override bit. 1 –> Prohibit the system to go into any power down modes. Keeps the emulator attached. 0 –> Does not override any power mode settings from SYSREGS and does not prohibit system to go into any power down modes.
Source§impl R<u32, Reg<u32, _FCTL>>
impl R<u32, Reg<u32, _FCTL>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 10:31 - 31:10] Unused
Sourcepub fn upper_page_access(&self) -> UPPER_PAGE_ACCESS_R
pub fn upper_page_access(&self) -> UPPER_PAGE_ACCESS_R
Bit 9 - 9:9] Lock bit for lock bit page 0: Neither write nor erase not allowed 1: Both write and erase allowed
Sourcepub fn sel_info_page(&self) -> SEL_INFO_PAGE_R
pub fn sel_info_page(&self) -> SEL_INFO_PAGE_R
Bit 8 - 8:8] Flash erase or write operation on APB bus must assert this when accessing the information page
Sourcepub fn busy(&self) -> BUSY_R
pub fn busy(&self) -> BUSY_R
Bit 7 - 7:7] Set when the WRITE or ERASE bit is set; that is, when the flash controller is busy
Sourcepub fn full(&self) -> FULL_R
pub fn full(&self) -> FULL_R
Bit 6 - 6:6] Write buffer full The CPU can write to FWDATA when this bit is 0 and WRITE is 1. This bit is cleared when BUSY is cleared.
Sourcepub fn abort(&self) -> ABORT_R
pub fn abort(&self) -> ABORT_R
Bit 5 - 5:5] Abort status This bit is set to 1 when a write sequence or page erase is aborted. An operation is aborted when the accessed page is locked. Cleared when a write or page erase is started. If a write operation times out (because the FWDATA register is not written fast enough), the ABORT bit is not set even if the page is locked. If a page erase and a write operation are started simultaneously, the ABORT bit reflects the status of the last write operation. For example, if the page is locked and the write times out, the ABORT bit is not set because only the write operation times out.
Sourcepub fn reserved5(&self) -> RESERVED5_R
pub fn reserved5(&self) -> RESERVED5_R
Bit 4 - 4:4] Reserved
Sourcepub fn cm(&self) -> CM_R
pub fn cm(&self) -> CM_R
Bits 2:3 - 3:2] Cache Mode Disabling the cache increases the power consumption and reduces performance. Prefetching improves performance at the expense of a potential increase in power consumption. Real-time mode provides predictable flash read access time, the execution time is equal to cache disabled mode, but the power consumption is lower. 00: Cache disabled 01: Cache enabled 10: Cache enabled, with prefetch 11: Real-time mode Note: The read value always represents the current cache mode. Writing a new cache mode starts a cache mode change request that does not take effect until the controller is ready. Writes to this register are ignored if there is a current cache change request in progress.
Sourcepub fn write(&self) -> WRITE_R
pub fn write(&self) -> WRITE_R
Bit 1 - 1:1] Write bit Start a write sequence by setting this bit to 1. Cleared by hardware when the operation completes. Writes to this bit are ignored when FCTL.BUSY is 1. If FCTL.ERASE is set simultaneously with this bit, the erase operation is started first, then the write is started.
Sourcepub fn erase(&self) -> ERASE_R
pub fn erase(&self) -> ERASE_R
Bit 0 - 0:0] Erase bit Start an erase operation by setting this bit to 1. Cleared by hardware when the operation completes. Writes to this bit are ignored when FCTL.BUSY is 1. If FCTL.WRITE is set simultaneously with this bit, the erase operation is started first, then the write is started.
Source§impl R<u32, Reg<u32, _FADDR>>
impl R<u32, Reg<u32, _FADDR>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 17:31 - 31:17] Unused. These bits always reflect 0 on read back
Sourcepub fn faddr(&self) -> FADDR_R
pub fn faddr(&self) -> FADDR_R
Bits 0:16 - 16:0] Bit number [16:9] selects one of 256 pages for page erase. Bit number [8:7] selects one of the 4 row in a given page Bit number [6:1] selects one of the 64-bit wide locations in a give row. Bit number [0] will select upper/lower 32-bits in a given 64-bit location - 64Kbytes –> Bits [16:14] will always be 0. - 128Kbytes –> Bits [16:15] will always be 0. - 256Kbytes –> Bit [16] will always be 0. - 384/512Kbytes –> All bits written and valid. Writes to this register will be ignored when any of FCTL.WRITE and FCTL.ERASE is set. FADDR should be written with byte addressable location of the Flash to be programmed. Read back value always reflects a 32-bit aligned address. When the register is read back, the value that was written to FADDR gets right shift by 2 to indicate 32-bit aligned address. In other words lower 2 bits are discarded while reading back the register. Out of range address results in roll over. There is no status signal generated by flash controller to indicate this. Firmware is responsible to managing the addresses correctly.
Source§impl R<u32, Reg<u32, _DIECFG0>>
impl R<u32, Reg<u32, _DIECFG0>>
Sourcepub fn chipid(&self) -> CHIPID_R
pub fn chipid(&self) -> CHIPID_R
Bits 16:31 - 31:16] Register copy of configuration bits Three clock cycles after reset is released, this bit field is equal to the field with the same name in the information page.
Sourcepub fn reserved16(&self) -> RESERVED16_R
pub fn reserved16(&self) -> RESERVED16_R
Bits 11:15 - 15:11] Unused
Sourcepub fn clk_sel_gate_en_n(&self) -> CLK_SEL_GATE_EN_N_R
pub fn clk_sel_gate_en_n(&self) -> CLK_SEL_GATE_EN_N_R
Bit 10 - 10:10] Register copy of configuration bits Three clock cycles after reset is released, this bit is equal to the field with the same name in the information page.
Sourcepub fn sram_size(&self) -> SRAM_SIZE_R
pub fn sram_size(&self) -> SRAM_SIZE_R
Bits 7:9 - 9:7] Register copy of configuration bits Three clock cycles after reset is released, this bit field is equal to the field with the same name in the information page.
Sourcepub fn flash_size(&self) -> FLASH_SIZE_R
pub fn flash_size(&self) -> FLASH_SIZE_R
Bits 4:6 - 6:4] Register copy of configuration bits Three clock cycles after reset is released, this bit field is equal to the field with the same name in the information page.
Sourcepub fn usb_enable(&self) -> USB_ENABLE_R
pub fn usb_enable(&self) -> USB_ENABLE_R
Bit 3 - 3:3] Register copy of configuration bits Three clock cycles after reset is released, this bit is equal to the field with the same name in the information page.
Sourcepub fn mass_erase_enable(&self) -> MASS_ERASE_ENABLE_R
pub fn mass_erase_enable(&self) -> MASS_ERASE_ENABLE_R
Bit 2 - 2:2] Register copy of configuration bits Three clock cycles after reset is released, this bit is equal to the field with the same name in the information page.
Sourcepub fn lock_fwt_n(&self) -> LOCK_FWT_N_R
pub fn lock_fwt_n(&self) -> LOCK_FWT_N_R
Bit 1 - 1:1] Register copy of configuration bits Three clock cycles after reset is released, this bit is equal to the field with the same name in the information page.
Sourcepub fn lock_ip_n(&self) -> LOCK_IP_N_R
pub fn lock_ip_n(&self) -> LOCK_IP_N_R
Bit 0 - 0:0] Register copy of configuration bits Three clock cycles after reset is released, this bit is equal to the field with the same name in the information page.
Source§impl R<u32, Reg<u32, _DIECFG1>>
impl R<u32, Reg<u32, _DIECFG1>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 25:31 - 31:25] Unused
Sourcepub fn i2c_en(&self) -> I2C_EN_R
pub fn i2c_en(&self) -> I2C_EN_R
Bit 24 - 24:24] 1: I2C is enabled. 0: I2C is permanently disabled.
Sourcepub fn reserved24(&self) -> RESERVED24_R
pub fn reserved24(&self) -> RESERVED24_R
Bits 18:23 - 23:18] Unused
Sourcepub fn uart1_en(&self) -> UART1_EN_R
pub fn uart1_en(&self) -> UART1_EN_R
Bit 17 - 17:17] 1: UART1 is enabled. 0: UART1 is permanently disabled.
Sourcepub fn uart0_en(&self) -> UART0_EN_R
pub fn uart0_en(&self) -> UART0_EN_R
Bit 16 - 16:16] 1: UART0 is enabled. 0: UART0 is permanently disabled.
Sourcepub fn reserved16(&self) -> RESERVED16_R
pub fn reserved16(&self) -> RESERVED16_R
Bits 10:15 - 15:10] Unused
Sourcepub fn ssi1_en(&self) -> SSI1_EN_R
pub fn ssi1_en(&self) -> SSI1_EN_R
Bit 9 - 9:9] 1: SSI1 is enabled. 0: SSI1 is permanently disabled.
Sourcepub fn ssi0_en(&self) -> SSI0_EN_R
pub fn ssi0_en(&self) -> SSI0_EN_R
Bit 8 - 8:8] 1: SSI0 is enabled. 0: SSI0 is permanently disabled.
Sourcepub fn reserved8(&self) -> RESERVED8_R
pub fn reserved8(&self) -> RESERVED8_R
Bits 4:7 - 7:4] Unused
Sourcepub fn gptm3_en(&self) -> GPTM3_EN_R
pub fn gptm3_en(&self) -> GPTM3_EN_R
Bit 3 - 3:3] 1: GPTM3 is enabled. 0: GPTM3 is permanently disabled.
Sourcepub fn gptm2_en(&self) -> GPTM2_EN_R
pub fn gptm2_en(&self) -> GPTM2_EN_R
Bit 2 - 2:2] 1: GPTM2 is enabled. 0: GPTM2 is permanently disabled.
Sourcepub fn gptm1_en(&self) -> GPTM1_EN_R
pub fn gptm1_en(&self) -> GPTM1_EN_R
Bit 1 - 1:1] 1: GPTM1 is enabled. 0: GPTM1 is permanently disabled.
Sourcepub fn gptm0_en(&self) -> GPTM0_EN_R
pub fn gptm0_en(&self) -> GPTM0_EN_R
Bit 0 - 0:0] 1: GPTM0 is enabled. 0: GPTM0 is permanently disabled.
Source§impl R<u32, Reg<u32, _DIECFG2>>
impl R<u32, Reg<u32, _DIECFG2>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 16:31 - 31:16] Unused
Sourcepub fn die_major_revision(&self) -> DIE_MAJOR_REVISION_R
pub fn die_major_revision(&self) -> DIE_MAJOR_REVISION_R
Bits 12:15 - 15:12] Indicates the major revision (all layer change) number for the cc2538 0x0 - PG1.0 0x2 - PG2.0
Sourcepub fn die_minor_revision(&self) -> DIE_MINOR_REVISION_R
pub fn die_minor_revision(&self) -> DIE_MINOR_REVISION_R
Bits 8:11 - 11:8] Indicates the minor revision (metla layer only) number for the cc2538 0x0 - PG1.0 or PG2.0
Sourcepub fn reserved8(&self) -> RESERVED8_R
pub fn reserved8(&self) -> RESERVED8_R
Bits 3:7 - 7:3] Unused
Sourcepub fn rf_core_en(&self) -> RF_CORE_EN_R
pub fn rf_core_en(&self) -> RF_CORE_EN_R
Bit 2 - 2:2] 1: RF_CORE is enabled. 0: RF_CORE is permanently disabled.
Source§impl R<u32, Reg<u32, _PA0_SEL>>
impl R<u32, Reg<u32, _PA0_SEL>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 5:31 - 31:5] Reserved
Source§impl R<u32, Reg<u32, _PA1_SEL>>
impl R<u32, Reg<u32, _PA1_SEL>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 5:31 - 31:5] Reserved
Source§impl R<u32, Reg<u32, _PA2_SEL>>
impl R<u32, Reg<u32, _PA2_SEL>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 5:31 - 31:5] Reserved
Source§impl R<u32, Reg<u32, _PA3_SEL>>
impl R<u32, Reg<u32, _PA3_SEL>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 5:31 - 31:5] Reserved
Source§impl R<u32, Reg<u32, _PA4_SEL>>
impl R<u32, Reg<u32, _PA4_SEL>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 5:31 - 31:5] Reserved
Source§impl R<u32, Reg<u32, _PA5_SEL>>
impl R<u32, Reg<u32, _PA5_SEL>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 5:31 - 31:5] Reserved
Source§impl R<u32, Reg<u32, _PA6_SEL>>
impl R<u32, Reg<u32, _PA6_SEL>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 5:31 - 31:5] Reserved
Source§impl R<u32, Reg<u32, _PA7_SEL>>
impl R<u32, Reg<u32, _PA7_SEL>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 5:31 - 31:5] Reserved
Source§impl R<u32, Reg<u32, _PB0_SEL>>
impl R<u32, Reg<u32, _PB0_SEL>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 5:31 - 31:5] Reserved
Source§impl R<u32, Reg<u32, _PB1_SEL>>
impl R<u32, Reg<u32, _PB1_SEL>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 5:31 - 31:5] Reserved
Source§impl R<u32, Reg<u32, _PB2_SEL>>
impl R<u32, Reg<u32, _PB2_SEL>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 5:31 - 31:5] Reserved
Source§impl R<u32, Reg<u32, _PB3_SEL>>
impl R<u32, Reg<u32, _PB3_SEL>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 5:31 - 31:5] Reserved
Source§impl R<u32, Reg<u32, _PB4_SEL>>
impl R<u32, Reg<u32, _PB4_SEL>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 5:31 - 31:5] Reserved
Source§impl R<u32, Reg<u32, _PB5_SEL>>
impl R<u32, Reg<u32, _PB5_SEL>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 5:31 - 31:5] Reserved
Source§impl R<u32, Reg<u32, _PB6_SEL>>
impl R<u32, Reg<u32, _PB6_SEL>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 5:31 - 31:5] Reserved
Source§impl R<u32, Reg<u32, _PB7_SEL>>
impl R<u32, Reg<u32, _PB7_SEL>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 5:31 - 31:5] Reserved
Source§impl R<u32, Reg<u32, _PC0_SEL>>
impl R<u32, Reg<u32, _PC0_SEL>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 5:31
Source§impl R<u32, Reg<u32, _PC1_SEL>>
impl R<u32, Reg<u32, _PC1_SEL>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 5:31 - 31:5] Reserved
Source§impl R<u32, Reg<u32, _PC2_SEL>>
impl R<u32, Reg<u32, _PC2_SEL>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 5:31 - 31:5] Reserved
Source§impl R<u32, Reg<u32, _PC3_SEL>>
impl R<u32, Reg<u32, _PC3_SEL>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 5:31 - 31:5] Reserved
Source§impl R<u32, Reg<u32, _PC4_SEL>>
impl R<u32, Reg<u32, _PC4_SEL>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 5:31 - 31:5] Reserved
Source§impl R<u32, Reg<u32, _PC5_SEL>>
impl R<u32, Reg<u32, _PC5_SEL>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 5:31 - 31:5] Reserved
Source§impl R<u32, Reg<u32, _PC6_SEL>>
impl R<u32, Reg<u32, _PC6_SEL>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 5:31 - 31:5] Reserved
Source§impl R<u32, Reg<u32, _PC7_SEL>>
impl R<u32, Reg<u32, _PC7_SEL>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 5:31 - 31:5] Reserved
Source§impl R<u32, Reg<u32, _PD0_SEL>>
impl R<u32, Reg<u32, _PD0_SEL>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 5:31 - 31:5] Reserved
Source§impl R<u32, Reg<u32, _PD1_SEL>>
impl R<u32, Reg<u32, _PD1_SEL>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 5:31 - 31:5] Reserved
Source§impl R<u32, Reg<u32, _PD2_SEL>>
impl R<u32, Reg<u32, _PD2_SEL>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 5:31 - 31:5] Reserved
Source§impl R<u32, Reg<u32, _PD3_SEL>>
impl R<u32, Reg<u32, _PD3_SEL>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 5:31 - 31:5] Reserved
Source§impl R<u32, Reg<u32, _PD4_SEL>>
impl R<u32, Reg<u32, _PD4_SEL>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 5:31 - 31:5] Reserved
Source§impl R<u32, Reg<u32, _PD5_SEL>>
impl R<u32, Reg<u32, _PD5_SEL>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 5:31 - 31:5] Reserved
Source§impl R<u32, Reg<u32, _PD6_SEL>>
impl R<u32, Reg<u32, _PD6_SEL>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 5:31 - 31:5] Reserved
Source§impl R<u32, Reg<u32, _PD7_SEL>>
impl R<u32, Reg<u32, _PD7_SEL>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 5:31 - 31:5] Reserved
Source§impl R<u32, Reg<u32, _PA0_OVER>>
impl R<u32, Reg<u32, _PA0_OVER>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 4:31 - 31:4] Reserved
Sourcepub fn pa0_over(&self) -> PA0_OVER_R
pub fn pa0_over(&self) -> PA0_OVER_R
Bits 0:3 - 3:0] 0x8: oe - output enable 0x4: pue - pullup enable 0x2: pde - pulldown enable 0x1: ana - analog enable
Source§impl R<u32, Reg<u32, _PA1_OVER>>
impl R<u32, Reg<u32, _PA1_OVER>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 4:31 - 31:4] Reserved
Sourcepub fn pa1_over(&self) -> PA1_OVER_R
pub fn pa1_over(&self) -> PA1_OVER_R
Bits 0:3 - 3:0] 0x8: oe - output enable 0x4: pue - pullup enable 0x2: pde - pulldown enable 0x1: ana - analog enable
Source§impl R<u32, Reg<u32, _PA2_OVER>>
impl R<u32, Reg<u32, _PA2_OVER>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 4:31 - 31:4] Reserved
Sourcepub fn pa2_over(&self) -> PA2_OVER_R
pub fn pa2_over(&self) -> PA2_OVER_R
Bits 0:3 - 3:0] 0x8: oe - output enable 0x4: pue - pullup enable 0x2: pde - pulldown enable 0x1: ana - analog enable
Source§impl R<u32, Reg<u32, _PA3_OVER>>
impl R<u32, Reg<u32, _PA3_OVER>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 4:31 - 31:4] Reserved
Sourcepub fn pa3_over(&self) -> PA3_OVER_R
pub fn pa3_over(&self) -> PA3_OVER_R
Bits 0:3 - 3:0] 0x8: oe - output enable 0x4: pue - pullup enable 0x2: pde - pulldown enable 0x1: ana - analog enable
Source§impl R<u32, Reg<u32, _PA4_OVER>>
impl R<u32, Reg<u32, _PA4_OVER>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 4:31 - 31:4] Reserved
Sourcepub fn pa4_over(&self) -> PA4_OVER_R
pub fn pa4_over(&self) -> PA4_OVER_R
Bits 0:3 - 3:0] 0x8: oe - output enable 0x4: pue - pullup enable 0x2: pde - pulldown enable 0x1: ana - analog enable
Source§impl R<u32, Reg<u32, _PA5_OVER>>
impl R<u32, Reg<u32, _PA5_OVER>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 4:31 - 31:4] Reserved
Sourcepub fn pa5_over(&self) -> PA5_OVER_R
pub fn pa5_over(&self) -> PA5_OVER_R
Bits 0:3 - 3:0] 0x8: oe - output enable 0x4: pue - pullup enable 0x2: pde - pulldown enable 0x1: ana - analog enable
Source§impl R<u32, Reg<u32, _PA6_OVER>>
impl R<u32, Reg<u32, _PA6_OVER>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 4:31 - 31:4] Reserved
Sourcepub fn pa6_over(&self) -> PA6_OVER_R
pub fn pa6_over(&self) -> PA6_OVER_R
Bits 0:3 - 3:0] 0x8: oe - output enable 0x4: pue - pullup enable 0x2: pde - pulldown enable 0x1: ana - analog enable
Source§impl R<u32, Reg<u32, _PA7_OVER>>
impl R<u32, Reg<u32, _PA7_OVER>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 4:31 - 31:4] Reserved
Sourcepub fn pa7_over(&self) -> PA7_OVER_R
pub fn pa7_over(&self) -> PA7_OVER_R
Bits 0:3 - 3:0] 0x8: oe - output enable 0x4: pue - pullup enable 0x2: pde - pulldown enable 0x1: ana - analog enable
Source§impl R<u32, Reg<u32, _PB0_OVER>>
impl R<u32, Reg<u32, _PB0_OVER>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 4:31 - 31:4] Reserved
Sourcepub fn pb0_over(&self) -> PB0_OVER_R
pub fn pb0_over(&self) -> PB0_OVER_R
Bits 0:3 - 3:0] 0x8: oe - output enable 0x4: pue - pullup enable 0x2: pde - pulldown enable 0x1: ana - analog enable
Source§impl R<u32, Reg<u32, _PB1_OVER>>
impl R<u32, Reg<u32, _PB1_OVER>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 4:31 - 31:4] Reserved
Sourcepub fn pb1_over(&self) -> PB1_OVER_R
pub fn pb1_over(&self) -> PB1_OVER_R
Bits 0:3 - 3:0] 0x8: oe - output enable 0x4: pue - pullup enable 0x2: pde - pulldown enable 0x1: ana - analog enable
Source§impl R<u32, Reg<u32, _PB2_OVER>>
impl R<u32, Reg<u32, _PB2_OVER>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 4:31 - 31:4] Reserved
Sourcepub fn pb2_over(&self) -> PB2_OVER_R
pub fn pb2_over(&self) -> PB2_OVER_R
Bits 0:3 - 3:0] 0x8: oe - output enable 0x4: pue - pullup enable 0x2: pde - pulldown enable 0x1: ana - analog enable
Source§impl R<u32, Reg<u32, _PB3_OVER>>
impl R<u32, Reg<u32, _PB3_OVER>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 4:31 - 31:4] Reserved
Sourcepub fn pb3_over(&self) -> PB3_OVER_R
pub fn pb3_over(&self) -> PB3_OVER_R
Bits 0:3 - 3:0] 0x8: oe - output enable 0x4: pue - pullup enable 0x2: pde - pulldown enable 0x1: ana - analog enable
Source§impl R<u32, Reg<u32, _PB4_OVER>>
impl R<u32, Reg<u32, _PB4_OVER>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 4:31 - 31:4] Reserved
Sourcepub fn pb4_over(&self) -> PB4_OVER_R
pub fn pb4_over(&self) -> PB4_OVER_R
Bits 0:3 - 3:0] 0x8: oe - output enable 0x4: pue - pullup enable 0x2: pde - pulldown enable 0x1: ana - analog enable
Source§impl R<u32, Reg<u32, _PB5_OVER>>
impl R<u32, Reg<u32, _PB5_OVER>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 4:31 - 31:4] Reserved
Sourcepub fn pb5_over(&self) -> PB5_OVER_R
pub fn pb5_over(&self) -> PB5_OVER_R
Bits 0:3 - 3:0] 0x8: oe - output enable 0x4: pue - pullup enable 0x2: pde - pulldown enable 0x1: ana - analog enable
Source§impl R<u32, Reg<u32, _PB6_OVER>>
impl R<u32, Reg<u32, _PB6_OVER>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 4:31 - 31:4] Reserved
Sourcepub fn pb6_over(&self) -> PB6_OVER_R
pub fn pb6_over(&self) -> PB6_OVER_R
Bits 0:3 - 3:0] 0x8: oe - output enable 0x4: pue - pullup enable 0x2: pde - pulldown enable 0x1: ana - analog enable
Source§impl R<u32, Reg<u32, _PB7_OVER>>
impl R<u32, Reg<u32, _PB7_OVER>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 4:31 - 31:4] Reserved
Sourcepub fn pb7_over(&self) -> PB7_OVER_R
pub fn pb7_over(&self) -> PB7_OVER_R
Bits 0:3 - 3:0] 0x8: oe - output enable 0x4: pue - pullup enable 0x2: pde - pulldown enable 0x1: ana - analog enable
Source§impl R<u32, Reg<u32, _PC0_OVER>>
impl R<u32, Reg<u32, _PC0_OVER>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 4:31 - 31:4] Reserved
Sourcepub fn pc0_over(&self) -> PC0_OVER_R
pub fn pc0_over(&self) -> PC0_OVER_R
Bit 3 - 3:3] 0: output disable 1: oe - output enable
Sourcepub fn reserved3(&self) -> RESERVED3_R
pub fn reserved3(&self) -> RESERVED3_R
Bits 0:2 - 2:0] Reserved
Source§impl R<u32, Reg<u32, _PC1_OVER>>
impl R<u32, Reg<u32, _PC1_OVER>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 4:31 - 31:4] Reserved
Sourcepub fn pc1_over(&self) -> PC1_OVER_R
pub fn pc1_over(&self) -> PC1_OVER_R
Bit 3 - 3:3] 0: output disable 1: oe - output enable
Sourcepub fn reserved3(&self) -> RESERVED3_R
pub fn reserved3(&self) -> RESERVED3_R
Bits 0:2 - 2:0] Reserved
Source§impl R<u32, Reg<u32, _PC2_OVER>>
impl R<u32, Reg<u32, _PC2_OVER>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 4:31 - 31:4] Reserved
Sourcepub fn pc2_over(&self) -> PC2_OVER_R
pub fn pc2_over(&self) -> PC2_OVER_R
Bit 3 - 3:3] 0: output disable 1: oe - output enable
Sourcepub fn reserved3(&self) -> RESERVED3_R
pub fn reserved3(&self) -> RESERVED3_R
Bits 0:2 - 2:0] Reserved
Source§impl R<u32, Reg<u32, _PC3_OVER>>
impl R<u32, Reg<u32, _PC3_OVER>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 4:31 - 31:4] Reserved
Sourcepub fn pc3_over(&self) -> PC3_OVER_R
pub fn pc3_over(&self) -> PC3_OVER_R
Bit 3 - 3:3] 0: output disable 1: oe - output enable
Sourcepub fn reserved3(&self) -> RESERVED3_R
pub fn reserved3(&self) -> RESERVED3_R
Bits 0:2 - 2:0] Reserved
Source§impl R<u32, Reg<u32, _PC4_OVER>>
impl R<u32, Reg<u32, _PC4_OVER>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 4:31 - 31:4] Reserved
Sourcepub fn pc4_over(&self) -> PC4_OVER_R
pub fn pc4_over(&self) -> PC4_OVER_R
Bits 0:3 - 3:0] 0x8: oe - output enable 0x4: pue - pullup enable 0x2: pde - pulldown enable 0x1: ana - analog enable
Source§impl R<u32, Reg<u32, _PC5_OVER>>
impl R<u32, Reg<u32, _PC5_OVER>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 4:31 - 31:4] Reserved
Sourcepub fn pc5_over(&self) -> PC5_OVER_R
pub fn pc5_over(&self) -> PC5_OVER_R
Bits 0:3 - 3:0] 0x8: oe - output enable 0x4: pue - pullup enable 0x2: pde - pulldown enable 0x1: ana - analog enable
Source§impl R<u32, Reg<u32, _PC6_OVER>>
impl R<u32, Reg<u32, _PC6_OVER>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 4:31 - 31:4] Reserved
Sourcepub fn pc6_over(&self) -> PC6_OVER_R
pub fn pc6_over(&self) -> PC6_OVER_R
Bits 0:3 - 3:0] 0x8: oe - output enable 0x4: pue - pullup enable 0x2: pde - pulldown enable 0x1: ana - analog enable
Source§impl R<u32, Reg<u32, _PC7_OVER>>
impl R<u32, Reg<u32, _PC7_OVER>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 4:31 - 31:4] Reserved
Sourcepub fn pc7_over(&self) -> PC7_OVER_R
pub fn pc7_over(&self) -> PC7_OVER_R
Bits 0:3 - 3:0] 0x8: oe - output enable 0x4: pue - pullup enable 0x2: pde - pulldown enable 0x1: ana - analog enable
Source§impl R<u32, Reg<u32, _PD0_OVER>>
impl R<u32, Reg<u32, _PD0_OVER>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 4:31 - 31:4] Reserved
Sourcepub fn pd0_over(&self) -> PD0_OVER_R
pub fn pd0_over(&self) -> PD0_OVER_R
Bits 0:3 - 3:0] 0x8: oe - output enable 0x4: pue - pullup enable 0x2: pde - pulldown enable 0x1: ana - analog enable
Source§impl R<u32, Reg<u32, _PD1_OVER>>
impl R<u32, Reg<u32, _PD1_OVER>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 4:31 - 31:4] Reserved
Sourcepub fn pd1_over(&self) -> PD1_OVER_R
pub fn pd1_over(&self) -> PD1_OVER_R
Bits 0:3 - 3:0] 0x8: oe - output enable 0x4: pue - pullup enable 0x2: pde - pulldown enable 0x1: ana - analog enable
Source§impl R<u32, Reg<u32, _PD2_OVER>>
impl R<u32, Reg<u32, _PD2_OVER>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 4:31 - 31:4] Reserved
Sourcepub fn pd2_over(&self) -> PD2_OVER_R
pub fn pd2_over(&self) -> PD2_OVER_R
Bits 0:3 - 3:0] 0x8: oe - output enable 0x4: pue - pullup enable 0x2: pde - pulldown enable 0x1: ana - analog enable
Source§impl R<u32, Reg<u32, _PD3_OVER>>
impl R<u32, Reg<u32, _PD3_OVER>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 4:31 - 31:4] Reserved
Sourcepub fn pd3_over(&self) -> PD3_OVER_R
pub fn pd3_over(&self) -> PD3_OVER_R
Bits 0:3 - 3:0] 0x8: oe - output enable 0x4: pue - pullup enable 0x2: pde - pulldown enable 0x1: ana - analog enable
Source§impl R<u32, Reg<u32, _PD4_OVER>>
impl R<u32, Reg<u32, _PD4_OVER>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 4:31 - 31:4] Reserved
Sourcepub fn pd4_over(&self) -> PD4_OVER_R
pub fn pd4_over(&self) -> PD4_OVER_R
Bits 0:3 - 3:0] 0x8: oe - output enable 0x4: pue - pullup enable 0x2: pde - pulldown enable 0x1: ana - analog enable
Source§impl R<u32, Reg<u32, _PD5_OVER>>
impl R<u32, Reg<u32, _PD5_OVER>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 4:31 - 31:4] Reserved
Sourcepub fn pd5_over(&self) -> PD5_OVER_R
pub fn pd5_over(&self) -> PD5_OVER_R
Bits 0:3 - 3:0] 0x8: oe - output enable 0x4: pue - pullup enable 0x2: pde - pulldown enable 0x1: ana - analog enable
Source§impl R<u32, Reg<u32, _PD6_OVER>>
impl R<u32, Reg<u32, _PD6_OVER>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 4:31 - 31:4] Reserved
Sourcepub fn pd6_over(&self) -> PD6_OVER_R
pub fn pd6_over(&self) -> PD6_OVER_R
Bits 0:3 - 3:0] 0x8: oe - output enable 0x4: pue - pullup enable 0x2: pde - pulldown enable 0x1: ana - analog enable
Source§impl R<u32, Reg<u32, _PD7_OVER>>
impl R<u32, Reg<u32, _PD7_OVER>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 4:31 - 31:4] Reserved
Sourcepub fn pd7_over(&self) -> PD7_OVER_R
pub fn pd7_over(&self) -> PD7_OVER_R
Bits 0:3 - 3:0] 0x8: oe - output enable 0x4: pue - pullup enable 0x2: pde - pulldown enable 0x1: ana - analog enable
Source§impl R<u32, Reg<u32, _UARTRXD_UART0>>
impl R<u32, Reg<u32, _UARTRXD_UART0>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 5:31 - 31:5] Reserved
Sourcepub fn input_sel(&self) -> INPUT_SEL_R
pub fn input_sel(&self) -> INPUT_SEL_R
Bits 0:4 - 4:0] 0: PA0 selected as UART0 RX 1: PA1 selected as UART0 RX … 31: PD7 selected as UART0 RX
Source§impl R<u32, Reg<u32, _UARTCTS_UART1>>
impl R<u32, Reg<u32, _UARTCTS_UART1>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 5:31 - 31:5] Reserved
Sourcepub fn input_sel(&self) -> INPUT_SEL_R
pub fn input_sel(&self) -> INPUT_SEL_R
Bits 0:4 - 4:0] 0: PA0 selected as UART1 CTS 1: PA1 selected as UART1 CTS … 31: PD7 selected as UART1 CTS
Source§impl R<u32, Reg<u32, _UARTRXD_UART1>>
impl R<u32, Reg<u32, _UARTRXD_UART1>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 5:31 - 31:5] Reserved
Sourcepub fn input_sel(&self) -> INPUT_SEL_R
pub fn input_sel(&self) -> INPUT_SEL_R
Bits 0:4 - 4:0] 0: PA0 selected as UART1 RX 1: PA1 selected as UART1 RX … 31: PD7 selected as UART1 RX
Source§impl R<u32, Reg<u32, _CLK_SSI_SSI0>>
impl R<u32, Reg<u32, _CLK_SSI_SSI0>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 5:31 - 31:5] Reserved
Sourcepub fn input_sel(&self) -> INPUT_SEL_R
pub fn input_sel(&self) -> INPUT_SEL_R
Bits 0:4 - 4:0] 0: PA0 selected as SSI0 CLK 1: PA1 selected as SSI0 CLK … 31: PD7 selected as SSI0 CLK
Source§impl R<u32, Reg<u32, _SSIRXD_SSI0>>
impl R<u32, Reg<u32, _SSIRXD_SSI0>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 5:31 - 31:5] Reserved
Sourcepub fn input_sel(&self) -> INPUT_SEL_R
pub fn input_sel(&self) -> INPUT_SEL_R
Bits 0:4 - 4:0] 0: PA0 selected as SSI0 RX 1: PA1 selected as SSI0 RX … 31: PD7 selected as SSI0 RX
Source§impl R<u32, Reg<u32, _SSIFSSIN_SSI0>>
impl R<u32, Reg<u32, _SSIFSSIN_SSI0>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 5:31 - 31:5] Reserved
Sourcepub fn input_sel(&self) -> INPUT_SEL_R
pub fn input_sel(&self) -> INPUT_SEL_R
Bits 0:4 - 4:0] 0: PA0 selected as SSI0 FSSIN 1: PA1 selected as SSI0 FSSIN … 31: PD7 selected as SSI0 FSSIN
Source§impl R<u32, Reg<u32, _CLK_SSIIN_SSI0>>
impl R<u32, Reg<u32, _CLK_SSIIN_SSI0>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 5:31 - 31:5] Reserved
Sourcepub fn input_sel(&self) -> INPUT_SEL_R
pub fn input_sel(&self) -> INPUT_SEL_R
Bits 0:4 - 4:0] 0: PA0 selected as SSI0 CLK_SSIN 1: PA1 selected as SSI0 CLK_SSIN … 31: PD7 selected as SSI0 CLK_SSIN
Source§impl R<u32, Reg<u32, _CLK_SSI_SSI1>>
impl R<u32, Reg<u32, _CLK_SSI_SSI1>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 5:31 - 31:5] Reserved
Sourcepub fn input_sel(&self) -> INPUT_SEL_R
pub fn input_sel(&self) -> INPUT_SEL_R
Bits 0:4 - 4:0] 0: PA0 selected as SSI1 CLK 1: PA1 selected as SSI1 CLK … 31: PD7 selected as SSI1 CLK
Source§impl R<u32, Reg<u32, _SSIRXD_SSI1>>
impl R<u32, Reg<u32, _SSIRXD_SSI1>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 5:31 - 31:5] Reserved
Sourcepub fn input_sel(&self) -> INPUT_SEL_R
pub fn input_sel(&self) -> INPUT_SEL_R
Bits 0:4 - 4:0] 0: PA0 selected as SSI1 RX 1: PA1 selected as SSI1 RX … 31: PD7 selected as SSI1 RX
Source§impl R<u32, Reg<u32, _SSIFSSIN_SSI1>>
impl R<u32, Reg<u32, _SSIFSSIN_SSI1>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 5:31 - 31:5] Reserved
Sourcepub fn input_sel(&self) -> INPUT_SEL_R
pub fn input_sel(&self) -> INPUT_SEL_R
Bits 0:4 - 4:0] 0: PA0 selected as SSI1 FSSIN 1: PA1 selected as SSI1 FSSIN … 31: PD7 selected as SSI1 FSSIN
Source§impl R<u32, Reg<u32, _CLK_SSIIN_SSI1>>
impl R<u32, Reg<u32, _CLK_SSIIN_SSI1>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 5:31 - 31:5] Reserved
Sourcepub fn input_sel(&self) -> INPUT_SEL_R
pub fn input_sel(&self) -> INPUT_SEL_R
Bits 0:4 - 4:0] 0: PA0 selected as SSI1 CLK_SSIN 1: PA1 selected as SSI1 CLK_SSIN … 31: PD7 selected as SSI1 CLK_SSIN
Source§impl R<u32, Reg<u32, _I2CMSSDA>>
impl R<u32, Reg<u32, _I2CMSSDA>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 5:31 - 31:5] Reserved
Sourcepub fn input_sel(&self) -> INPUT_SEL_R
pub fn input_sel(&self) -> INPUT_SEL_R
Bits 0:4 - 4:0] 0: PA0 selected as I2C SDA 1: PA1 selected as I2C SDA … 31: PD7 selected as I2C SDA
Source§impl R<u32, Reg<u32, _I2CMSSCL>>
impl R<u32, Reg<u32, _I2CMSSCL>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 5:31 - 31:5] Reserved
Sourcepub fn input_sel(&self) -> INPUT_SEL_R
pub fn input_sel(&self) -> INPUT_SEL_R
Bits 0:4 - 4:0] 0: PA0 selected as I2C SCL 1: PA1 selected as I2C SCL … 31: PD7 selected as I2C SCL
Source§impl R<u32, Reg<u32, _GPT0OCP1>>
impl R<u32, Reg<u32, _GPT0OCP1>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 5:31 - 31:5] Reserved
Sourcepub fn input_sel(&self) -> INPUT_SEL_R
pub fn input_sel(&self) -> INPUT_SEL_R
Bits 0:4 - 4:0] 0: PA0 selected as GPT0OCP1 1: PA1 selected as GPT0OCP1 … 31: PD7 selected as GPT0OCP1
Source§impl R<u32, Reg<u32, _GPT0OCP2>>
impl R<u32, Reg<u32, _GPT0OCP2>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 5:31 - 31:5] Reserved
Sourcepub fn input_sel(&self) -> INPUT_SEL_R
pub fn input_sel(&self) -> INPUT_SEL_R
Bits 0:4 - 4:0] 0: PA0 selected as GPT0OCP2 1: PA1 selected as GPT0OCP2 … 31: PD7 selected as GPT0OCP2
Source§impl R<u32, Reg<u32, _GPT1OCP1>>
impl R<u32, Reg<u32, _GPT1OCP1>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 5:31 - 31:5] Reserved
Sourcepub fn input_sel(&self) -> INPUT_SEL_R
pub fn input_sel(&self) -> INPUT_SEL_R
Bits 0:4 - 4:0] 0: PA0 selected as GPT1OCP1 1: PA1 selected as GPT1OCP1 … 31: PD7 selected as GPT1OCP1
Source§impl R<u32, Reg<u32, _GPT1OCP2>>
impl R<u32, Reg<u32, _GPT1OCP2>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 5:31 - 31:5] Reserved
Sourcepub fn input_sel(&self) -> INPUT_SEL_R
pub fn input_sel(&self) -> INPUT_SEL_R
Bits 0:4 - 4:0] 0: PA0 selected as GPT1OCP2 1: PA1 selected as GPT1OCP2 … 31: PD7 selected as GPT1OCP2
Source§impl R<u32, Reg<u32, _GPT2OCP1>>
impl R<u32, Reg<u32, _GPT2OCP1>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 5:31 - 31:5] Reserved
Sourcepub fn input_sel(&self) -> INPUT_SEL_R
pub fn input_sel(&self) -> INPUT_SEL_R
Bits 0:4 - 4:0] 0: PA0 selected as GPT2OCP1 1: PA1 selected as GPT2OCP1 … 31: PD7 selected as GPT2OCP1
Source§impl R<u32, Reg<u32, _GPT2OCP2>>
impl R<u32, Reg<u32, _GPT2OCP2>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 5:31 - 31:5] Reserved
Sourcepub fn input_sel(&self) -> INPUT_SEL_R
pub fn input_sel(&self) -> INPUT_SEL_R
Bits 0:4 - 4:0] 0: PA0 selected as GPT2OCP2 1: PA1 selected as GPT2OCP2 … 31: PD7 selected as GPT2OCP2
Source§impl R<u32, Reg<u32, _GPT3OCP1>>
impl R<u32, Reg<u32, _GPT3OCP1>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 5:31 - 31:5] Reserved
Sourcepub fn input_sel(&self) -> INPUT_SEL_R
pub fn input_sel(&self) -> INPUT_SEL_R
Bits 0:4 - 4:0] 0: PA0 selected as GPT3OCP1 1: PA1 selected as GPT3OCP1 … 31: PD7 selected as GPT3OCP1
Source§impl R<u32, Reg<u32, _GPT3OCP2>>
impl R<u32, Reg<u32, _GPT3OCP2>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 5:31 - 31:5] Reserved
Sourcepub fn input_sel(&self) -> INPUT_SEL_R
pub fn input_sel(&self) -> INPUT_SEL_R
Bits 0:4 - 4:0] 0: PA0 selected as GPT3OCP2 1: PA1 selected as GPT3OCP2 … 31: PD7 selected as GPT3OCP2
Source§impl R<u32, Reg<u32, _WDCTL>>
impl R<u32, Reg<u32, _WDCTL>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] Reserved
Sourcepub fn clr(&self) -> CLR_R
pub fn clr(&self) -> CLR_R
Bits 4:7 - 7:4] Clear timer When 0xA followed by 0x5 is written to these bits, the timer is loaded with 0x0000. Note that 0x5 must be written within one watchdog clock period Twdt after 0xA was written for the clearing to take effect (ensured). If 0x5 is written between Twdt and 2Twdt after 0xA was written, the clearing may take effect, but there is no guarantee. If 0x5 is written > 2Twdt after 0xA was written, the timer will not be cleared. If a value other than 0x5 is written after 0xA has been written, the clear sequence is aborted. If 0xA is written, this starts a new clear sequence. Writing to these bits when EN = 0 has no effect.
Sourcepub fn en(&self) -> EN_R
pub fn en(&self) -> EN_R
Bit 3 - 3:3] Enable timer When 1 is written to this bit the timer is enabled and starts incrementing. The interval setting specified by INT[1:0] is used. Writing 0 to this bit have no effect.
Sourcepub fn reserved2(&self) -> RESERVED2_R
pub fn reserved2(&self) -> RESERVED2_R
Bit 2 - 2:2] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Source§impl R<u32, Reg<u32, _ST0>>
impl R<u32, Reg<u32, _ST0>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31
Source§impl R<u32, Reg<u32, _ST1>>
impl R<u32, Reg<u32, _ST1>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31
Sourcepub fn st1(&self) -> ST1_R
pub fn st1(&self) -> ST1_R
Bits 0:7 - 7:0] Sleep Timer count and compare value When read, this register returns the middle bits [15:8] of the Sleep Timer count. When writing this register sets the middle bits [15:8] of the compare value. The value read is latched at the time of reading register ST0. The value written is latched when ST0 is written.
Source§impl R<u32, Reg<u32, _ST2>>
impl R<u32, Reg<u32, _ST2>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31
Sourcepub fn st2(&self) -> ST2_R
pub fn st2(&self) -> ST2_R
Bits 0:7 - 7:0] Sleep Timer count and compare value When read, this register returns the high bits [23:16] of the Sleep Timer count. When writing this register sets the high bits [23:16] of the compare value. The value read is latched at the time of reading register ST0. The value written is latched when ST0 is written.
Source§impl R<u32, Reg<u32, _ST3>>
impl R<u32, Reg<u32, _ST3>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31
Sourcepub fn st3(&self) -> ST3_R
pub fn st3(&self) -> ST3_R
Bits 0:7 - 7:0] Sleep Timer count and compare value When read, this register returns the high bits [31:24] of the Sleep Timer count. When writing this register sets the high bits [31:24] of the compare value. The value read is latched at the time of reading register ST0. The value written is latched when ST0 is written.
Source§impl R<u32, Reg<u32, _STLOAD>>
impl R<u32, Reg<u32, _STLOAD>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31
Sourcepub fn reserved7(&self) -> RESERVED7_R
pub fn reserved7(&self) -> RESERVED7_R
Bits 1:7
Source§impl R<u32, Reg<u32, _STCC>>
impl R<u32, Reg<u32, _STCC>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 6:31
Source§impl R<u32, Reg<u32, _STCS>>
impl R<u32, Reg<u32, _STCS>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31
Sourcepub fn reserved7(&self) -> RESERVED7_R
pub fn reserved7(&self) -> RESERVED7_R
Bits 1:7
Source§impl R<u32, Reg<u32, _STCV0>>
impl R<u32, Reg<u32, _STCV0>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31
Source§impl R<u32, Reg<u32, _STCV1>>
impl R<u32, Reg<u32, _STCV1>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31
Source§impl R<u32, Reg<u32, _STCV2>>
impl R<u32, Reg<u32, _STCV2>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31
Source§impl R<u32, Reg<u32, _STCV3>>
impl R<u32, Reg<u32, _STCV3>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31
Source§impl R<u32, Reg<u32, _IVCTRL>>
impl R<u32, Reg<u32, _IVCTRL>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] This register is 8 bits in a 32-bit address space.
Sourcepub fn reserved8(&self) -> RESERVED8_R
pub fn reserved8(&self) -> RESERVED8_R
Bit 7 - 7:7] Reserved. Always read 0.
Sourcepub fn reserved7(&self) -> RESERVED7_R
pub fn reserved7(&self) -> RESERVED7_R
Bit 6 - 6:6] Reserved. Always read 0.
Sourcepub fn dac_curr_ctrl(&self) -> DAC_CURR_CTRL_R
pub fn dac_curr_ctrl(&self) -> DAC_CURR_CTRL_R
Bits 4:5 - 5:4] Controls bias current to DAC 00: 100% IVREF, 0% IREF bias 01: 60% IVREF, 40% IREF bias 10: 40% IVREF, 60% IREF bias 11: 0% IVREF, 100% IREF bias
Sourcepub fn lodiv_bias_ctrl(&self) -> LODIV_BIAS_CTRL_R
pub fn lodiv_bias_ctrl(&self) -> LODIV_BIAS_CTRL_R
Bit 3 - 3:3] Controls bias current to LODIV 1: PTAT bias 0: IVREF bias
Sourcepub fn txmix_dc_ctrl(&self) -> TXMIX_DC_CTRL_R
pub fn txmix_dc_ctrl(&self) -> TXMIX_DC_CTRL_R
Bit 2 - 2:2] Controls DC bias in TXMIX
Sourcepub fn pa_bias_ctrl(&self) -> PA_BIAS_CTRL_R
pub fn pa_bias_ctrl(&self) -> PA_BIAS_CTRL_R
Bits 0:1 - 1:0] Controls bias current to PA 00: IREF bias 01: IREF and IVREF bias (CC2530 mode) 10: PTAT bias 11: Increased PTAT slope bias
Source§impl R<u32, Reg<u32, _ADCCON1>>
impl R<u32, Reg<u32, _ADCCON1>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] This register is 8 bits in a 32-bit address space.
Sourcepub fn eoc(&self) -> EOC_R
pub fn eoc(&self) -> EOC_R
Bit 7 - 7:7] End of conversion. Cleared when ADCH has been read. If a new conversion is completed before the previous data has been read, the EOC bit remains high. 0: Conversion not complete 1: Conversion completed
Sourcepub fn st(&self) -> ST_R
pub fn st(&self) -> ST_R
Bit 6 - 6:6] Start conversion Read as 1 until conversion completes 0: No conversion in progress. 1: Start a conversion sequence if ADCCON1.STSEL = 11 and no sequence is running.
Sourcepub fn stsel(&self) -> STSEL_R
pub fn stsel(&self) -> STSEL_R
Bits 4:5 - 5:4] Start select Selects the event that starts a new conversion sequence 00: Not implemented 01: Full speed. Do not wait for triggers 10: Timer 1 channel 0 compare event 11: ADCCON1.ST = 1
Sourcepub fn rctrl(&self) -> RCTRL_R
pub fn rctrl(&self) -> RCTRL_R
Bits 2:3 - 3:2] Controls the 16-bit random-number generator (see User Guide Chapter 16) When 01 is written, the setting automatically returns to 00 when the operation completes. 00: Normal operation (13x unrolling) 01: Clock the LFSR once (13x unrolling) 10: Reserved 11: Stopped. The random-number generator is turned off.
Sourcepub fn reserved1(&self) -> RESERVED1_R
pub fn reserved1(&self) -> RESERVED1_R
Bits 0:1 - 1:0] Reserved. Always set to 11.
Source§impl R<u32, Reg<u32, _ADCCON2>>
impl R<u32, Reg<u32, _ADCCON2>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] This register is 8 bits in a 32-bit address space.
Sourcepub fn sref(&self) -> SREF_R
pub fn sref(&self) -> SREF_R
Bits 6:7 - 7:6] Selects reference voltage used for the sequence of conversions 00: Internal reference 01: External reference on AIN7 pin 10: AVDD5 pin 11: External reference on AIN6-AIN7 differential input
Sourcepub fn sdiv(&self) -> SDIV_R
pub fn sdiv(&self) -> SDIV_R
Bits 4:5 - 5:4] Sets the decimation rate for channels included in the sequence of conversions. The decimation rate also determines the resolution and time required to complete a conversion. 00: 64 decimation rate (7 bits ENOB setting) 01: 128 decimation rate (9 bits ENOB setting) 10: 256 decimation rate (10 bits ENOB setting) 11: 512 decimation rate (12 bits ENOB setting)
Sourcepub fn sch(&self) -> SCH_R
pub fn sch(&self) -> SCH_R
Bits 0:3 - 3:0] Sequence channel select Selects the end of the sequence A sequence can either be from AIN0 to AIN7 (SCH <= 7) or from differential input AIN0-AIN1 to AIN6-AIN7 (8 <= SCH <= 11). For other settings, only one conversions is performed. When read, these bits indicate the channel number on which a conversion is ongoing: 0000: AIN0 0001: AIN1 0010: AIN2 0011: AIN3 0100: AIN4 0101: AIN5 0110: AIN6 0111: AIN7 1000: AIN0-AIN1 1001: AIN2-AIN3 1010: AIN4-AIN5 1011: AIN6-AIN7 1100: GND 1101: Reserved 1110: Temperature sensor 1111: VDD/3
Source§impl R<u32, Reg<u32, _ADCCON3>>
impl R<u32, Reg<u32, _ADCCON3>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] This register is 8 bits in a 32-bit address space.
Sourcepub fn eref(&self) -> EREF_R
pub fn eref(&self) -> EREF_R
Bits 6:7 - 7:6] Selects reference voltage used for the extra conversion 00: Internal reference 01: External reference on AIN7 pin 10: AVDD5 pin 11: External reference on AIN6-AIN7 differential input
Sourcepub fn ediv(&self) -> EDIV_R
pub fn ediv(&self) -> EDIV_R
Bits 4:5 - 5:4] Sets the decimation rate used for the extra conversion The decimation rate also determines the resolution and the time required to complete the conversion. 00: 64 decimation rate (7 bits ENOB) 01: 128 decimation rate (9 bits ENOB) 10: 256 decimation rate (10 bits ENOB) 11: 512 decimation rate (12 bits ENOB)
Sourcepub fn ech(&self) -> ECH_R
pub fn ech(&self) -> ECH_R
Bits 0:3 - 3:0] Single channel select. Selects the channel number of the single conversion that is triggered by writing to ADCCON3. 0000: AIN0 0001: AIN1 0010: AIN2 0011: AIN3 0100: AIN4 0101: AIN5 0110: AIN6 0111: AIN7 1000: AIN0-AIN1 1001: AIN2-AIN3 1010: AIN4-AIN5 1011: AIN6-AIN7 1100: GND 1101: Reserved 1110: Temperature sensor 1111: VDD/3
Source§impl R<u32, Reg<u32, _ADCL>>
impl R<u32, Reg<u32, _ADCL>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] This register is 8 bits in a 32-bit address space.
Sourcepub fn reserved1(&self) -> RESERVED1_R
pub fn reserved1(&self) -> RESERVED1_R
Bits 0:1 - 1:0] Reserved. Always read as 0.
Source§impl R<u32, Reg<u32, _ADCH>>
impl R<u32, Reg<u32, _ADCH>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] This register is 8 bits in a 32-bit address space.
Source§impl R<u32, Reg<u32, _RNDL>>
impl R<u32, Reg<u32, _RNDL>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] This register is 8 bits in a 32-bit address space.
Sourcepub fn rndl(&self) -> RNDL_R
pub fn rndl(&self) -> RNDL_R
Bits 0:7 - 7:0] Random value/seed or CRC result, low byte When used for random-number generation, writing to this register twice seeds the random-number generator. Writing to this register copies the 8 LSBs of the LFSR to the 8 MSBs and replaces the 8 LSBs with the data value written. The value returned when reading from this register is the 8 LSBs of the LFSR. When used for random-number generation, reading this register returns the 8 LSBs of the random number. When used for CRC calculations, reading this register returns the 8 LSBs of the CRC result.
Source§impl R<u32, Reg<u32, _RNDH>>
impl R<u32, Reg<u32, _RNDH>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] This register is 8 bits in a 32-bit address space.
Sourcepub fn rndh(&self) -> RNDH_R
pub fn rndh(&self) -> RNDH_R
Bits 0:7 - 7:0] Random value or CRC result/input data, high byte When written, a CRC16 calculation is triggered, and the data value written is processed starting with the MSB. The value returned when reading from this register is the 8 MSBs of the LFSR. When used for random-number generation, reading this register returns the 8 MSBs of the random number. When used for CRC calculations, reading this register returns the 8 MSBs of the CRC result.
Source§impl R<u32, Reg<u32, _CMPCTL>>
impl R<u32, Reg<u32, _CMPCTL>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] This register is 8 bits in a 32-bit address space.
Source§impl R<u32, Reg<u32, _DATA>>
impl R<u32, Reg<u32, _DATA>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31
Source§impl R<u32, Reg<u32, _DIR>>
impl R<u32, Reg<u32, _DIR>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31
Source§impl R<u32, Reg<u32, _IS>>
impl R<u32, Reg<u32, _IS>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31
Source§impl R<u32, Reg<u32, _IBE>>
impl R<u32, Reg<u32, _IBE>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31
Source§impl R<u32, Reg<u32, _IEV>>
impl R<u32, Reg<u32, _IEV>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31
Source§impl R<u32, Reg<u32, _IE>>
impl R<u32, Reg<u32, _IE>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31
Source§impl R<u32, Reg<u32, _RIS>>
impl R<u32, Reg<u32, _RIS>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31
Source§impl R<u32, Reg<u32, _MIS>>
impl R<u32, Reg<u32, _MIS>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31
Source§impl R<u32, Reg<u32, _IC>>
impl R<u32, Reg<u32, _IC>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31
Source§impl R<u32, Reg<u32, _AFSEL>>
impl R<u32, Reg<u32, _AFSEL>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31
Source§impl R<u32, Reg<u32, _GPIOCR>>
impl R<u32, Reg<u32, _GPIOCR>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] Reserved bits return an indeterminate value, and should never be changed.
Source§impl R<u32, Reg<u32, _PMUX>>
impl R<u32, Reg<u32, _PMUX>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31
Sourcepub fn ckoen(&self) -> CKOEN_R
pub fn ckoen(&self) -> CKOEN_R
Bit 7 - 7:7] Clock out enable When this bit is set, the 32-kHz clock is routed to either PA[0] or PB[7] pins. PMUX.CKOPIN selects the pin to use. This overrides the current configuration setting for this pin. The pullup or pulldown is disabled and the direction is set to output for this pin.
Sourcepub fn reserved7(&self) -> RESERVED7_R
pub fn reserved7(&self) -> RESERVED7_R
Bits 5:6 - 6:5] These are spare registers that are unused in the design.
Sourcepub fn ckopin(&self) -> CKOPIN_R
pub fn ckopin(&self) -> CKOPIN_R
Bit 4 - 4:4] Decouple control pin select This control only has relevance when CKOEN is set. When 0, PA[0] becomes the 32-kHz clock output. When 1, PB[7] becomes the 32-kHz clock output.
Sourcepub fn dcen(&self) -> DCEN_R
pub fn dcen(&self) -> DCEN_R
Bit 3 - 3:3] Decouple control enable When this bit is set, the on-die digital regulator status is routed to either PB[1] or PB[0] pins. PMUX.DCPIN selects the pin to use. This overrides the current configuration setting for this pin. The pullup or pulldown is disabled and the direction is set to output for this pin.
Sourcepub fn reserved3(&self) -> RESERVED3_R
pub fn reserved3(&self) -> RESERVED3_R
Bits 1:2 - 2:1] These are spare registers that are unused in the design.
Sourcepub fn dcpin(&self) -> DCPIN_R
pub fn dcpin(&self) -> DCPIN_R
Bit 0 - 0:0] Decouple control pin select This control has relevance only when DCEN is set. When 0, PB[1] becomes the on-die digital regulator status (1 indicates the on-die digital regulator is active); when 1, PB[0] becomes the on-die digital regulator status. NOTE: PB[1] and PB[0] can also be controlled with other override features. In priority order for PB[1]: When POR/BOD test mode is active, PB[1] becomes the active low brown-out detected indicator. When DCEN is set and DCPIN is not set, PB[1] becomes the on-dir digital regulator status. In priority order for PB[0]: When POR/BOD test mode is active, PB[0] becomes the power-on-reset indicator. When DCEN and DCPIN are set, PB[0] becomes the on-die digital regulator status.
Source§impl R<u32, Reg<u32, _P_EDGE_CTRL>>
impl R<u32, Reg<u32, _P_EDGE_CTRL>>
Sourcepub fn pdirc7(&self) -> PDIRC7_R
pub fn pdirc7(&self) -> PDIRC7_R
Bit 31 - 31:31] Port D bit 7 interrupt request condition: 0: Rising 1: Falling edge
Sourcepub fn pdirc6(&self) -> PDIRC6_R
pub fn pdirc6(&self) -> PDIRC6_R
Bit 30 - 30:30] Port D bit 6 interrupt request condition: 0: Rising 1: Falling edge
Sourcepub fn pdirc5(&self) -> PDIRC5_R
pub fn pdirc5(&self) -> PDIRC5_R
Bit 29 - 29:29] Port D bit 5 interrupt request condition: 0: Rising 1: Falling edge
Sourcepub fn pdirc4(&self) -> PDIRC4_R
pub fn pdirc4(&self) -> PDIRC4_R
Bit 28 - 28:28] Port D bit 4 interrupt request condition: 0: Rising 1: Falling edge
Sourcepub fn pdirc3(&self) -> PDIRC3_R
pub fn pdirc3(&self) -> PDIRC3_R
Bit 27 - 27:27] Port D bit 3 interrupt request condition: 0: Rising 1: Falling edge
Sourcepub fn pdirc2(&self) -> PDIRC2_R
pub fn pdirc2(&self) -> PDIRC2_R
Bit 26 - 26:26] Port D bit 2 interrupt request condition: 0: Rising 1: Falling edge
Sourcepub fn pdirc1(&self) -> PDIRC1_R
pub fn pdirc1(&self) -> PDIRC1_R
Bit 25 - 25:25] Port D bit 1 interrupt request condition: 0: Rising 1: Falling edge
Sourcepub fn pdirc0(&self) -> PDIRC0_R
pub fn pdirc0(&self) -> PDIRC0_R
Bit 24 - 24:24] Port D bit 0 interrupt request condition: 0: Rising 1: Falling edge
Sourcepub fn pcirc7(&self) -> PCIRC7_R
pub fn pcirc7(&self) -> PCIRC7_R
Bit 23 - 23:23] Port C bit 7 interrupt request condition: 0: Rising 1: Falling edge
Sourcepub fn pcirc6(&self) -> PCIRC6_R
pub fn pcirc6(&self) -> PCIRC6_R
Bit 22 - 22:22] Port C bit 6 interrupt request condition: 0: Rising 1: Falling edge
Sourcepub fn pcirc5(&self) -> PCIRC5_R
pub fn pcirc5(&self) -> PCIRC5_R
Bit 21 - 21:21] Port C bit 5 interrupt request condition: 0: Rising 1: Falling edge
Sourcepub fn pcirc4(&self) -> PCIRC4_R
pub fn pcirc4(&self) -> PCIRC4_R
Bit 20 - 20:20] Port C bit 4 interrupt request condition: 0: Rising 1: Falling edge
Sourcepub fn pcirc3(&self) -> PCIRC3_R
pub fn pcirc3(&self) -> PCIRC3_R
Bit 19 - 19:19] Port C bit 3 interrupt request condition: 0: Rising 1: Falling edge
Sourcepub fn pcirc2(&self) -> PCIRC2_R
pub fn pcirc2(&self) -> PCIRC2_R
Bit 18 - 18:18] Port C bit 2 interrupt request condition: 0: Rising 1: Falling edge
Sourcepub fn pcirc1(&self) -> PCIRC1_R
pub fn pcirc1(&self) -> PCIRC1_R
Bit 17 - 17:17] Port C bit 1 interrupt request condition: 0: Rising 1: Falling edge
Sourcepub fn pcirc0(&self) -> PCIRC0_R
pub fn pcirc0(&self) -> PCIRC0_R
Bit 16 - 16:16] Port C bit 0 interrupt request condition: 0: Rising 1: Falling edge
Sourcepub fn pbirc7(&self) -> PBIRC7_R
pub fn pbirc7(&self) -> PBIRC7_R
Bit 15 - 15:15] Port B bit 7 interrupt request condition: 0: Rising 1: Falling edge
Sourcepub fn pbirc6(&self) -> PBIRC6_R
pub fn pbirc6(&self) -> PBIRC6_R
Bit 14 - 14:14] Port B bit 6 interrupt request condition: 0: Rising 1: Falling edge
Sourcepub fn pbirc5(&self) -> PBIRC5_R
pub fn pbirc5(&self) -> PBIRC5_R
Bit 13 - 13:13] Port B bit 5 interrupt request condition: 0: Rising 1: Falling edge
Sourcepub fn pbirc4(&self) -> PBIRC4_R
pub fn pbirc4(&self) -> PBIRC4_R
Bit 12 - 12:12] Port B bit 4 interrupt request condition: 0: Rising 1: Falling edge
Sourcepub fn pbirc3(&self) -> PBIRC3_R
pub fn pbirc3(&self) -> PBIRC3_R
Bit 11 - 11:11] Port B bit 3 interrupt request condition: 0: Rising 1: Falling edge
Sourcepub fn pbirc2(&self) -> PBIRC2_R
pub fn pbirc2(&self) -> PBIRC2_R
Bit 10 - 10:10] Port B bit 2 interrupt request condition: 0: Rising 1: Falling edge
Sourcepub fn pbirc1(&self) -> PBIRC1_R
pub fn pbirc1(&self) -> PBIRC1_R
Bit 9 - 9:9] Port B bit 1 interrupt request condition: 0: Rising 1: Falling edge
Sourcepub fn pbirc0(&self) -> PBIRC0_R
pub fn pbirc0(&self) -> PBIRC0_R
Bit 8 - 8:8] Port B bit 0 interrupt request condition: 0: Rising 1: Falling edge
Sourcepub fn pairc7(&self) -> PAIRC7_R
pub fn pairc7(&self) -> PAIRC7_R
Bit 7 - 7:7] Port A bit 7 interrupt request condition: 0: Rising 1: Falling edge
Sourcepub fn pairc6(&self) -> PAIRC6_R
pub fn pairc6(&self) -> PAIRC6_R
Bit 6 - 6:6] Port A bit 6 interrupt request condition: 0: Rising 1: Falling edge
Sourcepub fn pairc5(&self) -> PAIRC5_R
pub fn pairc5(&self) -> PAIRC5_R
Bit 5 - 5:5] Port A bit 5 interrupt request condition: 0: Rising 1: Falling edge
Sourcepub fn pairc4(&self) -> PAIRC4_R
pub fn pairc4(&self) -> PAIRC4_R
Bit 4 - 4:4] Port A bit 4 interrupt request condition: 0: Rising 1: Falling edge
Sourcepub fn pairc3(&self) -> PAIRC3_R
pub fn pairc3(&self) -> PAIRC3_R
Bit 3 - 3:3] Port A bit 3 interrupt request condition: 0: Rising 1: Falling edge
Sourcepub fn pairc2(&self) -> PAIRC2_R
pub fn pairc2(&self) -> PAIRC2_R
Bit 2 - 2:2] Port A bit 2 interrupt request condition: 0: Rising 1: Falling edge
Source§impl R<u32, Reg<u32, _USB_CTRL>>
impl R<u32, Reg<u32, _USB_CTRL>>
Sourcepub fn reserved31(&self) -> RESERVED31_R
pub fn reserved31(&self) -> RESERVED31_R
Bits 1:31
Sourcepub fn usb_edge_ctl(&self) -> USB_EDGE_CTL_R
pub fn usb_edge_ctl(&self) -> USB_EDGE_CTL_R
Bit 0 - 0:0] Used to set the edge which triggers the USB power up interrupt 0: Rising 1: Falling
Source§impl R<u32, Reg<u32, _PI_IEN>>
impl R<u32, Reg<u32, _PI_IEN>>
Sourcepub fn pdien7(&self) -> PDIEN7_R
pub fn pdien7(&self) -> PDIEN7_R
Bit 31 - 31:31] Port D bit 7 interrupt enable: 1: Enabled 2: Disabled
Sourcepub fn pdien6(&self) -> PDIEN6_R
pub fn pdien6(&self) -> PDIEN6_R
Bit 30 - 30:30] Port D bit 6 interrupt enable: 1: Enabled 2: Disabled
Sourcepub fn pdien5(&self) -> PDIEN5_R
pub fn pdien5(&self) -> PDIEN5_R
Bit 29 - 29:29] Port D bit 5 interrupt enable: 1: Enabled 2: Disabled
Sourcepub fn pdien4(&self) -> PDIEN4_R
pub fn pdien4(&self) -> PDIEN4_R
Bit 28 - 28:28] Port D bit 4 interrupt enable: 1: Enabled 2: Disabled
Sourcepub fn pdien3(&self) -> PDIEN3_R
pub fn pdien3(&self) -> PDIEN3_R
Bit 27 - 27:27] Port D bit 3 interrupt enable: 1: Enabled 2: Disabled
Sourcepub fn pdien2(&self) -> PDIEN2_R
pub fn pdien2(&self) -> PDIEN2_R
Bit 26 - 26:26] Port D bit 2 interrupt enable: 1: Enabled 2: Disabled
Sourcepub fn pdien1(&self) -> PDIEN1_R
pub fn pdien1(&self) -> PDIEN1_R
Bit 25 - 25:25] Port D bit 1 interrupt enable: 1: Enabled 2: Disabled
Sourcepub fn pdien0(&self) -> PDIEN0_R
pub fn pdien0(&self) -> PDIEN0_R
Bit 24 - 24:24] Port D bit 0 interrupt enable: 1: Enabled 2: Disabled
Sourcepub fn pcien7(&self) -> PCIEN7_R
pub fn pcien7(&self) -> PCIEN7_R
Bit 23 - 23:23] Port C bit 7 interrupt enable: 1: Enabled 2: Disabled
Sourcepub fn pcien6(&self) -> PCIEN6_R
pub fn pcien6(&self) -> PCIEN6_R
Bit 22 - 22:22] Port C bit 6 interrupt enable: 1: Enabled 2: Disabled
Sourcepub fn pcien5(&self) -> PCIEN5_R
pub fn pcien5(&self) -> PCIEN5_R
Bit 21 - 21:21] Port C bit 5 interrupt enable: 1: Enabled 2: Disabled
Sourcepub fn pcien4(&self) -> PCIEN4_R
pub fn pcien4(&self) -> PCIEN4_R
Bit 20 - 20:20] Port C bit 4 interrupt enable: 1: Enabled 2: Disabled
Sourcepub fn pcien3(&self) -> PCIEN3_R
pub fn pcien3(&self) -> PCIEN3_R
Bit 19 - 19:19] Port C bit 3 interrupt enable: 1: Enabled 2: Disabled
Sourcepub fn pcien2(&self) -> PCIEN2_R
pub fn pcien2(&self) -> PCIEN2_R
Bit 18 - 18:18] Port C bit 2 interrupt enable: 1: Enabled 2: Disabled
Sourcepub fn pcien1(&self) -> PCIEN1_R
pub fn pcien1(&self) -> PCIEN1_R
Bit 17 - 17:17] Port C bit 1 interrupt enable: 1: Enabled 2: Disabled
Sourcepub fn pcien0(&self) -> PCIEN0_R
pub fn pcien0(&self) -> PCIEN0_R
Bit 16 - 16:16] Port C bit 0 interrupt enable: 1: Enabled 2: Disabled
Sourcepub fn pbien7(&self) -> PBIEN7_R
pub fn pbien7(&self) -> PBIEN7_R
Bit 15 - 15:15] Port B bit 7 interrupt enable: 1: Enabled 2: Disabled
Sourcepub fn pbien6(&self) -> PBIEN6_R
pub fn pbien6(&self) -> PBIEN6_R
Bit 14 - 14:14] Port B bit 6 interrupt enable: 1: Enabled 2: Disabled
Sourcepub fn pbien5(&self) -> PBIEN5_R
pub fn pbien5(&self) -> PBIEN5_R
Bit 13 - 13:13] Port B bit 5 interrupt enable: 1: Enabled 2: Disabled
Sourcepub fn pbien4(&self) -> PBIEN4_R
pub fn pbien4(&self) -> PBIEN4_R
Bit 12 - 12:12] Port B bit 4 interrupt enable: 1: Enabled 2: Disabled
Sourcepub fn pbien3(&self) -> PBIEN3_R
pub fn pbien3(&self) -> PBIEN3_R
Bit 11 - 11:11] Port B bit 3 interrupt enable: 1: Enabled 2: Disabled
Sourcepub fn pbien2(&self) -> PBIEN2_R
pub fn pbien2(&self) -> PBIEN2_R
Bit 10 - 10:10] Port B bit 2 interrupt enable: 1: Enabled 2: Disabled
Sourcepub fn pbien1(&self) -> PBIEN1_R
pub fn pbien1(&self) -> PBIEN1_R
Bit 9 - 9:9] Port B bit 1 interrupt enable: 1: Enabled 2: Disabled
Sourcepub fn pbien0(&self) -> PBIEN0_R
pub fn pbien0(&self) -> PBIEN0_R
Bit 8 - 8:8] Port B bit 0 interrupt enable: 1: Enabled 2: Disabled
Sourcepub fn paien7(&self) -> PAIEN7_R
pub fn paien7(&self) -> PAIEN7_R
Bit 7 - 7:7] Port A bit 7 interrupt enable: 1: Enabled 2: Disabled
Sourcepub fn paien6(&self) -> PAIEN6_R
pub fn paien6(&self) -> PAIEN6_R
Bit 6 - 6:6] Port A bit 6 interrupt enable: 1: Enabled 2: Disabled
Sourcepub fn paien5(&self) -> PAIEN5_R
pub fn paien5(&self) -> PAIEN5_R
Bit 5 - 5:5] Port A bit 5 interrupt enable: 1: Enabled 2: Disabled
Sourcepub fn paien4(&self) -> PAIEN4_R
pub fn paien4(&self) -> PAIEN4_R
Bit 4 - 4:4] Port A bit 4 interrupt enable: 1: Enabled 2: Disabled
Sourcepub fn paien3(&self) -> PAIEN3_R
pub fn paien3(&self) -> PAIEN3_R
Bit 3 - 3:3] Port A bit 3 interrupt enable: 1: Enabled 2: Disabled
Sourcepub fn paien2(&self) -> PAIEN2_R
pub fn paien2(&self) -> PAIEN2_R
Bit 2 - 2:2] Port A bit 2 interrupt enable: 1: Enabled 2: Disabled
Source§impl R<u32, Reg<u32, _IRQ_DETECT_ACK>>
impl R<u32, Reg<u32, _IRQ_DETECT_ACK>>
Sourcepub fn pdiack7(&self) -> PDIACK7_R
pub fn pdiack7(&self) -> PDIACK7_R
Bit 31 - 31:31] Port D bit 7 masked interrupt status: 1: Detected 0: Not detected
Sourcepub fn pdiack6(&self) -> PDIACK6_R
pub fn pdiack6(&self) -> PDIACK6_R
Bit 30 - 30:30] Port D bit 6 masked interrupt status: 1: Detected 0: Not detected
Sourcepub fn pdiack5(&self) -> PDIACK5_R
pub fn pdiack5(&self) -> PDIACK5_R
Bit 29 - 29:29] Port D bit 5 masked interrupt status: 1: Detected 0: Not detected
Sourcepub fn pdiack4(&self) -> PDIACK4_R
pub fn pdiack4(&self) -> PDIACK4_R
Bit 28 - 28:28] Port D bit 4 masked interrupt status: 1: Detected 0: Not detected
Sourcepub fn pdiack3(&self) -> PDIACK3_R
pub fn pdiack3(&self) -> PDIACK3_R
Bit 27 - 27:27] Port D bit 3 masked interrupt status: 1: Detected 0: Not detected
Sourcepub fn pdiack2(&self) -> PDIACK2_R
pub fn pdiack2(&self) -> PDIACK2_R
Bit 26 - 26:26] Port D bit 2 masked interrupt status: 1: Detected 0: Not detected
Sourcepub fn pdiack1(&self) -> PDIACK1_R
pub fn pdiack1(&self) -> PDIACK1_R
Bit 25 - 25:25] Port D bit 1 masked interrupt status: 1: Detected0: Not detected
Sourcepub fn pdiack0(&self) -> PDIACK0_R
pub fn pdiack0(&self) -> PDIACK0_R
Bit 24 - 24:24] Port D bit 0 masked interrupt status: 1: Detected 0: Not detected
Sourcepub fn pciack7(&self) -> PCIACK7_R
pub fn pciack7(&self) -> PCIACK7_R
Bit 23 - 23:23] Port C bit 7 masked interrupt status: 1: Detected 0: Not detected
Sourcepub fn pciack6(&self) -> PCIACK6_R
pub fn pciack6(&self) -> PCIACK6_R
Bit 22 - 22:22] Port C bit 6 masked interrupt status: 1: Detected 0: Not detected
Sourcepub fn pciack5(&self) -> PCIACK5_R
pub fn pciack5(&self) -> PCIACK5_R
Bit 21 - 21:21] Port C bit 5 masked interrupt status: 1: Detected 0: Not detected
Sourcepub fn pciack4(&self) -> PCIACK4_R
pub fn pciack4(&self) -> PCIACK4_R
Bit 20 - 20:20] Port C bit 4 masked interrupt status: 1: Detected 0: Not detected
Sourcepub fn pciack3(&self) -> PCIACK3_R
pub fn pciack3(&self) -> PCIACK3_R
Bit 19 - 19:19] Port C bit 3 masked interrupt status: 1: Detected 0: Not detected
Sourcepub fn pciack2(&self) -> PCIACK2_R
pub fn pciack2(&self) -> PCIACK2_R
Bit 18 - 18:18] Port C bit 2 masked interrupt status: 1: Detected 0: Not detected
Sourcepub fn pciack1(&self) -> PCIACK1_R
pub fn pciack1(&self) -> PCIACK1_R
Bit 17 - 17:17] Port C bit 1 masked interrupt status: 1: Detected 0: Not detected
Sourcepub fn pciack0(&self) -> PCIACK0_R
pub fn pciack0(&self) -> PCIACK0_R
Bit 16 - 16:16] Port C bit 0 masked interrupt status: 1: Detected 0: Not detected
Sourcepub fn pbiack7(&self) -> PBIACK7_R
pub fn pbiack7(&self) -> PBIACK7_R
Bit 15 - 15:15] Port B bit 7 masked interrupt status: 1: Detected 0: Not detected
Sourcepub fn pbiack6(&self) -> PBIACK6_R
pub fn pbiack6(&self) -> PBIACK6_R
Bit 14 - 14:14] Port B bit 6 masked interrupt status: 1: Detected 0: Not detected
Sourcepub fn pbiack5(&self) -> PBIACK5_R
pub fn pbiack5(&self) -> PBIACK5_R
Bit 13 - 13:13] Port B bit 5 masked interrupt status: 1: Detected 0: Not detected
Sourcepub fn pbiack4(&self) -> PBIACK4_R
pub fn pbiack4(&self) -> PBIACK4_R
Bit 12 - 12:12] Port B bit 4 masked interrupt status: 1: Detected 0: Not detected
Sourcepub fn pbiack3(&self) -> PBIACK3_R
pub fn pbiack3(&self) -> PBIACK3_R
Bit 11 - 11:11] Port B bit 3 masked interrupt status: 1: Detected 0: Not detected
Sourcepub fn pbiack2(&self) -> PBIACK2_R
pub fn pbiack2(&self) -> PBIACK2_R
Bit 10 - 10:10] Port B bit 2 masked interrupt status: 1: Detected 0: Not detected
Sourcepub fn pbiack1(&self) -> PBIACK1_R
pub fn pbiack1(&self) -> PBIACK1_R
Bit 9 - 9:9] Port B bit 1 masked interrupt status: 1: Detected 0: Not detected
Sourcepub fn pbiack0(&self) -> PBIACK0_R
pub fn pbiack0(&self) -> PBIACK0_R
Bit 8 - 8:8] Port B bit 0 masked interrupt status: 1: Detected 0: Not detected
Sourcepub fn paiack7(&self) -> PAIACK7_R
pub fn paiack7(&self) -> PAIACK7_R
Bit 7 - 7:7] Port A bit 7 masked interrupt status: 1: Detected 0: Not detected
Sourcepub fn paiack6(&self) -> PAIACK6_R
pub fn paiack6(&self) -> PAIACK6_R
Bit 6 - 6:6] Port A bit 6 masked interrupt status: 1: Detected 0: Not detected
Sourcepub fn paiack5(&self) -> PAIACK5_R
pub fn paiack5(&self) -> PAIACK5_R
Bit 5 - 5:5] Port A bit 5 masked interrupt status: 1: Detected 0: Not detected
Sourcepub fn paiack4(&self) -> PAIACK4_R
pub fn paiack4(&self) -> PAIACK4_R
Bit 4 - 4:4] Port A bit 4 masked interrupt status: 1: Detected 0: Not detected
Sourcepub fn paiack3(&self) -> PAIACK3_R
pub fn paiack3(&self) -> PAIACK3_R
Bit 3 - 3:3] Port A bit 3 masked interrupt status: 1: Detected 0: Not detected
Sourcepub fn paiack2(&self) -> PAIACK2_R
pub fn paiack2(&self) -> PAIACK2_R
Bit 2 - 2:2] Port A bit 2 masked interrupt status: 1: Detected 0: Not detected
Source§impl R<u32, Reg<u32, _USB_IRQ_ACK>>
impl R<u32, Reg<u32, _USB_IRQ_ACK>>
Sourcepub fn reserved31(&self) -> RESERVED31_R
pub fn reserved31(&self) -> RESERVED31_R
Bits 1:31
Source§impl R<u32, Reg<u32, _IRQ_DETECT_UNMASK>>
impl R<u32, Reg<u32, _IRQ_DETECT_UNMASK>>
Sourcepub fn pdiack7(&self) -> PDIACK7_R
pub fn pdiack7(&self) -> PDIACK7_R
Bit 31 - 31:31] Port D bit 7 unmasked interrupt status: 1: Detected 0: Undetected
Sourcepub fn pdiack6(&self) -> PDIACK6_R
pub fn pdiack6(&self) -> PDIACK6_R
Bit 30 - 30:30] Port D bit 6 unmasked interrupt status: 1: Detected 0: Undetected
Sourcepub fn pdiack5(&self) -> PDIACK5_R
pub fn pdiack5(&self) -> PDIACK5_R
Bit 29 - 29:29] Port D bit 5 unmasked interrupt status: 1: Detected 0: Undetected
Sourcepub fn pdiack4(&self) -> PDIACK4_R
pub fn pdiack4(&self) -> PDIACK4_R
Bit 28 - 28:28] Port D bit 4 unmasked interrupt status: 1: Detected 0: Undetected
Sourcepub fn pdiack3(&self) -> PDIACK3_R
pub fn pdiack3(&self) -> PDIACK3_R
Bit 27 - 27:27] Port D bit 3 unmasked interrupt status: 1: Detected 0: Undetected
Sourcepub fn pdiack2(&self) -> PDIACK2_R
pub fn pdiack2(&self) -> PDIACK2_R
Bit 26 - 26:26] Port D bit 2 unmasked interrupt status: 1: Detected 0: Undetected
Sourcepub fn pdiack1(&self) -> PDIACK1_R
pub fn pdiack1(&self) -> PDIACK1_R
Bit 25 - 25:25] Port D bit 1 unmasked interrupt status: 1: Detected 0: Undetected
Sourcepub fn pdiack0(&self) -> PDIACK0_R
pub fn pdiack0(&self) -> PDIACK0_R
Bit 24 - 24:24] Port D bit 0 unmasked interrupt status: 1: Detected 0: Undetected
Sourcepub fn pciack7(&self) -> PCIACK7_R
pub fn pciack7(&self) -> PCIACK7_R
Bit 23 - 23:23] Port C bit 7 unmasked interrupt status: 1: Detected 0: Undetected
Sourcepub fn pciack6(&self) -> PCIACK6_R
pub fn pciack6(&self) -> PCIACK6_R
Bit 22 - 22:22] Port C bit 6 unmasked interrupt status: 1: Detected 0: Undetected
Sourcepub fn pciack5(&self) -> PCIACK5_R
pub fn pciack5(&self) -> PCIACK5_R
Bit 21 - 21:21] Port C bit 5 unmasked interrupt status: 1: Detected 0: Undetected
Sourcepub fn pciack4(&self) -> PCIACK4_R
pub fn pciack4(&self) -> PCIACK4_R
Bit 20 - 20:20] Port C bit 4 unmasked interrupt status: 1: Detected 0: Undetected
Sourcepub fn pciack3(&self) -> PCIACK3_R
pub fn pciack3(&self) -> PCIACK3_R
Bit 19 - 19:19] Port C bit 3 unmasked interrupt status: 1: Detected 0: Undetected
Sourcepub fn pciack2(&self) -> PCIACK2_R
pub fn pciack2(&self) -> PCIACK2_R
Bit 18 - 18:18] Port C bit 2 unmasked interrupt status: 1: Detected 0: Undetected
Sourcepub fn pciack1(&self) -> PCIACK1_R
pub fn pciack1(&self) -> PCIACK1_R
Bit 17 - 17:17] Port C bit 1 unmasked interrupt status: 1: Detected 0: Undetected
Sourcepub fn pciack0(&self) -> PCIACK0_R
pub fn pciack0(&self) -> PCIACK0_R
Bit 16 - 16:16] Port C bit 0 unmasked interrupt status: 1: Detected 0: Undetected
Sourcepub fn pbiack7(&self) -> PBIACK7_R
pub fn pbiack7(&self) -> PBIACK7_R
Bit 15 - 15:15] Port B bit 7 unmasked interrupt status: 1: Detected 0: Undetected
Sourcepub fn pbiack6(&self) -> PBIACK6_R
pub fn pbiack6(&self) -> PBIACK6_R
Bit 14 - 14:14] Port B bit 6 unmasked interrupt status: 1: Detected 0: Undetected
Sourcepub fn pbiack5(&self) -> PBIACK5_R
pub fn pbiack5(&self) -> PBIACK5_R
Bit 13 - 13:13] Port B bit 5 unmasked interrupt status: 1: Detected 0: Undetected
Sourcepub fn pbiack4(&self) -> PBIACK4_R
pub fn pbiack4(&self) -> PBIACK4_R
Bit 12 - 12:12] Port B bit 4 unmasked interrupt status: 1: Detected 0: Undetected
Sourcepub fn pbiack3(&self) -> PBIACK3_R
pub fn pbiack3(&self) -> PBIACK3_R
Bit 11 - 11:11] Port B bit 3 unmasked interrupt status: 1: Detected 0: Undetected
Sourcepub fn pbiack2(&self) -> PBIACK2_R
pub fn pbiack2(&self) -> PBIACK2_R
Bit 10 - 10:10] Port B bit 2 unmasked interrupt status: 1: Detected 0: Undetected
Sourcepub fn pbiack1(&self) -> PBIACK1_R
pub fn pbiack1(&self) -> PBIACK1_R
Bit 9 - 9:9] Port B bit 1 unmasked interrupt status: 1: Detected 0: Undetected
Sourcepub fn pbiack0(&self) -> PBIACK0_R
pub fn pbiack0(&self) -> PBIACK0_R
Bit 8 - 8:8] Port B bit 0 unmasked interrupt status: 1: Detected 0: Undetected
Sourcepub fn paiack7(&self) -> PAIACK7_R
pub fn paiack7(&self) -> PAIACK7_R
Bit 7 - 7:7] Port A bit 7 unmasked interrupt status: 1: Detected 0: Undetected
Sourcepub fn paiack6(&self) -> PAIACK6_R
pub fn paiack6(&self) -> PAIACK6_R
Bit 6 - 6:6] Port A bit 6 unmasked interrupt status: 1: Detected 0: Undetected
Sourcepub fn paiack5(&self) -> PAIACK5_R
pub fn paiack5(&self) -> PAIACK5_R
Bit 5 - 5:5] Port A bit 5 unmasked interrupt status: 1: Detected 0: Undetected
Sourcepub fn paiack4(&self) -> PAIACK4_R
pub fn paiack4(&self) -> PAIACK4_R
Bit 4 - 4:4] Port A bit 4 unmasked interrupt status: 1: Detected 0: Undetected
Sourcepub fn paiack3(&self) -> PAIACK3_R
pub fn paiack3(&self) -> PAIACK3_R
Bit 3 - 3:3] Port A bit 3 unmasked interrupt status: 1: Detected 0: Undetected
Sourcepub fn paiack2(&self) -> PAIACK2_R
pub fn paiack2(&self) -> PAIACK2_R
Bit 2 - 2:2] Port A bit 2 unmasked interrupt status: 1: Detected 0: Undetected
Source§impl R<u32, Reg<u32, _DATA>>
impl R<u32, Reg<u32, _DATA>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31
Source§impl R<u32, Reg<u32, _DIR>>
impl R<u32, Reg<u32, _DIR>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31
Source§impl R<u32, Reg<u32, _IS>>
impl R<u32, Reg<u32, _IS>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31
Source§impl R<u32, Reg<u32, _IBE>>
impl R<u32, Reg<u32, _IBE>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31
Source§impl R<u32, Reg<u32, _IEV>>
impl R<u32, Reg<u32, _IEV>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31
Source§impl R<u32, Reg<u32, _IE>>
impl R<u32, Reg<u32, _IE>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31
Source§impl R<u32, Reg<u32, _RIS>>
impl R<u32, Reg<u32, _RIS>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31
Source§impl R<u32, Reg<u32, _MIS>>
impl R<u32, Reg<u32, _MIS>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31
Source§impl R<u32, Reg<u32, _IC>>
impl R<u32, Reg<u32, _IC>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31
Source§impl R<u32, Reg<u32, _AFSEL>>
impl R<u32, Reg<u32, _AFSEL>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31
Source§impl R<u32, Reg<u32, _GPIOCR>>
impl R<u32, Reg<u32, _GPIOCR>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] Reserved bits return an indeterminate value, and should never be changed.
Source§impl R<u32, Reg<u32, _PMUX>>
impl R<u32, Reg<u32, _PMUX>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31
Sourcepub fn ckoen(&self) -> CKOEN_R
pub fn ckoen(&self) -> CKOEN_R
Bit 7 - 7:7] Clock out enable When this bit is set, the 32-kHz clock is routed to either PA[0] or PB[7] pins. PMUX.CKOPIN selects the pin to use. This overrides the current configuration setting for this pin. The pullup or pulldown is disabled and the direction is set to output for this pin.
Sourcepub fn reserved7(&self) -> RESERVED7_R
pub fn reserved7(&self) -> RESERVED7_R
Bits 5:6 - 6:5] These are spare registers that are unused in the design.
Sourcepub fn ckopin(&self) -> CKOPIN_R
pub fn ckopin(&self) -> CKOPIN_R
Bit 4 - 4:4] Decouple control pin select This control only has relevance when CKOEN is set. When 0, PA[0] becomes the 32-kHz clock output. When 1, PB[7] becomes the 32-kHz clock output.
Sourcepub fn dcen(&self) -> DCEN_R
pub fn dcen(&self) -> DCEN_R
Bit 3 - 3:3] Decouple control enable When this bit is set, the on-die digital regulator status is routed to either PB[1] or PB[0] pins. PMUX.DCPIN selects the pin to use. This overrides the current configuration setting for this pin. The pullup or pulldown is disabled and the direction is set to output for this pin.
Sourcepub fn reserved3(&self) -> RESERVED3_R
pub fn reserved3(&self) -> RESERVED3_R
Bits 1:2 - 2:1] These are spare registers that are unused in the design.
Sourcepub fn dcpin(&self) -> DCPIN_R
pub fn dcpin(&self) -> DCPIN_R
Bit 0 - 0:0] Decouple control pin select This control has relevance only when DCEN is set. When 0, PB[1] becomes the on-die digital regulator status (1 indicates the on-die digital regulator is active); when 1, PB[0] becomes the on-die digital regulator status. NOTE: PB[1] and PB[0] can also be controlled with other override features. In priority order for PB[1]: When POR/BOD test mode is active, PB[1] becomes the active low brown-out detected indicator. When DCEN is set and DCPIN is not set, PB[1] becomes the on-dir digital regulator status. In priority order for PB[0]: When POR/BOD test mode is active, PB[0] becomes the power-on-reset indicator. When DCEN and DCPIN are set, PB[0] becomes the on-die digital regulator status.
Source§impl R<u32, Reg<u32, _P_EDGE_CTRL>>
impl R<u32, Reg<u32, _P_EDGE_CTRL>>
Sourcepub fn pdirc7(&self) -> PDIRC7_R
pub fn pdirc7(&self) -> PDIRC7_R
Bit 31 - 31:31] Port D bit 7 interrupt request condition: 0: Rising 1: Falling edge
Sourcepub fn pdirc6(&self) -> PDIRC6_R
pub fn pdirc6(&self) -> PDIRC6_R
Bit 30 - 30:30] Port D bit 6 interrupt request condition: 0: Rising 1: Falling edge
Sourcepub fn pdirc5(&self) -> PDIRC5_R
pub fn pdirc5(&self) -> PDIRC5_R
Bit 29 - 29:29] Port D bit 5 interrupt request condition: 0: Rising 1: Falling edge
Sourcepub fn pdirc4(&self) -> PDIRC4_R
pub fn pdirc4(&self) -> PDIRC4_R
Bit 28 - 28:28] Port D bit 4 interrupt request condition: 0: Rising 1: Falling edge
Sourcepub fn pdirc3(&self) -> PDIRC3_R
pub fn pdirc3(&self) -> PDIRC3_R
Bit 27 - 27:27] Port D bit 3 interrupt request condition: 0: Rising 1: Falling edge
Sourcepub fn pdirc2(&self) -> PDIRC2_R
pub fn pdirc2(&self) -> PDIRC2_R
Bit 26 - 26:26] Port D bit 2 interrupt request condition: 0: Rising 1: Falling edge
Sourcepub fn pdirc1(&self) -> PDIRC1_R
pub fn pdirc1(&self) -> PDIRC1_R
Bit 25 - 25:25] Port D bit 1 interrupt request condition: 0: Rising 1: Falling edge
Sourcepub fn pdirc0(&self) -> PDIRC0_R
pub fn pdirc0(&self) -> PDIRC0_R
Bit 24 - 24:24] Port D bit 0 interrupt request condition: 0: Rising 1: Falling edge
Sourcepub fn pcirc7(&self) -> PCIRC7_R
pub fn pcirc7(&self) -> PCIRC7_R
Bit 23 - 23:23] Port C bit 7 interrupt request condition: 0: Rising 1: Falling edge
Sourcepub fn pcirc6(&self) -> PCIRC6_R
pub fn pcirc6(&self) -> PCIRC6_R
Bit 22 - 22:22] Port C bit 6 interrupt request condition: 0: Rising 1: Falling edge
Sourcepub fn pcirc5(&self) -> PCIRC5_R
pub fn pcirc5(&self) -> PCIRC5_R
Bit 21 - 21:21] Port C bit 5 interrupt request condition: 0: Rising 1: Falling edge
Sourcepub fn pcirc4(&self) -> PCIRC4_R
pub fn pcirc4(&self) -> PCIRC4_R
Bit 20 - 20:20] Port C bit 4 interrupt request condition: 0: Rising 1: Falling edge
Sourcepub fn pcirc3(&self) -> PCIRC3_R
pub fn pcirc3(&self) -> PCIRC3_R
Bit 19 - 19:19] Port C bit 3 interrupt request condition: 0: Rising 1: Falling edge
Sourcepub fn pcirc2(&self) -> PCIRC2_R
pub fn pcirc2(&self) -> PCIRC2_R
Bit 18 - 18:18] Port C bit 2 interrupt request condition: 0: Rising 1: Falling edge
Sourcepub fn pcirc1(&self) -> PCIRC1_R
pub fn pcirc1(&self) -> PCIRC1_R
Bit 17 - 17:17] Port C bit 1 interrupt request condition: 0: Rising 1: Falling edge
Sourcepub fn pcirc0(&self) -> PCIRC0_R
pub fn pcirc0(&self) -> PCIRC0_R
Bit 16 - 16:16] Port C bit 0 interrupt request condition: 0: Rising 1: Falling edge
Sourcepub fn pbirc7(&self) -> PBIRC7_R
pub fn pbirc7(&self) -> PBIRC7_R
Bit 15 - 15:15] Port B bit 7 interrupt request condition: 0: Rising 1: Falling edge
Sourcepub fn pbirc6(&self) -> PBIRC6_R
pub fn pbirc6(&self) -> PBIRC6_R
Bit 14 - 14:14] Port B bit 6 interrupt request condition: 0: Rising 1: Falling edge
Sourcepub fn pbirc5(&self) -> PBIRC5_R
pub fn pbirc5(&self) -> PBIRC5_R
Bit 13 - 13:13] Port B bit 5 interrupt request condition: 0: Rising 1: Falling edge
Sourcepub fn pbirc4(&self) -> PBIRC4_R
pub fn pbirc4(&self) -> PBIRC4_R
Bit 12 - 12:12] Port B bit 4 interrupt request condition: 0: Rising 1: Falling edge
Sourcepub fn pbirc3(&self) -> PBIRC3_R
pub fn pbirc3(&self) -> PBIRC3_R
Bit 11 - 11:11] Port B bit 3 interrupt request condition: 0: Rising 1: Falling edge
Sourcepub fn pbirc2(&self) -> PBIRC2_R
pub fn pbirc2(&self) -> PBIRC2_R
Bit 10 - 10:10] Port B bit 2 interrupt request condition: 0: Rising 1: Falling edge
Sourcepub fn pbirc1(&self) -> PBIRC1_R
pub fn pbirc1(&self) -> PBIRC1_R
Bit 9 - 9:9] Port B bit 1 interrupt request condition: 0: Rising 1: Falling edge
Sourcepub fn pbirc0(&self) -> PBIRC0_R
pub fn pbirc0(&self) -> PBIRC0_R
Bit 8 - 8:8] Port B bit 0 interrupt request condition: 0: Rising 1: Falling edge
Sourcepub fn pairc7(&self) -> PAIRC7_R
pub fn pairc7(&self) -> PAIRC7_R
Bit 7 - 7:7] Port A bit 7 interrupt request condition: 0: Rising 1: Falling edge
Sourcepub fn pairc6(&self) -> PAIRC6_R
pub fn pairc6(&self) -> PAIRC6_R
Bit 6 - 6:6] Port A bit 6 interrupt request condition: 0: Rising 1: Falling edge
Sourcepub fn pairc5(&self) -> PAIRC5_R
pub fn pairc5(&self) -> PAIRC5_R
Bit 5 - 5:5] Port A bit 5 interrupt request condition: 0: Rising 1: Falling edge
Sourcepub fn pairc4(&self) -> PAIRC4_R
pub fn pairc4(&self) -> PAIRC4_R
Bit 4 - 4:4] Port A bit 4 interrupt request condition: 0: Rising 1: Falling edge
Sourcepub fn pairc3(&self) -> PAIRC3_R
pub fn pairc3(&self) -> PAIRC3_R
Bit 3 - 3:3] Port A bit 3 interrupt request condition: 0: Rising 1: Falling edge
Sourcepub fn pairc2(&self) -> PAIRC2_R
pub fn pairc2(&self) -> PAIRC2_R
Bit 2 - 2:2] Port A bit 2 interrupt request condition: 0: Rising 1: Falling edge
Source§impl R<u32, Reg<u32, _USB_CTRL>>
impl R<u32, Reg<u32, _USB_CTRL>>
Sourcepub fn reserved31(&self) -> RESERVED31_R
pub fn reserved31(&self) -> RESERVED31_R
Bits 1:31
Sourcepub fn usb_edge_ctl(&self) -> USB_EDGE_CTL_R
pub fn usb_edge_ctl(&self) -> USB_EDGE_CTL_R
Bit 0 - 0:0] Used to set the edge which triggers the USB power up interrupt 0: Rising 1: Falling
Source§impl R<u32, Reg<u32, _PI_IEN>>
impl R<u32, Reg<u32, _PI_IEN>>
Sourcepub fn pdien7(&self) -> PDIEN7_R
pub fn pdien7(&self) -> PDIEN7_R
Bit 31 - 31:31] Port D bit 7 interrupt enable: 1: Enabled 2: Disabled
Sourcepub fn pdien6(&self) -> PDIEN6_R
pub fn pdien6(&self) -> PDIEN6_R
Bit 30 - 30:30] Port D bit 6 interrupt enable: 1: Enabled 2: Disabled
Sourcepub fn pdien5(&self) -> PDIEN5_R
pub fn pdien5(&self) -> PDIEN5_R
Bit 29 - 29:29] Port D bit 5 interrupt enable: 1: Enabled 2: Disabled
Sourcepub fn pdien4(&self) -> PDIEN4_R
pub fn pdien4(&self) -> PDIEN4_R
Bit 28 - 28:28] Port D bit 4 interrupt enable: 1: Enabled 2: Disabled
Sourcepub fn pdien3(&self) -> PDIEN3_R
pub fn pdien3(&self) -> PDIEN3_R
Bit 27 - 27:27] Port D bit 3 interrupt enable: 1: Enabled 2: Disabled
Sourcepub fn pdien2(&self) -> PDIEN2_R
pub fn pdien2(&self) -> PDIEN2_R
Bit 26 - 26:26] Port D bit 2 interrupt enable: 1: Enabled 2: Disabled
Sourcepub fn pdien1(&self) -> PDIEN1_R
pub fn pdien1(&self) -> PDIEN1_R
Bit 25 - 25:25] Port D bit 1 interrupt enable: 1: Enabled 2: Disabled
Sourcepub fn pdien0(&self) -> PDIEN0_R
pub fn pdien0(&self) -> PDIEN0_R
Bit 24 - 24:24] Port D bit 0 interrupt enable: 1: Enabled 2: Disabled
Sourcepub fn pcien7(&self) -> PCIEN7_R
pub fn pcien7(&self) -> PCIEN7_R
Bit 23 - 23:23] Port C bit 7 interrupt enable: 1: Enabled 2: Disabled
Sourcepub fn pcien6(&self) -> PCIEN6_R
pub fn pcien6(&self) -> PCIEN6_R
Bit 22 - 22:22] Port C bit 6 interrupt enable: 1: Enabled 2: Disabled
Sourcepub fn pcien5(&self) -> PCIEN5_R
pub fn pcien5(&self) -> PCIEN5_R
Bit 21 - 21:21] Port C bit 5 interrupt enable: 1: Enabled 2: Disabled
Sourcepub fn pcien4(&self) -> PCIEN4_R
pub fn pcien4(&self) -> PCIEN4_R
Bit 20 - 20:20] Port C bit 4 interrupt enable: 1: Enabled 2: Disabled
Sourcepub fn pcien3(&self) -> PCIEN3_R
pub fn pcien3(&self) -> PCIEN3_R
Bit 19 - 19:19] Port C bit 3 interrupt enable: 1: Enabled 2: Disabled
Sourcepub fn pcien2(&self) -> PCIEN2_R
pub fn pcien2(&self) -> PCIEN2_R
Bit 18 - 18:18] Port C bit 2 interrupt enable: 1: Enabled 2: Disabled
Sourcepub fn pcien1(&self) -> PCIEN1_R
pub fn pcien1(&self) -> PCIEN1_R
Bit 17 - 17:17] Port C bit 1 interrupt enable: 1: Enabled 2: Disabled
Sourcepub fn pcien0(&self) -> PCIEN0_R
pub fn pcien0(&self) -> PCIEN0_R
Bit 16 - 16:16] Port C bit 0 interrupt enable: 1: Enabled 2: Disabled
Sourcepub fn pbien7(&self) -> PBIEN7_R
pub fn pbien7(&self) -> PBIEN7_R
Bit 15 - 15:15] Port B bit 7 interrupt enable: 1: Enabled 2: Disabled
Sourcepub fn pbien6(&self) -> PBIEN6_R
pub fn pbien6(&self) -> PBIEN6_R
Bit 14 - 14:14] Port B bit 6 interrupt enable: 1: Enabled 2: Disabled
Sourcepub fn pbien5(&self) -> PBIEN5_R
pub fn pbien5(&self) -> PBIEN5_R
Bit 13 - 13:13] Port B bit 5 interrupt enable: 1: Enabled 2: Disabled
Sourcepub fn pbien4(&self) -> PBIEN4_R
pub fn pbien4(&self) -> PBIEN4_R
Bit 12 - 12:12] Port B bit 4 interrupt enable: 1: Enabled 2: Disabled
Sourcepub fn pbien3(&self) -> PBIEN3_R
pub fn pbien3(&self) -> PBIEN3_R
Bit 11 - 11:11] Port B bit 3 interrupt enable: 1: Enabled 2: Disabled
Sourcepub fn pbien2(&self) -> PBIEN2_R
pub fn pbien2(&self) -> PBIEN2_R
Bit 10 - 10:10] Port B bit 2 interrupt enable: 1: Enabled 2: Disabled
Sourcepub fn pbien1(&self) -> PBIEN1_R
pub fn pbien1(&self) -> PBIEN1_R
Bit 9 - 9:9] Port B bit 1 interrupt enable: 1: Enabled 2: Disabled
Sourcepub fn pbien0(&self) -> PBIEN0_R
pub fn pbien0(&self) -> PBIEN0_R
Bit 8 - 8:8] Port B bit 0 interrupt enable: 1: Enabled 2: Disabled
Sourcepub fn paien7(&self) -> PAIEN7_R
pub fn paien7(&self) -> PAIEN7_R
Bit 7 - 7:7] Port A bit 7 interrupt enable: 1: Enabled 2: Disabled
Sourcepub fn paien6(&self) -> PAIEN6_R
pub fn paien6(&self) -> PAIEN6_R
Bit 6 - 6:6] Port A bit 6 interrupt enable: 1: Enabled 2: Disabled
Sourcepub fn paien5(&self) -> PAIEN5_R
pub fn paien5(&self) -> PAIEN5_R
Bit 5 - 5:5] Port A bit 5 interrupt enable: 1: Enabled 2: Disabled
Sourcepub fn paien4(&self) -> PAIEN4_R
pub fn paien4(&self) -> PAIEN4_R
Bit 4 - 4:4] Port A bit 4 interrupt enable: 1: Enabled 2: Disabled
Sourcepub fn paien3(&self) -> PAIEN3_R
pub fn paien3(&self) -> PAIEN3_R
Bit 3 - 3:3] Port A bit 3 interrupt enable: 1: Enabled 2: Disabled
Sourcepub fn paien2(&self) -> PAIEN2_R
pub fn paien2(&self) -> PAIEN2_R
Bit 2 - 2:2] Port A bit 2 interrupt enable: 1: Enabled 2: Disabled
Source§impl R<u32, Reg<u32, _IRQ_DETECT_ACK>>
impl R<u32, Reg<u32, _IRQ_DETECT_ACK>>
Sourcepub fn pdiack7(&self) -> PDIACK7_R
pub fn pdiack7(&self) -> PDIACK7_R
Bit 31 - 31:31] Port D bit 7 masked interrupt status: 1: Detected 0: Not detected
Sourcepub fn pdiack6(&self) -> PDIACK6_R
pub fn pdiack6(&self) -> PDIACK6_R
Bit 30 - 30:30] Port D bit 6 masked interrupt status: 1: Detected 0: Not detected
Sourcepub fn pdiack5(&self) -> PDIACK5_R
pub fn pdiack5(&self) -> PDIACK5_R
Bit 29 - 29:29] Port D bit 5 masked interrupt status: 1: Detected 0: Not detected
Sourcepub fn pdiack4(&self) -> PDIACK4_R
pub fn pdiack4(&self) -> PDIACK4_R
Bit 28 - 28:28] Port D bit 4 masked interrupt status: 1: Detected 0: Not detected
Sourcepub fn pdiack3(&self) -> PDIACK3_R
pub fn pdiack3(&self) -> PDIACK3_R
Bit 27 - 27:27] Port D bit 3 masked interrupt status: 1: Detected 0: Not detected
Sourcepub fn pdiack2(&self) -> PDIACK2_R
pub fn pdiack2(&self) -> PDIACK2_R
Bit 26 - 26:26] Port D bit 2 masked interrupt status: 1: Detected 0: Not detected
Sourcepub fn pdiack1(&self) -> PDIACK1_R
pub fn pdiack1(&self) -> PDIACK1_R
Bit 25 - 25:25] Port D bit 1 masked interrupt status: 1: Detected0: Not detected
Sourcepub fn pdiack0(&self) -> PDIACK0_R
pub fn pdiack0(&self) -> PDIACK0_R
Bit 24 - 24:24] Port D bit 0 masked interrupt status: 1: Detected 0: Not detected
Sourcepub fn pciack7(&self) -> PCIACK7_R
pub fn pciack7(&self) -> PCIACK7_R
Bit 23 - 23:23] Port C bit 7 masked interrupt status: 1: Detected 0: Not detected
Sourcepub fn pciack6(&self) -> PCIACK6_R
pub fn pciack6(&self) -> PCIACK6_R
Bit 22 - 22:22] Port C bit 6 masked interrupt status: 1: Detected 0: Not detected
Sourcepub fn pciack5(&self) -> PCIACK5_R
pub fn pciack5(&self) -> PCIACK5_R
Bit 21 - 21:21] Port C bit 5 masked interrupt status: 1: Detected 0: Not detected
Sourcepub fn pciack4(&self) -> PCIACK4_R
pub fn pciack4(&self) -> PCIACK4_R
Bit 20 - 20:20] Port C bit 4 masked interrupt status: 1: Detected 0: Not detected
Sourcepub fn pciack3(&self) -> PCIACK3_R
pub fn pciack3(&self) -> PCIACK3_R
Bit 19 - 19:19] Port C bit 3 masked interrupt status: 1: Detected 0: Not detected
Sourcepub fn pciack2(&self) -> PCIACK2_R
pub fn pciack2(&self) -> PCIACK2_R
Bit 18 - 18:18] Port C bit 2 masked interrupt status: 1: Detected 0: Not detected
Sourcepub fn pciack1(&self) -> PCIACK1_R
pub fn pciack1(&self) -> PCIACK1_R
Bit 17 - 17:17] Port C bit 1 masked interrupt status: 1: Detected 0: Not detected
Sourcepub fn pciack0(&self) -> PCIACK0_R
pub fn pciack0(&self) -> PCIACK0_R
Bit 16 - 16:16] Port C bit 0 masked interrupt status: 1: Detected 0: Not detected
Sourcepub fn pbiack7(&self) -> PBIACK7_R
pub fn pbiack7(&self) -> PBIACK7_R
Bit 15 - 15:15] Port B bit 7 masked interrupt status: 1: Detected 0: Not detected
Sourcepub fn pbiack6(&self) -> PBIACK6_R
pub fn pbiack6(&self) -> PBIACK6_R
Bit 14 - 14:14] Port B bit 6 masked interrupt status: 1: Detected 0: Not detected
Sourcepub fn pbiack5(&self) -> PBIACK5_R
pub fn pbiack5(&self) -> PBIACK5_R
Bit 13 - 13:13] Port B bit 5 masked interrupt status: 1: Detected 0: Not detected
Sourcepub fn pbiack4(&self) -> PBIACK4_R
pub fn pbiack4(&self) -> PBIACK4_R
Bit 12 - 12:12] Port B bit 4 masked interrupt status: 1: Detected 0: Not detected
Sourcepub fn pbiack3(&self) -> PBIACK3_R
pub fn pbiack3(&self) -> PBIACK3_R
Bit 11 - 11:11] Port B bit 3 masked interrupt status: 1: Detected 0: Not detected
Sourcepub fn pbiack2(&self) -> PBIACK2_R
pub fn pbiack2(&self) -> PBIACK2_R
Bit 10 - 10:10] Port B bit 2 masked interrupt status: 1: Detected 0: Not detected
Sourcepub fn pbiack1(&self) -> PBIACK1_R
pub fn pbiack1(&self) -> PBIACK1_R
Bit 9 - 9:9] Port B bit 1 masked interrupt status: 1: Detected 0: Not detected
Sourcepub fn pbiack0(&self) -> PBIACK0_R
pub fn pbiack0(&self) -> PBIACK0_R
Bit 8 - 8:8] Port B bit 0 masked interrupt status: 1: Detected 0: Not detected
Sourcepub fn paiack7(&self) -> PAIACK7_R
pub fn paiack7(&self) -> PAIACK7_R
Bit 7 - 7:7] Port A bit 7 masked interrupt status: 1: Detected 0: Not detected
Sourcepub fn paiack6(&self) -> PAIACK6_R
pub fn paiack6(&self) -> PAIACK6_R
Bit 6 - 6:6] Port A bit 6 masked interrupt status: 1: Detected 0: Not detected
Sourcepub fn paiack5(&self) -> PAIACK5_R
pub fn paiack5(&self) -> PAIACK5_R
Bit 5 - 5:5] Port A bit 5 masked interrupt status: 1: Detected 0: Not detected
Sourcepub fn paiack4(&self) -> PAIACK4_R
pub fn paiack4(&self) -> PAIACK4_R
Bit 4 - 4:4] Port A bit 4 masked interrupt status: 1: Detected 0: Not detected
Sourcepub fn paiack3(&self) -> PAIACK3_R
pub fn paiack3(&self) -> PAIACK3_R
Bit 3 - 3:3] Port A bit 3 masked interrupt status: 1: Detected 0: Not detected
Sourcepub fn paiack2(&self) -> PAIACK2_R
pub fn paiack2(&self) -> PAIACK2_R
Bit 2 - 2:2] Port A bit 2 masked interrupt status: 1: Detected 0: Not detected
Source§impl R<u32, Reg<u32, _USB_IRQ_ACK>>
impl R<u32, Reg<u32, _USB_IRQ_ACK>>
Sourcepub fn reserved31(&self) -> RESERVED31_R
pub fn reserved31(&self) -> RESERVED31_R
Bits 1:31
Source§impl R<u32, Reg<u32, _IRQ_DETECT_UNMASK>>
impl R<u32, Reg<u32, _IRQ_DETECT_UNMASK>>
Sourcepub fn pdiack7(&self) -> PDIACK7_R
pub fn pdiack7(&self) -> PDIACK7_R
Bit 31 - 31:31] Port D bit 7 unmasked interrupt status: 1: Detected 0: Undetected
Sourcepub fn pdiack6(&self) -> PDIACK6_R
pub fn pdiack6(&self) -> PDIACK6_R
Bit 30 - 30:30] Port D bit 6 unmasked interrupt status: 1: Detected 0: Undetected
Sourcepub fn pdiack5(&self) -> PDIACK5_R
pub fn pdiack5(&self) -> PDIACK5_R
Bit 29 - 29:29] Port D bit 5 unmasked interrupt status: 1: Detected 0: Undetected
Sourcepub fn pdiack4(&self) -> PDIACK4_R
pub fn pdiack4(&self) -> PDIACK4_R
Bit 28 - 28:28] Port D bit 4 unmasked interrupt status: 1: Detected 0: Undetected
Sourcepub fn pdiack3(&self) -> PDIACK3_R
pub fn pdiack3(&self) -> PDIACK3_R
Bit 27 - 27:27] Port D bit 3 unmasked interrupt status: 1: Detected 0: Undetected
Sourcepub fn pdiack2(&self) -> PDIACK2_R
pub fn pdiack2(&self) -> PDIACK2_R
Bit 26 - 26:26] Port D bit 2 unmasked interrupt status: 1: Detected 0: Undetected
Sourcepub fn pdiack1(&self) -> PDIACK1_R
pub fn pdiack1(&self) -> PDIACK1_R
Bit 25 - 25:25] Port D bit 1 unmasked interrupt status: 1: Detected 0: Undetected
Sourcepub fn pdiack0(&self) -> PDIACK0_R
pub fn pdiack0(&self) -> PDIACK0_R
Bit 24 - 24:24] Port D bit 0 unmasked interrupt status: 1: Detected 0: Undetected
Sourcepub fn pciack7(&self) -> PCIACK7_R
pub fn pciack7(&self) -> PCIACK7_R
Bit 23 - 23:23] Port C bit 7 unmasked interrupt status: 1: Detected 0: Undetected
Sourcepub fn pciack6(&self) -> PCIACK6_R
pub fn pciack6(&self) -> PCIACK6_R
Bit 22 - 22:22] Port C bit 6 unmasked interrupt status: 1: Detected 0: Undetected
Sourcepub fn pciack5(&self) -> PCIACK5_R
pub fn pciack5(&self) -> PCIACK5_R
Bit 21 - 21:21] Port C bit 5 unmasked interrupt status: 1: Detected 0: Undetected
Sourcepub fn pciack4(&self) -> PCIACK4_R
pub fn pciack4(&self) -> PCIACK4_R
Bit 20 - 20:20] Port C bit 4 unmasked interrupt status: 1: Detected 0: Undetected
Sourcepub fn pciack3(&self) -> PCIACK3_R
pub fn pciack3(&self) -> PCIACK3_R
Bit 19 - 19:19] Port C bit 3 unmasked interrupt status: 1: Detected 0: Undetected
Sourcepub fn pciack2(&self) -> PCIACK2_R
pub fn pciack2(&self) -> PCIACK2_R
Bit 18 - 18:18] Port C bit 2 unmasked interrupt status: 1: Detected 0: Undetected
Sourcepub fn pciack1(&self) -> PCIACK1_R
pub fn pciack1(&self) -> PCIACK1_R
Bit 17 - 17:17] Port C bit 1 unmasked interrupt status: 1: Detected 0: Undetected
Sourcepub fn pciack0(&self) -> PCIACK0_R
pub fn pciack0(&self) -> PCIACK0_R
Bit 16 - 16:16] Port C bit 0 unmasked interrupt status: 1: Detected 0: Undetected
Sourcepub fn pbiack7(&self) -> PBIACK7_R
pub fn pbiack7(&self) -> PBIACK7_R
Bit 15 - 15:15] Port B bit 7 unmasked interrupt status: 1: Detected 0: Undetected
Sourcepub fn pbiack6(&self) -> PBIACK6_R
pub fn pbiack6(&self) -> PBIACK6_R
Bit 14 - 14:14] Port B bit 6 unmasked interrupt status: 1: Detected 0: Undetected
Sourcepub fn pbiack5(&self) -> PBIACK5_R
pub fn pbiack5(&self) -> PBIACK5_R
Bit 13 - 13:13] Port B bit 5 unmasked interrupt status: 1: Detected 0: Undetected
Sourcepub fn pbiack4(&self) -> PBIACK4_R
pub fn pbiack4(&self) -> PBIACK4_R
Bit 12 - 12:12] Port B bit 4 unmasked interrupt status: 1: Detected 0: Undetected
Sourcepub fn pbiack3(&self) -> PBIACK3_R
pub fn pbiack3(&self) -> PBIACK3_R
Bit 11 - 11:11] Port B bit 3 unmasked interrupt status: 1: Detected 0: Undetected
Sourcepub fn pbiack2(&self) -> PBIACK2_R
pub fn pbiack2(&self) -> PBIACK2_R
Bit 10 - 10:10] Port B bit 2 unmasked interrupt status: 1: Detected 0: Undetected
Sourcepub fn pbiack1(&self) -> PBIACK1_R
pub fn pbiack1(&self) -> PBIACK1_R
Bit 9 - 9:9] Port B bit 1 unmasked interrupt status: 1: Detected 0: Undetected
Sourcepub fn pbiack0(&self) -> PBIACK0_R
pub fn pbiack0(&self) -> PBIACK0_R
Bit 8 - 8:8] Port B bit 0 unmasked interrupt status: 1: Detected 0: Undetected
Sourcepub fn paiack7(&self) -> PAIACK7_R
pub fn paiack7(&self) -> PAIACK7_R
Bit 7 - 7:7] Port A bit 7 unmasked interrupt status: 1: Detected 0: Undetected
Sourcepub fn paiack6(&self) -> PAIACK6_R
pub fn paiack6(&self) -> PAIACK6_R
Bit 6 - 6:6] Port A bit 6 unmasked interrupt status: 1: Detected 0: Undetected
Sourcepub fn paiack5(&self) -> PAIACK5_R
pub fn paiack5(&self) -> PAIACK5_R
Bit 5 - 5:5] Port A bit 5 unmasked interrupt status: 1: Detected 0: Undetected
Sourcepub fn paiack4(&self) -> PAIACK4_R
pub fn paiack4(&self) -> PAIACK4_R
Bit 4 - 4:4] Port A bit 4 unmasked interrupt status: 1: Detected 0: Undetected
Sourcepub fn paiack3(&self) -> PAIACK3_R
pub fn paiack3(&self) -> PAIACK3_R
Bit 3 - 3:3] Port A bit 3 unmasked interrupt status: 1: Detected 0: Undetected
Sourcepub fn paiack2(&self) -> PAIACK2_R
pub fn paiack2(&self) -> PAIACK2_R
Bit 2 - 2:2] Port A bit 2 unmasked interrupt status: 1: Detected 0: Undetected
Source§impl R<u32, Reg<u32, _DATA>>
impl R<u32, Reg<u32, _DATA>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31
Source§impl R<u32, Reg<u32, _DIR>>
impl R<u32, Reg<u32, _DIR>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31
Source§impl R<u32, Reg<u32, _IS>>
impl R<u32, Reg<u32, _IS>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31
Source§impl R<u32, Reg<u32, _IBE>>
impl R<u32, Reg<u32, _IBE>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31
Source§impl R<u32, Reg<u32, _IEV>>
impl R<u32, Reg<u32, _IEV>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31
Source§impl R<u32, Reg<u32, _IE>>
impl R<u32, Reg<u32, _IE>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31
Source§impl R<u32, Reg<u32, _RIS>>
impl R<u32, Reg<u32, _RIS>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31
Source§impl R<u32, Reg<u32, _MIS>>
impl R<u32, Reg<u32, _MIS>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31
Source§impl R<u32, Reg<u32, _IC>>
impl R<u32, Reg<u32, _IC>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31
Source§impl R<u32, Reg<u32, _AFSEL>>
impl R<u32, Reg<u32, _AFSEL>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31
Source§impl R<u32, Reg<u32, _GPIOCR>>
impl R<u32, Reg<u32, _GPIOCR>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] Reserved bits return an indeterminate value, and should never be changed.
Source§impl R<u32, Reg<u32, _PMUX>>
impl R<u32, Reg<u32, _PMUX>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31
Sourcepub fn ckoen(&self) -> CKOEN_R
pub fn ckoen(&self) -> CKOEN_R
Bit 7 - 7:7] Clock out enable When this bit is set, the 32-kHz clock is routed to either PA[0] or PB[7] pins. PMUX.CKOPIN selects the pin to use. This overrides the current configuration setting for this pin. The pullup or pulldown is disabled and the direction is set to output for this pin.
Sourcepub fn reserved7(&self) -> RESERVED7_R
pub fn reserved7(&self) -> RESERVED7_R
Bits 5:6 - 6:5] These are spare registers that are unused in the design.
Sourcepub fn ckopin(&self) -> CKOPIN_R
pub fn ckopin(&self) -> CKOPIN_R
Bit 4 - 4:4] Decouple control pin select This control only has relevance when CKOEN is set. When 0, PA[0] becomes the 32-kHz clock output. When 1, PB[7] becomes the 32-kHz clock output.
Sourcepub fn dcen(&self) -> DCEN_R
pub fn dcen(&self) -> DCEN_R
Bit 3 - 3:3] Decouple control enable When this bit is set, the on-die digital regulator status is routed to either PB[1] or PB[0] pins. PMUX.DCPIN selects the pin to use. This overrides the current configuration setting for this pin. The pullup or pulldown is disabled and the direction is set to output for this pin.
Sourcepub fn reserved3(&self) -> RESERVED3_R
pub fn reserved3(&self) -> RESERVED3_R
Bits 1:2 - 2:1] These are spare registers that are unused in the design.
Sourcepub fn dcpin(&self) -> DCPIN_R
pub fn dcpin(&self) -> DCPIN_R
Bit 0 - 0:0] Decouple control pin select This control has relevance only when DCEN is set. When 0, PB[1] becomes the on-die digital regulator status (1 indicates the on-die digital regulator is active); when 1, PB[0] becomes the on-die digital regulator status. NOTE: PB[1] and PB[0] can also be controlled with other override features. In priority order for PB[1]: When POR/BOD test mode is active, PB[1] becomes the active low brown-out detected indicator. When DCEN is set and DCPIN is not set, PB[1] becomes the on-dir digital regulator status. In priority order for PB[0]: When POR/BOD test mode is active, PB[0] becomes the power-on-reset indicator. When DCEN and DCPIN are set, PB[0] becomes the on-die digital regulator status.
Source§impl R<u32, Reg<u32, _P_EDGE_CTRL>>
impl R<u32, Reg<u32, _P_EDGE_CTRL>>
Sourcepub fn pdirc7(&self) -> PDIRC7_R
pub fn pdirc7(&self) -> PDIRC7_R
Bit 31 - 31:31] Port D bit 7 interrupt request condition: 0: Rising 1: Falling edge
Sourcepub fn pdirc6(&self) -> PDIRC6_R
pub fn pdirc6(&self) -> PDIRC6_R
Bit 30 - 30:30] Port D bit 6 interrupt request condition: 0: Rising 1: Falling edge
Sourcepub fn pdirc5(&self) -> PDIRC5_R
pub fn pdirc5(&self) -> PDIRC5_R
Bit 29 - 29:29] Port D bit 5 interrupt request condition: 0: Rising 1: Falling edge
Sourcepub fn pdirc4(&self) -> PDIRC4_R
pub fn pdirc4(&self) -> PDIRC4_R
Bit 28 - 28:28] Port D bit 4 interrupt request condition: 0: Rising 1: Falling edge
Sourcepub fn pdirc3(&self) -> PDIRC3_R
pub fn pdirc3(&self) -> PDIRC3_R
Bit 27 - 27:27] Port D bit 3 interrupt request condition: 0: Rising 1: Falling edge
Sourcepub fn pdirc2(&self) -> PDIRC2_R
pub fn pdirc2(&self) -> PDIRC2_R
Bit 26 - 26:26] Port D bit 2 interrupt request condition: 0: Rising 1: Falling edge
Sourcepub fn pdirc1(&self) -> PDIRC1_R
pub fn pdirc1(&self) -> PDIRC1_R
Bit 25 - 25:25] Port D bit 1 interrupt request condition: 0: Rising 1: Falling edge
Sourcepub fn pdirc0(&self) -> PDIRC0_R
pub fn pdirc0(&self) -> PDIRC0_R
Bit 24 - 24:24] Port D bit 0 interrupt request condition: 0: Rising 1: Falling edge
Sourcepub fn pcirc7(&self) -> PCIRC7_R
pub fn pcirc7(&self) -> PCIRC7_R
Bit 23 - 23:23] Port C bit 7 interrupt request condition: 0: Rising 1: Falling edge
Sourcepub fn pcirc6(&self) -> PCIRC6_R
pub fn pcirc6(&self) -> PCIRC6_R
Bit 22 - 22:22] Port C bit 6 interrupt request condition: 0: Rising 1: Falling edge
Sourcepub fn pcirc5(&self) -> PCIRC5_R
pub fn pcirc5(&self) -> PCIRC5_R
Bit 21 - 21:21] Port C bit 5 interrupt request condition: 0: Rising 1: Falling edge
Sourcepub fn pcirc4(&self) -> PCIRC4_R
pub fn pcirc4(&self) -> PCIRC4_R
Bit 20 - 20:20] Port C bit 4 interrupt request condition: 0: Rising 1: Falling edge
Sourcepub fn pcirc3(&self) -> PCIRC3_R
pub fn pcirc3(&self) -> PCIRC3_R
Bit 19 - 19:19] Port C bit 3 interrupt request condition: 0: Rising 1: Falling edge
Sourcepub fn pcirc2(&self) -> PCIRC2_R
pub fn pcirc2(&self) -> PCIRC2_R
Bit 18 - 18:18] Port C bit 2 interrupt request condition: 0: Rising 1: Falling edge
Sourcepub fn pcirc1(&self) -> PCIRC1_R
pub fn pcirc1(&self) -> PCIRC1_R
Bit 17 - 17:17] Port C bit 1 interrupt request condition: 0: Rising 1: Falling edge
Sourcepub fn pcirc0(&self) -> PCIRC0_R
pub fn pcirc0(&self) -> PCIRC0_R
Bit 16 - 16:16] Port C bit 0 interrupt request condition: 0: Rising 1: Falling edge
Sourcepub fn pbirc7(&self) -> PBIRC7_R
pub fn pbirc7(&self) -> PBIRC7_R
Bit 15 - 15:15] Port B bit 7 interrupt request condition: 0: Rising 1: Falling edge
Sourcepub fn pbirc6(&self) -> PBIRC6_R
pub fn pbirc6(&self) -> PBIRC6_R
Bit 14 - 14:14] Port B bit 6 interrupt request condition: 0: Rising 1: Falling edge
Sourcepub fn pbirc5(&self) -> PBIRC5_R
pub fn pbirc5(&self) -> PBIRC5_R
Bit 13 - 13:13] Port B bit 5 interrupt request condition: 0: Rising 1: Falling edge
Sourcepub fn pbirc4(&self) -> PBIRC4_R
pub fn pbirc4(&self) -> PBIRC4_R
Bit 12 - 12:12] Port B bit 4 interrupt request condition: 0: Rising 1: Falling edge
Sourcepub fn pbirc3(&self) -> PBIRC3_R
pub fn pbirc3(&self) -> PBIRC3_R
Bit 11 - 11:11] Port B bit 3 interrupt request condition: 0: Rising 1: Falling edge
Sourcepub fn pbirc2(&self) -> PBIRC2_R
pub fn pbirc2(&self) -> PBIRC2_R
Bit 10 - 10:10] Port B bit 2 interrupt request condition: 0: Rising 1: Falling edge
Sourcepub fn pbirc1(&self) -> PBIRC1_R
pub fn pbirc1(&self) -> PBIRC1_R
Bit 9 - 9:9] Port B bit 1 interrupt request condition: 0: Rising 1: Falling edge
Sourcepub fn pbirc0(&self) -> PBIRC0_R
pub fn pbirc0(&self) -> PBIRC0_R
Bit 8 - 8:8] Port B bit 0 interrupt request condition: 0: Rising 1: Falling edge
Sourcepub fn pairc7(&self) -> PAIRC7_R
pub fn pairc7(&self) -> PAIRC7_R
Bit 7 - 7:7] Port A bit 7 interrupt request condition: 0: Rising 1: Falling edge
Sourcepub fn pairc6(&self) -> PAIRC6_R
pub fn pairc6(&self) -> PAIRC6_R
Bit 6 - 6:6] Port A bit 6 interrupt request condition: 0: Rising 1: Falling edge
Sourcepub fn pairc5(&self) -> PAIRC5_R
pub fn pairc5(&self) -> PAIRC5_R
Bit 5 - 5:5] Port A bit 5 interrupt request condition: 0: Rising 1: Falling edge
Sourcepub fn pairc4(&self) -> PAIRC4_R
pub fn pairc4(&self) -> PAIRC4_R
Bit 4 - 4:4] Port A bit 4 interrupt request condition: 0: Rising 1: Falling edge
Sourcepub fn pairc3(&self) -> PAIRC3_R
pub fn pairc3(&self) -> PAIRC3_R
Bit 3 - 3:3] Port A bit 3 interrupt request condition: 0: Rising 1: Falling edge
Sourcepub fn pairc2(&self) -> PAIRC2_R
pub fn pairc2(&self) -> PAIRC2_R
Bit 2 - 2:2] Port A bit 2 interrupt request condition: 0: Rising 1: Falling edge
Source§impl R<u32, Reg<u32, _USB_CTRL>>
impl R<u32, Reg<u32, _USB_CTRL>>
Sourcepub fn reserved31(&self) -> RESERVED31_R
pub fn reserved31(&self) -> RESERVED31_R
Bits 1:31
Sourcepub fn usb_edge_ctl(&self) -> USB_EDGE_CTL_R
pub fn usb_edge_ctl(&self) -> USB_EDGE_CTL_R
Bit 0 - 0:0] Used to set the edge which triggers the USB power up interrupt 0: Rising 1: Falling
Source§impl R<u32, Reg<u32, _PI_IEN>>
impl R<u32, Reg<u32, _PI_IEN>>
Sourcepub fn pdien7(&self) -> PDIEN7_R
pub fn pdien7(&self) -> PDIEN7_R
Bit 31 - 31:31] Port D bit 7 interrupt enable: 1: Enabled 2: Disabled
Sourcepub fn pdien6(&self) -> PDIEN6_R
pub fn pdien6(&self) -> PDIEN6_R
Bit 30 - 30:30] Port D bit 6 interrupt enable: 1: Enabled 2: Disabled
Sourcepub fn pdien5(&self) -> PDIEN5_R
pub fn pdien5(&self) -> PDIEN5_R
Bit 29 - 29:29] Port D bit 5 interrupt enable: 1: Enabled 2: Disabled
Sourcepub fn pdien4(&self) -> PDIEN4_R
pub fn pdien4(&self) -> PDIEN4_R
Bit 28 - 28:28] Port D bit 4 interrupt enable: 1: Enabled 2: Disabled
Sourcepub fn pdien3(&self) -> PDIEN3_R
pub fn pdien3(&self) -> PDIEN3_R
Bit 27 - 27:27] Port D bit 3 interrupt enable: 1: Enabled 2: Disabled
Sourcepub fn pdien2(&self) -> PDIEN2_R
pub fn pdien2(&self) -> PDIEN2_R
Bit 26 - 26:26] Port D bit 2 interrupt enable: 1: Enabled 2: Disabled
Sourcepub fn pdien1(&self) -> PDIEN1_R
pub fn pdien1(&self) -> PDIEN1_R
Bit 25 - 25:25] Port D bit 1 interrupt enable: 1: Enabled 2: Disabled
Sourcepub fn pdien0(&self) -> PDIEN0_R
pub fn pdien0(&self) -> PDIEN0_R
Bit 24 - 24:24] Port D bit 0 interrupt enable: 1: Enabled 2: Disabled
Sourcepub fn pcien7(&self) -> PCIEN7_R
pub fn pcien7(&self) -> PCIEN7_R
Bit 23 - 23:23] Port C bit 7 interrupt enable: 1: Enabled 2: Disabled
Sourcepub fn pcien6(&self) -> PCIEN6_R
pub fn pcien6(&self) -> PCIEN6_R
Bit 22 - 22:22] Port C bit 6 interrupt enable: 1: Enabled 2: Disabled
Sourcepub fn pcien5(&self) -> PCIEN5_R
pub fn pcien5(&self) -> PCIEN5_R
Bit 21 - 21:21] Port C bit 5 interrupt enable: 1: Enabled 2: Disabled
Sourcepub fn pcien4(&self) -> PCIEN4_R
pub fn pcien4(&self) -> PCIEN4_R
Bit 20 - 20:20] Port C bit 4 interrupt enable: 1: Enabled 2: Disabled
Sourcepub fn pcien3(&self) -> PCIEN3_R
pub fn pcien3(&self) -> PCIEN3_R
Bit 19 - 19:19] Port C bit 3 interrupt enable: 1: Enabled 2: Disabled
Sourcepub fn pcien2(&self) -> PCIEN2_R
pub fn pcien2(&self) -> PCIEN2_R
Bit 18 - 18:18] Port C bit 2 interrupt enable: 1: Enabled 2: Disabled
Sourcepub fn pcien1(&self) -> PCIEN1_R
pub fn pcien1(&self) -> PCIEN1_R
Bit 17 - 17:17] Port C bit 1 interrupt enable: 1: Enabled 2: Disabled
Sourcepub fn pcien0(&self) -> PCIEN0_R
pub fn pcien0(&self) -> PCIEN0_R
Bit 16 - 16:16] Port C bit 0 interrupt enable: 1: Enabled 2: Disabled
Sourcepub fn pbien7(&self) -> PBIEN7_R
pub fn pbien7(&self) -> PBIEN7_R
Bit 15 - 15:15] Port B bit 7 interrupt enable: 1: Enabled 2: Disabled
Sourcepub fn pbien6(&self) -> PBIEN6_R
pub fn pbien6(&self) -> PBIEN6_R
Bit 14 - 14:14] Port B bit 6 interrupt enable: 1: Enabled 2: Disabled
Sourcepub fn pbien5(&self) -> PBIEN5_R
pub fn pbien5(&self) -> PBIEN5_R
Bit 13 - 13:13] Port B bit 5 interrupt enable: 1: Enabled 2: Disabled
Sourcepub fn pbien4(&self) -> PBIEN4_R
pub fn pbien4(&self) -> PBIEN4_R
Bit 12 - 12:12] Port B bit 4 interrupt enable: 1: Enabled 2: Disabled
Sourcepub fn pbien3(&self) -> PBIEN3_R
pub fn pbien3(&self) -> PBIEN3_R
Bit 11 - 11:11] Port B bit 3 interrupt enable: 1: Enabled 2: Disabled
Sourcepub fn pbien2(&self) -> PBIEN2_R
pub fn pbien2(&self) -> PBIEN2_R
Bit 10 - 10:10] Port B bit 2 interrupt enable: 1: Enabled 2: Disabled
Sourcepub fn pbien1(&self) -> PBIEN1_R
pub fn pbien1(&self) -> PBIEN1_R
Bit 9 - 9:9] Port B bit 1 interrupt enable: 1: Enabled 2: Disabled
Sourcepub fn pbien0(&self) -> PBIEN0_R
pub fn pbien0(&self) -> PBIEN0_R
Bit 8 - 8:8] Port B bit 0 interrupt enable: 1: Enabled 2: Disabled
Sourcepub fn paien7(&self) -> PAIEN7_R
pub fn paien7(&self) -> PAIEN7_R
Bit 7 - 7:7] Port A bit 7 interrupt enable: 1: Enabled 2: Disabled
Sourcepub fn paien6(&self) -> PAIEN6_R
pub fn paien6(&self) -> PAIEN6_R
Bit 6 - 6:6] Port A bit 6 interrupt enable: 1: Enabled 2: Disabled
Sourcepub fn paien5(&self) -> PAIEN5_R
pub fn paien5(&self) -> PAIEN5_R
Bit 5 - 5:5] Port A bit 5 interrupt enable: 1: Enabled 2: Disabled
Sourcepub fn paien4(&self) -> PAIEN4_R
pub fn paien4(&self) -> PAIEN4_R
Bit 4 - 4:4] Port A bit 4 interrupt enable: 1: Enabled 2: Disabled
Sourcepub fn paien3(&self) -> PAIEN3_R
pub fn paien3(&self) -> PAIEN3_R
Bit 3 - 3:3] Port A bit 3 interrupt enable: 1: Enabled 2: Disabled
Sourcepub fn paien2(&self) -> PAIEN2_R
pub fn paien2(&self) -> PAIEN2_R
Bit 2 - 2:2] Port A bit 2 interrupt enable: 1: Enabled 2: Disabled
Source§impl R<u32, Reg<u32, _IRQ_DETECT_ACK>>
impl R<u32, Reg<u32, _IRQ_DETECT_ACK>>
Sourcepub fn pdiack7(&self) -> PDIACK7_R
pub fn pdiack7(&self) -> PDIACK7_R
Bit 31 - 31:31] Port D bit 7 masked interrupt status: 1: Detected 0: Not detected
Sourcepub fn pdiack6(&self) -> PDIACK6_R
pub fn pdiack6(&self) -> PDIACK6_R
Bit 30 - 30:30] Port D bit 6 masked interrupt status: 1: Detected 0: Not detected
Sourcepub fn pdiack5(&self) -> PDIACK5_R
pub fn pdiack5(&self) -> PDIACK5_R
Bit 29 - 29:29] Port D bit 5 masked interrupt status: 1: Detected 0: Not detected
Sourcepub fn pdiack4(&self) -> PDIACK4_R
pub fn pdiack4(&self) -> PDIACK4_R
Bit 28 - 28:28] Port D bit 4 masked interrupt status: 1: Detected 0: Not detected
Sourcepub fn pdiack3(&self) -> PDIACK3_R
pub fn pdiack3(&self) -> PDIACK3_R
Bit 27 - 27:27] Port D bit 3 masked interrupt status: 1: Detected 0: Not detected
Sourcepub fn pdiack2(&self) -> PDIACK2_R
pub fn pdiack2(&self) -> PDIACK2_R
Bit 26 - 26:26] Port D bit 2 masked interrupt status: 1: Detected 0: Not detected
Sourcepub fn pdiack1(&self) -> PDIACK1_R
pub fn pdiack1(&self) -> PDIACK1_R
Bit 25 - 25:25] Port D bit 1 masked interrupt status: 1: Detected0: Not detected
Sourcepub fn pdiack0(&self) -> PDIACK0_R
pub fn pdiack0(&self) -> PDIACK0_R
Bit 24 - 24:24] Port D bit 0 masked interrupt status: 1: Detected 0: Not detected
Sourcepub fn pciack7(&self) -> PCIACK7_R
pub fn pciack7(&self) -> PCIACK7_R
Bit 23 - 23:23] Port C bit 7 masked interrupt status: 1: Detected 0: Not detected
Sourcepub fn pciack6(&self) -> PCIACK6_R
pub fn pciack6(&self) -> PCIACK6_R
Bit 22 - 22:22] Port C bit 6 masked interrupt status: 1: Detected 0: Not detected
Sourcepub fn pciack5(&self) -> PCIACK5_R
pub fn pciack5(&self) -> PCIACK5_R
Bit 21 - 21:21] Port C bit 5 masked interrupt status: 1: Detected 0: Not detected
Sourcepub fn pciack4(&self) -> PCIACK4_R
pub fn pciack4(&self) -> PCIACK4_R
Bit 20 - 20:20] Port C bit 4 masked interrupt status: 1: Detected 0: Not detected
Sourcepub fn pciack3(&self) -> PCIACK3_R
pub fn pciack3(&self) -> PCIACK3_R
Bit 19 - 19:19] Port C bit 3 masked interrupt status: 1: Detected 0: Not detected
Sourcepub fn pciack2(&self) -> PCIACK2_R
pub fn pciack2(&self) -> PCIACK2_R
Bit 18 - 18:18] Port C bit 2 masked interrupt status: 1: Detected 0: Not detected
Sourcepub fn pciack1(&self) -> PCIACK1_R
pub fn pciack1(&self) -> PCIACK1_R
Bit 17 - 17:17] Port C bit 1 masked interrupt status: 1: Detected 0: Not detected
Sourcepub fn pciack0(&self) -> PCIACK0_R
pub fn pciack0(&self) -> PCIACK0_R
Bit 16 - 16:16] Port C bit 0 masked interrupt status: 1: Detected 0: Not detected
Sourcepub fn pbiack7(&self) -> PBIACK7_R
pub fn pbiack7(&self) -> PBIACK7_R
Bit 15 - 15:15] Port B bit 7 masked interrupt status: 1: Detected 0: Not detected
Sourcepub fn pbiack6(&self) -> PBIACK6_R
pub fn pbiack6(&self) -> PBIACK6_R
Bit 14 - 14:14] Port B bit 6 masked interrupt status: 1: Detected 0: Not detected
Sourcepub fn pbiack5(&self) -> PBIACK5_R
pub fn pbiack5(&self) -> PBIACK5_R
Bit 13 - 13:13] Port B bit 5 masked interrupt status: 1: Detected 0: Not detected
Sourcepub fn pbiack4(&self) -> PBIACK4_R
pub fn pbiack4(&self) -> PBIACK4_R
Bit 12 - 12:12] Port B bit 4 masked interrupt status: 1: Detected 0: Not detected
Sourcepub fn pbiack3(&self) -> PBIACK3_R
pub fn pbiack3(&self) -> PBIACK3_R
Bit 11 - 11:11] Port B bit 3 masked interrupt status: 1: Detected 0: Not detected
Sourcepub fn pbiack2(&self) -> PBIACK2_R
pub fn pbiack2(&self) -> PBIACK2_R
Bit 10 - 10:10] Port B bit 2 masked interrupt status: 1: Detected 0: Not detected
Sourcepub fn pbiack1(&self) -> PBIACK1_R
pub fn pbiack1(&self) -> PBIACK1_R
Bit 9 - 9:9] Port B bit 1 masked interrupt status: 1: Detected 0: Not detected
Sourcepub fn pbiack0(&self) -> PBIACK0_R
pub fn pbiack0(&self) -> PBIACK0_R
Bit 8 - 8:8] Port B bit 0 masked interrupt status: 1: Detected 0: Not detected
Sourcepub fn paiack7(&self) -> PAIACK7_R
pub fn paiack7(&self) -> PAIACK7_R
Bit 7 - 7:7] Port A bit 7 masked interrupt status: 1: Detected 0: Not detected
Sourcepub fn paiack6(&self) -> PAIACK6_R
pub fn paiack6(&self) -> PAIACK6_R
Bit 6 - 6:6] Port A bit 6 masked interrupt status: 1: Detected 0: Not detected
Sourcepub fn paiack5(&self) -> PAIACK5_R
pub fn paiack5(&self) -> PAIACK5_R
Bit 5 - 5:5] Port A bit 5 masked interrupt status: 1: Detected 0: Not detected
Sourcepub fn paiack4(&self) -> PAIACK4_R
pub fn paiack4(&self) -> PAIACK4_R
Bit 4 - 4:4] Port A bit 4 masked interrupt status: 1: Detected 0: Not detected
Sourcepub fn paiack3(&self) -> PAIACK3_R
pub fn paiack3(&self) -> PAIACK3_R
Bit 3 - 3:3] Port A bit 3 masked interrupt status: 1: Detected 0: Not detected
Sourcepub fn paiack2(&self) -> PAIACK2_R
pub fn paiack2(&self) -> PAIACK2_R
Bit 2 - 2:2] Port A bit 2 masked interrupt status: 1: Detected 0: Not detected
Source§impl R<u32, Reg<u32, _USB_IRQ_ACK>>
impl R<u32, Reg<u32, _USB_IRQ_ACK>>
Sourcepub fn reserved31(&self) -> RESERVED31_R
pub fn reserved31(&self) -> RESERVED31_R
Bits 1:31
Source§impl R<u32, Reg<u32, _IRQ_DETECT_UNMASK>>
impl R<u32, Reg<u32, _IRQ_DETECT_UNMASK>>
Sourcepub fn pdiack7(&self) -> PDIACK7_R
pub fn pdiack7(&self) -> PDIACK7_R
Bit 31 - 31:31] Port D bit 7 unmasked interrupt status: 1: Detected 0: Undetected
Sourcepub fn pdiack6(&self) -> PDIACK6_R
pub fn pdiack6(&self) -> PDIACK6_R
Bit 30 - 30:30] Port D bit 6 unmasked interrupt status: 1: Detected 0: Undetected
Sourcepub fn pdiack5(&self) -> PDIACK5_R
pub fn pdiack5(&self) -> PDIACK5_R
Bit 29 - 29:29] Port D bit 5 unmasked interrupt status: 1: Detected 0: Undetected
Sourcepub fn pdiack4(&self) -> PDIACK4_R
pub fn pdiack4(&self) -> PDIACK4_R
Bit 28 - 28:28] Port D bit 4 unmasked interrupt status: 1: Detected 0: Undetected
Sourcepub fn pdiack3(&self) -> PDIACK3_R
pub fn pdiack3(&self) -> PDIACK3_R
Bit 27 - 27:27] Port D bit 3 unmasked interrupt status: 1: Detected 0: Undetected
Sourcepub fn pdiack2(&self) -> PDIACK2_R
pub fn pdiack2(&self) -> PDIACK2_R
Bit 26 - 26:26] Port D bit 2 unmasked interrupt status: 1: Detected 0: Undetected
Sourcepub fn pdiack1(&self) -> PDIACK1_R
pub fn pdiack1(&self) -> PDIACK1_R
Bit 25 - 25:25] Port D bit 1 unmasked interrupt status: 1: Detected 0: Undetected
Sourcepub fn pdiack0(&self) -> PDIACK0_R
pub fn pdiack0(&self) -> PDIACK0_R
Bit 24 - 24:24] Port D bit 0 unmasked interrupt status: 1: Detected 0: Undetected
Sourcepub fn pciack7(&self) -> PCIACK7_R
pub fn pciack7(&self) -> PCIACK7_R
Bit 23 - 23:23] Port C bit 7 unmasked interrupt status: 1: Detected 0: Undetected
Sourcepub fn pciack6(&self) -> PCIACK6_R
pub fn pciack6(&self) -> PCIACK6_R
Bit 22 - 22:22] Port C bit 6 unmasked interrupt status: 1: Detected 0: Undetected
Sourcepub fn pciack5(&self) -> PCIACK5_R
pub fn pciack5(&self) -> PCIACK5_R
Bit 21 - 21:21] Port C bit 5 unmasked interrupt status: 1: Detected 0: Undetected
Sourcepub fn pciack4(&self) -> PCIACK4_R
pub fn pciack4(&self) -> PCIACK4_R
Bit 20 - 20:20] Port C bit 4 unmasked interrupt status: 1: Detected 0: Undetected
Sourcepub fn pciack3(&self) -> PCIACK3_R
pub fn pciack3(&self) -> PCIACK3_R
Bit 19 - 19:19] Port C bit 3 unmasked interrupt status: 1: Detected 0: Undetected
Sourcepub fn pciack2(&self) -> PCIACK2_R
pub fn pciack2(&self) -> PCIACK2_R
Bit 18 - 18:18] Port C bit 2 unmasked interrupt status: 1: Detected 0: Undetected
Sourcepub fn pciack1(&self) -> PCIACK1_R
pub fn pciack1(&self) -> PCIACK1_R
Bit 17 - 17:17] Port C bit 1 unmasked interrupt status: 1: Detected 0: Undetected
Sourcepub fn pciack0(&self) -> PCIACK0_R
pub fn pciack0(&self) -> PCIACK0_R
Bit 16 - 16:16] Port C bit 0 unmasked interrupt status: 1: Detected 0: Undetected
Sourcepub fn pbiack7(&self) -> PBIACK7_R
pub fn pbiack7(&self) -> PBIACK7_R
Bit 15 - 15:15] Port B bit 7 unmasked interrupt status: 1: Detected 0: Undetected
Sourcepub fn pbiack6(&self) -> PBIACK6_R
pub fn pbiack6(&self) -> PBIACK6_R
Bit 14 - 14:14] Port B bit 6 unmasked interrupt status: 1: Detected 0: Undetected
Sourcepub fn pbiack5(&self) -> PBIACK5_R
pub fn pbiack5(&self) -> PBIACK5_R
Bit 13 - 13:13] Port B bit 5 unmasked interrupt status: 1: Detected 0: Undetected
Sourcepub fn pbiack4(&self) -> PBIACK4_R
pub fn pbiack4(&self) -> PBIACK4_R
Bit 12 - 12:12] Port B bit 4 unmasked interrupt status: 1: Detected 0: Undetected
Sourcepub fn pbiack3(&self) -> PBIACK3_R
pub fn pbiack3(&self) -> PBIACK3_R
Bit 11 - 11:11] Port B bit 3 unmasked interrupt status: 1: Detected 0: Undetected
Sourcepub fn pbiack2(&self) -> PBIACK2_R
pub fn pbiack2(&self) -> PBIACK2_R
Bit 10 - 10:10] Port B bit 2 unmasked interrupt status: 1: Detected 0: Undetected
Sourcepub fn pbiack1(&self) -> PBIACK1_R
pub fn pbiack1(&self) -> PBIACK1_R
Bit 9 - 9:9] Port B bit 1 unmasked interrupt status: 1: Detected 0: Undetected
Sourcepub fn pbiack0(&self) -> PBIACK0_R
pub fn pbiack0(&self) -> PBIACK0_R
Bit 8 - 8:8] Port B bit 0 unmasked interrupt status: 1: Detected 0: Undetected
Sourcepub fn paiack7(&self) -> PAIACK7_R
pub fn paiack7(&self) -> PAIACK7_R
Bit 7 - 7:7] Port A bit 7 unmasked interrupt status: 1: Detected 0: Undetected
Sourcepub fn paiack6(&self) -> PAIACK6_R
pub fn paiack6(&self) -> PAIACK6_R
Bit 6 - 6:6] Port A bit 6 unmasked interrupt status: 1: Detected 0: Undetected
Sourcepub fn paiack5(&self) -> PAIACK5_R
pub fn paiack5(&self) -> PAIACK5_R
Bit 5 - 5:5] Port A bit 5 unmasked interrupt status: 1: Detected 0: Undetected
Sourcepub fn paiack4(&self) -> PAIACK4_R
pub fn paiack4(&self) -> PAIACK4_R
Bit 4 - 4:4] Port A bit 4 unmasked interrupt status: 1: Detected 0: Undetected
Sourcepub fn paiack3(&self) -> PAIACK3_R
pub fn paiack3(&self) -> PAIACK3_R
Bit 3 - 3:3] Port A bit 3 unmasked interrupt status: 1: Detected 0: Undetected
Sourcepub fn paiack2(&self) -> PAIACK2_R
pub fn paiack2(&self) -> PAIACK2_R
Bit 2 - 2:2] Port A bit 2 unmasked interrupt status: 1: Detected 0: Undetected
Source§impl R<u32, Reg<u32, _DATA>>
impl R<u32, Reg<u32, _DATA>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31
Source§impl R<u32, Reg<u32, _DIR>>
impl R<u32, Reg<u32, _DIR>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31
Source§impl R<u32, Reg<u32, _IS>>
impl R<u32, Reg<u32, _IS>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31
Source§impl R<u32, Reg<u32, _IBE>>
impl R<u32, Reg<u32, _IBE>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31
Source§impl R<u32, Reg<u32, _IEV>>
impl R<u32, Reg<u32, _IEV>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31
Source§impl R<u32, Reg<u32, _IE>>
impl R<u32, Reg<u32, _IE>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31
Source§impl R<u32, Reg<u32, _RIS>>
impl R<u32, Reg<u32, _RIS>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31
Source§impl R<u32, Reg<u32, _MIS>>
impl R<u32, Reg<u32, _MIS>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31
Source§impl R<u32, Reg<u32, _IC>>
impl R<u32, Reg<u32, _IC>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31
Source§impl R<u32, Reg<u32, _AFSEL>>
impl R<u32, Reg<u32, _AFSEL>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31
Source§impl R<u32, Reg<u32, _GPIOCR>>
impl R<u32, Reg<u32, _GPIOCR>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31 - 31:8] Reserved bits return an indeterminate value, and should never be changed.
Source§impl R<u32, Reg<u32, _PMUX>>
impl R<u32, Reg<u32, _PMUX>>
Sourcepub fn reserved32(&self) -> RESERVED32_R
pub fn reserved32(&self) -> RESERVED32_R
Bits 8:31
Sourcepub fn ckoen(&self) -> CKOEN_R
pub fn ckoen(&self) -> CKOEN_R
Bit 7 - 7:7] Clock out enable When this bit is set, the 32-kHz clock is routed to either PA[0] or PB[7] pins. PMUX.CKOPIN selects the pin to use. This overrides the current configuration setting for this pin. The pullup or pulldown is disabled and the direction is set to output for this pin.
Sourcepub fn reserved7(&self) -> RESERVED7_R
pub fn reserved7(&self) -> RESERVED7_R
Bits 5:6 - 6:5] These are spare registers that are unused in the design.
Sourcepub fn ckopin(&self) -> CKOPIN_R
pub fn ckopin(&self) -> CKOPIN_R
Bit 4 - 4:4] Decouple control pin select This control only has relevance when CKOEN is set. When 0, PA[0] becomes the 32-kHz clock output. When 1, PB[7] becomes the 32-kHz clock output.
Sourcepub fn dcen(&self) -> DCEN_R
pub fn dcen(&self) -> DCEN_R
Bit 3 - 3:3] Decouple control enable When this bit is set, the on-die digital regulator status is routed to either PB[1] or PB[0] pins. PMUX.DCPIN selects the pin to use. This overrides the current configuration setting for this pin. The pullup or pulldown is disabled and the direction is set to output for this pin.
Sourcepub fn reserved3(&self) -> RESERVED3_R
pub fn reserved3(&self) -> RESERVED3_R
Bits 1:2 - 2:1] These are spare registers that are unused in the design.
Sourcepub fn dcpin(&self) -> DCPIN_R
pub fn dcpin(&self) -> DCPIN_R
Bit 0 - 0:0] Decouple control pin select This control has relevance only when DCEN is set. When 0, PB[1] becomes the on-die digital regulator status (1 indicates the on-die digital regulator is active); when 1, PB[0] becomes the on-die digital regulator status. NOTE: PB[1] and PB[0] can also be controlled with other override features. In priority order for PB[1]: When POR/BOD test mode is active, PB[1] becomes the active low brown-out detected indicator. When DCEN is set and DCPIN is not set, PB[1] becomes the on-dir digital regulator status. In priority order for PB[0]: When POR/BOD test mode is active, PB[0] becomes the power-on-reset indicator. When DCEN and DCPIN are set, PB[0] becomes the on-die digital regulator status.
Source§impl R<u32, Reg<u32, _P_EDGE_CTRL>>
impl R<u32, Reg<u32, _P_EDGE_CTRL>>
Sourcepub fn pdirc7(&self) -> PDIRC7_R
pub fn pdirc7(&self) -> PDIRC7_R
Bit 31 - 31:31] Port D bit 7 interrupt request condition: 0: Rising 1: Falling edge
Sourcepub fn pdirc6(&self) -> PDIRC6_R
pub fn pdirc6(&self) -> PDIRC6_R
Bit 30 - 30:30] Port D bit 6 interrupt request condition: 0: Rising 1: Falling edge
Sourcepub fn pdirc5(&self) -> PDIRC5_R
pub fn pdirc5(&self) -> PDIRC5_R
Bit 29 - 29:29] Port D bit 5 interrupt request condition: 0: Rising 1: Falling edge
Sourcepub fn pdirc4(&self) -> PDIRC4_R
pub fn pdirc4(&self) -> PDIRC4_R
Bit 28 - 28:28] Port D bit 4 interrupt request condition: 0: Rising 1: Falling edge
Sourcepub fn pdirc3(&self) -> PDIRC3_R
pub fn pdirc3(&self) -> PDIRC3_R
Bit 27 - 27:27] Port D bit 3 interrupt request condition: 0: Rising 1: Falling edge
Sourcepub fn pdirc2(&self) -> PDIRC2_R
pub fn pdirc2(&self) -> PDIRC2_R
Bit 26 - 26:26] Port D bit 2 interrupt request condition: 0: Rising 1: Falling edge
Sourcepub fn pdirc1(&self) -> PDIRC1_R
pub fn pdirc1(&self) -> PDIRC1_R
Bit 25 - 25:25] Port D bit 1 interrupt request condition: 0: Rising 1: Falling edge
Sourcepub fn pdirc0(&self) -> PDIRC0_R
pub fn pdirc0(&self) -> PDIRC0_R
Bit 24 - 24:24] Port D bit 0 interrupt request condition: 0: Rising 1: Falling edge
Sourcepub fn pcirc7(&self) -> PCIRC7_R
pub fn pcirc7(&self) -> PCIRC7_R
Bit 23 - 23:23] Port C bit 7 interrupt request condition: 0: Rising 1: Falling edge
Sourcepub fn pcirc6(&self) -> PCIRC6_R
pub fn pcirc6(&self) -> PCIRC6_R
Bit 22 - 22:22] Port C bit 6 interrupt request condition: 0: Rising 1: Falling edge
Sourcepub fn pcirc5(&self) -> PCIRC5_R
pub fn pcirc5(&self) -> PCIRC5_R
Bit 21 - 21:21] Port C bit 5 interrupt request condition: 0: Rising 1: Falling edge
Sourcepub fn pcirc4(&self) -> PCIRC4_R
pub fn pcirc4(&self) -> PCIRC4_R
Bit 20 - 20:20] Port C bit 4 interrupt request condition: 0: Rising 1: Falling edge
Sourcepub fn pcirc3(&self) -> PCIRC3_R
pub fn pcirc3(&self) -> PCIRC3_R
Bit 19 - 19:19] Port C bit 3 interrupt request condition: 0: Rising 1: Falling edge
Sourcepub fn pcirc2(&self) -> PCIRC2_R
pub fn pcirc2(&self) -> PCIRC2_R
Bit 18 - 18:18] Port C bit 2 interrupt request condition: 0: Rising 1: Falling edge
Sourcepub fn pcirc1(&self) -> PCIRC1_R
pub fn pcirc1(&self) -> PCIRC1_R
Bit 17 - 17:17] Port C bit 1 interrupt request condition: 0: Rising 1: Falling edge
Sourcepub fn pcirc0(&self) -> PCIRC0_R
pub fn pcirc0(&self) -> PCIRC0_R
Bit 16 - 16:16] Port C bit 0 interrupt request condition: 0: Rising 1: Falling edge
Sourcepub fn pbirc7(&self) -> PBIRC7_R
pub fn pbirc7(&self) -> PBIRC7_R
Bit 15 - 15:15] Port B bit 7 interrupt request condition: 0: Rising 1: Falling edge
Sourcepub fn pbirc6(&self) -> PBIRC6_R
pub fn pbirc6(&self) -> PBIRC6_R
Bit 14 - 14:14] Port B bit 6 interrupt request condition: 0: Rising 1: Falling edge
Sourcepub fn pbirc5(&self) -> PBIRC5_R
pub fn pbirc5(&self) -> PBIRC5_R
Bit 13 - 13:13] Port B bit 5 interrupt request condition: 0: Rising 1: Falling edge
Sourcepub fn pbirc4(&self) -> PBIRC4_R
pub fn pbirc4(&self) -> PBIRC4_R
Bit 12 - 12:12] Port B bit 4 interrupt request condition: 0: Rising 1: Falling edge
Sourcepub fn pbirc3(&self) -> PBIRC3_R
pub fn pbirc3(&self) -> PBIRC3_R
Bit 11 - 11:11] Port B bit 3 interrupt request condition: 0: Rising 1: Falling edge
Sourcepub fn pbirc2(&self) -> PBIRC2_R
pub fn pbirc2(&self) -> PBIRC2_R
Bit 10 - 10:10] Port B bit 2 interrupt request condition: 0: Rising 1: Falling edge
Sourcepub fn pbirc1(&self) -> PBIRC1_R
pub fn pbirc1(&self) -> PBIRC1_R
Bit 9 - 9:9] Port B bit 1 interrupt request condition: 0: Rising 1: Falling edge
Sourcepub fn pbirc0(&self) -> PBIRC0_R
pub fn pbirc0(&self) -> PBIRC0_R
Bit 8 - 8:8] Port B bit 0 interrupt request condition: 0: Rising 1: Falling edge
Sourcepub fn pairc7(&self) -> PAIRC7_R
pub fn pairc7(&self) -> PAIRC7_R
Bit 7 - 7:7] Port A bit 7 interrupt request condition: 0: Rising 1: Falling edge
Sourcepub fn pairc6(&self) -> PAIRC6_R
pub fn pairc6(&self) -> PAIRC6_R
Bit 6 - 6:6] Port A bit 6 interrupt request condition: 0: Rising 1: Falling edge
Sourcepub fn pairc5(&self) -> PAIRC5_R
pub fn pairc5(&self) -> PAIRC5_R
Bit 5 - 5:5] Port A bit 5 interrupt request condition: 0: Rising 1: Falling edge
Sourcepub fn pairc4(&self) -> PAIRC4_R
pub fn pairc4(&self) -> PAIRC4_R
Bit 4 - 4:4] Port A bit 4 interrupt request condition: 0: Rising 1: Falling edge
Sourcepub fn pairc3(&self) -> PAIRC3_R
pub fn pairc3(&self) -> PAIRC3_R
Bit 3 - 3:3] Port A bit 3 interrupt request condition: 0: Rising 1: Falling edge
Sourcepub fn pairc2(&self) -> PAIRC2_R
pub fn pairc2(&self) -> PAIRC2_R
Bit 2 - 2:2] Port A bit 2 interrupt request condition: 0: Rising 1: Falling edge
Source§impl R<u32, Reg<u32, _USB_CTRL>>
impl R<u32, Reg<u32, _USB_CTRL>>
Sourcepub fn reserved31(&self) -> RESERVED31_R
pub fn reserved31(&self) -> RESERVED31_R
Bits 1:31
Sourcepub fn usb_edge_ctl(&self) -> USB_EDGE_CTL_R
pub fn usb_edge_ctl(&self) -> USB_EDGE_CTL_R
Bit 0 - 0:0] Used to set the edge which triggers the USB power up interrupt 0: Rising 1: Falling
Source§impl R<u32, Reg<u32, _PI_IEN>>
impl R<u32, Reg<u32, _PI_IEN>>
Sourcepub fn pdien7(&self) -> PDIEN7_R
pub fn pdien7(&self) -> PDIEN7_R
Bit 31 - 31:31] Port D bit 7 interrupt enable: 1: Enabled 2: Disabled
Sourcepub fn pdien6(&self) -> PDIEN6_R
pub fn pdien6(&self) -> PDIEN6_R
Bit 30 - 30:30] Port D bit 6 interrupt enable: 1: Enabled 2: Disabled
Sourcepub fn pdien5(&self) -> PDIEN5_R
pub fn pdien5(&self) -> PDIEN5_R
Bit 29 - 29:29] Port D bit 5 interrupt enable: 1: Enabled 2: Disabled
Sourcepub fn pdien4(&self) -> PDIEN4_R
pub fn pdien4(&self) -> PDIEN4_R
Bit 28 - 28:28] Port D bit 4 interrupt enable: 1: Enabled 2: Disabled
Sourcepub fn pdien3(&self) -> PDIEN3_R
pub fn pdien3(&self) -> PDIEN3_R
Bit 27 - 27:27] Port D bit 3 interrupt enable: 1: Enabled 2: Disabled
Sourcepub fn pdien2(&self) -> PDIEN2_R
pub fn pdien2(&self) -> PDIEN2_R
Bit 26 - 26:26] Port D bit 2 interrupt enable: 1: Enabled 2: Disabled
Sourcepub fn pdien1(&self) -> PDIEN1_R
pub fn pdien1(&self) -> PDIEN1_R
Bit 25 - 25:25] Port D bit 1 interrupt enable: 1: Enabled 2: Disabled
Sourcepub fn pdien0(&self) -> PDIEN0_R
pub fn pdien0(&self) -> PDIEN0_R
Bit 24 - 24:24] Port D bit 0 interrupt enable: 1: Enabled 2: Disabled
Sourcepub fn pcien7(&self) -> PCIEN7_R
pub fn pcien7(&self) -> PCIEN7_R
Bit 23 - 23:23] Port C bit 7 interrupt enable: 1: Enabled 2: Disabled
Sourcepub fn pcien6(&self) -> PCIEN6_R
pub fn pcien6(&self) -> PCIEN6_R
Bit 22 - 22:22] Port C bit 6 interrupt enable: 1: Enabled 2: Disabled
Sourcepub fn pcien5(&self) -> PCIEN5_R
pub fn pcien5(&self) -> PCIEN5_R
Bit 21 - 21:21] Port C bit 5 interrupt enable: 1: Enabled 2: Disabled
Sourcepub fn pcien4(&self) -> PCIEN4_R
pub fn pcien4(&self) -> PCIEN4_R
Bit 20 - 20:20] Port C bit 4 interrupt enable: 1: Enabled 2: Disabled
Sourcepub fn pcien3(&self) -> PCIEN3_R
pub fn pcien3(&self) -> PCIEN3_R
Bit 19 - 19:19] Port C bit 3 interrupt enable: 1: Enabled 2: Disabled
Sourcepub fn pcien2(&self) -> PCIEN2_R
pub fn pcien2(&self) -> PCIEN2_R
Bit 18 - 18:18] Port C bit 2 interrupt enable: 1: Enabled 2: Disabled
Sourcepub fn pcien1(&self) -> PCIEN1_R
pub fn pcien1(&self) -> PCIEN1_R
Bit 17 - 17:17] Port C bit 1 interrupt enable: 1: Enabled 2: Disabled
Sourcepub fn pcien0(&self) -> PCIEN0_R
pub fn pcien0(&self) -> PCIEN0_R
Bit 16 - 16:16] Port C bit 0 interrupt enable: 1: Enabled 2: Disabled
Sourcepub fn pbien7(&self) -> PBIEN7_R
pub fn pbien7(&self) -> PBIEN7_R
Bit 15 - 15:15] Port B bit 7 interrupt enable: 1: Enabled 2: Disabled
Sourcepub fn pbien6(&self) -> PBIEN6_R
pub fn pbien6(&self) -> PBIEN6_R
Bit 14 - 14:14] Port B bit 6 interrupt enable: 1: Enabled 2: Disabled
Sourcepub fn pbien5(&self) -> PBIEN5_R
pub fn pbien5(&self) -> PBIEN5_R
Bit 13 - 13:13] Port B bit 5 interrupt enable: 1: Enabled 2: Disabled
Sourcepub fn pbien4(&self) -> PBIEN4_R
pub fn pbien4(&self) -> PBIEN4_R
Bit 12 - 12:12] Port B bit 4 interrupt enable: 1: Enabled 2: Disabled
Sourcepub fn pbien3(&self) -> PBIEN3_R
pub fn pbien3(&self) -> PBIEN3_R
Bit 11 - 11:11] Port B bit 3 interrupt enable: 1: Enabled 2: Disabled
Sourcepub fn pbien2(&self) -> PBIEN2_R
pub fn pbien2(&self) -> PBIEN2_R
Bit 10 - 10:10] Port B bit 2 interrupt enable: 1: Enabled 2: Disabled
Sourcepub fn pbien1(&self) -> PBIEN1_R
pub fn pbien1(&self) -> PBIEN1_R
Bit 9 - 9:9] Port B bit 1 interrupt enable: 1: Enabled 2: Disabled
Sourcepub fn pbien0(&self) -> PBIEN0_R
pub fn pbien0(&self) -> PBIEN0_R
Bit 8 - 8:8] Port B bit 0 interrupt enable: 1: Enabled 2: Disabled
Sourcepub fn paien7(&self) -> PAIEN7_R
pub fn paien7(&self) -> PAIEN7_R
Bit 7 - 7:7] Port A bit 7 interrupt enable: 1: Enabled 2: Disabled
Sourcepub fn paien6(&self) -> PAIEN6_R
pub fn paien6(&self) -> PAIEN6_R
Bit 6 - 6:6] Port A bit 6 interrupt enable: 1: Enabled 2: Disabled
Sourcepub fn paien5(&self) -> PAIEN5_R
pub fn paien5(&self) -> PAIEN5_R
Bit 5 - 5:5] Port A bit 5 interrupt enable: 1: Enabled 2: Disabled
Sourcepub fn paien4(&self) -> PAIEN4_R
pub fn paien4(&self) -> PAIEN4_R
Bit 4 - 4:4] Port A bit 4 interrupt enable: 1: Enabled 2: Disabled
Sourcepub fn paien3(&self) -> PAIEN3_R
pub fn paien3(&self) -> PAIEN3_R
Bit 3 - 3:3] Port A bit 3 interrupt enable: 1: Enabled 2: Disabled
Sourcepub fn paien2(&self) -> PAIEN2_R
pub fn paien2(&self) -> PAIEN2_R
Bit 2 - 2:2] Port A bit 2 interrupt enable: 1: Enabled 2: Disabled
Source§impl R<u32, Reg<u32, _IRQ_DETECT_ACK>>
impl R<u32, Reg<u32, _IRQ_DETECT_ACK>>
Sourcepub fn pdiack7(&self) -> PDIACK7_R
pub fn pdiack7(&self) -> PDIACK7_R
Bit 31 - 31:31] Port D bit 7 masked interrupt status: 1: Detected 0: Not detected
Sourcepub fn pdiack6(&self) -> PDIACK6_R
pub fn pdiack6(&self) -> PDIACK6_R
Bit 30 - 30:30] Port D bit 6 masked interrupt status: 1: Detected 0: Not detected
Sourcepub fn pdiack5(&self) -> PDIACK5_R
pub fn pdiack5(&self) -> PDIACK5_R
Bit 29 - 29:29] Port D bit 5 masked interrupt status: 1: Detected 0: Not detected
Sourcepub fn pdiack4(&self) -> PDIACK4_R
pub fn pdiack4(&self) -> PDIACK4_R
Bit 28 - 28:28] Port D bit 4 masked interrupt status: 1: Detected 0: Not detected
Sourcepub fn pdiack3(&self) -> PDIACK3_R
pub fn pdiack3(&self) -> PDIACK3_R
Bit 27 - 27:27] Port D bit 3 masked interrupt status: 1: Detected 0: Not detected
Sourcepub fn pdiack2(&self) -> PDIACK2_R
pub fn pdiack2(&self) -> PDIACK2_R
Bit 26 - 26:26] Port D bit 2 masked interrupt status: 1: Detected 0: Not detected
Sourcepub fn pdiack1(&self) -> PDIACK1_R
pub fn pdiack1(&self) -> PDIACK1_R
Bit 25 - 25:25] Port D bit 1 masked interrupt status: 1: Detected0: Not detected
Sourcepub fn pdiack0(&self) -> PDIACK0_R
pub fn pdiack0(&self) -> PDIACK0_R
Bit 24 - 24:24] Port D bit 0 masked interrupt status: 1: Detected 0: Not detected
Sourcepub fn pciack7(&self) -> PCIACK7_R
pub fn pciack7(&self) -> PCIACK7_R
Bit 23 - 23:23] Port C bit 7 masked interrupt status: 1: Detected 0: Not detected
Sourcepub fn pciack6(&self) -> PCIACK6_R
pub fn pciack6(&self) -> PCIACK6_R
Bit 22 - 22:22] Port C bit 6 masked interrupt status: 1: Detected 0: Not detected
Sourcepub fn pciack5(&self) -> PCIACK5_R
pub fn pciack5(&self) -> PCIACK5_R
Bit 21 - 21:21] Port C bit 5 masked interrupt status: 1: Detected 0: Not detected
Sourcepub fn pciack4(&self) -> PCIACK4_R
pub fn pciack4(&self) -> PCIACK4_R
Bit 20 - 20:20] Port C bit 4 masked interrupt status: 1: Detected 0: Not detected
Sourcepub fn pciack3(&self) -> PCIACK3_R
pub fn pciack3(&self) -> PCIACK3_R
Bit 19 - 19:19] Port C bit 3 masked interrupt status: 1: Detected 0: Not detected
Sourcepub fn pciack2(&self) -> PCIACK2_R
pub fn pciack2(&self) -> PCIACK2_R
Bit 18 - 18:18] Port C bit 2 masked interrupt status: 1: Detected 0: Not detected
Sourcepub fn pciack1(&self) -> PCIACK1_R
pub fn pciack1(&self) -> PCIACK1_R
Bit 17 - 17:17] Port C bit 1 masked interrupt status: 1: Detected 0: Not detected
Sourcepub fn pciack0(&self) -> PCIACK0_R
pub fn pciack0(&self) -> PCIACK0_R
Bit 16 - 16:16] Port C bit 0 masked interrupt status: 1: Detected 0: Not detected
Sourcepub fn pbiack7(&self) -> PBIACK7_R
pub fn pbiack7(&self) -> PBIACK7_R
Bit 15 - 15:15] Port B bit 7 masked interrupt status: 1: Detected 0: Not detected
Sourcepub fn pbiack6(&self) -> PBIACK6_R
pub fn pbiack6(&self) -> PBIACK6_R
Bit 14 - 14:14] Port B bit 6 masked interrupt status: 1: Detected 0: Not detected
Sourcepub fn pbiack5(&self) -> PBIACK5_R
pub fn pbiack5(&self) -> PBIACK5_R
Bit 13 - 13:13] Port B bit 5 masked interrupt status: 1: Detected 0: Not detected
Sourcepub fn pbiack4(&self) -> PBIACK4_R
pub fn pbiack4(&self) -> PBIACK4_R
Bit 12 - 12:12] Port B bit 4 masked interrupt status: 1: Detected 0: Not detected
Sourcepub fn pbiack3(&self) -> PBIACK3_R
pub fn pbiack3(&self) -> PBIACK3_R
Bit 11 - 11:11] Port B bit 3 masked interrupt status: 1: Detected 0: Not detected
Sourcepub fn pbiack2(&self) -> PBIACK2_R
pub fn pbiack2(&self) -> PBIACK2_R
Bit 10 - 10:10] Port B bit 2 masked interrupt status: 1: Detected 0: Not detected
Sourcepub fn pbiack1(&self) -> PBIACK1_R
pub fn pbiack1(&self) -> PBIACK1_R
Bit 9 - 9:9] Port B bit 1 masked interrupt status: 1: Detected 0: Not detected
Sourcepub fn pbiack0(&self) -> PBIACK0_R
pub fn pbiack0(&self) -> PBIACK0_R
Bit 8 - 8:8] Port B bit 0 masked interrupt status: 1: Detected 0: Not detected
Sourcepub fn paiack7(&self) -> PAIACK7_R
pub fn paiack7(&self) -> PAIACK7_R
Bit 7 - 7:7] Port A bit 7 masked interrupt status: 1: Detected 0: Not detected
Sourcepub fn paiack6(&self) -> PAIACK6_R
pub fn paiack6(&self) -> PAIACK6_R
Bit 6 - 6:6] Port A bit 6 masked interrupt status: 1: Detected 0: Not detected
Sourcepub fn paiack5(&self) -> PAIACK5_R
pub fn paiack5(&self) -> PAIACK5_R
Bit 5 - 5:5] Port A bit 5 masked interrupt status: 1: Detected 0: Not detected
Sourcepub fn paiack4(&self) -> PAIACK4_R
pub fn paiack4(&self) -> PAIACK4_R
Bit 4 - 4:4] Port A bit 4 masked interrupt status: 1: Detected 0: Not detected
Sourcepub fn paiack3(&self) -> PAIACK3_R
pub fn paiack3(&self) -> PAIACK3_R
Bit 3 - 3:3] Port A bit 3 masked interrupt status: 1: Detected 0: Not detected
Sourcepub fn paiack2(&self) -> PAIACK2_R
pub fn paiack2(&self) -> PAIACK2_R
Bit 2 - 2:2] Port A bit 2 masked interrupt status: 1: Detected 0: Not detected
Source§impl R<u32, Reg<u32, _USB_IRQ_ACK>>
impl R<u32, Reg<u32, _USB_IRQ_ACK>>
Sourcepub fn reserved31(&self) -> RESERVED31_R
pub fn reserved31(&self) -> RESERVED31_R
Bits 1:31
Source§impl R<u32, Reg<u32, _IRQ_DETECT_UNMASK>>
impl R<u32, Reg<u32, _IRQ_DETECT_UNMASK>>
Sourcepub fn pdiack7(&self) -> PDIACK7_R
pub fn pdiack7(&self) -> PDIACK7_R
Bit 31 - 31:31] Port D bit 7 unmasked interrupt status: 1: Detected 0: Undetected
Sourcepub fn pdiack6(&self) -> PDIACK6_R
pub fn pdiack6(&self) -> PDIACK6_R
Bit 30 - 30:30] Port D bit 6 unmasked interrupt status: 1: Detected 0: Undetected
Sourcepub fn pdiack5(&self) -> PDIACK5_R
pub fn pdiack5(&self) -> PDIACK5_R
Bit 29 - 29:29] Port D bit 5 unmasked interrupt status: 1: Detected 0: Undetected
Sourcepub fn pdiack4(&self) -> PDIACK4_R
pub fn pdiack4(&self) -> PDIACK4_R
Bit 28 - 28:28] Port D bit 4 unmasked interrupt status: 1: Detected 0: Undetected
Sourcepub fn pdiack3(&self) -> PDIACK3_R
pub fn pdiack3(&self) -> PDIACK3_R
Bit 27 - 27:27] Port D bit 3 unmasked interrupt status: 1: Detected 0: Undetected
Sourcepub fn pdiack2(&self) -> PDIACK2_R
pub fn pdiack2(&self) -> PDIACK2_R
Bit 26 - 26:26] Port D bit 2 unmasked interrupt status: 1: Detected 0: Undetected
Sourcepub fn pdiack1(&self) -> PDIACK1_R
pub fn pdiack1(&self) -> PDIACK1_R
Bit 25 - 25:25] Port D bit 1 unmasked interrupt status: 1: Detected 0: Undetected
Sourcepub fn pdiack0(&self) -> PDIACK0_R
pub fn pdiack0(&self) -> PDIACK0_R
Bit 24 - 24:24] Port D bit 0 unmasked interrupt status: 1: Detected 0: Undetected
Sourcepub fn pciack7(&self) -> PCIACK7_R
pub fn pciack7(&self) -> PCIACK7_R
Bit 23 - 23:23] Port C bit 7 unmasked interrupt status: 1: Detected 0: Undetected
Sourcepub fn pciack6(&self) -> PCIACK6_R
pub fn pciack6(&self) -> PCIACK6_R
Bit 22 - 22:22] Port C bit 6 unmasked interrupt status: 1: Detected 0: Undetected
Sourcepub fn pciack5(&self) -> PCIACK5_R
pub fn pciack5(&self) -> PCIACK5_R
Bit 21 - 21:21] Port C bit 5 unmasked interrupt status: 1: Detected 0: Undetected
Sourcepub fn pciack4(&self) -> PCIACK4_R
pub fn pciack4(&self) -> PCIACK4_R
Bit 20 - 20:20] Port C bit 4 unmasked interrupt status: 1: Detected 0: Undetected
Sourcepub fn pciack3(&self) -> PCIACK3_R
pub fn pciack3(&self) -> PCIACK3_R
Bit 19 - 19:19] Port C bit 3 unmasked interrupt status: 1: Detected 0: Undetected
Sourcepub fn pciack2(&self) -> PCIACK2_R
pub fn pciack2(&self) -> PCIACK2_R
Bit 18 - 18:18] Port C bit 2 unmasked interrupt status: 1: Detected 0: Undetected
Sourcepub fn pciack1(&self) -> PCIACK1_R
pub fn pciack1(&self) -> PCIACK1_R
Bit 17 - 17:17] Port C bit 1 unmasked interrupt status: 1: Detected 0: Undetected
Sourcepub fn pciack0(&self) -> PCIACK0_R
pub fn pciack0(&self) -> PCIACK0_R
Bit 16 - 16:16] Port C bit 0 unmasked interrupt status: 1: Detected 0: Undetected
Sourcepub fn pbiack7(&self) -> PBIACK7_R
pub fn pbiack7(&self) -> PBIACK7_R
Bit 15 - 15:15] Port B bit 7 unmasked interrupt status: 1: Detected 0: Undetected
Sourcepub fn pbiack6(&self) -> PBIACK6_R
pub fn pbiack6(&self) -> PBIACK6_R
Bit 14 - 14:14] Port B bit 6 unmasked interrupt status: 1: Detected 0: Undetected
Sourcepub fn pbiack5(&self) -> PBIACK5_R
pub fn pbiack5(&self) -> PBIACK5_R
Bit 13 - 13:13] Port B bit 5 unmasked interrupt status: 1: Detected 0: Undetected
Sourcepub fn pbiack4(&self) -> PBIACK4_R
pub fn pbiack4(&self) -> PBIACK4_R
Bit 12 - 12:12] Port B bit 4 unmasked interrupt status: 1: Detected 0: Undetected
Sourcepub fn pbiack3(&self) -> PBIACK3_R
pub fn pbiack3(&self) -> PBIACK3_R
Bit 11 - 11:11] Port B bit 3 unmasked interrupt status: 1: Detected 0: Undetected
Sourcepub fn pbiack2(&self) -> PBIACK2_R
pub fn pbiack2(&self) -> PBIACK2_R
Bit 10 - 10:10] Port B bit 2 unmasked interrupt status: 1: Detected 0: Undetected
Sourcepub fn pbiack1(&self) -> PBIACK1_R
pub fn pbiack1(&self) -> PBIACK1_R
Bit 9 - 9:9] Port B bit 1 unmasked interrupt status: 1: Detected 0: Undetected
Sourcepub fn pbiack0(&self) -> PBIACK0_R
pub fn pbiack0(&self) -> PBIACK0_R
Bit 8 - 8:8] Port B bit 0 unmasked interrupt status: 1: Detected 0: Undetected
Sourcepub fn paiack7(&self) -> PAIACK7_R
pub fn paiack7(&self) -> PAIACK7_R
Bit 7 - 7:7] Port A bit 7 unmasked interrupt status: 1: Detected 0: Undetected
Sourcepub fn paiack6(&self) -> PAIACK6_R
pub fn paiack6(&self) -> PAIACK6_R
Bit 6 - 6:6] Port A bit 6 unmasked interrupt status: 1: Detected 0: Undetected
Sourcepub fn paiack5(&self) -> PAIACK5_R
pub fn paiack5(&self) -> PAIACK5_R
Bit 5 - 5:5] Port A bit 5 unmasked interrupt status: 1: Detected 0: Undetected
Sourcepub fn paiack4(&self) -> PAIACK4_R
pub fn paiack4(&self) -> PAIACK4_R
Bit 4 - 4:4] Port A bit 4 unmasked interrupt status: 1: Detected 0: Undetected
Sourcepub fn paiack3(&self) -> PAIACK3_R
pub fn paiack3(&self) -> PAIACK3_R
Bit 3 - 3:3] Port A bit 3 unmasked interrupt status: 1: Detected 0: Undetected
Sourcepub fn paiack2(&self) -> PAIACK2_R
pub fn paiack2(&self) -> PAIACK2_R
Bit 2 - 2:2] Port A bit 2 unmasked interrupt status: 1: Detected 0: Undetected
Source§impl R<u32, Reg<u32, _STAT>>
impl R<u32, Reg<u32, _STAT>>
Sourcepub fn reserved11(&self) -> RESERVED11_R
pub fn reserved11(&self) -> RESERVED11_R
Bits 21:31 - 31:21] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Sourcepub fn dmachans(&self) -> DMACHANS_R
pub fn dmachans(&self) -> DMACHANS_R
Bits 16:20 - 20:16] Available uDMA channels minus 1 This field contains a value equal to the number of uDMA channels the uDMA controller is configured to use, minus one. The value of 0x1F corresponds to 32 uDMA channels.
Sourcepub fn reserved8(&self) -> RESERVED8_R
pub fn reserved8(&self) -> RESERVED8_R
Bits 8:15 - 15:8] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Sourcepub fn state(&self) -> STATE_R
pub fn state(&self) -> STATE_R
Bits 4:7 - 7:4] Control state machine status This field shows the current status of the control state-machine. Status can be one of the following: 0x0: Idle 0x1: Reading channel controller data 0x2: Reading source end pointer 0x3: Reading destination end pointer 0x4: Reading source data 0x5: Writing destination data 0x6: Waiting for uDMA request to clear 0x7: Writing channel controller data 0x8: Stalled 0x9: Done 0xA-0xF: Undefined
Sourcepub fn reserved3(&self) -> RESERVED3_R
pub fn reserved3(&self) -> RESERVED3_R
Bits 1:3 - 3:1] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Source§impl R<u32, Reg<u32, _CFG>>
impl R<u32, Reg<u32, _CFG>>
Sourcepub fn reserved31(&self) -> RESERVED31_R
pub fn reserved31(&self) -> RESERVED31_R
Bits 1:31 - 31:1] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Source§impl R<u32, Reg<u32, _CTLBASE>>
impl R<u32, Reg<u32, _CTLBASE>>
Sourcepub fn addr(&self) -> ADDR_R
pub fn addr(&self) -> ADDR_R
Bits 10:31 - 31:10] Channel control base address This field contains the pointer to the base address of the channel control table. The base address must be 1024-byte alligned.
Sourcepub fn reserved10(&self) -> RESERVED10_R
pub fn reserved10(&self) -> RESERVED10_R
Bits 0:9 - 9:0] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Source§impl R<u32, Reg<u32, _SWREQ>>
impl R<u32, Reg<u32, _SWREQ>>
Sourcepub fn swreq(&self) -> SWREQ_R
pub fn swreq(&self) -> SWREQ_R
Bits 0:31 - 31:0] Channel [n] software request These bits generate software requests. Bit 0 corresponds to channel 0. 1: Generate a software request for the corresponding channel 0: No request generated These bits are automatically cleared when the software request has been completed.
Source§impl R<u32, Reg<u32, _USEBURSTSET>>
impl R<u32, Reg<u32, _USEBURSTSET>>
Sourcepub fn set(&self) -> SET_R
pub fn set(&self) -> SET_R
Bits 0:31 - 31:0] Channel [n] useburst set 0: uDMA channel [n] responds to single or burst requests. 1: uDMA channel [n] responds only to burst requests. Bit 0 corresponds to channel 0. This bit is automatically cleared as described above. A bit can also be manually cleared by setting the corresponding CLR[n] bit in the DMAUSEBURSTCLR register.
Source§impl R<u32, Reg<u32, _REQMASKSET>>
impl R<u32, Reg<u32, _REQMASKSET>>
Sourcepub fn set(&self) -> SET_R
pub fn set(&self) -> SET_R
Bits 0:31 - 31:0] Channel [n] request mask set 0: The peripheral associated with channel [n] is enabled to request uDMA transfers 1: The peripheral associated with channel [n] is not able to request uDMA transfers. Channel [n] may be used for software-initiated transfers. Bit 0 corresponds to channel 0. A bit can only be cleared by setting the corresponding CLR[n] bit in the DMAREQMASKCLR register.
Source§impl R<u32, Reg<u32, _ALTSET>>
impl R<u32, Reg<u32, _ALTSET>>
Sourcepub fn set(&self) -> SET_R
pub fn set(&self) -> SET_R
Bits 0:31 - 31:0] Channel [n] alternate set 0: uDMA channel [n] is using the primary control structure 1: uDMA channel [n] is using the alternate control structure Bit 0 corresponds to channel 0. A bit can only be cleared by setting the corresponding CLR[n] bit in the DMAALTCLR register. Note: For Ping-Pong and Scatter-Gather cycle types, the uDMA controller automatically sets these bits to select the alternate channel control data structure.
Source§impl R<u32, Reg<u32, _ALTCLR>>
impl R<u32, Reg<u32, _ALTCLR>>
Sourcepub fn clr(&self) -> CLR_R
pub fn clr(&self) -> CLR_R
Bits 0:31 - 31:0] Channel [n] alternate clear 0: No effect 1: Setting a bit clears the corresponding SET[n] bit in the DMAALTSET register meaning that channel [n] is using the primary control structure. Note: For Ping-Pong and Scatter-Gather cycle types, the uDMA controller automatically sets these bits to select the alternate channel control data structure.
Source§impl R<u32, Reg<u32, _PRIOSET>>
impl R<u32, Reg<u32, _PRIOSET>>
Sourcepub fn set(&self) -> SET_R
pub fn set(&self) -> SET_R
Bits 0:31 - 31:0] Channel [n] priority set 0: uDMA channel [n] is using the default priority level 1: uDMA channel [n] is using a high priority level Bit 0 corresponds to channel 0. A bit can only be cleared by setting the corresponding CLR[n] bit in the DMAPRIOCLR register.
Source§impl R<u32, Reg<u32, _ERRCLR>>
impl R<u32, Reg<u32, _ERRCLR>>
Sourcepub fn reserved31(&self) -> RESERVED31_R
pub fn reserved31(&self) -> RESERVED31_R
Bits 1:31 - 31:1] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Source§impl R<u32, Reg<u32, _CHMAP0>>
impl R<u32, Reg<u32, _CHMAP0>>
Sourcepub fn ch7sel(&self) -> CH7SEL_R
pub fn ch7sel(&self) -> CH7SEL_R
Bits 28:31 - 31:28] uDMA channel 7 source select See section titled “Channel Assignments” in Micro Direct Memory Access chapter.
Sourcepub fn ch6sel(&self) -> CH6SEL_R
pub fn ch6sel(&self) -> CH6SEL_R
Bits 24:27 - 27:24] uDMA channel 6 source select See section titled “Channel Assignments” in Micro Direct Memory Access chapter.
Sourcepub fn ch5sel(&self) -> CH5SEL_R
pub fn ch5sel(&self) -> CH5SEL_R
Bits 20:23 - 23:20] uDMA channel 5 source select See section titled “Channel Assignments” in Micro Direct Memory Access chapter.
Sourcepub fn ch4sel(&self) -> CH4SEL_R
pub fn ch4sel(&self) -> CH4SEL_R
Bits 16:19 - 19:16] uDMA channel 4 source select See section titled “Channel Assignments” in Micro Direct Memory Access chapter.
Sourcepub fn ch3sel(&self) -> CH3SEL_R
pub fn ch3sel(&self) -> CH3SEL_R
Bits 12:15 - 15:12] uDMA channel 3 source select See section titled “Channel Assignments” in Micro Direct Memory Access chapter.
Sourcepub fn ch2sel(&self) -> CH2SEL_R
pub fn ch2sel(&self) -> CH2SEL_R
Bits 8:11 - 11:8] uDMA channel 2 source select See section titled “Channel Assignments” in Micro Direct Memory Access chapter.
Source§impl R<u32, Reg<u32, _CHMAP1>>
impl R<u32, Reg<u32, _CHMAP1>>
Sourcepub fn ch15sel(&self) -> CH15SEL_R
pub fn ch15sel(&self) -> CH15SEL_R
Bits 28:31 - 31:28] uDMA channel 15 source select See section titled “Channel Assignments” in Micro Direct Memory Access chapter.
Sourcepub fn ch14sel(&self) -> CH14SEL_R
pub fn ch14sel(&self) -> CH14SEL_R
Bits 24:27 - 27:24] uDMA channel 14 source select See section titled “Channel Assignments” in Micro Direct Memory Access chapter.
Sourcepub fn ch13sel(&self) -> CH13SEL_R
pub fn ch13sel(&self) -> CH13SEL_R
Bits 20:23 - 23:20] uDMA channel 13 source select See section titled “Channel Assignments” in Micro Direct Memory Access chapter.
Sourcepub fn ch12sel(&self) -> CH12SEL_R
pub fn ch12sel(&self) -> CH12SEL_R
Bits 16:19 - 19:16] uDMA channel 12 source select See section titled “Channel Assignments” in Micro Direct Memory Access chapter.
Sourcepub fn ch11sel(&self) -> CH11SEL_R
pub fn ch11sel(&self) -> CH11SEL_R
Bits 12:15 - 15:12] uDMA channel 11 source select See section titled “Channel Assignments” in Micro Direct Memory Access chapter.
Sourcepub fn ch10sel(&self) -> CH10SEL_R
pub fn ch10sel(&self) -> CH10SEL_R
Bits 8:11 - 11:8] uDMA channel 10 source select See section titled “Channel Assignments” in Micro Direct Memory Access chapter.
Source§impl R<u32, Reg<u32, _CHMAP2>>
impl R<u32, Reg<u32, _CHMAP2>>
Sourcepub fn ch23sel(&self) -> CH23SEL_R
pub fn ch23sel(&self) -> CH23SEL_R
Bits 28:31 - 31:28] uDMA channel 23 source select See section titled “Channel Assignments” in Micro Direct Memory Access chapter.
Sourcepub fn ch22sel(&self) -> CH22SEL_R
pub fn ch22sel(&self) -> CH22SEL_R
Bits 24:27 - 27:24] uDMA channel 22 source select See section titled “Channel Assignments” in Micro Direct Memory Access chapter.
Sourcepub fn ch21sel(&self) -> CH21SEL_R
pub fn ch21sel(&self) -> CH21SEL_R
Bits 20:23 - 23:20] uDMA channel 21 source select See section titled “Channel Assignments” in Micro Direct Memory Access chapter.
Sourcepub fn ch20sel(&self) -> CH20SEL_R
pub fn ch20sel(&self) -> CH20SEL_R
Bits 16:19 - 19:16] uDMA channel 20 source select See section titled “Channel Assignments” in Micro Direct Memory Access chapter.
Sourcepub fn ch19sel(&self) -> CH19SEL_R
pub fn ch19sel(&self) -> CH19SEL_R
Bits 12:15 - 15:12] uDMA channel 19 source select See section titled “Channel Assignments” in Micro Direct Memory Access chapter.
Sourcepub fn ch18sel(&self) -> CH18SEL_R
pub fn ch18sel(&self) -> CH18SEL_R
Bits 8:11 - 11:8] uDMA channel 18 source select See section titled “Channel Assignments” in Micro Direct Memory Access chapter.
Source§impl R<u32, Reg<u32, _CHMAP3>>
impl R<u32, Reg<u32, _CHMAP3>>
Sourcepub fn ch31sel(&self) -> CH31SEL_R
pub fn ch31sel(&self) -> CH31SEL_R
Bits 28:31 - 31:28] uDMA channel 31 source select See section titled “Channel Assignments” in Micro Direct Memory Access chapter.
Sourcepub fn ch30sel(&self) -> CH30SEL_R
pub fn ch30sel(&self) -> CH30SEL_R
Bits 24:27 - 27:24] uDMA channel 30 source select See section titled “Channel Assignments” in Micro Direct Memory Access chapter.
Sourcepub fn ch29sel(&self) -> CH29SEL_R
pub fn ch29sel(&self) -> CH29SEL_R
Bits 20:23 - 23:20] uDMA channel 29 source select See section titled “Channel Assignments” in Micro Direct Memory Access chapter.
Sourcepub fn ch28sel(&self) -> CH28SEL_R
pub fn ch28sel(&self) -> CH28SEL_R
Bits 16:19 - 19:16] uDMA channel 28 source select See section titled “Channel Assignments” in Micro Direct Memory Access chapter.
Sourcepub fn ch27sel(&self) -> CH27SEL_R
pub fn ch27sel(&self) -> CH27SEL_R
Bits 12:15 - 15:12] uDMA channel 27 source select See section titled “Channel Assignments” in Micro Direct Memory Access chapter.
Sourcepub fn ch26sel(&self) -> CH26SEL_R
pub fn ch26sel(&self) -> CH26SEL_R
Bits 8:11 - 11:8] uDMA channel 26 source select See section titled “Channel Assignments” in Micro Direct Memory Access chapter.
Source§impl R<u32, Reg<u32, _LPBKGPT>>
impl R<u32, Reg<u32, _LPBKGPT>>
Sourcepub fn reserved1(&self) -> RESERVED1_R
pub fn reserved1(&self) -> RESERVED1_R
Bits 22:31 - 31:22] Reserved
Sourcepub fn lpbk32gpt3(&self) -> LPBK32GPT3_R
pub fn lpbk32gpt3(&self) -> LPBK32GPT3_R
Bits 20:21 - 21:20] GPTimer3 32-bit RTC loopback modes 00: Normal operation 01: GPT0 GPTimerA PWM connected to GPT3 capture 10: GPT0 capture connected to GPT3 PWM GPTimer A 11: Reserved, defaults to normal operation
Sourcepub fn lpbk32gpt2(&self) -> LPBK32GPT2_R
pub fn lpbk32gpt2(&self) -> LPBK32GPT2_R
Bits 18:19 - 19:18] GPTimer2 32-bit RTC loopback modes 00: Normal operation 01: GPT0 Timer A PWM connected to GPT2 capture 10: GPT0 capture connected to GPT2 PWM Timer A 11: Reserved, defaults to normal operation
Sourcepub fn lpbk32gpt1(&self) -> LPBK32GPT1_R
pub fn lpbk32gpt1(&self) -> LPBK32GPT1_R
Bits 16:17 - 17:16] GPTimer1 32-bit RTC loopback modes 00: Normal operation 01: GPT0 timerA PWM connected to GPT1 capture 10: GPT0 capture connected to GPT1 PWM Timer A 11: Reserved, defaults to normal operation
Sourcepub fn reserved2(&self) -> RESERVED2_R
pub fn reserved2(&self) -> RESERVED2_R
Bits 8:15 - 15:8] Reserved
Sourcepub fn lpbk16gpt3(&self) -> LPBK16GPT3_R
pub fn lpbk16gpt3(&self) -> LPBK16GPT3_R
Bits 6:7 - 7:6] GPTimer3 16-bit loopback modes 00: Normal operation 01: Timer A PWM connected to Timer B capture 10: Timer A capture connected to Timer B PWM 11: Reserved, defaults to normal operation
Sourcepub fn lpbk16gpt2(&self) -> LPBK16GPT2_R
pub fn lpbk16gpt2(&self) -> LPBK16GPT2_R
Bits 4:5 - 5:4] GPTimer2 16-bit loopback modes 00: Normal operation 01: Timer A PWM connected to Timer B capture 10: Timer A capture connected to Timer B PWM 11: Reserved, defaults to normal operation
Sourcepub fn lpbk16gpt1(&self) -> LPBK16GPT1_R
pub fn lpbk16gpt1(&self) -> LPBK16GPT1_R
Bits 2:3 - 3:2] GPTimer1 16-bit loopback modes 00: Normal operation 01: Timer A PWM connected to Timer B capture 10: Timer A capture connected to Timer B PWM 11: Reserved, defaults to normal operation
Sourcepub fn lpbk16gpt0(&self) -> LPBK16GPT0_R
pub fn lpbk16gpt0(&self) -> LPBK16GPT0_R
Bits 0:1 - 1:0] GPTimer0 16-bit loopback modes 00: Normal operation 01: Timer A PWM connected to Timer B capture 10: Timer A capture connected to Timer B PWM 11: Reserved, defaults to normal operation
Source§impl R<u32, Reg<u32, _LPBKUART>>
impl R<u32, Reg<u32, _LPBKUART>>
Sourcepub fn lpbkuart(&self) -> LPBKUART_R
pub fn lpbkuart(&self) -> LPBKUART_R
Bit 0 - 0:0] UART0/1 loopback mode 0: Normal operation 1: UART0 TX (RX) connected to UART1 RX (TX)
Source§impl R<u32, Reg<u32, _PTME1>>
impl R<u32, Reg<u32, _PTME1>>
Sourcepub fn reserved1(&self) -> RESERVED1_R
pub fn reserved1(&self) -> RESERVED1_R
Bits 10:31 - 31:10] Reserved
Sourcepub fn uart1tme(&self) -> UART1TME_R
pub fn uart1tme(&self) -> UART1TME_R
Bit 9 - 9:9] UART1 test mode enable
Sourcepub fn uart0tme(&self) -> UART0TME_R
pub fn uart0tme(&self) -> UART0TME_R
Bit 8 - 8:8] UART0 test mode enable
Sourcepub fn reserved2(&self) -> RESERVED2_R
pub fn reserved2(&self) -> RESERVED2_R
Bits 0:7 - 7:0] Reserved
Source§impl R<u32, Reg<u32, _PTME2>>
impl R<u32, Reg<u32, _PTME2>>
Sourcepub fn reserved1(&self) -> RESERVED1_R
pub fn reserved1(&self) -> RESERVED1_R
Bits 20:31 - 31:20] Reserved
Sourcepub fn reserved2(&self) -> RESERVED2_R
pub fn reserved2(&self) -> RESERVED2_R
Bits 1:15 - 15:1] Reserved
Source§impl R<u32, Reg<u32, _GPT>>
impl R<u32, Reg<u32, _GPT>>
Sourcepub fn reserved1(&self) -> RESERVED1_R
pub fn reserved1(&self) -> RESERVED1_R
Bits 9:31 - 31:9] Reserved
Sourcepub fn reserved2(&self) -> RESERVED2_R
pub fn reserved2(&self) -> RESERVED2_R
Bits 5:7 - 7:5] Reserved
Source§impl R<u32, Reg<u32, _SHIFT>>
impl R<u32, Reg<u32, _SHIFT>>
Sourcepub fn num_bits_to_shift(&self) -> NUM_BITS_TO_SHIFT_R
pub fn num_bits_to_shift(&self) -> NUM_BITS_TO_SHIFT_R
Bits 0:4 - 4:0] This register specifies the number of bits to shift the input vector (in the range 0-31) during a Rshift or Lshift operation.
Source§impl R<u32, Reg<u32, _FUNCTION>>
impl R<u32, Reg<u32, _FUNCTION>>
Sourcepub fn reserved1(&self) -> RESERVED1_R
pub fn reserved1(&self) -> RESERVED1_R
Bits 25:31 - 31:25] Set to zero on write, ignore on read
Sourcepub fn stall_result(&self) -> STALL_RESULT_R
pub fn stall_result(&self) -> STALL_RESULT_R
Bit 24 - 24:24] When written with a 1b, updating of the PKA_COMPARE, PKA_MSW and PKA_DIVMSW registers, as well as resetting the run bit is stalled beyond the point that a running operation is actually finished. Use this to allow software enough time to read results from a previous operation when the newly started operation is known to take only a short amount of time. If a result is waiting, the result registers is updated and the run bit is reset in the clock cycle following writing the stall result bit back to 0b. The Stall result function may only be used for basic PKCP operations.
Sourcepub fn reserved2(&self) -> RESERVED2_R
pub fn reserved2(&self) -> RESERVED2_R
Bits 16:23 - 23:16] Set to zero on write, ignore on read
Sourcepub fn run(&self) -> RUN_R
pub fn run(&self) -> RUN_R
Bit 15 - 15:15] The host sets this bit to instruct the PKA module to begin processing the basic PKCP or complex sequencer operation. This bit is reset low automatically when the operation is complete. The complement of this bit is output as interrupts[1]. After a reset, the run bit is always set to 1b. Depending on the option, program ROM or program RAM, the following applies: Program ROM - The first sequencer instruction sets the bit to 0b. This is done immediately after the hardware reset is released. Program RAM - The sequencer must set the bit to 0b. As a valid firmware may not have been loaded, the sequencer is held in software reset after the hardware reset is released (the reset bit in PKA_SEQ_CRTL is set to 1b). After the FW image is loaded and the Reset bit is cleared, the sequencer starts to execute the FW. The first instruction clears the run bit. In both cases a few clock cycles are needed before the first instruction is executed and the run bit state has been propagated.
Sourcepub fn sequencer_operations(&self) -> SEQUENCER_OPERATIONS_R
pub fn sequencer_operations(&self) -> SEQUENCER_OPERATIONS_R
Bits 12:14 - 14:12] These bits select the complex sequencer operation to perform: 000b: None 001b: ExpMod-CRT 010b: ExpMod-ACT4 (compatible with EIP2315) 011b: ECC-ADD (if available in firmware, otherwise reserved) 100b: ExpMod-ACT2 (compatible with EIP2316) 101b: ECC-MUL (if available in firmware, otherwise reserved) 110b: ExpMod-variable 111b: ModInv (if available in firmware, otherwise reserved) The encoding of these operations is determined by sequencer firmware.
Sourcepub fn subtract(&self) -> SUBTRACT_R
pub fn subtract(&self) -> SUBTRACT_R
Bit 5 - 5:5] Perform subtract operation
Sourcepub fn ms_one(&self) -> MS_ONE_R
pub fn ms_one(&self) -> MS_ONE_R
Bit 3 - 3:3] Loads the location of the Most Significant one bit within the result word indicated in the PKA_MSW register into bits [4:0] of the PKA_DIVMSW register - can only be used with basic PKCP operations, except for Divide, Modulo and Compare.
Sourcepub fn reserved3(&self) -> RESERVED3_R
pub fn reserved3(&self) -> RESERVED3_R
Bit 2 - 2:2] Set to zero on write, ignore on read
Sourcepub fn multiply(&self) -> MULTIPLY_R
pub fn multiply(&self) -> MULTIPLY_R
Bit 0 - 0:0] Perform multiply operation
Source§impl R<u32, Reg<u32, _COMPARE>>
impl R<u32, Reg<u32, _COMPARE>>
Sourcepub fn a_greater_than_b(&self) -> A_GREATER_THAN_B_R
pub fn a_greater_than_b(&self) -> A_GREATER_THAN_B_R
Bit 2 - 2:2] Vector_A is greater than Vector_B
Sourcepub fn a_less_than_b(&self) -> A_LESS_THAN_B_R
pub fn a_less_than_b(&self) -> A_LESS_THAN_B_R
Bit 1 - 1:1] Vector_A is less than Vector_B
Sourcepub fn a_equals_b(&self) -> A_EQUALS_B_R
pub fn a_equals_b(&self) -> A_EQUALS_B_R
Bit 0 - 0:0] Vector_A is equal to Vector_B
Source§impl R<u32, Reg<u32, _MSW>>
impl R<u32, Reg<u32, _MSW>>
Sourcepub fn reserved1(&self) -> RESERVED1_R
pub fn reserved1(&self) -> RESERVED1_R
Bits 16:31 - 31:16] Ignore on read
Sourcepub fn result_is_zero(&self) -> RESULT_IS_ZERO_R
pub fn result_is_zero(&self) -> RESULT_IS_ZERO_R
Bit 15 - 15:15] The result vector is all zeroes, ignore the address returned in bits [10:0]
Sourcepub fn reserved2(&self) -> RESERVED2_R
pub fn reserved2(&self) -> RESERVED2_R
Bits 11:14 - 14:11] Ignore on read
Sourcepub fn msw_address(&self) -> MSW_ADDRESS_R
pub fn msw_address(&self) -> MSW_ADDRESS_R
Bits 0:10 - 10:0] Address of the most-significant nonzero 32-bit word of the result vector in PKA RAM
Source§impl R<u32, Reg<u32, _DIVMSW>>
impl R<u32, Reg<u32, _DIVMSW>>
Sourcepub fn reserved1(&self) -> RESERVED1_R
pub fn reserved1(&self) -> RESERVED1_R
Bits 16:31 - 31:16] Ignore on read
Sourcepub fn result_is_zero(&self) -> RESULT_IS_ZERO_R
pub fn result_is_zero(&self) -> RESULT_IS_ZERO_R
Bit 15 - 15:15] The result vector is all zeroes, ignore the address returned in bits [10:0]
Sourcepub fn reserved2(&self) -> RESERVED2_R
pub fn reserved2(&self) -> RESERVED2_R
Bits 11:14 - 14:11] Ignore on read
Sourcepub fn msw_address(&self) -> MSW_ADDRESS_R
pub fn msw_address(&self) -> MSW_ADDRESS_R
Bits 0:10 - 10:0] Address of the most significant nonzero 32-bit word of the remainder result vector in PKA RAM
Source§impl R<u32, Reg<u32, _SEQ_CTRL>>
impl R<u32, Reg<u32, _SEQ_CTRL>>
Sourcepub fn reset(&self) -> RESET_R
pub fn reset(&self) -> RESET_R
Bit 31 - 31:31] Option program ROM: Reset value = 0. Read/Write, reset value 0b (ZERO). Writing 1b resets the sequencer, write to 0b to restart operations again. As the reset value is 0b, the sequencer will automatically start operations executing from program ROM. This bit should always be written with zero and ignored when reading this register. Option Program RAM: Reset value =1. Read/Write, reset value 1b (ONE). When 1b, the sequencer is held in a reset state and the PKA_PROGRAM area is accessible for loading the sequencer program (while the PKA_DATA_RAM is inaccessible), write to 0b to (re)start sequencer operations and disable PKA_PROGRAM area accessibility (also enables the PKA_DATA_RAM accesses). Resetting the sequencer (in order to load other firmware) should only be done when the PKA Engine is not performing any operations (i.e. the run bit in the PKA_FUNCTION register should be zero).
Sourcepub fn sequencer_status(&self) -> SEQUENCER_STATUS_R
pub fn sequencer_status(&self) -> SEQUENCER_STATUS_R
Bits 8:15 - 15:8] These read-only bits can be used by the sequencer to communicate status to the outside world. Bit [8] is also used as sequencer interrupt, with the complement of this bit ORed into the run bit in PKA_FUNCTION. This field should always be written with zeroes and ignored when reading this register.
Sourcepub fn sw_control_status(&self) -> SW_CONTROL_STATUS_R
pub fn sw_control_status(&self) -> SW_CONTROL_STATUS_R
Bits 0:7 - 7:0] These bits can be used by software to trigger sequencer operations. External logic can set these bits by writing 1b, cannot reset them by writing 0b. The sequencer can reset these bits by writing 0b, cannot set them by writing 1b. Setting the run bit in PKA_FUNCTION together with a nonzero sequencer operations field automatically sets bit [0] here. This field should always be written with zeroes and ignored when reading this register.
Source§impl R<u32, Reg<u32, _OPTIONS>>
impl R<u32, Reg<u32, _OPTIONS>>
Sourcepub fn first_lnme_fifo_depth(&self) -> FIRST_LNME_FIFO_DEPTH_R
pub fn first_lnme_fifo_depth(&self) -> FIRST_LNME_FIFO_DEPTH_R
Bits 24:31 - 31:24] Number of words in the first LNME’s FIFO RAM Should be ignored if LNME configuration is 0. The contents of this field indicate the actual depth as selected by the LNME FIFO RAM size strap input, fifo_size_sel. Note: Reset value is undefined
Sourcepub fn reserved1(&self) -> RESERVED1_R
pub fn reserved1(&self) -> RESERVED1_R
Bits 22:23 - 23:22] Ignore on read
Sourcepub fn first_lnme_nr_of_pes(&self) -> FIRST_LNME_NR_OF_PES_R
pub fn first_lnme_nr_of_pes(&self) -> FIRST_LNME_NR_OF_PES_R
Bits 16:21 - 21:16] Number of processing elements in the pipeline of the first LNME Should be ignored if LNME configuration is 0. Note: Reset value is undefined.
Sourcepub fn reserved2(&self) -> RESERVED2_R
pub fn reserved2(&self) -> RESERVED2_R
Bits 13:15 - 15:13] Ignore on read
Sourcepub fn mmm3a(&self) -> MMM3A_R
pub fn mmm3a(&self) -> MMM3A_R
Bit 12 - 12:12] Reserved for a future functional extension to the LNME Always 0b
Sourcepub fn int_masking(&self) -> INT_MASKING_R
pub fn int_masking(&self) -> INT_MASKING_R
Bit 11 - 11:11] Value 0b indicates that the main interrupt output (bit [1] of the interrupts output bus) is the direct complement of the run bit in the PKA_CONTROL register, value 1b indicates that interrupt masking logic is present for this output. Note: Reset value is undefined
Sourcepub fn protection_option(&self) -> PROTECTION_OPTION_R
pub fn protection_option(&self) -> PROTECTION_OPTION_R
Bits 8:10 - 10:8] Value 0 indicates no additional protection against side channel attacks, value 1 indicates the SCAP option, value 3 indicates the PROT option; other values are reserved. Note: Reset value is undefined
Sourcepub fn program_ram(&self) -> PROGRAM_RAM_R
pub fn program_ram(&self) -> PROGRAM_RAM_R
Bit 7 - 7:7] Value 1b indicates sequencer program storage in RAM, value 0b in ROM. Note: Reset value is undefined
Sourcepub fn sequencer_configuration(&self) -> SEQUENCER_CONFIGURATION_R
pub fn sequencer_configuration(&self) -> SEQUENCER_CONFIGURATION_R
Bits 5:6 - 6:5] Value 1 indicates a standard sequencer; other values are reserved.
Sourcepub fn lnme_configuration(&self) -> LNME_CONFIGURATION_R
pub fn lnme_configuration(&self) -> LNME_CONFIGURATION_R
Bits 2:4 - 4:2] Value 0 indicates NO LNME, value 1 indicates one standard LNME (with alpha = 32, beta = 8); other values reserved. Note: Reset value is undefined
Sourcepub fn pkcp_configuration(&self) -> PKCP_CONFIGURATION_R
pub fn pkcp_configuration(&self) -> PKCP_CONFIGURATION_R
Bits 0:1 - 1:0] Value 1 indicates a PKCP with a 16x16 multiplier, value 2 indicates a PKCP with a 32x32 multiplier, other values reserved. Note: Reset value is undefined.
Source§impl R<u32, Reg<u32, _SW_REV>>
impl R<u32, Reg<u32, _SW_REV>>
Sourcepub fn fw_capabilities(&self) -> FW_CAPABILITIES_R
pub fn fw_capabilities(&self) -> FW_CAPABILITIES_R
Bits 28:31 - 31:28] 4-bit binary encoding for the functionality implemented in the firmware. Value 0 indicates basic ModExp with/without CRT. Value 1 adds Modular Inversion, value 2 adds Modular Inversion and ECC operations. Values 3-15 are reserved.
Sourcepub fn major_fw_revision(&self) -> MAJOR_FW_REVISION_R
pub fn major_fw_revision(&self) -> MAJOR_FW_REVISION_R
Bits 24:27 - 27:24] 4-bit binary encoding of the major firmware revision number
Sourcepub fn minor_fw_revision(&self) -> MINOR_FW_REVISION_R
pub fn minor_fw_revision(&self) -> MINOR_FW_REVISION_R
Bits 20:23 - 23:20] 4-bit binary encoding of the minor firmware revision number
Sourcepub fn fw_patch_level(&self) -> FW_PATCH_LEVEL_R
pub fn fw_patch_level(&self) -> FW_PATCH_LEVEL_R
Bits 16:19 - 19:16] 4-bit binary encoding of the firmware patch level, initial release will carry value zero Patches are used to remove bugs without changing the functionality or interface of a module.
Source§impl R<u32, Reg<u32, _REVISION>>
impl R<u32, Reg<u32, _REVISION>>
Sourcepub fn major_hw_revision(&self) -> MAJOR_HW_REVISION_R
pub fn major_hw_revision(&self) -> MAJOR_HW_REVISION_R
Bits 24:27 - 27:24] 4-bit binary encoding of the major hardware revision number
Sourcepub fn minor_hw_revision(&self) -> MINOR_HW_REVISION_R
pub fn minor_hw_revision(&self) -> MINOR_HW_REVISION_R
Bits 20:23 - 23:20] 4-bit binary encoding of the minor hardware revision number
Sourcepub fn hw_patch_level(&self) -> HW_PATCH_LEVEL_R
pub fn hw_patch_level(&self) -> HW_PATCH_LEVEL_R
Bits 16:19 - 19:16] 4-bit binary encoding of the hardware patch level, initial release will carry value zero Patches are used to remove bugs without changing the functionality or interface of a module.
Sourcepub fn complement_of_basic_eip_number(&self) -> COMPLEMENT_OF_BASIC_EIP_NUMBER_R
pub fn complement_of_basic_eip_number(&self) -> COMPLEMENT_OF_BASIC_EIP_NUMBER_R
Bits 8:15 - 15:8] Bit-by-bit logic complement of bits [7:0], EIP-28 gives 0xE3
Sourcepub fn basic_eip_number(&self) -> BASIC_EIP_NUMBER_R
pub fn basic_eip_number(&self) -> BASIC_EIP_NUMBER_R
Bits 0:7 - 7:0] 8-bit binary encoding of the EIP number, EIP-28 gives 0x1C
Source§impl R<u32, Reg<u32, _OBSSEL0>>
impl R<u32, Reg<u32, _OBSSEL0>>
Source§impl R<u32, Reg<u32, _OBSSEL1>>
impl R<u32, Reg<u32, _OBSSEL1>>
Source§impl R<u32, Reg<u32, _OBSSEL2>>
impl R<u32, Reg<u32, _OBSSEL2>>
Source§impl R<u32, Reg<u32, _OBSSEL3>>
impl R<u32, Reg<u32, _OBSSEL3>>
Source§impl R<u32, Reg<u32, _OBSSEL4>>
impl R<u32, Reg<u32, _OBSSEL4>>
Source§impl R<u32, Reg<u32, _OBSSEL5>>
impl R<u32, Reg<u32, _OBSSEL5>>
Source§impl R<u32, Reg<u32, _OBSSEL6>>
impl R<u32, Reg<u32, _OBSSEL6>>
Source§impl R<u32, Reg<u32, _OBSSEL7>>
impl R<u32, Reg<u32, _OBSSEL7>>
Source§impl R<u32, Reg<u32, _TR0>>
impl R<u32, Reg<u32, _TR0>>
Sourcepub fn reserved2(&self) -> RESERVED2_R
pub fn reserved2(&self) -> RESERVED2_R
Bit 2 - 2:2] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Sourcepub fn adctm(&self) -> ADCTM_R
pub fn adctm(&self) -> ADCTM_R
Bit 1 - 1:1] Set to 1 to connect the temperature sensor to the SOC_ADC. See also RFCORE_XREG_ATEST register description to enable the temperature sensor.
Sourcepub fn reserved0(&self) -> RESERVED0_R
pub fn reserved0(&self) -> RESERVED0_R
Bit 0 - 0:0] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
Source§impl R<u32, Reg<u32, _USBCTRL>>
impl R<u32, Reg<u32, _USBCTRL>>
Sourcepub fn usb_stb(&self) -> USB_STB_R
pub fn usb_stb(&self) -> USB_STB_R
Bit 0 - 0:0] USB PHY stand-by override bit When this bit is cleared to 0 (default state) the USB module cannot change the stand-by mode of the PHY (USB pads) and the PHY is forced out of stand-by mode. This bit must be 1 as well as the stand-by control from the USB controller, before the mode of the PHY is stand-by.