R

Struct R 

Source
pub struct R<U, T> { /* private fields */ }
Expand description

Register/field reader

Result of the read method of a register. Also it can be used in the modify method

Implementations§

Source§

impl<U, T> R<U, T>
where U: Copy,

Source

pub fn bits(&self) -> U

Read raw bits from register/field

Source§

impl<FI> R<bool, FI>

Source

pub fn bit(&self) -> bool

Value of the field as raw bits

Source

pub fn bit_is_clear(&self) -> bool

Returns true if the bit is clear (0)

Source

pub fn bit_is_set(&self) -> bool

Returns true if the bit is set (1)

Source§

impl R<u32, Reg<u32, _CR>>

Source

pub fn en1(&self) -> EN1_R

Bit 0 - DAC channel1 enable

Source

pub fn ten1(&self) -> TEN1_R

Bit 2 - DAC channel1 trigger enable

Source

pub fn tsel1(&self) -> TSEL1_R

Bits 3:5 - DAC channel1 trigger selection

Source

pub fn wave1(&self) -> WAVE1_R

Bits 6:7 - DAC channel1 noise/triangle wave generation enable

Source

pub fn mamp1(&self) -> MAMP1_R

Bits 8:11 - DAC channel1 mask/amplitude selector

Source

pub fn dmaen1(&self) -> DMAEN1_R

Bit 12 - DAC channel1 DMA enable

Source

pub fn dmaudrie1(&self) -> DMAUDRIE1_R

Bit 13 - DAC channel1 DMA Underrun Interrupt enable

Source

pub fn cen1(&self) -> CEN1_R

Bit 14 - DAC Channel 1 calibration enable

Source

pub fn en2(&self) -> EN2_R

Bit 16 - DAC channel2 enable

Source

pub fn ten2(&self) -> TEN2_R

Bit 18 - DAC channel2 trigger enable

Source

pub fn tsel2(&self) -> TSEL2_R

Bits 19:21 - DAC channel2 trigger selection

Source

pub fn wave2(&self) -> WAVE2_R

Bits 22:23 - DAC channel2 noise/triangle wave generation enable

Source

pub fn mamp2(&self) -> MAMP2_R

Bits 24:27 - DAC channel2 mask/amplitude selector

Source

pub fn dmaen2(&self) -> DMAEN2_R

Bit 28 - DAC channel2 DMA enable

Source

pub fn dmaudrie2(&self) -> DMAUDRIE2_R

Bit 29 - DAC channel2 DMA underrun interrupt enable

Source

pub fn cen2(&self) -> CEN2_R

Bit 30 - DAC Channel 2 calibration enable

Source§

impl R<u32, Reg<u32, _DHR12R1>>

Source

pub fn dacc1dhr(&self) -> DACC1DHR_R

Bits 0:11 - DAC channel1 12-bit right-aligned data

Source§

impl R<u32, Reg<u32, _DHR12L1>>

Source

pub fn dacc1dhr(&self) -> DACC1DHR_R

Bits 4:15 - DAC channel1 12-bit left-aligned data

Source§

impl R<u32, Reg<u32, _DHR8R1>>

Source

pub fn dacc1dhr(&self) -> DACC1DHR_R

Bits 0:7 - DAC channel1 8-bit right-aligned data

Source§

impl R<u32, Reg<u32, _DHR12R2>>

Source

pub fn dacc2dhr(&self) -> DACC2DHR_R

Bits 0:11 - DAC channel2 12-bit right-aligned data

Source§

impl R<u32, Reg<u32, _DHR12L2>>

Source

pub fn dacc2dhr(&self) -> DACC2DHR_R

Bits 4:15 - DAC channel2 12-bit left-aligned data

Source§

impl R<u32, Reg<u32, _DHR8R2>>

Source

pub fn dacc2dhr(&self) -> DACC2DHR_R

Bits 0:7 - DAC channel2 8-bit right-aligned data

Source§

impl R<u32, Reg<u32, _DHR12RD>>

Source

pub fn dacc1dhr(&self) -> DACC1DHR_R

Bits 0:11 - DAC channel1 12-bit right-aligned data

Source

pub fn dacc2dhr(&self) -> DACC2DHR_R

Bits 16:27 - DAC channel2 12-bit right-aligned data

Source§

impl R<u32, Reg<u32, _DHR12LD>>

Source

pub fn dacc1dhr(&self) -> DACC1DHR_R

Bits 4:15 - DAC channel1 12-bit left-aligned data

Source

pub fn dacc2dhr(&self) -> DACC2DHR_R

Bits 20:31 - DAC channel2 12-bit left-aligned data

Source§

impl R<u32, Reg<u32, _DHR8RD>>

Source

pub fn dacc1dhr(&self) -> DACC1DHR_R

Bits 0:7 - DAC channel1 8-bit right-aligned data

Source

pub fn dacc2dhr(&self) -> DACC2DHR_R

Bits 8:15 - DAC channel2 8-bit right-aligned data

Source§

impl R<u32, Reg<u32, _DOR1>>

Source

pub fn dacc1dor(&self) -> DACC1DOR_R

Bits 0:11 - DAC channel1 data output

Source§

impl R<u32, Reg<u32, _DOR2>>

Source

pub fn dacc2dor(&self) -> DACC2DOR_R

Bits 0:11 - DAC channel2 data output

Source§

impl R<u32, Reg<u32, _SR>>

Source

pub fn dmaudr1(&self) -> DMAUDR1_R

Bit 13 - DAC channel1 DMA underrun flag

Source

pub fn cal_flag1(&self) -> CAL_FLAG1_R

Bit 14 - DAC Channel 1 calibration offset status

Source

pub fn bwst1(&self) -> BWST1_R

Bit 15 - DAC Channel 1 busy writing sample time flag

Source

pub fn dmaudr2(&self) -> DMAUDR2_R

Bit 29 - DAC channel2 DMA underrun flag

Source

pub fn cal_flag2(&self) -> CAL_FLAG2_R

Bit 30 - DAC Channel 2 calibration offset status

Source

pub fn bwst2(&self) -> BWST2_R

Bit 31 - DAC Channel 2 busy writing sample time flag

Source§

impl R<u32, Reg<u32, _CCR>>

Source

pub fn otrim1(&self) -> OTRIM1_R

Bits 0:4 - DAC Channel 1 offset trimming value

Source

pub fn otrim2(&self) -> OTRIM2_R

Bits 16:20 - DAC Channel 2 offset trimming value

Source§

impl R<u32, Reg<u32, _MCR>>

Source

pub fn mode1(&self) -> MODE1_R

Bits 0:2 - DAC Channel 1 mode

Source

pub fn mode2(&self) -> MODE2_R

Bits 16:18 - DAC Channel 2 mode

Source§

impl R<u32, Reg<u32, _SHSR1>>

Source

pub fn tsample1(&self) -> TSAMPLE1_R

Bits 0:9 - DAC Channel 1 sample Time

Source§

impl R<u32, Reg<u32, _SHSR2>>

Source

pub fn tsample2(&self) -> TSAMPLE2_R

Bits 0:9 - DAC Channel 2 sample Time

Source§

impl R<u32, Reg<u32, _SHHR>>

Source

pub fn thold1(&self) -> THOLD1_R

Bits 0:9 - DAC Channel 1 hold Time

Source

pub fn thold2(&self) -> THOLD2_R

Bits 16:25 - DAC Channel 2 hold time

Source§

impl R<u32, Reg<u32, _SHRR>>

Source

pub fn trefresh1(&self) -> TREFRESH1_R

Bits 0:7 - DAC Channel 1 refresh Time

Source

pub fn trefresh2(&self) -> TREFRESH2_R

Bits 16:23 - DAC Channel 2 refresh Time

Source§

impl R<bool, TEIF7_A>

Source

pub fn variant(&self) -> TEIF7_A

Get enumerated values variant

Source

pub fn is_no_error(&self) -> bool

Checks if the value of the field is NOERROR

Source

pub fn is_error(&self) -> bool

Checks if the value of the field is ERROR

Source§

impl R<bool, HTIF7_A>

Source

pub fn variant(&self) -> HTIF7_A

Get enumerated values variant

Source

pub fn is_not_half(&self) -> bool

Checks if the value of the field is NOTHALF

Source

pub fn is_half(&self) -> bool

Checks if the value of the field is HALF

Source§

impl R<bool, TCIF7_A>

Source

pub fn variant(&self) -> TCIF7_A

Get enumerated values variant

Source

pub fn is_not_complete(&self) -> bool

Checks if the value of the field is NOTCOMPLETE

Source

pub fn is_complete(&self) -> bool

Checks if the value of the field is COMPLETE

Source§

impl R<bool, GIF7_A>

Source

pub fn variant(&self) -> GIF7_A

Get enumerated values variant

Source

pub fn is_no_event(&self) -> bool

Checks if the value of the field is NOEVENT

Source

pub fn is_event(&self) -> bool

Checks if the value of the field is EVENT

Source§

impl R<u32, Reg<u32, _ISR>>

Source

pub fn teif7(&self) -> TEIF7_R

Bit 27 - Channel x transfer error flag (x = 1 ..7)

Source

pub fn htif7(&self) -> HTIF7_R

Bit 26 - Channel x half transfer flag (x = 1 ..7)

Source

pub fn tcif7(&self) -> TCIF7_R

Bit 25 - Channel x transfer complete flag (x = 1 ..7)

Source

pub fn gif7(&self) -> GIF7_R

Bit 24 - Channel x global interrupt flag (x = 1 ..7)

Source

pub fn teif6(&self) -> TEIF6_R

Bit 23 - Channel x transfer error flag (x = 1 ..7)

Source

pub fn htif6(&self) -> HTIF6_R

Bit 22 - Channel x half transfer flag (x = 1 ..7)

Source

pub fn tcif6(&self) -> TCIF6_R

Bit 21 - Channel x transfer complete flag (x = 1 ..7)

Source

pub fn gif6(&self) -> GIF6_R

Bit 20 - Channel x global interrupt flag (x = 1 ..7)

Source

pub fn teif5(&self) -> TEIF5_R

Bit 19 - Channel x transfer error flag (x = 1 ..7)

Source

pub fn htif5(&self) -> HTIF5_R

Bit 18 - Channel x half transfer flag (x = 1 ..7)

Source

pub fn tcif5(&self) -> TCIF5_R

Bit 17 - Channel x transfer complete flag (x = 1 ..7)

Source

pub fn gif5(&self) -> GIF5_R

Bit 16 - Channel x global interrupt flag (x = 1 ..7)

Source

pub fn teif4(&self) -> TEIF4_R

Bit 15 - Channel x transfer error flag (x = 1 ..7)

Source

pub fn htif4(&self) -> HTIF4_R

Bit 14 - Channel x half transfer flag (x = 1 ..7)

Source

pub fn tcif4(&self) -> TCIF4_R

Bit 13 - Channel x transfer complete flag (x = 1 ..7)

Source

pub fn gif4(&self) -> GIF4_R

Bit 12 - Channel x global interrupt flag (x = 1 ..7)

Source

pub fn teif3(&self) -> TEIF3_R

Bit 11 - Channel x transfer error flag (x = 1 ..7)

Source

pub fn htif3(&self) -> HTIF3_R

Bit 10 - Channel x half transfer flag (x = 1 ..7)

Source

pub fn tcif3(&self) -> TCIF3_R

Bit 9 - Channel x transfer complete flag (x = 1 ..7)

Source

pub fn gif3(&self) -> GIF3_R

Bit 8 - Channel x global interrupt flag (x = 1 ..7)

Source

pub fn teif2(&self) -> TEIF2_R

Bit 7 - Channel x transfer error flag (x = 1 ..7)

Source

pub fn htif2(&self) -> HTIF2_R

Bit 6 - Channel x half transfer flag (x = 1 ..7)

Source

pub fn tcif2(&self) -> TCIF2_R

Bit 5 - Channel x transfer complete flag (x = 1 ..7)

Source

pub fn gif2(&self) -> GIF2_R

Bit 4 - Channel x global interrupt flag (x = 1 ..7)

Source

pub fn teif1(&self) -> TEIF1_R

Bit 3 - Channel x transfer error flag (x = 1 ..7)

Source

pub fn htif1(&self) -> HTIF1_R

Bit 2 - Channel x half transfer flag (x = 1 ..7)

Source

pub fn tcif1(&self) -> TCIF1_R

Bit 1 - Channel x transfer complete flag (x = 1 ..7)

Source

pub fn gif1(&self) -> GIF1_R

Bit 0 - Channel x global interrupt flag (x = 1 ..7)

Source§

impl R<bool, MEM2MEM_A>

Source

pub fn variant(&self) -> MEM2MEM_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<u8, PL_A>

Source

pub fn variant(&self) -> PL_A

Get enumerated values variant

Source

pub fn is_low(&self) -> bool

Checks if the value of the field is LOW

Source

pub fn is_medium(&self) -> bool

Checks if the value of the field is MEDIUM

Source

pub fn is_high(&self) -> bool

Checks if the value of the field is HIGH

Source

pub fn is_very_high(&self) -> bool

Checks if the value of the field is VERYHIGH

Source§

impl R<u8, MSIZE_A>

Source

pub fn variant(&self) -> Variant<u8, MSIZE_A>

Get enumerated values variant

Source

pub fn is_bits8(&self) -> bool

Checks if the value of the field is BITS8

Source

pub fn is_bits16(&self) -> bool

Checks if the value of the field is BITS16

Source

pub fn is_bits32(&self) -> bool

Checks if the value of the field is BITS32

Source§

impl R<bool, MINC_A>

Source

pub fn variant(&self) -> MINC_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, CIRC_A>

Source

pub fn variant(&self) -> CIRC_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, DIR_A>

Source

pub fn variant(&self) -> DIR_A

Get enumerated values variant

Source

pub fn is_from_peripheral(&self) -> bool

Checks if the value of the field is FROMPERIPHERAL

Source

pub fn is_from_memory(&self) -> bool

Checks if the value of the field is FROMMEMORY

Source§

impl R<bool, TEIE_A>

Source

pub fn variant(&self) -> TEIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, HTIE_A>

Source

pub fn variant(&self) -> HTIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, TCIE_A>

Source

pub fn variant(&self) -> TCIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, EN_A>

Source

pub fn variant(&self) -> EN_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<u32, Reg<u32, _CCR1>>

Source

pub fn mem2mem(&self) -> MEM2MEM_R

Bit 14 - Memory to memory mode

Source

pub fn pl(&self) -> PL_R

Bits 12:13 - Channel priority level

Source

pub fn msize(&self) -> MSIZE_R

Bits 10:11 - Memory size

Source

pub fn psize(&self) -> PSIZE_R

Bits 8:9 - Peripheral size

Source

pub fn minc(&self) -> MINC_R

Bit 7 - Memory increment mode

Source

pub fn pinc(&self) -> PINC_R

Bit 6 - Peripheral increment mode

Source

pub fn circ(&self) -> CIRC_R

Bit 5 - Circular mode

Source

pub fn dir(&self) -> DIR_R

Bit 4 - Data transfer direction

Source

pub fn teie(&self) -> TEIE_R

Bit 3 - Transfer error interrupt enable

Source

pub fn htie(&self) -> HTIE_R

Bit 2 - Half transfer interrupt enable

Source

pub fn tcie(&self) -> TCIE_R

Bit 1 - Transfer complete interrupt enable

Source

pub fn en(&self) -> EN_R

Bit 0 - Channel enable

Source§

impl R<u32, Reg<u32, _CNDTR1>>

Source

pub fn ndt(&self) -> NDT_R

Bits 0:15 - Number of data to transfer

Source§

impl R<u32, Reg<u32, _CPAR1>>

Source

pub fn pa(&self) -> PA_R

Bits 0:31 - Peripheral address

Source§

impl R<u32, Reg<u32, _CMAR1>>

Source

pub fn ma(&self) -> MA_R

Bits 0:31 - Memory address

Source§

impl R<bool, MEM2MEM_A>

Source

pub fn variant(&self) -> MEM2MEM_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<u8, PL_A>

Source

pub fn variant(&self) -> PL_A

Get enumerated values variant

Source

pub fn is_low(&self) -> bool

Checks if the value of the field is LOW

Source

pub fn is_medium(&self) -> bool

Checks if the value of the field is MEDIUM

Source

pub fn is_high(&self) -> bool

Checks if the value of the field is HIGH

Source

pub fn is_very_high(&self) -> bool

Checks if the value of the field is VERYHIGH

Source§

impl R<u8, MSIZE_A>

Source

pub fn variant(&self) -> Variant<u8, MSIZE_A>

Get enumerated values variant

Source

pub fn is_bits8(&self) -> bool

Checks if the value of the field is BITS8

Source

pub fn is_bits16(&self) -> bool

Checks if the value of the field is BITS16

Source

pub fn is_bits32(&self) -> bool

Checks if the value of the field is BITS32

Source§

impl R<bool, MINC_A>

Source

pub fn variant(&self) -> MINC_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, CIRC_A>

Source

pub fn variant(&self) -> CIRC_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, DIR_A>

Source

pub fn variant(&self) -> DIR_A

Get enumerated values variant

Source

pub fn is_from_peripheral(&self) -> bool

Checks if the value of the field is FROMPERIPHERAL

Source

pub fn is_from_memory(&self) -> bool

Checks if the value of the field is FROMMEMORY

Source§

impl R<bool, TEIE_A>

Source

pub fn variant(&self) -> TEIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, HTIE_A>

Source

pub fn variant(&self) -> HTIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, TCIE_A>

Source

pub fn variant(&self) -> TCIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, EN_A>

Source

pub fn variant(&self) -> EN_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<u32, Reg<u32, _CCR2>>

Source

pub fn mem2mem(&self) -> MEM2MEM_R

Bit 14 - Memory to memory mode

Source

pub fn pl(&self) -> PL_R

Bits 12:13 - Channel priority level

Source

pub fn msize(&self) -> MSIZE_R

Bits 10:11 - Memory size

Source

pub fn psize(&self) -> PSIZE_R

Bits 8:9 - Peripheral size

Source

pub fn minc(&self) -> MINC_R

Bit 7 - Memory increment mode

Source

pub fn pinc(&self) -> PINC_R

Bit 6 - Peripheral increment mode

Source

pub fn circ(&self) -> CIRC_R

Bit 5 - Circular mode

Source

pub fn dir(&self) -> DIR_R

Bit 4 - Data transfer direction

Source

pub fn teie(&self) -> TEIE_R

Bit 3 - Transfer error interrupt enable

Source

pub fn htie(&self) -> HTIE_R

Bit 2 - Half transfer interrupt enable

Source

pub fn tcie(&self) -> TCIE_R

Bit 1 - Transfer complete interrupt enable

Source

pub fn en(&self) -> EN_R

Bit 0 - Channel enable

Source§

impl R<u32, Reg<u32, _CNDTR2>>

Source

pub fn ndt(&self) -> NDT_R

Bits 0:15 - Number of data to transfer

Source§

impl R<u32, Reg<u32, _CPAR2>>

Source

pub fn pa(&self) -> PA_R

Bits 0:31 - Peripheral address

Source§

impl R<u32, Reg<u32, _CMAR2>>

Source

pub fn ma(&self) -> MA_R

Bits 0:31 - Memory address

Source§

impl R<bool, MEM2MEM_A>

Source

pub fn variant(&self) -> MEM2MEM_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<u8, PL_A>

Source

pub fn variant(&self) -> PL_A

Get enumerated values variant

Source

pub fn is_low(&self) -> bool

Checks if the value of the field is LOW

Source

pub fn is_medium(&self) -> bool

Checks if the value of the field is MEDIUM

Source

pub fn is_high(&self) -> bool

Checks if the value of the field is HIGH

Source

pub fn is_very_high(&self) -> bool

Checks if the value of the field is VERYHIGH

Source§

impl R<u8, MSIZE_A>

Source

pub fn variant(&self) -> Variant<u8, MSIZE_A>

Get enumerated values variant

Source

pub fn is_bits8(&self) -> bool

Checks if the value of the field is BITS8

Source

pub fn is_bits16(&self) -> bool

Checks if the value of the field is BITS16

Source

pub fn is_bits32(&self) -> bool

Checks if the value of the field is BITS32

Source§

impl R<bool, MINC_A>

Source

pub fn variant(&self) -> MINC_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, CIRC_A>

Source

pub fn variant(&self) -> CIRC_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, DIR_A>

Source

pub fn variant(&self) -> DIR_A

Get enumerated values variant

Source

pub fn is_from_peripheral(&self) -> bool

Checks if the value of the field is FROMPERIPHERAL

Source

pub fn is_from_memory(&self) -> bool

Checks if the value of the field is FROMMEMORY

Source§

impl R<bool, TEIE_A>

Source

pub fn variant(&self) -> TEIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, HTIE_A>

Source

pub fn variant(&self) -> HTIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, TCIE_A>

Source

pub fn variant(&self) -> TCIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, EN_A>

Source

pub fn variant(&self) -> EN_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<u32, Reg<u32, _CCR3>>

Source

pub fn mem2mem(&self) -> MEM2MEM_R

Bit 14 - Memory to memory mode

Source

pub fn pl(&self) -> PL_R

Bits 12:13 - Channel priority level

Source

pub fn msize(&self) -> MSIZE_R

Bits 10:11 - Memory size

Source

pub fn psize(&self) -> PSIZE_R

Bits 8:9 - Peripheral size

Source

pub fn minc(&self) -> MINC_R

Bit 7 - Memory increment mode

Source

pub fn pinc(&self) -> PINC_R

Bit 6 - Peripheral increment mode

Source

pub fn circ(&self) -> CIRC_R

Bit 5 - Circular mode

Source

pub fn dir(&self) -> DIR_R

Bit 4 - Data transfer direction

Source

pub fn teie(&self) -> TEIE_R

Bit 3 - Transfer error interrupt enable

Source

pub fn htie(&self) -> HTIE_R

Bit 2 - Half transfer interrupt enable

Source

pub fn tcie(&self) -> TCIE_R

Bit 1 - Transfer complete interrupt enable

Source

pub fn en(&self) -> EN_R

Bit 0 - Channel enable

Source§

impl R<u32, Reg<u32, _CNDTR3>>

Source

pub fn ndt(&self) -> NDT_R

Bits 0:15 - Number of data to transfer

Source§

impl R<u32, Reg<u32, _CPAR3>>

Source

pub fn pa(&self) -> PA_R

Bits 0:31 - Peripheral address

Source§

impl R<u32, Reg<u32, _CMAR3>>

Source

pub fn ma(&self) -> MA_R

Bits 0:31 - Memory address

Source§

impl R<bool, MEM2MEM_A>

Source

pub fn variant(&self) -> MEM2MEM_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<u8, PL_A>

Source

pub fn variant(&self) -> PL_A

Get enumerated values variant

Source

pub fn is_low(&self) -> bool

Checks if the value of the field is LOW

Source

pub fn is_medium(&self) -> bool

Checks if the value of the field is MEDIUM

Source

pub fn is_high(&self) -> bool

Checks if the value of the field is HIGH

Source

pub fn is_very_high(&self) -> bool

Checks if the value of the field is VERYHIGH

Source§

impl R<u8, MSIZE_A>

Source

pub fn variant(&self) -> Variant<u8, MSIZE_A>

Get enumerated values variant

Source

pub fn is_bits8(&self) -> bool

Checks if the value of the field is BITS8

Source

pub fn is_bits16(&self) -> bool

Checks if the value of the field is BITS16

Source

pub fn is_bits32(&self) -> bool

Checks if the value of the field is BITS32

Source§

impl R<bool, MINC_A>

Source

pub fn variant(&self) -> MINC_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, CIRC_A>

Source

pub fn variant(&self) -> CIRC_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, DIR_A>

Source

pub fn variant(&self) -> DIR_A

Get enumerated values variant

Source

pub fn is_from_peripheral(&self) -> bool

Checks if the value of the field is FROMPERIPHERAL

Source

pub fn is_from_memory(&self) -> bool

Checks if the value of the field is FROMMEMORY

Source§

impl R<bool, TEIE_A>

Source

pub fn variant(&self) -> TEIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, HTIE_A>

Source

pub fn variant(&self) -> HTIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, TCIE_A>

Source

pub fn variant(&self) -> TCIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, EN_A>

Source

pub fn variant(&self) -> EN_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<u32, Reg<u32, _CCR4>>

Source

pub fn mem2mem(&self) -> MEM2MEM_R

Bit 14 - Memory to memory mode

Source

pub fn pl(&self) -> PL_R

Bits 12:13 - Channel priority level

Source

pub fn msize(&self) -> MSIZE_R

Bits 10:11 - Memory size

Source

pub fn psize(&self) -> PSIZE_R

Bits 8:9 - Peripheral size

Source

pub fn minc(&self) -> MINC_R

Bit 7 - Memory increment mode

Source

pub fn pinc(&self) -> PINC_R

Bit 6 - Peripheral increment mode

Source

pub fn circ(&self) -> CIRC_R

Bit 5 - Circular mode

Source

pub fn dir(&self) -> DIR_R

Bit 4 - Data transfer direction

Source

pub fn teie(&self) -> TEIE_R

Bit 3 - Transfer error interrupt enable

Source

pub fn htie(&self) -> HTIE_R

Bit 2 - Half transfer interrupt enable

Source

pub fn tcie(&self) -> TCIE_R

Bit 1 - Transfer complete interrupt enable

Source

pub fn en(&self) -> EN_R

Bit 0 - Channel enable

Source§

impl R<u32, Reg<u32, _CNDTR4>>

Source

pub fn ndt(&self) -> NDT_R

Bits 0:15 - Number of data to transfer

Source§

impl R<u32, Reg<u32, _CPAR4>>

Source

pub fn pa(&self) -> PA_R

Bits 0:31 - Peripheral address

Source§

impl R<u32, Reg<u32, _CMAR4>>

Source

pub fn ma(&self) -> MA_R

Bits 0:31 - Memory address

Source§

impl R<bool, MEM2MEM_A>

Source

pub fn variant(&self) -> MEM2MEM_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<u8, PL_A>

Source

pub fn variant(&self) -> PL_A

Get enumerated values variant

Source

pub fn is_low(&self) -> bool

Checks if the value of the field is LOW

Source

pub fn is_medium(&self) -> bool

Checks if the value of the field is MEDIUM

Source

pub fn is_high(&self) -> bool

Checks if the value of the field is HIGH

Source

pub fn is_very_high(&self) -> bool

Checks if the value of the field is VERYHIGH

Source§

impl R<u8, MSIZE_A>

Source

pub fn variant(&self) -> Variant<u8, MSIZE_A>

Get enumerated values variant

Source

pub fn is_bits8(&self) -> bool

Checks if the value of the field is BITS8

Source

pub fn is_bits16(&self) -> bool

Checks if the value of the field is BITS16

Source

pub fn is_bits32(&self) -> bool

Checks if the value of the field is BITS32

Source§

impl R<bool, MINC_A>

Source

pub fn variant(&self) -> MINC_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, CIRC_A>

Source

pub fn variant(&self) -> CIRC_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, DIR_A>

Source

pub fn variant(&self) -> DIR_A

Get enumerated values variant

Source

pub fn is_from_peripheral(&self) -> bool

Checks if the value of the field is FROMPERIPHERAL

Source

pub fn is_from_memory(&self) -> bool

Checks if the value of the field is FROMMEMORY

Source§

impl R<bool, TEIE_A>

Source

pub fn variant(&self) -> TEIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, HTIE_A>

Source

pub fn variant(&self) -> HTIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, TCIE_A>

Source

pub fn variant(&self) -> TCIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, EN_A>

Source

pub fn variant(&self) -> EN_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<u32, Reg<u32, _CCR5>>

Source

pub fn mem2mem(&self) -> MEM2MEM_R

Bit 14 - Memory to memory mode

Source

pub fn pl(&self) -> PL_R

Bits 12:13 - Channel priority level

Source

pub fn msize(&self) -> MSIZE_R

Bits 10:11 - Memory size

Source

pub fn psize(&self) -> PSIZE_R

Bits 8:9 - Peripheral size

Source

pub fn minc(&self) -> MINC_R

Bit 7 - Memory increment mode

Source

pub fn pinc(&self) -> PINC_R

Bit 6 - Peripheral increment mode

Source

pub fn circ(&self) -> CIRC_R

Bit 5 - Circular mode

Source

pub fn dir(&self) -> DIR_R

Bit 4 - Data transfer direction

Source

pub fn teie(&self) -> TEIE_R

Bit 3 - Transfer error interrupt enable

Source

pub fn htie(&self) -> HTIE_R

Bit 2 - Half transfer interrupt enable

Source

pub fn tcie(&self) -> TCIE_R

Bit 1 - Transfer complete interrupt enable

Source

pub fn en(&self) -> EN_R

Bit 0 - Channel enable

Source§

impl R<u32, Reg<u32, _CNDTR5>>

Source

pub fn ndt(&self) -> NDT_R

Bits 0:15 - Number of data to transfer

Source§

impl R<u32, Reg<u32, _CPAR5>>

Source

pub fn pa(&self) -> PA_R

Bits 0:31 - Peripheral address

Source§

impl R<u32, Reg<u32, _CMAR5>>

Source

pub fn ma(&self) -> MA_R

Bits 0:31 - Memory address

Source§

impl R<bool, MEM2MEM_A>

Source

pub fn variant(&self) -> MEM2MEM_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<u8, PL_A>

Source

pub fn variant(&self) -> PL_A

Get enumerated values variant

Source

pub fn is_low(&self) -> bool

Checks if the value of the field is LOW

Source

pub fn is_medium(&self) -> bool

Checks if the value of the field is MEDIUM

Source

pub fn is_high(&self) -> bool

Checks if the value of the field is HIGH

Source

pub fn is_very_high(&self) -> bool

Checks if the value of the field is VERYHIGH

Source§

impl R<u8, MSIZE_A>

Source

pub fn variant(&self) -> Variant<u8, MSIZE_A>

Get enumerated values variant

Source

pub fn is_bits8(&self) -> bool

Checks if the value of the field is BITS8

Source

pub fn is_bits16(&self) -> bool

Checks if the value of the field is BITS16

Source

pub fn is_bits32(&self) -> bool

Checks if the value of the field is BITS32

Source§

impl R<bool, MINC_A>

Source

pub fn variant(&self) -> MINC_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, CIRC_A>

Source

pub fn variant(&self) -> CIRC_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, DIR_A>

Source

pub fn variant(&self) -> DIR_A

Get enumerated values variant

Source

pub fn is_from_peripheral(&self) -> bool

Checks if the value of the field is FROMPERIPHERAL

Source

pub fn is_from_memory(&self) -> bool

Checks if the value of the field is FROMMEMORY

Source§

impl R<bool, TEIE_A>

Source

pub fn variant(&self) -> TEIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, HTIE_A>

Source

pub fn variant(&self) -> HTIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, TCIE_A>

Source

pub fn variant(&self) -> TCIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, EN_A>

Source

pub fn variant(&self) -> EN_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<u32, Reg<u32, _CCR6>>

Source

pub fn mem2mem(&self) -> MEM2MEM_R

Bit 14 - Memory to memory mode

Source

pub fn pl(&self) -> PL_R

Bits 12:13 - Channel priority level

Source

pub fn msize(&self) -> MSIZE_R

Bits 10:11 - Memory size

Source

pub fn psize(&self) -> PSIZE_R

Bits 8:9 - Peripheral size

Source

pub fn minc(&self) -> MINC_R

Bit 7 - Memory increment mode

Source

pub fn pinc(&self) -> PINC_R

Bit 6 - Peripheral increment mode

Source

pub fn circ(&self) -> CIRC_R

Bit 5 - Circular mode

Source

pub fn dir(&self) -> DIR_R

Bit 4 - Data transfer direction

Source

pub fn teie(&self) -> TEIE_R

Bit 3 - Transfer error interrupt enable

Source

pub fn htie(&self) -> HTIE_R

Bit 2 - Half transfer interrupt enable

Source

pub fn tcie(&self) -> TCIE_R

Bit 1 - Transfer complete interrupt enable

Source

pub fn en(&self) -> EN_R

Bit 0 - Channel enable

Source§

impl R<u32, Reg<u32, _CNDTR6>>

Source

pub fn ndt(&self) -> NDT_R

Bits 0:15 - Number of data to transfer

Source§

impl R<u32, Reg<u32, _CPAR6>>

Source

pub fn pa(&self) -> PA_R

Bits 0:31 - Peripheral address

Source§

impl R<u32, Reg<u32, _CMAR6>>

Source

pub fn ma(&self) -> MA_R

Bits 0:31 - Memory address

Source§

impl R<bool, MEM2MEM_A>

Source

pub fn variant(&self) -> MEM2MEM_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<u8, PL_A>

Source

pub fn variant(&self) -> PL_A

Get enumerated values variant

Source

pub fn is_low(&self) -> bool

Checks if the value of the field is LOW

Source

pub fn is_medium(&self) -> bool

Checks if the value of the field is MEDIUM

Source

pub fn is_high(&self) -> bool

Checks if the value of the field is HIGH

Source

pub fn is_very_high(&self) -> bool

Checks if the value of the field is VERYHIGH

Source§

impl R<u8, MSIZE_A>

Source

pub fn variant(&self) -> Variant<u8, MSIZE_A>

Get enumerated values variant

Source

pub fn is_bits8(&self) -> bool

Checks if the value of the field is BITS8

Source

pub fn is_bits16(&self) -> bool

Checks if the value of the field is BITS16

Source

pub fn is_bits32(&self) -> bool

Checks if the value of the field is BITS32

Source§

impl R<bool, MINC_A>

Source

pub fn variant(&self) -> MINC_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, CIRC_A>

Source

pub fn variant(&self) -> CIRC_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, DIR_A>

Source

pub fn variant(&self) -> DIR_A

Get enumerated values variant

Source

pub fn is_from_peripheral(&self) -> bool

Checks if the value of the field is FROMPERIPHERAL

Source

pub fn is_from_memory(&self) -> bool

Checks if the value of the field is FROMMEMORY

Source§

impl R<bool, TEIE_A>

Source

pub fn variant(&self) -> TEIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, HTIE_A>

Source

pub fn variant(&self) -> HTIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, TCIE_A>

Source

pub fn variant(&self) -> TCIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, EN_A>

Source

pub fn variant(&self) -> EN_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<u32, Reg<u32, _CCR7>>

Source

pub fn mem2mem(&self) -> MEM2MEM_R

Bit 14 - Memory to memory mode

Source

pub fn pl(&self) -> PL_R

Bits 12:13 - Channel priority level

Source

pub fn msize(&self) -> MSIZE_R

Bits 10:11 - Memory size

Source

pub fn psize(&self) -> PSIZE_R

Bits 8:9 - Peripheral size

Source

pub fn minc(&self) -> MINC_R

Bit 7 - Memory increment mode

Source

pub fn pinc(&self) -> PINC_R

Bit 6 - Peripheral increment mode

Source

pub fn circ(&self) -> CIRC_R

Bit 5 - Circular mode

Source

pub fn dir(&self) -> DIR_R

Bit 4 - Data transfer direction

Source

pub fn teie(&self) -> TEIE_R

Bit 3 - Transfer error interrupt enable

Source

pub fn htie(&self) -> HTIE_R

Bit 2 - Half transfer interrupt enable

Source

pub fn tcie(&self) -> TCIE_R

Bit 1 - Transfer complete interrupt enable

Source

pub fn en(&self) -> EN_R

Bit 0 - Channel enable

Source§

impl R<u32, Reg<u32, _CNDTR7>>

Source

pub fn ndt(&self) -> NDT_R

Bits 0:15 - Number of data to transfer

Source§

impl R<u32, Reg<u32, _CPAR7>>

Source

pub fn pa(&self) -> PA_R

Bits 0:31 - Peripheral address

Source§

impl R<u32, Reg<u32, _CMAR7>>

Source

pub fn ma(&self) -> MA_R

Bits 0:31 - Memory address

Source§

impl R<u8, C7S_A>

Source

pub fn variant(&self) -> C7S_A

Get enumerated values variant

Source

pub fn is_no_mapping(&self) -> bool

Checks if the value of the field is NOMAPPING

Source

pub fn is_map1(&self) -> bool

Checks if the value of the field is MAP1

Source

pub fn is_map2(&self) -> bool

Checks if the value of the field is MAP2

Source

pub fn is_map3(&self) -> bool

Checks if the value of the field is MAP3

Source

pub fn is_map4(&self) -> bool

Checks if the value of the field is MAP4

Source

pub fn is_map5(&self) -> bool

Checks if the value of the field is MAP5

Source

pub fn is_map6(&self) -> bool

Checks if the value of the field is MAP6

Source

pub fn is_map7(&self) -> bool

Checks if the value of the field is MAP7

Source

pub fn is_map8(&self) -> bool

Checks if the value of the field is MAP8

Source

pub fn is_map9(&self) -> bool

Checks if the value of the field is MAP9

Source

pub fn is_map10(&self) -> bool

Checks if the value of the field is MAP10

Source

pub fn is_map11(&self) -> bool

Checks if the value of the field is MAP11

Source

pub fn is_map12(&self) -> bool

Checks if the value of the field is MAP12

Source

pub fn is_map13(&self) -> bool

Checks if the value of the field is MAP13

Source

pub fn is_map14(&self) -> bool

Checks if the value of the field is MAP14

Source

pub fn is_map15(&self) -> bool

Checks if the value of the field is MAP15

Source§

impl R<u32, Reg<u32, _CSELR>>

Source

pub fn c7s(&self) -> C7S_R

Bits 24:27 - DMA channel 7 selection

Source

pub fn c6s(&self) -> C6S_R

Bits 20:23 - DMA channel 6 selection

Source

pub fn c5s(&self) -> C5S_R

Bits 16:19 - DMA channel 5 selection

Source

pub fn c4s(&self) -> C4S_R

Bits 12:15 - DMA channel 4 selection

Source

pub fn c3s(&self) -> C3S_R

Bits 8:11 - DMA channel 3 selection

Source

pub fn c2s(&self) -> C2S_R

Bits 4:7 - DMA channel 2 selection

Source

pub fn c1s(&self) -> C1S_R

Bits 0:3 - DMA channel 1 selection

Source§

impl R<u32, Reg<u32, _DR>>

Source

pub fn dr(&self) -> DR_R

Bits 0:31 - Data register bits

Source§

impl R<u32, Reg<u32, _IDR>>

Source

pub fn idr(&self) -> IDR_R

Bits 0:7 - General-purpose 8-bit data register bits

Source§

impl R<bool, REV_OUT_A>

Source

pub fn variant(&self) -> REV_OUT_A

Get enumerated values variant

Source

pub fn is_normal(&self) -> bool

Checks if the value of the field is NORMAL

Source

pub fn is_reversed(&self) -> bool

Checks if the value of the field is REVERSED

Source§

impl R<u8, REV_IN_A>

Source

pub fn variant(&self) -> REV_IN_A

Get enumerated values variant

Source

pub fn is_normal(&self) -> bool

Checks if the value of the field is NORMAL

Source

pub fn is_byte(&self) -> bool

Checks if the value of the field is BYTE

Source

pub fn is_half_word(&self) -> bool

Checks if the value of the field is HALFWORD

Source

pub fn is_word(&self) -> bool

Checks if the value of the field is WORD

Source§

impl R<u8, POLYSIZE_A>

Source

pub fn variant(&self) -> POLYSIZE_A

Get enumerated values variant

Source

pub fn is_polysize32(&self) -> bool

Checks if the value of the field is POLYSIZE32

Source

pub fn is_polysize16(&self) -> bool

Checks if the value of the field is POLYSIZE16

Source

pub fn is_polysize8(&self) -> bool

Checks if the value of the field is POLYSIZE8

Source

pub fn is_polysize7(&self) -> bool

Checks if the value of the field is POLYSIZE7

Source§

impl R<u32, Reg<u32, _CR>>

Source

pub fn rev_out(&self) -> REV_OUT_R

Bit 7 - Reverse output data

Source

pub fn rev_in(&self) -> REV_IN_R

Bits 5:6 - Reverse input data

Source

pub fn polysize(&self) -> POLYSIZE_R

Bits 3:4 - Polynomial size

Source§

impl R<u32, Reg<u32, _INIT>>

Source

pub fn init(&self) -> INIT_R

Bits 0:31 - Programmable initial CRC value

Source§

impl R<u32, Reg<u32, _POL>>

Source

pub fn polynomialcoefficients(&self) -> POLYNOMIALCOEFFICIENTS_R

Bits 0:31 - Programmable polynomial

Source§

impl R<u8, Reg<u8, _DR8>>

Source

pub fn dr8(&self) -> DR8_R

Bits 0:7 - Data register bits

Source§

impl R<u16, Reg<u16, _DR16>>

Source

pub fn dr16(&self) -> DR16_R

Bits 0:15 - Data register bits

Source§

impl R<u32, Reg<u32, _CR>>

Source

pub fn bias(&self) -> BIAS_R

Bits 5:6 - Bias selector

Source

pub fn duty(&self) -> DUTY_R

Bits 2:4 - Duty selection

Source

pub fn vsel(&self) -> VSEL_R

Bit 1 - Voltage source selection

Source

pub fn lcden(&self) -> LCDEN_R

Bit 0 - LCD controller enable

Source

pub fn mux_seg(&self) -> MUX_SEG_R

Bit 7 - Mux segment enable

Source

pub fn bufen(&self) -> BUFEN_R

Bit 8 - Voltage output buffer enable

Source§

impl R<u32, Reg<u32, _FCR>>

Source

pub fn ps(&self) -> PS_R

Bits 22:25 - PS 16-bit prescaler

Source

pub fn div(&self) -> DIV_R

Bits 18:21 - DIV clock divider

Bits 16:17 - Blink mode selection

Source

pub fn blinkf(&self) -> BLINKF_R

Bits 13:15 - Blink frequency selection

Source

pub fn cc(&self) -> CC_R

Bits 10:12 - Contrast control

Source

pub fn dead(&self) -> DEAD_R

Bits 7:9 - Dead time duration

Source

pub fn pon(&self) -> PON_R

Bits 4:6 - Pulse ON duration

Source

pub fn uddie(&self) -> UDDIE_R

Bit 3 - Update display done interrupt enable

Source

pub fn sofie(&self) -> SOFIE_R

Bit 1 - Start of frame interrupt enable

Source

pub fn hd(&self) -> HD_R

Bit 0 - High drive enable

Source§

impl R<u32, Reg<u32, _SR>>

Source

pub fn fcrsf(&self) -> FCRSF_R

Bit 5 - LCD Frame Control Register Synchronization flag

Source

pub fn rdy(&self) -> RDY_R

Bit 4 - Ready flag

Source

pub fn udd(&self) -> UDD_R

Bit 3 - Update Display Done

Source

pub fn sof(&self) -> SOF_R

Bit 1 - Start of frame flag

Source

pub fn ens(&self) -> ENS_R

Bit 0 - ENS

Source§

impl R<u32, Reg<u32, _RAM_COM0>>

Source

pub fn s30(&self) -> S30_R

Bit 30 - S30

Source

pub fn s29(&self) -> S29_R

Bit 29 - S29

Source

pub fn s28(&self) -> S28_R

Bit 28 - S28

Source

pub fn s27(&self) -> S27_R

Bit 27 - S27

Source

pub fn s26(&self) -> S26_R

Bit 26 - S26

Source

pub fn s25(&self) -> S25_R

Bit 25 - S25

Source

pub fn s24(&self) -> S24_R

Bit 24 - S24

Source

pub fn s23(&self) -> S23_R

Bit 23 - S23

Source

pub fn s22(&self) -> S22_R

Bit 22 - S22

Source

pub fn s21(&self) -> S21_R

Bit 21 - S21

Source

pub fn s20(&self) -> S20_R

Bit 20 - S20

Source

pub fn s19(&self) -> S19_R

Bit 19 - S19

Source

pub fn s18(&self) -> S18_R

Bit 18 - S18

Source

pub fn s17(&self) -> S17_R

Bit 17 - S17

Source

pub fn s16(&self) -> S16_R

Bit 16 - S16

Source

pub fn s15(&self) -> S15_R

Bit 15 - S15

Source

pub fn s14(&self) -> S14_R

Bit 14 - S14

Source

pub fn s13(&self) -> S13_R

Bit 13 - S13

Source

pub fn s12(&self) -> S12_R

Bit 12 - S12

Source

pub fn s11(&self) -> S11_R

Bit 11 - S11

Source

pub fn s10(&self) -> S10_R

Bit 10 - S10

Source

pub fn s09(&self) -> S09_R

Bit 9 - S09

Source

pub fn s08(&self) -> S08_R

Bit 8 - S08

Source

pub fn s07(&self) -> S07_R

Bit 7 - S07

Source

pub fn s06(&self) -> S06_R

Bit 6 - S06

Source

pub fn s05(&self) -> S05_R

Bit 5 - S05

Source

pub fn s04(&self) -> S04_R

Bit 4 - S04

Source

pub fn s03(&self) -> S03_R

Bit 3 - S03

Source

pub fn s02(&self) -> S02_R

Bit 2 - S02

Source

pub fn s01(&self) -> S01_R

Bit 1 - S01

Source

pub fn s00(&self) -> S00_R

Bit 0 - S00

Source§

impl R<u32, Reg<u32, _RAM_COM1>>

Source

pub fn s31(&self) -> S31_R

Bit 31 - S31

Source

pub fn s30(&self) -> S30_R

Bit 30 - S30

Source

pub fn s29(&self) -> S29_R

Bit 29 - S29

Source

pub fn s28(&self) -> S28_R

Bit 28 - S28

Source

pub fn s27(&self) -> S27_R

Bit 27 - S27

Source

pub fn s26(&self) -> S26_R

Bit 26 - S26

Source

pub fn s25(&self) -> S25_R

Bit 25 - S25

Source

pub fn s24(&self) -> S24_R

Bit 24 - S24

Source

pub fn s23(&self) -> S23_R

Bit 23 - S23

Source

pub fn s22(&self) -> S22_R

Bit 22 - S22

Source

pub fn s21(&self) -> S21_R

Bit 21 - S21

Source

pub fn s20(&self) -> S20_R

Bit 20 - S20

Source

pub fn s19(&self) -> S19_R

Bit 19 - S19

Source

pub fn s18(&self) -> S18_R

Bit 18 - S18

Source

pub fn s17(&self) -> S17_R

Bit 17 - S17

Source

pub fn s16(&self) -> S16_R

Bit 16 - S16

Source

pub fn s15(&self) -> S15_R

Bit 15 - S15

Source

pub fn s14(&self) -> S14_R

Bit 14 - S14

Source

pub fn s13(&self) -> S13_R

Bit 13 - S13

Source

pub fn s12(&self) -> S12_R

Bit 12 - S12

Source

pub fn s11(&self) -> S11_R

Bit 11 - S11

Source

pub fn s10(&self) -> S10_R

Bit 10 - S10

Source

pub fn s09(&self) -> S09_R

Bit 9 - S09

Source

pub fn s08(&self) -> S08_R

Bit 8 - S08

Source

pub fn s07(&self) -> S07_R

Bit 7 - S07

Source

pub fn s06(&self) -> S06_R

Bit 6 - S06

Source

pub fn s05(&self) -> S05_R

Bit 5 - S05

Source

pub fn s04(&self) -> S04_R

Bit 4 - S04

Source

pub fn s03(&self) -> S03_R

Bit 3 - S03

Source

pub fn s02(&self) -> S02_R

Bit 2 - S02

Source

pub fn s01(&self) -> S01_R

Bit 1 - S01

Source

pub fn s00(&self) -> S00_R

Bit 0 - S00

Source§

impl R<u32, Reg<u32, _RAM_COM2>>

Source

pub fn s31(&self) -> S31_R

Bit 31 - S31

Source

pub fn s30(&self) -> S30_R

Bit 30 - S30

Source

pub fn s29(&self) -> S29_R

Bit 29 - S29

Source

pub fn s28(&self) -> S28_R

Bit 28 - S28

Source

pub fn s27(&self) -> S27_R

Bit 27 - S27

Source

pub fn s26(&self) -> S26_R

Bit 26 - S26

Source

pub fn s25(&self) -> S25_R

Bit 25 - S25

Source

pub fn s24(&self) -> S24_R

Bit 24 - S24

Source

pub fn s23(&self) -> S23_R

Bit 23 - S23

Source

pub fn s22(&self) -> S22_R

Bit 22 - S22

Source

pub fn s21(&self) -> S21_R

Bit 21 - S21

Source

pub fn s20(&self) -> S20_R

Bit 20 - S20

Source

pub fn s19(&self) -> S19_R

Bit 19 - S19

Source

pub fn s18(&self) -> S18_R

Bit 18 - S18

Source

pub fn s17(&self) -> S17_R

Bit 17 - S17

Source

pub fn s16(&self) -> S16_R

Bit 16 - S16

Source

pub fn s15(&self) -> S15_R

Bit 15 - S15

Source

pub fn s14(&self) -> S14_R

Bit 14 - S14

Source

pub fn s13(&self) -> S13_R

Bit 13 - S13

Source

pub fn s12(&self) -> S12_R

Bit 12 - S12

Source

pub fn s11(&self) -> S11_R

Bit 11 - S11

Source

pub fn s10(&self) -> S10_R

Bit 10 - S10

Source

pub fn s09(&self) -> S09_R

Bit 9 - S09

Source

pub fn s08(&self) -> S08_R

Bit 8 - S08

Source

pub fn s07(&self) -> S07_R

Bit 7 - S07

Source

pub fn s06(&self) -> S06_R

Bit 6 - S06

Source

pub fn s05(&self) -> S05_R

Bit 5 - S05

Source

pub fn s04(&self) -> S04_R

Bit 4 - S04

Source

pub fn s03(&self) -> S03_R

Bit 3 - S03

Source

pub fn s02(&self) -> S02_R

Bit 2 - S02

Source

pub fn s01(&self) -> S01_R

Bit 1 - S01

Source

pub fn s00(&self) -> S00_R

Bit 0 - S00

Source§

impl R<u32, Reg<u32, _RAM_COM3>>

Source

pub fn s31(&self) -> S31_R

Bit 31 - S31

Source

pub fn s30(&self) -> S30_R

Bit 30 - S30

Source

pub fn s29(&self) -> S29_R

Bit 29 - S29

Source

pub fn s28(&self) -> S28_R

Bit 28 - S28

Source

pub fn s27(&self) -> S27_R

Bit 27 - S27

Source

pub fn s26(&self) -> S26_R

Bit 26 - S26

Source

pub fn s25(&self) -> S25_R

Bit 25 - S25

Source

pub fn s24(&self) -> S24_R

Bit 24 - S24

Source

pub fn s23(&self) -> S23_R

Bit 23 - S23

Source

pub fn s22(&self) -> S22_R

Bit 22 - S22

Source

pub fn s21(&self) -> S21_R

Bit 21 - S21

Source

pub fn s20(&self) -> S20_R

Bit 20 - S20

Source

pub fn s19(&self) -> S19_R

Bit 19 - S19

Source

pub fn s18(&self) -> S18_R

Bit 18 - S18

Source

pub fn s17(&self) -> S17_R

Bit 17 - S17

Source

pub fn s16(&self) -> S16_R

Bit 16 - S16

Source

pub fn s15(&self) -> S15_R

Bit 15 - S15

Source

pub fn s14(&self) -> S14_R

Bit 14 - S14

Source

pub fn s13(&self) -> S13_R

Bit 13 - S13

Source

pub fn s12(&self) -> S12_R

Bit 12 - S12

Source

pub fn s11(&self) -> S11_R

Bit 11 - S11

Source

pub fn s10(&self) -> S10_R

Bit 10 - S10

Source

pub fn s09(&self) -> S09_R

Bit 9 - S09

Source

pub fn s08(&self) -> S08_R

Bit 8 - S08

Source

pub fn s07(&self) -> S07_R

Bit 7 - S07

Source

pub fn s06(&self) -> S06_R

Bit 6 - S06

Source

pub fn s05(&self) -> S05_R

Bit 5 - S05

Source

pub fn s04(&self) -> S04_R

Bit 4 - S04

Source

pub fn s03(&self) -> S03_R

Bit 3 - S03

Source

pub fn s02(&self) -> S02_R

Bit 2 - S02

Source

pub fn s01(&self) -> S01_R

Bit 1 - S01

Source

pub fn s00(&self) -> S00_R

Bit 0 - S00

Source§

impl R<u32, Reg<u32, _RAM_COM4>>

Source

pub fn s31(&self) -> S31_R

Bit 31 - S31

Source

pub fn s30(&self) -> S30_R

Bit 30 - S30

Source

pub fn s29(&self) -> S29_R

Bit 29 - S29

Source

pub fn s28(&self) -> S28_R

Bit 28 - S28

Source

pub fn s27(&self) -> S27_R

Bit 27 - S27

Source

pub fn s26(&self) -> S26_R

Bit 26 - S26

Source

pub fn s25(&self) -> S25_R

Bit 25 - S25

Source

pub fn s24(&self) -> S24_R

Bit 24 - S24

Source

pub fn s23(&self) -> S23_R

Bit 23 - S23

Source

pub fn s22(&self) -> S22_R

Bit 22 - S22

Source

pub fn s21(&self) -> S21_R

Bit 21 - S21

Source

pub fn s20(&self) -> S20_R

Bit 20 - S20

Source

pub fn s19(&self) -> S19_R

Bit 19 - S19

Source

pub fn s18(&self) -> S18_R

Bit 18 - S18

Source

pub fn s17(&self) -> S17_R

Bit 17 - S17

Source

pub fn s16(&self) -> S16_R

Bit 16 - S16

Source

pub fn s15(&self) -> S15_R

Bit 15 - S15

Source

pub fn s14(&self) -> S14_R

Bit 14 - S14

Source

pub fn s13(&self) -> S13_R

Bit 13 - S13

Source

pub fn s12(&self) -> S12_R

Bit 12 - S12

Source

pub fn s11(&self) -> S11_R

Bit 11 - S11

Source

pub fn s10(&self) -> S10_R

Bit 10 - S10

Source

pub fn s09(&self) -> S09_R

Bit 9 - S09

Source

pub fn s08(&self) -> S08_R

Bit 8 - S08

Source

pub fn s07(&self) -> S07_R

Bit 7 - S07

Source

pub fn s06(&self) -> S06_R

Bit 6 - S06

Source

pub fn s05(&self) -> S05_R

Bit 5 - S05

Source

pub fn s04(&self) -> S04_R

Bit 4 - S04

Source

pub fn s03(&self) -> S03_R

Bit 3 - S03

Source

pub fn s02(&self) -> S02_R

Bit 2 - S02

Source

pub fn s01(&self) -> S01_R

Bit 1 - S01

Source

pub fn s00(&self) -> S00_R

Bit 0 - S00

Source§

impl R<u32, Reg<u32, _RAM_COM5>>

Source

pub fn s31(&self) -> S31_R

Bit 31 - S31

Source

pub fn s30(&self) -> S30_R

Bit 30 - S30

Source

pub fn s29(&self) -> S29_R

Bit 29 - S29

Source

pub fn s28(&self) -> S28_R

Bit 28 - S28

Source

pub fn s27(&self) -> S27_R

Bit 27 - S27

Source

pub fn s26(&self) -> S26_R

Bit 26 - S26

Source

pub fn s25(&self) -> S25_R

Bit 25 - S25

Source

pub fn s24(&self) -> S24_R

Bit 24 - S24

Source

pub fn s23(&self) -> S23_R

Bit 23 - S23

Source

pub fn s22(&self) -> S22_R

Bit 22 - S22

Source

pub fn s21(&self) -> S21_R

Bit 21 - S21

Source

pub fn s20(&self) -> S20_R

Bit 20 - S20

Source

pub fn s19(&self) -> S19_R

Bit 19 - S19

Source

pub fn s18(&self) -> S18_R

Bit 18 - S18

Source

pub fn s17(&self) -> S17_R

Bit 17 - S17

Source

pub fn s16(&self) -> S16_R

Bit 16 - S16

Source

pub fn s15(&self) -> S15_R

Bit 15 - S15

Source

pub fn s14(&self) -> S14_R

Bit 14 - S14

Source

pub fn s13(&self) -> S13_R

Bit 13 - S13

Source

pub fn s12(&self) -> S12_R

Bit 12 - S12

Source

pub fn s11(&self) -> S11_R

Bit 11 - S11

Source

pub fn s10(&self) -> S10_R

Bit 10 - S10

Source

pub fn s09(&self) -> S09_R

Bit 9 - S09

Source

pub fn s08(&self) -> S08_R

Bit 8 - S08

Source

pub fn s07(&self) -> S07_R

Bit 7 - S07

Source

pub fn s06(&self) -> S06_R

Bit 6 - S06

Source

pub fn s05(&self) -> S05_R

Bit 5 - S05

Source

pub fn s04(&self) -> S04_R

Bit 4 - S04

Source

pub fn s03(&self) -> S03_R

Bit 3 - S03

Source

pub fn s02(&self) -> S02_R

Bit 2 - S02

Source

pub fn s01(&self) -> S01_R

Bit 1 - S01

Source

pub fn s00(&self) -> S00_R

Bit 0 - S00

Source§

impl R<u32, Reg<u32, _RAM_COM6>>

Source

pub fn s31(&self) -> S31_R

Bit 31 - S31

Source

pub fn s30(&self) -> S30_R

Bit 30 - S30

Source

pub fn s29(&self) -> S29_R

Bit 29 - S29

Source

pub fn s28(&self) -> S28_R

Bit 28 - S28

Source

pub fn s27(&self) -> S27_R

Bit 27 - S27

Source

pub fn s26(&self) -> S26_R

Bit 26 - S26

Source

pub fn s25(&self) -> S25_R

Bit 25 - S25

Source

pub fn s24(&self) -> S24_R

Bit 24 - S24

Source

pub fn s23(&self) -> S23_R

Bit 23 - S23

Source

pub fn s22(&self) -> S22_R

Bit 22 - S22

Source

pub fn s21(&self) -> S21_R

Bit 21 - S21

Source

pub fn s20(&self) -> S20_R

Bit 20 - S20

Source

pub fn s19(&self) -> S19_R

Bit 19 - S19

Source

pub fn s18(&self) -> S18_R

Bit 18 - S18

Source

pub fn s17(&self) -> S17_R

Bit 17 - S17

Source

pub fn s16(&self) -> S16_R

Bit 16 - S16

Source

pub fn s15(&self) -> S15_R

Bit 15 - S15

Source

pub fn s14(&self) -> S14_R

Bit 14 - S14

Source

pub fn s13(&self) -> S13_R

Bit 13 - S13

Source

pub fn s12(&self) -> S12_R

Bit 12 - S12

Source

pub fn s11(&self) -> S11_R

Bit 11 - S11

Source

pub fn s10(&self) -> S10_R

Bit 10 - S10

Source

pub fn s09(&self) -> S09_R

Bit 9 - S09

Source

pub fn s08(&self) -> S08_R

Bit 8 - S08

Source

pub fn s07(&self) -> S07_R

Bit 7 - S07

Source

pub fn s06(&self) -> S06_R

Bit 6 - S06

Source

pub fn s05(&self) -> S05_R

Bit 5 - S05

Source

pub fn s04(&self) -> S04_R

Bit 4 - S04

Source

pub fn s03(&self) -> S03_R

Bit 3 - S03

Source

pub fn s02(&self) -> S02_R

Bit 2 - S02

Source

pub fn s01(&self) -> S01_R

Bit 1 - S01

Source

pub fn s00(&self) -> S00_R

Bit 0 - S00

Source§

impl R<u32, Reg<u32, _RAM_COM7>>

Source

pub fn s31(&self) -> S31_R

Bit 31 - S31

Source

pub fn s30(&self) -> S30_R

Bit 30 - S30

Source

pub fn s29(&self) -> S29_R

Bit 29 - S29

Source

pub fn s28(&self) -> S28_R

Bit 28 - S28

Source

pub fn s27(&self) -> S27_R

Bit 27 - S27

Source

pub fn s26(&self) -> S26_R

Bit 26 - S26

Source

pub fn s25(&self) -> S25_R

Bit 25 - S25

Source

pub fn s24(&self) -> S24_R

Bit 24 - S24

Source

pub fn s23(&self) -> S23_R

Bit 23 - S23

Source

pub fn s22(&self) -> S22_R

Bit 22 - S22

Source

pub fn s21(&self) -> S21_R

Bit 21 - S21

Source

pub fn s20(&self) -> S20_R

Bit 20 - S20

Source

pub fn s19(&self) -> S19_R

Bit 19 - S19

Source

pub fn s18(&self) -> S18_R

Bit 18 - S18

Source

pub fn s17(&self) -> S17_R

Bit 17 - S17

Source

pub fn s16(&self) -> S16_R

Bit 16 - S16

Source

pub fn s15(&self) -> S15_R

Bit 15 - S15

Source

pub fn s14(&self) -> S14_R

Bit 14 - S14

Source

pub fn s13(&self) -> S13_R

Bit 13 - S13

Source

pub fn s12(&self) -> S12_R

Bit 12 - S12

Source

pub fn s11(&self) -> S11_R

Bit 11 - S11

Source

pub fn s10(&self) -> S10_R

Bit 10 - S10

Source

pub fn s09(&self) -> S09_R

Bit 9 - S09

Source

pub fn s08(&self) -> S08_R

Bit 8 - S08

Source

pub fn s07(&self) -> S07_R

Bit 7 - S07

Source

pub fn s06(&self) -> S06_R

Bit 6 - S06

Source

pub fn s05(&self) -> S05_R

Bit 5 - S05

Source

pub fn s04(&self) -> S04_R

Bit 4 - S04

Source

pub fn s03(&self) -> S03_R

Bit 3 - S03

Source

pub fn s02(&self) -> S02_R

Bit 2 - S02

Source

pub fn s01(&self) -> S01_R

Bit 1 - S01

Source

pub fn s00(&self) -> S00_R

Bit 0 - S00

Source§

impl R<u32, Reg<u32, _CR>>

Source

pub fn ctph(&self) -> CTPH_R

Bits 28:31 - Charge transfer pulse high

Source

pub fn ctpl(&self) -> CTPL_R

Bits 24:27 - Charge transfer pulse low

Source

pub fn ssd(&self) -> SSD_R

Bits 17:23 - Spread spectrum deviation

Source

pub fn sse(&self) -> SSE_R

Bit 16 - Spread spectrum enable

Source

pub fn sspsc(&self) -> SSPSC_R

Bit 15 - Spread spectrum prescaler

Source

pub fn pgpsc(&self) -> PGPSC_R

Bits 12:14 - pulse generator prescaler

Source

pub fn mcv(&self) -> MCV_R

Bits 5:7 - Max count value

Source

pub fn iodef(&self) -> IODEF_R

Bit 4 - I/O Default mode

Source

pub fn syncpol(&self) -> SYNCPOL_R

Bit 3 - Synchronization pin polarity

Source

pub fn am(&self) -> AM_R

Bit 2 - Acquisition mode

Source

pub fn start(&self) -> START_R

Bit 1 - Start a new acquisition

Source

pub fn tsce(&self) -> TSCE_R

Bit 0 - Touch sensing controller enable

Source§

impl R<u32, Reg<u32, _IER>>

Source

pub fn mceie(&self) -> MCEIE_R

Bit 1 - Max count error interrupt enable

Source

pub fn eoaie(&self) -> EOAIE_R

Bit 0 - End of acquisition interrupt enable

Source§

impl R<u32, Reg<u32, _ICR>>

Source

pub fn mceic(&self) -> MCEIC_R

Bit 1 - Max count error interrupt clear

Source

pub fn eoaic(&self) -> EOAIC_R

Bit 0 - End of acquisition interrupt clear

Source§

impl R<u32, Reg<u32, _ISR>>

Source

pub fn mcef(&self) -> MCEF_R

Bit 1 - Max count error flag

Source

pub fn eoaf(&self) -> EOAF_R

Bit 0 - End of acquisition flag

Source§

impl R<u32, Reg<u32, _IOHCR>>

Source

pub fn g8_io4(&self) -> G8_IO4_R

Bit 31 - G8_IO4

Source

pub fn g8_io3(&self) -> G8_IO3_R

Bit 30 - G8_IO3

Source

pub fn g8_io2(&self) -> G8_IO2_R

Bit 29 - G8_IO2

Source

pub fn g8_io1(&self) -> G8_IO1_R

Bit 28 - G8_IO1

Source

pub fn g7_io4(&self) -> G7_IO4_R

Bit 27 - G7_IO4

Source

pub fn g7_io3(&self) -> G7_IO3_R

Bit 26 - G7_IO3

Source

pub fn g7_io2(&self) -> G7_IO2_R

Bit 25 - G7_IO2

Source

pub fn g7_io1(&self) -> G7_IO1_R

Bit 24 - G7_IO1

Source

pub fn g6_io4(&self) -> G6_IO4_R

Bit 23 - G6_IO4

Source

pub fn g6_io3(&self) -> G6_IO3_R

Bit 22 - G6_IO3

Source

pub fn g6_io2(&self) -> G6_IO2_R

Bit 21 - G6_IO2

Source

pub fn g6_io1(&self) -> G6_IO1_R

Bit 20 - G6_IO1

Source

pub fn g5_io4(&self) -> G5_IO4_R

Bit 19 - G5_IO4

Source

pub fn g5_io3(&self) -> G5_IO3_R

Bit 18 - G5_IO3

Source

pub fn g5_io2(&self) -> G5_IO2_R

Bit 17 - G5_IO2

Source

pub fn g5_io1(&self) -> G5_IO1_R

Bit 16 - G5_IO1

Source

pub fn g4_io4(&self) -> G4_IO4_R

Bit 15 - G4_IO4

Source

pub fn g4_io3(&self) -> G4_IO3_R

Bit 14 - G4_IO3

Source

pub fn g4_io2(&self) -> G4_IO2_R

Bit 13 - G4_IO2

Source

pub fn g4_io1(&self) -> G4_IO1_R

Bit 12 - G4_IO1

Source

pub fn g3_io4(&self) -> G3_IO4_R

Bit 11 - G3_IO4

Source

pub fn g3_io3(&self) -> G3_IO3_R

Bit 10 - G3_IO3

Source

pub fn g3_io2(&self) -> G3_IO2_R

Bit 9 - G3_IO2

Source

pub fn g3_io1(&self) -> G3_IO1_R

Bit 8 - G3_IO1

Source

pub fn g2_io4(&self) -> G2_IO4_R

Bit 7 - G2_IO4

Source

pub fn g2_io3(&self) -> G2_IO3_R

Bit 6 - G2_IO3

Source

pub fn g2_io2(&self) -> G2_IO2_R

Bit 5 - G2_IO2

Source

pub fn g2_io1(&self) -> G2_IO1_R

Bit 4 - G2_IO1

Source

pub fn g1_io4(&self) -> G1_IO4_R

Bit 3 - G1_IO4

Source

pub fn g1_io3(&self) -> G1_IO3_R

Bit 2 - G1_IO3

Source

pub fn g1_io2(&self) -> G1_IO2_R

Bit 1 - G1_IO2

Source

pub fn g1_io1(&self) -> G1_IO1_R

Bit 0 - G1_IO1

Source§

impl R<u32, Reg<u32, _IOASCR>>

Source

pub fn g8_io4(&self) -> G8_IO4_R

Bit 31 - G8_IO4

Source

pub fn g8_io3(&self) -> G8_IO3_R

Bit 30 - G8_IO3

Source

pub fn g8_io2(&self) -> G8_IO2_R

Bit 29 - G8_IO2

Source

pub fn g8_io1(&self) -> G8_IO1_R

Bit 28 - G8_IO1

Source

pub fn g7_io4(&self) -> G7_IO4_R

Bit 27 - G7_IO4

Source

pub fn g7_io3(&self) -> G7_IO3_R

Bit 26 - G7_IO3

Source

pub fn g7_io2(&self) -> G7_IO2_R

Bit 25 - G7_IO2

Source

pub fn g7_io1(&self) -> G7_IO1_R

Bit 24 - G7_IO1

Source

pub fn g6_io4(&self) -> G6_IO4_R

Bit 23 - G6_IO4

Source

pub fn g6_io3(&self) -> G6_IO3_R

Bit 22 - G6_IO3

Source

pub fn g6_io2(&self) -> G6_IO2_R

Bit 21 - G6_IO2

Source

pub fn g6_io1(&self) -> G6_IO1_R

Bit 20 - G6_IO1

Source

pub fn g5_io4(&self) -> G5_IO4_R

Bit 19 - G5_IO4

Source

pub fn g5_io3(&self) -> G5_IO3_R

Bit 18 - G5_IO3

Source

pub fn g5_io2(&self) -> G5_IO2_R

Bit 17 - G5_IO2

Source

pub fn g5_io1(&self) -> G5_IO1_R

Bit 16 - G5_IO1

Source

pub fn g4_io4(&self) -> G4_IO4_R

Bit 15 - G4_IO4

Source

pub fn g4_io3(&self) -> G4_IO3_R

Bit 14 - G4_IO3

Source

pub fn g4_io2(&self) -> G4_IO2_R

Bit 13 - G4_IO2

Source

pub fn g4_io1(&self) -> G4_IO1_R

Bit 12 - G4_IO1

Source

pub fn g3_io4(&self) -> G3_IO4_R

Bit 11 - G3_IO4

Source

pub fn g3_io3(&self) -> G3_IO3_R

Bit 10 - G3_IO3

Source

pub fn g3_io2(&self) -> G3_IO2_R

Bit 9 - G3_IO2

Source

pub fn g3_io1(&self) -> G3_IO1_R

Bit 8 - G3_IO1

Source

pub fn g2_io4(&self) -> G2_IO4_R

Bit 7 - G2_IO4

Source

pub fn g2_io3(&self) -> G2_IO3_R

Bit 6 - G2_IO3

Source

pub fn g2_io2(&self) -> G2_IO2_R

Bit 5 - G2_IO2

Source

pub fn g2_io1(&self) -> G2_IO1_R

Bit 4 - G2_IO1

Source

pub fn g1_io4(&self) -> G1_IO4_R

Bit 3 - G1_IO4

Source

pub fn g1_io3(&self) -> G1_IO3_R

Bit 2 - G1_IO3

Source

pub fn g1_io2(&self) -> G1_IO2_R

Bit 1 - G1_IO2

Source

pub fn g1_io1(&self) -> G1_IO1_R

Bit 0 - G1_IO1

Source§

impl R<u32, Reg<u32, _IOSCR>>

Source

pub fn g8_io4(&self) -> G8_IO4_R

Bit 31 - G8_IO4

Source

pub fn g8_io3(&self) -> G8_IO3_R

Bit 30 - G8_IO3

Source

pub fn g8_io2(&self) -> G8_IO2_R

Bit 29 - G8_IO2

Source

pub fn g8_io1(&self) -> G8_IO1_R

Bit 28 - G8_IO1

Source

pub fn g7_io4(&self) -> G7_IO4_R

Bit 27 - G7_IO4

Source

pub fn g7_io3(&self) -> G7_IO3_R

Bit 26 - G7_IO3

Source

pub fn g7_io2(&self) -> G7_IO2_R

Bit 25 - G7_IO2

Source

pub fn g7_io1(&self) -> G7_IO1_R

Bit 24 - G7_IO1

Source

pub fn g6_io4(&self) -> G6_IO4_R

Bit 23 - G6_IO4

Source

pub fn g6_io3(&self) -> G6_IO3_R

Bit 22 - G6_IO3

Source

pub fn g6_io2(&self) -> G6_IO2_R

Bit 21 - G6_IO2

Source

pub fn g6_io1(&self) -> G6_IO1_R

Bit 20 - G6_IO1

Source

pub fn g5_io4(&self) -> G5_IO4_R

Bit 19 - G5_IO4

Source

pub fn g5_io3(&self) -> G5_IO3_R

Bit 18 - G5_IO3

Source

pub fn g5_io2(&self) -> G5_IO2_R

Bit 17 - G5_IO2

Source

pub fn g5_io1(&self) -> G5_IO1_R

Bit 16 - G5_IO1

Source

pub fn g4_io4(&self) -> G4_IO4_R

Bit 15 - G4_IO4

Source

pub fn g4_io3(&self) -> G4_IO3_R

Bit 14 - G4_IO3

Source

pub fn g4_io2(&self) -> G4_IO2_R

Bit 13 - G4_IO2

Source

pub fn g4_io1(&self) -> G4_IO1_R

Bit 12 - G4_IO1

Source

pub fn g3_io4(&self) -> G3_IO4_R

Bit 11 - G3_IO4

Source

pub fn g3_io3(&self) -> G3_IO3_R

Bit 10 - G3_IO3

Source

pub fn g3_io2(&self) -> G3_IO2_R

Bit 9 - G3_IO2

Source

pub fn g3_io1(&self) -> G3_IO1_R

Bit 8 - G3_IO1

Source

pub fn g2_io4(&self) -> G2_IO4_R

Bit 7 - G2_IO4

Source

pub fn g2_io3(&self) -> G2_IO3_R

Bit 6 - G2_IO3

Source

pub fn g2_io2(&self) -> G2_IO2_R

Bit 5 - G2_IO2

Source

pub fn g2_io1(&self) -> G2_IO1_R

Bit 4 - G2_IO1

Source

pub fn g1_io4(&self) -> G1_IO4_R

Bit 3 - G1_IO4

Source

pub fn g1_io3(&self) -> G1_IO3_R

Bit 2 - G1_IO3

Source

pub fn g1_io2(&self) -> G1_IO2_R

Bit 1 - G1_IO2

Source

pub fn g1_io1(&self) -> G1_IO1_R

Bit 0 - G1_IO1

Source§

impl R<u32, Reg<u32, _IOCCR>>

Source

pub fn g8_io4(&self) -> G8_IO4_R

Bit 31 - G8_IO4

Source

pub fn g8_io3(&self) -> G8_IO3_R

Bit 30 - G8_IO3

Source

pub fn g8_io2(&self) -> G8_IO2_R

Bit 29 - G8_IO2

Source

pub fn g8_io1(&self) -> G8_IO1_R

Bit 28 - G8_IO1

Source

pub fn g7_io4(&self) -> G7_IO4_R

Bit 27 - G7_IO4

Source

pub fn g7_io3(&self) -> G7_IO3_R

Bit 26 - G7_IO3

Source

pub fn g7_io2(&self) -> G7_IO2_R

Bit 25 - G7_IO2

Source

pub fn g7_io1(&self) -> G7_IO1_R

Bit 24 - G7_IO1

Source

pub fn g6_io4(&self) -> G6_IO4_R

Bit 23 - G6_IO4

Source

pub fn g6_io3(&self) -> G6_IO3_R

Bit 22 - G6_IO3

Source

pub fn g6_io2(&self) -> G6_IO2_R

Bit 21 - G6_IO2

Source

pub fn g6_io1(&self) -> G6_IO1_R

Bit 20 - G6_IO1

Source

pub fn g5_io4(&self) -> G5_IO4_R

Bit 19 - G5_IO4

Source

pub fn g5_io3(&self) -> G5_IO3_R

Bit 18 - G5_IO3

Source

pub fn g5_io2(&self) -> G5_IO2_R

Bit 17 - G5_IO2

Source

pub fn g5_io1(&self) -> G5_IO1_R

Bit 16 - G5_IO1

Source

pub fn g4_io4(&self) -> G4_IO4_R

Bit 15 - G4_IO4

Source

pub fn g4_io3(&self) -> G4_IO3_R

Bit 14 - G4_IO3

Source

pub fn g4_io2(&self) -> G4_IO2_R

Bit 13 - G4_IO2

Source

pub fn g4_io1(&self) -> G4_IO1_R

Bit 12 - G4_IO1

Source

pub fn g3_io4(&self) -> G3_IO4_R

Bit 11 - G3_IO4

Source

pub fn g3_io3(&self) -> G3_IO3_R

Bit 10 - G3_IO3

Source

pub fn g3_io2(&self) -> G3_IO2_R

Bit 9 - G3_IO2

Source

pub fn g3_io1(&self) -> G3_IO1_R

Bit 8 - G3_IO1

Source

pub fn g2_io4(&self) -> G2_IO4_R

Bit 7 - G2_IO4

Source

pub fn g2_io3(&self) -> G2_IO3_R

Bit 6 - G2_IO3

Source

pub fn g2_io2(&self) -> G2_IO2_R

Bit 5 - G2_IO2

Source

pub fn g2_io1(&self) -> G2_IO1_R

Bit 4 - G2_IO1

Source

pub fn g1_io4(&self) -> G1_IO4_R

Bit 3 - G1_IO4

Source

pub fn g1_io3(&self) -> G1_IO3_R

Bit 2 - G1_IO3

Source

pub fn g1_io2(&self) -> G1_IO2_R

Bit 1 - G1_IO2

Source

pub fn g1_io1(&self) -> G1_IO1_R

Bit 0 - G1_IO1

Source§

impl R<u32, Reg<u32, _IOGCSR>>

Source

pub fn g8s(&self) -> G8S_R

Bit 23 - Analog I/O group x status

Source

pub fn g7s(&self) -> G7S_R

Bit 22 - Analog I/O group x status

Source

pub fn g6s(&self) -> G6S_R

Bit 21 - Analog I/O group x status

Source

pub fn g5s(&self) -> G5S_R

Bit 20 - Analog I/O group x status

Source

pub fn g4s(&self) -> G4S_R

Bit 19 - Analog I/O group x status

Source

pub fn g3s(&self) -> G3S_R

Bit 18 - Analog I/O group x status

Source

pub fn g2s(&self) -> G2S_R

Bit 17 - Analog I/O group x status

Source

pub fn g1s(&self) -> G1S_R

Bit 16 - Analog I/O group x status

Source

pub fn g8e(&self) -> G8E_R

Bit 7 - Analog I/O group x enable

Source

pub fn g7e(&self) -> G7E_R

Bit 6 - Analog I/O group x enable

Source

pub fn g6e(&self) -> G6E_R

Bit 5 - Analog I/O group x enable

Source

pub fn g5e(&self) -> G5E_R

Bit 4 - Analog I/O group x enable

Source

pub fn g4e(&self) -> G4E_R

Bit 3 - Analog I/O group x enable

Source

pub fn g3e(&self) -> G3E_R

Bit 2 - Analog I/O group x enable

Source

pub fn g2e(&self) -> G2E_R

Bit 1 - Analog I/O group x enable

Source

pub fn g1e(&self) -> G1E_R

Bit 0 - Analog I/O group x enable

Source§

impl R<u32, Reg<u32, _IOGCR>>

Source

pub fn cnt(&self) -> CNT_R

Bits 0:13 - Counter value

Source§

impl R<u8, PR_A>

Source

pub fn variant(&self) -> PR_A

Get enumerated values variant

Source

pub fn is_divide_by4(&self) -> bool

Checks if the value of the field is DIVIDEBY4

Source

pub fn is_divide_by8(&self) -> bool

Checks if the value of the field is DIVIDEBY8

Source

pub fn is_divide_by16(&self) -> bool

Checks if the value of the field is DIVIDEBY16

Source

pub fn is_divide_by32(&self) -> bool

Checks if the value of the field is DIVIDEBY32

Source

pub fn is_divide_by64(&self) -> bool

Checks if the value of the field is DIVIDEBY64

Source

pub fn is_divide_by128(&self) -> bool

Checks if the value of the field is DIVIDEBY128

Source

pub fn is_divide_by256(&self) -> bool

Checks if the value of the field is DIVIDEBY256

Source

pub fn is_divide_by256bis(&self) -> bool

Checks if the value of the field is DIVIDEBY256BIS

Source§

impl R<u32, Reg<u32, _PR>>

Source

pub fn pr(&self) -> PR_R

Bits 0:2 - Prescaler divider

Source§

impl R<u32, Reg<u32, _RLR>>

Source

pub fn rl(&self) -> RL_R

Bits 0:11 - Watchdog counter reload value

Source§

impl R<u32, Reg<u32, _SR>>

Source

pub fn wvu(&self) -> WVU_R

Bit 2 - Watchdog counter window value update

Source

pub fn rvu(&self) -> RVU_R

Bit 1 - Watchdog counter reload value update

Source

pub fn pvu(&self) -> PVU_R

Bit 0 - Watchdog prescaler value update

Source§

impl R<u32, Reg<u32, _WINR>>

Source

pub fn win(&self) -> WIN_R

Bits 0:11 - Watchdog counter window value

Source§

impl R<bool, WDGA_A>

Source

pub fn variant(&self) -> WDGA_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<u32, Reg<u32, _CR>>

Source

pub fn wdga(&self) -> WDGA_R

Bit 7 - Activation bit

Source

pub fn t(&self) -> T_R

Bits 0:6 - 7-bit counter (MSB to LSB)

Source§

impl R<bool, EWI_A>

Source

pub fn variant(&self) -> Variant<bool, EWI_A>

Get enumerated values variant

Source

pub fn is_enable(&self) -> bool

Checks if the value of the field is ENABLE

Source§

impl R<u8, WDGTB_A>

Source

pub fn variant(&self) -> WDGTB_A

Get enumerated values variant

Source

pub fn is_div1(&self) -> bool

Checks if the value of the field is DIV1

Source

pub fn is_div2(&self) -> bool

Checks if the value of the field is DIV2

Source

pub fn is_div4(&self) -> bool

Checks if the value of the field is DIV4

Source

pub fn is_div8(&self) -> bool

Checks if the value of the field is DIV8

Source§

impl R<u32, Reg<u32, _CFR>>

Source

pub fn ewi(&self) -> EWI_R

Bit 9 - Early wakeup interrupt

Source

pub fn w(&self) -> W_R

Bits 0:6 - 7-bit window value

Source

pub fn wdgtb(&self) -> WDGTB_R

Bits 7:8 - Timer base

Source§

impl R<bool, EWIF_A>

Source

pub fn variant(&self) -> EWIF_A

Get enumerated values variant

Source

pub fn is_pending(&self) -> bool

Checks if the value of the field is PENDING

Source

pub fn is_finished(&self) -> bool

Checks if the value of the field is FINISHED

Source§

impl R<u32, Reg<u32, _SR>>

Source

pub fn ewif(&self) -> EWIF_R

Bit 0 - Early wakeup interrupt flag

Source§

impl R<u32, Reg<u32, _COMP1_CSR>>

Source

pub fn comp1_en(&self) -> COMP1_EN_R

Bit 0 - Comparator 1 enable bit

Source

pub fn comp1_pwrmode(&self) -> COMP1_PWRMODE_R

Bits 2:3 - Power Mode of the comparator 1

Source

pub fn comp1_inmsel(&self) -> COMP1_INMSEL_R

Bits 4:6 - Comparator 1 Input Minus connection configuration bit

Source

pub fn comp1_inpsel(&self) -> COMP1_INPSEL_R

Bits 7:8 - Comparator1 input plus selection bit

Source

pub fn comp1_polarity(&self) -> COMP1_POLARITY_R

Bit 15 - Comparator 1 polarity selection bit

Source

pub fn comp1_hyst(&self) -> COMP1_HYST_R

Bits 16:17 - Comparator 1 hysteresis selection bits

Source

pub fn comp1_blanking(&self) -> COMP1_BLANKING_R

Bits 18:20 - Comparator 1 blanking source selection bits

Source

pub fn comp1_brgen(&self) -> COMP1_BRGEN_R

Bit 22 - Scaler bridge enable

Source

pub fn comp1_scalen(&self) -> COMP1_SCALEN_R

Bit 23 - Voltage scaler enable bit

Source

pub fn comp1_inmesel(&self) -> COMP1_INMESEL_R

Bits 25:26 - comparator 1 input minus extended selection bits

Source

pub fn comp1_value(&self) -> COMP1_VALUE_R

Bit 30 - Comparator 1 output status bit

Source§

impl R<u32, Reg<u32, _COMP2_CSR>>

Source

pub fn comp2_en(&self) -> COMP2_EN_R

Bit 0 - Comparator 2 enable bit

Source

pub fn comp2_pwrmode(&self) -> COMP2_PWRMODE_R

Bits 2:3 - Power Mode of the comparator 2

Source

pub fn comp2_inmsel(&self) -> COMP2_INMSEL_R

Bits 4:6 - Comparator 2 Input Minus connection configuration bit

Source

pub fn comp2_inpsel(&self) -> COMP2_INPSEL_R

Bits 7:8 - Comparator 2 Input Plus connection configuration bit

Source

pub fn comp2_winmode(&self) -> COMP2_WINMODE_R

Bit 9 - Windows mode selection bit

Source

pub fn comp2_polarity(&self) -> COMP2_POLARITY_R

Bit 15 - Comparator 2 polarity selection bit

Source

pub fn comp2_hyst(&self) -> COMP2_HYST_R

Bits 16:17 - Comparator 2 hysteresis selection bits

Source

pub fn comp2_blanking(&self) -> COMP2_BLANKING_R

Bits 18:20 - Comparator 2 blanking source selection bits

Source

pub fn comp2_brgen(&self) -> COMP2_BRGEN_R

Bit 22 - Scaler bridge enable

Source

pub fn comp2_scalen(&self) -> COMP2_SCALEN_R

Bit 23 - Voltage scaler enable bit

Source

pub fn comp2_inmesel(&self) -> COMP2_INMESEL_R

Bits 25:26 - comparator 2 input minus extended selection bits

Source

pub fn comp2_value(&self) -> COMP2_VALUE_R

Bit 30 - Comparator 2 output status bit

Source§

impl R<u32, Reg<u32, _CSSA>>

Source

pub fn add(&self) -> ADD_R

Bits 8:23 - code segment start address

Source§

impl R<u32, Reg<u32, _CSL>>

Source

pub fn leng(&self) -> LENG_R

Bits 8:21 - code segment length

Source§

impl R<u32, Reg<u32, _NVDSSA>>

Source

pub fn add(&self) -> ADD_R

Bits 8:23 - Non-volatile data segment start address

Source§

impl R<u32, Reg<u32, _NVDSL>>

Source

pub fn leng(&self) -> LENG_R

Bits 8:21 - Non-volatile data segment length

Source§

impl R<u32, Reg<u32, _VDSSA>>

Source

pub fn add(&self) -> ADD_R

Bits 6:15 - Volatile data segment start address

Source§

impl R<u32, Reg<u32, _VDSL>>

Source

pub fn leng(&self) -> LENG_R

Bits 6:15 - Non-volatile data segment length

Source§

impl R<u32, Reg<u32, _CR>>

Source

pub fn vde(&self) -> VDE_R

Bit 2 - Volatile data execution

Source

pub fn vds(&self) -> VDS_R

Bit 1 - Volatile data shared

Source

pub fn fpa(&self) -> FPA_R

Bit 0 - Firewall pre alarm

Source§

impl R<bool, PE_A>

Source

pub fn variant(&self) -> PE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, TXIE_A>

Source

pub fn variant(&self) -> TXIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, RXIE_A>

Source

pub fn variant(&self) -> RXIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, ADDRIE_A>

Source

pub fn variant(&self) -> ADDRIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, NACKIE_A>

Source

pub fn variant(&self) -> NACKIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, STOPIE_A>

Source

pub fn variant(&self) -> STOPIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, TCIE_A>

Source

pub fn variant(&self) -> TCIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, ERRIE_A>

Source

pub fn variant(&self) -> ERRIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<u8, DNF_A>

Source

pub fn variant(&self) -> DNF_A

Get enumerated values variant

Source

pub fn is_no_filter(&self) -> bool

Checks if the value of the field is NOFILTER

Source

pub fn is_filter1(&self) -> bool

Checks if the value of the field is FILTER1

Source

pub fn is_filter2(&self) -> bool

Checks if the value of the field is FILTER2

Source

pub fn is_filter3(&self) -> bool

Checks if the value of the field is FILTER3

Source

pub fn is_filter4(&self) -> bool

Checks if the value of the field is FILTER4

Source

pub fn is_filter5(&self) -> bool

Checks if the value of the field is FILTER5

Source

pub fn is_filter6(&self) -> bool

Checks if the value of the field is FILTER6

Source

pub fn is_filter7(&self) -> bool

Checks if the value of the field is FILTER7

Source

pub fn is_filter8(&self) -> bool

Checks if the value of the field is FILTER8

Source

pub fn is_filter9(&self) -> bool

Checks if the value of the field is FILTER9

Source

pub fn is_filter10(&self) -> bool

Checks if the value of the field is FILTER10

Source

pub fn is_filter11(&self) -> bool

Checks if the value of the field is FILTER11

Source

pub fn is_filter12(&self) -> bool

Checks if the value of the field is FILTER12

Source

pub fn is_filter13(&self) -> bool

Checks if the value of the field is FILTER13

Source

pub fn is_filter14(&self) -> bool

Checks if the value of the field is FILTER14

Source

pub fn is_filter15(&self) -> bool

Checks if the value of the field is FILTER15

Source§

impl R<bool, ANFOFF_A>

Source

pub fn variant(&self) -> ANFOFF_A

Get enumerated values variant

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source§

impl R<bool, TXDMAEN_A>

Source

pub fn variant(&self) -> TXDMAEN_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, RXDMAEN_A>

Source

pub fn variant(&self) -> RXDMAEN_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, SBC_A>

Source

pub fn variant(&self) -> SBC_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, NOSTRETCH_A>

Source

pub fn variant(&self) -> NOSTRETCH_A

Get enumerated values variant

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source§

impl R<bool, WUPEN_A>

Source

pub fn variant(&self) -> WUPEN_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, GCEN_A>

Source

pub fn variant(&self) -> GCEN_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, SMBHEN_A>

Source

pub fn variant(&self) -> SMBHEN_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, SMBDEN_A>

Source

pub fn variant(&self) -> SMBDEN_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, ALERTEN_A>

Source

pub fn variant(&self) -> ALERTEN_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, PECEN_A>

Source

pub fn variant(&self) -> PECEN_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<u32, Reg<u32, _CR1>>

Source

pub fn pe(&self) -> PE_R

Bit 0 - Peripheral enable

Source

pub fn txie(&self) -> TXIE_R

Bit 1 - TX Interrupt enable

Source

pub fn rxie(&self) -> RXIE_R

Bit 2 - RX Interrupt enable

Source

pub fn addrie(&self) -> ADDRIE_R

Bit 3 - Address match interrupt enable (slave only)

Source

pub fn nackie(&self) -> NACKIE_R

Bit 4 - Not acknowledge received interrupt enable

Source

pub fn stopie(&self) -> STOPIE_R

Bit 5 - STOP detection Interrupt enable

Source

pub fn tcie(&self) -> TCIE_R

Bit 6 - Transfer Complete interrupt enable

Source

pub fn errie(&self) -> ERRIE_R

Bit 7 - Error interrupts enable

Source

pub fn dnf(&self) -> DNF_R

Bits 8:11 - Digital noise filter

Source

pub fn anfoff(&self) -> ANFOFF_R

Bit 12 - Analog noise filter OFF

Source

pub fn txdmaen(&self) -> TXDMAEN_R

Bit 14 - DMA transmission requests enable

Source

pub fn rxdmaen(&self) -> RXDMAEN_R

Bit 15 - DMA reception requests enable

Source

pub fn sbc(&self) -> SBC_R

Bit 16 - Slave byte control

Source

pub fn nostretch(&self) -> NOSTRETCH_R

Bit 17 - Clock stretching disable

Source

pub fn wupen(&self) -> WUPEN_R

Bit 18 - Wakeup from STOP enable

Source

pub fn gcen(&self) -> GCEN_R

Bit 19 - General call enable

Source

pub fn smbhen(&self) -> SMBHEN_R

Bit 20 - SMBus Host address enable

Source

pub fn smbden(&self) -> SMBDEN_R

Bit 21 - SMBus Device Default address enable

Source

pub fn alerten(&self) -> ALERTEN_R

Bit 22 - SMBUS alert enable

Source

pub fn pecen(&self) -> PECEN_R

Bit 23 - PEC enable

Source§

impl R<bool, PECBYTE_A>

Source

pub fn variant(&self) -> PECBYTE_A

Get enumerated values variant

Source

pub fn is_no_pec(&self) -> bool

Checks if the value of the field is NOPEC

Source

pub fn is_pec(&self) -> bool

Checks if the value of the field is PEC

Source§

impl R<bool, AUTOEND_A>

Source

pub fn variant(&self) -> AUTOEND_A

Get enumerated values variant

Source

pub fn is_software(&self) -> bool

Checks if the value of the field is SOFTWARE

Source

pub fn is_automatic(&self) -> bool

Checks if the value of the field is AUTOMATIC

Source§

impl R<bool, RELOAD_A>

Source

pub fn variant(&self) -> RELOAD_A

Get enumerated values variant

Source

pub fn is_completed(&self) -> bool

Checks if the value of the field is COMPLETED

Source

pub fn is_not_completed(&self) -> bool

Checks if the value of the field is NOTCOMPLETED

Source§

impl R<bool, NACK_A>

Source

pub fn variant(&self) -> NACK_A

Get enumerated values variant

Source

pub fn is_ack(&self) -> bool

Checks if the value of the field is ACK

Source

pub fn is_nack(&self) -> bool

Checks if the value of the field is NACK

Source§

impl R<bool, STOP_A>

Source

pub fn variant(&self) -> STOP_A

Get enumerated values variant

Source

pub fn is_no_stop(&self) -> bool

Checks if the value of the field is NOSTOP

Source

pub fn is_stop(&self) -> bool

Checks if the value of the field is STOP

Source§

impl R<bool, START_A>

Source

pub fn variant(&self) -> START_A

Get enumerated values variant

Source

pub fn is_no_start(&self) -> bool

Checks if the value of the field is NOSTART

Source

pub fn is_start(&self) -> bool

Checks if the value of the field is START

Source§

impl R<bool, HEAD10R_A>

Source

pub fn variant(&self) -> HEAD10R_A

Get enumerated values variant

Source

pub fn is_complete(&self) -> bool

Checks if the value of the field is COMPLETE

Source

pub fn is_partial(&self) -> bool

Checks if the value of the field is PARTIAL

Source§

impl R<bool, ADD10_A>

Source

pub fn variant(&self) -> ADD10_A

Get enumerated values variant

Source

pub fn is_bit7(&self) -> bool

Checks if the value of the field is BIT7

Source

pub fn is_bit10(&self) -> bool

Checks if the value of the field is BIT10

Source§

impl R<bool, RD_WRN_A>

Source

pub fn variant(&self) -> RD_WRN_A

Get enumerated values variant

Source

pub fn is_write(&self) -> bool

Checks if the value of the field is WRITE

Source

pub fn is_read(&self) -> bool

Checks if the value of the field is READ

Source§

impl R<u32, Reg<u32, _CR2>>

Source

pub fn pecbyte(&self) -> PECBYTE_R

Bit 26 - Packet error checking byte

Source

pub fn autoend(&self) -> AUTOEND_R

Bit 25 - Automatic end mode (master mode)

Source

pub fn reload(&self) -> RELOAD_R

Bit 24 - NBYTES reload mode

Source

pub fn nbytes(&self) -> NBYTES_R

Bits 16:23 - Number of bytes

Source

pub fn nack(&self) -> NACK_R

Bit 15 - NACK generation (slave mode)

Source

pub fn stop(&self) -> STOP_R

Bit 14 - Stop generation (master mode)

Source

pub fn start(&self) -> START_R

Bit 13 - Start generation

Source

pub fn head10r(&self) -> HEAD10R_R

Bit 12 - 10-bit address header only read direction (master receiver mode)

Source

pub fn add10(&self) -> ADD10_R

Bit 11 - 10-bit addressing mode (master mode)

Source

pub fn rd_wrn(&self) -> RD_WRN_R

Bit 10 - Transfer direction (master mode)

Source

pub fn sadd(&self) -> SADD_R

Bits 0:9 - Slave address bit (master mode)

Source§

impl R<bool, OA1MODE_A>

Source

pub fn variant(&self) -> OA1MODE_A

Get enumerated values variant

Source

pub fn is_bit7(&self) -> bool

Checks if the value of the field is BIT7

Source

pub fn is_bit10(&self) -> bool

Checks if the value of the field is BIT10

Source§

impl R<bool, OA1EN_A>

Source

pub fn variant(&self) -> OA1EN_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<u32, Reg<u32, _OAR1>>

Source

pub fn oa1(&self) -> OA1_R

Bits 0:9 - Interface address

Source

pub fn oa1mode(&self) -> OA1MODE_R

Bit 10 - Own Address 1 10-bit mode

Source

pub fn oa1en(&self) -> OA1EN_R

Bit 15 - Own Address 1 enable

Source§

impl R<u8, OA2MSK_A>

Source

pub fn variant(&self) -> OA2MSK_A

Get enumerated values variant

Source

pub fn is_no_mask(&self) -> bool

Checks if the value of the field is NOMASK

Source

pub fn is_mask1(&self) -> bool

Checks if the value of the field is MASK1

Source

pub fn is_mask2(&self) -> bool

Checks if the value of the field is MASK2

Source

pub fn is_mask3(&self) -> bool

Checks if the value of the field is MASK3

Source

pub fn is_mask4(&self) -> bool

Checks if the value of the field is MASK4

Source

pub fn is_mask5(&self) -> bool

Checks if the value of the field is MASK5

Source

pub fn is_mask6(&self) -> bool

Checks if the value of the field is MASK6

Source

pub fn is_mask7(&self) -> bool

Checks if the value of the field is MASK7

Source§

impl R<bool, OA2EN_A>

Source

pub fn variant(&self) -> OA2EN_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<u32, Reg<u32, _OAR2>>

Source

pub fn oa2(&self) -> OA2_R

Bits 1:7 - Interface address

Source

pub fn oa2msk(&self) -> OA2MSK_R

Bits 8:10 - Own Address 2 masks

Source

pub fn oa2en(&self) -> OA2EN_R

Bit 15 - Own Address 2 enable

Source§

impl R<u32, Reg<u32, _TIMINGR>>

Source

pub fn scll(&self) -> SCLL_R

Bits 0:7 - SCL low period (master mode)

Source

pub fn sclh(&self) -> SCLH_R

Bits 8:15 - SCL high period (master mode)

Source

pub fn sdadel(&self) -> SDADEL_R

Bits 16:19 - Data hold time

Source

pub fn scldel(&self) -> SCLDEL_R

Bits 20:23 - Data setup time

Source

pub fn presc(&self) -> PRESC_R

Bits 28:31 - Timing prescaler

Source§

impl R<bool, TIDLE_A>

Source

pub fn variant(&self) -> TIDLE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, TIMOUTEN_A>

Source

pub fn variant(&self) -> TIMOUTEN_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, TEXTEN_A>

Source

pub fn variant(&self) -> TEXTEN_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<u32, Reg<u32, _TIMEOUTR>>

Source

pub fn timeouta(&self) -> TIMEOUTA_R

Bits 0:11 - Bus timeout A

Source

pub fn tidle(&self) -> TIDLE_R

Bit 12 - Idle clock timeout detection

Source

pub fn timouten(&self) -> TIMOUTEN_R

Bit 15 - Clock timeout enable

Source

pub fn timeoutb(&self) -> TIMEOUTB_R

Bits 16:27 - Bus timeout B

Source

pub fn texten(&self) -> TEXTEN_R

Bit 31 - Extended clock timeout enable

Source§

impl R<bool, DIR_A>

Source

pub fn variant(&self) -> DIR_A

Get enumerated values variant

Source

pub fn is_write(&self) -> bool

Checks if the value of the field is WRITE

Source

pub fn is_read(&self) -> bool

Checks if the value of the field is READ

Source§

impl R<bool, BUSY_A>

Source

pub fn variant(&self) -> BUSY_A

Get enumerated values variant

Source

pub fn is_not_busy(&self) -> bool

Checks if the value of the field is NOTBUSY

Source

pub fn is_busy(&self) -> bool

Checks if the value of the field is BUSY

Source§

impl R<bool, ALERT_A>

Source

pub fn variant(&self) -> ALERT_A

Get enumerated values variant

Source

pub fn is_no_alert(&self) -> bool

Checks if the value of the field is NOALERT

Source

pub fn is_alert(&self) -> bool

Checks if the value of the field is ALERT

Source§

impl R<bool, TIMEOUT_A>

Source

pub fn variant(&self) -> TIMEOUT_A

Get enumerated values variant

Source

pub fn is_no_timeout(&self) -> bool

Checks if the value of the field is NOTIMEOUT

Source

pub fn is_timeout(&self) -> bool

Checks if the value of the field is TIMEOUT

Source§

impl R<bool, PECERR_A>

Source

pub fn variant(&self) -> PECERR_A

Get enumerated values variant

Source

pub fn is_match_(&self) -> bool

Checks if the value of the field is MATCH

Source

pub fn is_no_match(&self) -> bool

Checks if the value of the field is NOMATCH

Source§

impl R<bool, OVR_A>

Source

pub fn variant(&self) -> OVR_A

Get enumerated values variant

Source

pub fn is_no_overrun(&self) -> bool

Checks if the value of the field is NOOVERRUN

Source

pub fn is_overrun(&self) -> bool

Checks if the value of the field is OVERRUN

Source§

impl R<bool, ARLO_A>

Source

pub fn variant(&self) -> ARLO_A

Get enumerated values variant

Source

pub fn is_not_lost(&self) -> bool

Checks if the value of the field is NOTLOST

Source

pub fn is_lost(&self) -> bool

Checks if the value of the field is LOST

Source§

impl R<bool, BERR_A>

Source

pub fn variant(&self) -> BERR_A

Get enumerated values variant

Source

pub fn is_no_error(&self) -> bool

Checks if the value of the field is NOERROR

Source

pub fn is_error(&self) -> bool

Checks if the value of the field is ERROR

Source§

impl R<bool, TCR_A>

Source

pub fn variant(&self) -> TCR_A

Get enumerated values variant

Source

pub fn is_not_complete(&self) -> bool

Checks if the value of the field is NOTCOMPLETE

Source

pub fn is_complete(&self) -> bool

Checks if the value of the field is COMPLETE

Source§

impl R<bool, TC_A>

Source

pub fn variant(&self) -> TC_A

Get enumerated values variant

Source

pub fn is_not_complete(&self) -> bool

Checks if the value of the field is NOTCOMPLETE

Source

pub fn is_complete(&self) -> bool

Checks if the value of the field is COMPLETE

Source§

impl R<bool, STOPF_A>

Source

pub fn variant(&self) -> STOPF_A

Get enumerated values variant

Source

pub fn is_no_stop(&self) -> bool

Checks if the value of the field is NOSTOP

Source

pub fn is_stop(&self) -> bool

Checks if the value of the field is STOP

Source§

impl R<bool, NACKF_A>

Source

pub fn variant(&self) -> NACKF_A

Get enumerated values variant

Source

pub fn is_no_nack(&self) -> bool

Checks if the value of the field is NONACK

Source

pub fn is_nack(&self) -> bool

Checks if the value of the field is NACK

Source§

impl R<bool, ADDR_A>

Source

pub fn variant(&self) -> ADDR_A

Get enumerated values variant

Source

pub fn is_not_match(&self) -> bool

Checks if the value of the field is NOTMATCH

Source

pub fn is_match_(&self) -> bool

Checks if the value of the field is MATCH

Source§

impl R<bool, RXNE_A>

Source

pub fn variant(&self) -> RXNE_A

Get enumerated values variant

Source

pub fn is_empty(&self) -> bool

Checks if the value of the field is EMPTY

Source

pub fn is_not_empty(&self) -> bool

Checks if the value of the field is NOTEMPTY

Source§

impl R<bool, TXIS_A>

Source

pub fn variant(&self) -> TXIS_A

Get enumerated values variant

Source

pub fn is_not_empty(&self) -> bool

Checks if the value of the field is NOTEMPTY

Source

pub fn is_empty(&self) -> bool

Checks if the value of the field is EMPTY

Source§

impl R<bool, TXE_A>

Source

pub fn variant(&self) -> TXE_A

Get enumerated values variant

Source

pub fn is_not_empty(&self) -> bool

Checks if the value of the field is NOTEMPTY

Source

pub fn is_empty(&self) -> bool

Checks if the value of the field is EMPTY

Source§

impl R<u32, Reg<u32, _ISR>>

Source

pub fn addcode(&self) -> ADDCODE_R

Bits 17:23 - Address match code (Slave mode)

Source

pub fn dir(&self) -> DIR_R

Bit 16 - Transfer direction (Slave mode)

Source

pub fn busy(&self) -> BUSY_R

Bit 15 - Bus busy

Source

pub fn alert(&self) -> ALERT_R

Bit 13 - SMBus alert

Source

pub fn timeout(&self) -> TIMEOUT_R

Bit 12 - Timeout or t_low detection flag

Source

pub fn pecerr(&self) -> PECERR_R

Bit 11 - PEC Error in reception

Source

pub fn ovr(&self) -> OVR_R

Bit 10 - Overrun/Underrun (slave mode)

Source

pub fn arlo(&self) -> ARLO_R

Bit 9 - Arbitration lost

Source

pub fn berr(&self) -> BERR_R

Bit 8 - Bus error

Source

pub fn tcr(&self) -> TCR_R

Bit 7 - Transfer Complete Reload

Source

pub fn tc(&self) -> TC_R

Bit 6 - Transfer Complete (master mode)

Source

pub fn stopf(&self) -> STOPF_R

Bit 5 - Stop detection flag

Source

pub fn nackf(&self) -> NACKF_R

Bit 4 - Not acknowledge received flag

Source

pub fn addr(&self) -> ADDR_R

Bit 3 - Address matched (slave mode)

Source

pub fn rxne(&self) -> RXNE_R

Bit 2 - Receive data register not empty (receivers)

Source

pub fn txis(&self) -> TXIS_R

Bit 1 - Transmit interrupt status (transmitters)

Source

pub fn txe(&self) -> TXE_R

Bit 0 - Transmit data register empty (transmitters)

Source§

impl R<u32, Reg<u32, _PECR>>

Source

pub fn pec(&self) -> PEC_R

Bits 0:7 - Packet error checking register

Source§

impl R<u32, Reg<u32, _RXDR>>

Source

pub fn rxdata(&self) -> RXDATA_R

Bits 0:7 - 8-bit receive data

Source§

impl R<u32, Reg<u32, _TXDR>>

Source

pub fn txdata(&self) -> TXDATA_R

Bits 0:7 - 8-bit transmit data

Source§

impl R<u32, Reg<u32, _ACR>>

Source

pub fn latency(&self) -> LATENCY_R

Bits 0:2 - Latency

Source

pub fn prften(&self) -> PRFTEN_R

Bit 8 - Prefetch enable

Source

pub fn icen(&self) -> ICEN_R

Bit 9 - Instruction cache enable

Source

pub fn dcen(&self) -> DCEN_R

Bit 10 - Data cache enable

Source

pub fn icrst(&self) -> ICRST_R

Bit 11 - Instruction cache reset

Source

pub fn dcrst(&self) -> DCRST_R

Bit 12 - Data cache reset

Source

pub fn run_pd(&self) -> RUN_PD_R

Bit 13 - Flash Power-down mode during Low-power run mode

Source

pub fn sleep_pd(&self) -> SLEEP_PD_R

Bit 14 - Flash Power-down mode during Low-power sleep mode

Source§

impl R<u32, Reg<u32, _SR>>

Source

pub fn eop(&self) -> EOP_R

Bit 0 - End of operation

Source

pub fn operr(&self) -> OPERR_R

Bit 1 - Operation error

Source

pub fn progerr(&self) -> PROGERR_R

Bit 3 - Programming error

Source

pub fn wrperr(&self) -> WRPERR_R

Bit 4 - Write protected error

Source

pub fn pgaerr(&self) -> PGAERR_R

Bit 5 - Programming alignment error

Source

pub fn sizerr(&self) -> SIZERR_R

Bit 6 - Size error

Source

pub fn pgserr(&self) -> PGSERR_R

Bit 7 - Programming sequence error

Source

pub fn miserr(&self) -> MISERR_R

Bit 8 - Fast programming data miss error

Source

pub fn fasterr(&self) -> FASTERR_R

Bit 9 - Fast programming error

Source

pub fn rderr(&self) -> RDERR_R

Bit 14 - PCROP read error

Source

pub fn optverr(&self) -> OPTVERR_R

Bit 15 - Option validity error

Source

pub fn bsy(&self) -> BSY_R

Bit 16 - Busy

Source§

impl R<u32, Reg<u32, _CR>>

Source

pub fn pg(&self) -> PG_R

Bit 0 - Programming

Source

pub fn per(&self) -> PER_R

Bit 1 - Page erase

Source

pub fn mer1(&self) -> MER1_R

Bit 2 - Bank 1 Mass erase

Source

pub fn pnb(&self) -> PNB_R

Bits 3:10 - Page number

Source

pub fn bker(&self) -> BKER_R

Bit 11 - Bank erase

Source

pub fn mer2(&self) -> MER2_R

Bit 15 - Bank 2 Mass erase

Source

pub fn start(&self) -> START_R

Bit 16 - Start

Source

pub fn optstrt(&self) -> OPTSTRT_R

Bit 17 - Options modification start

Source

pub fn fstpg(&self) -> FSTPG_R

Bit 18 - Fast programming

Source

pub fn eopie(&self) -> EOPIE_R

Bit 24 - End of operation interrupt enable

Source

pub fn errie(&self) -> ERRIE_R

Bit 25 - Error interrupt enable

Source

pub fn rderrie(&self) -> RDERRIE_R

Bit 26 - PCROP read error interrupt enable

Source

pub fn obl_launch(&self) -> OBL_LAUNCH_R

Bit 27 - Force the option byte loading

Source

pub fn optlock(&self) -> OPTLOCK_R

Bit 30 - Options Lock

Source

pub fn lock(&self) -> LOCK_R

Bit 31 - FLASH_CR Lock

Source§

impl R<u32, Reg<u32, _ECCR>>

Source

pub fn addr_ecc(&self) -> ADDR_ECC_R

Bits 0:18 - ECC fail address

Source

pub fn bk_ecc(&self) -> BK_ECC_R

Bit 19 - ECC fail bank

Source

pub fn sysf_ecc(&self) -> SYSF_ECC_R

Bit 20 - System Flash ECC fail

Source

pub fn eccie(&self) -> ECCIE_R

Bit 24 - ECC correction interrupt enable

Source

pub fn eccc(&self) -> ECCC_R

Bit 30 - ECC correction

Source

pub fn eccd(&self) -> ECCD_R

Bit 31 - ECC detection

Source§

impl R<u32, Reg<u32, _OPTR>>

Source

pub fn rdp(&self) -> RDP_R

Bits 0:7 - Read protection level

Source

pub fn bor_lev(&self) -> BOR_LEV_R

Bits 8:10 - BOR reset Level

Source

pub fn n_rst_stop(&self) -> NRST_STOP_R

Bit 12 - nRST_STOP

Source

pub fn n_rst_stdby(&self) -> NRST_STDBY_R

Bit 13 - nRST_STDBY

Source

pub fn idwg_sw(&self) -> IDWG_SW_R

Bit 16 - Independent watchdog selection

Source

pub fn iwdg_stop(&self) -> IWDG_STOP_R

Bit 17 - Independent watchdog counter freeze in Stop mode

Source

pub fn iwdg_stdby(&self) -> IWDG_STDBY_R

Bit 18 - Independent watchdog counter freeze in Standby mode

Source

pub fn wwdg_sw(&self) -> WWDG_SW_R

Bit 19 - Window watchdog selection

Source

pub fn bfb2(&self) -> BFB2_R

Bit 20 - Dual-bank boot

Source

pub fn dualbank(&self) -> DUALBANK_R

Bit 21 - Dual-Bank on 512 KB or 256 KB Flash memory devices

Source

pub fn n_boot1(&self) -> NBOOT1_R

Bit 23 - Boot configuration

Source

pub fn sram2_pe(&self) -> SRAM2_PE_R

Bit 24 - SRAM2 parity check enable

Source

pub fn sram2_rst(&self) -> SRAM2_RST_R

Bit 25 - SRAM2 Erase when system reset

Source

pub fn n_swboot0(&self) -> NSWBOOT0_R

Bit 26 - Software BOOT0

Source

pub fn n_boot0(&self) -> NBOOT0_R

Bit 27 - nBOOT0 option bit

Source§

impl R<u32, Reg<u32, _PCROP1SR>>

Source

pub fn pcrop1_strt(&self) -> PCROP1_STRT_R

Bits 0:15 - Bank 1 PCROP area start offset

Source§

impl R<u32, Reg<u32, _PCROP1ER>>

Source

pub fn pcrop1_end(&self) -> PCROP1_END_R

Bits 0:15 - Bank 1 PCROP area end offset

Source

pub fn pcrop_rdp(&self) -> PCROP_RDP_R

Bit 31 - PCROP area preserved when RDP level decreased

Source§

impl R<u32, Reg<u32, _WRP1AR>>

Source

pub fn wrp1a_strt(&self) -> WRP1A_STRT_R

Bits 0:7 - Bank 1 WRP first area tart offset

Source

pub fn wrp1a_end(&self) -> WRP1A_END_R

Bits 16:23 - Bank 1 WRP first area A end offset

Source§

impl R<u32, Reg<u32, _WRP1BR>>

Source

pub fn wrp1b_strt(&self) -> WRP1B_STRT_R

Bits 16:23 - Bank 1 WRP second area B end offset

Source

pub fn wrp1b_end(&self) -> WRP1B_END_R

Bits 0:7 - Bank 1 WRP second area B start offset

Source§

impl R<u32, Reg<u32, _PCROP2SR>>

Source

pub fn pcrop2_strt(&self) -> PCROP2_STRT_R

Bits 0:15 - Bank 2 PCROP area start offset

Source§

impl R<u32, Reg<u32, _PCROP2ER>>

Source

pub fn pcrop2_end(&self) -> PCROP2_END_R

Bits 0:15 - Bank 2 PCROP area end offset

Source§

impl R<u32, Reg<u32, _WRP2AR>>

Source

pub fn wrp2a_strt(&self) -> WRP2A_STRT_R

Bits 0:7 - Bank 2 WRP first area A start offset

Source

pub fn wrp2a_end(&self) -> WRP2A_END_R

Bits 16:23 - Bank 2 WRP first area A end offset

Source§

impl R<u32, Reg<u32, _WRP2BR>>

Source

pub fn wrp2b_strt(&self) -> WRP2B_STRT_R

Bits 0:7 - Bank 2 WRP second area B start offset

Source

pub fn wrp2b_end(&self) -> WRP2B_END_R

Bits 16:23 - Bank 2 WRP second area B end offset

Source§

impl R<u8, MSIRANGE_A>

Source

pub fn variant(&self) -> Variant<u8, MSIRANGE_A>

Get enumerated values variant

Source

pub fn is_range100k(&self) -> bool

Checks if the value of the field is RANGE100K

Source

pub fn is_range200k(&self) -> bool

Checks if the value of the field is RANGE200K

Source

pub fn is_range400k(&self) -> bool

Checks if the value of the field is RANGE400K

Source

pub fn is_range800k(&self) -> bool

Checks if the value of the field is RANGE800K

Source

pub fn is_range1m(&self) -> bool

Checks if the value of the field is RANGE1M

Source

pub fn is_range2m(&self) -> bool

Checks if the value of the field is RANGE2M

Source

pub fn is_range4m(&self) -> bool

Checks if the value of the field is RANGE4M

Source

pub fn is_range8m(&self) -> bool

Checks if the value of the field is RANGE8M

Source

pub fn is_range16m(&self) -> bool

Checks if the value of the field is RANGE16M

Source

pub fn is_range24m(&self) -> bool

Checks if the value of the field is RANGE24M

Source

pub fn is_range32m(&self) -> bool

Checks if the value of the field is RANGE32M

Source

pub fn is_range48m(&self) -> bool

Checks if the value of the field is RANGE48M

Source§

impl R<u32, Reg<u32, _CR>>

Source

pub fn pllsai1rdy(&self) -> PLLSAI1RDY_R

Bit 27 - SAI1 PLL clock ready flag

Source

pub fn pllsai1on(&self) -> PLLSAI1ON_R

Bit 26 - SAI1 PLL enable

Source

pub fn pllrdy(&self) -> PLLRDY_R

Bit 25 - Main PLL clock ready flag

Source

pub fn pllon(&self) -> PLLON_R

Bit 24 - Main PLL enable

Source

pub fn hsebyp(&self) -> HSEBYP_R

Bit 18 - HSE crystal oscillator bypass

Source

pub fn hserdy(&self) -> HSERDY_R

Bit 17 - HSE clock ready flag

Source

pub fn hseon(&self) -> HSEON_R

Bit 16 - HSE clock enable

Source

pub fn hsiasfs(&self) -> HSIASFS_R

Bit 11 - HSI automatic start from Stop

Source

pub fn hsirdy(&self) -> HSIRDY_R

Bit 10 - HSI clock ready flag

Source

pub fn hsikeron(&self) -> HSIKERON_R

Bit 9 - HSI always enable for peripheral kernels

Source

pub fn hsion(&self) -> HSION_R

Bit 8 - HSI clock enable

Source

pub fn msirange(&self) -> MSIRANGE_R

Bits 4:7 - MSI clock ranges

Source

pub fn msipllen(&self) -> MSIPLLEN_R

Bit 2 - MSI clock PLL enable

Source

pub fn msirdy(&self) -> MSIRDY_R

Bit 1 - MSI clock ready flag

Source

pub fn msion(&self) -> MSION_R

Bit 0 - MSI clock enable

Source§

impl R<u32, Reg<u32, _ICSCR>>

Source

pub fn hsitrim(&self) -> HSITRIM_R

Bits 24:28 - HSI clock trimming

Source

pub fn hsical(&self) -> HSICAL_R

Bits 16:23 - HSI clock calibration

Source

pub fn msitrim(&self) -> MSITRIM_R

Bits 8:15 - MSI clock trimming

Source

pub fn msical(&self) -> MSICAL_R

Bits 0:7 - MSI clock calibration

Source§

impl R<u32, Reg<u32, _CFGR>>

Source

pub fn mcopre(&self) -> MCOPRE_R

Bits 28:30 - Microcontroller clock output prescaler

Source

pub fn mcosel(&self) -> MCOSEL_R

Bits 24:26 - Microcontroller clock output

Source

pub fn stopwuck(&self) -> STOPWUCK_R

Bit 15 - Wakeup from Stop and CSS backup clock selection

Source

pub fn ppre2(&self) -> PPRE2_R

Bits 11:13 - APB high-speed prescaler (APB2)

Source

pub fn ppre1(&self) -> PPRE1_R

Bits 8:10 - PB low-speed prescaler (APB1)

Source

pub fn hpre(&self) -> HPRE_R

Bits 4:7 - AHB prescaler

Source

pub fn sws(&self) -> SWS_R

Bits 2:3 - System clock switch status

Source

pub fn sw(&self) -> SW_R

Bits 0:1 - System clock switch

Source§

impl R<u32, Reg<u32, _PLLCFGR>>

Source

pub fn pllr(&self) -> PLLR_R

Bits 25:26 - Main PLL division factor for PLLCLK (system clock)

Source

pub fn pllren(&self) -> PLLREN_R

Bit 24 - Main PLL PLLCLK output enable

Source

pub fn pllq(&self) -> PLLQ_R

Bits 21:22 - Main PLL division factor for PLLUSB1CLK(48 MHz clock)

Source

pub fn pllqen(&self) -> PLLQEN_R

Bit 20 - Main PLL PLLUSB1CLK output enable

Source

pub fn pllp(&self) -> PLLP_R

Bit 17 - Main PLL division factor for PLLSAI3CLK (SAI1 and SAI2 clock)

Source

pub fn pllpen(&self) -> PLLPEN_R

Bit 16 - Main PLL PLLSAI3CLK output enable

Source

pub fn plln(&self) -> PLLN_R

Bits 8:14 - Main PLL multiplication factor for VCO

Source

pub fn pllm(&self) -> PLLM_R

Bits 4:6 - Division factor for the main PLL and audio PLL (PLLSAI1 and PLLSAI2) input clock

Source

pub fn pllsrc(&self) -> PLLSRC_R

Bits 0:1 - Main PLL, PLLSAI1 and PLLSAI2 entry clock source

Source

pub fn pllpdiv(&self) -> PLLPDIV_R

Bits 27:31 - Main PLL division factor for PLLSAI2CLK

Source§

impl R<u32, Reg<u32, _PLLSAI1CFGR>>

Source

pub fn pllsai1r(&self) -> PLLSAI1R_R

Bits 25:26 - PLLSAI1 division factor for PLLADC1CLK (ADC clock)

Source

pub fn pllsai1ren(&self) -> PLLSAI1REN_R

Bit 24 - PLLSAI1 PLLADC1CLK output enable

Source

pub fn pllsai1q(&self) -> PLLSAI1Q_R

Bits 21:22 - SAI1PLL division factor for PLLUSB2CLK (48 MHz clock)

Source

pub fn pllsai1qen(&self) -> PLLSAI1QEN_R

Bit 20 - SAI1PLL PLLUSB2CLK output enable

Source

pub fn pllsai1p(&self) -> PLLSAI1P_R

Bit 17 - SAI1PLL division factor for PLLSAI1CLK (SAI1 or SAI2 clock)

Source

pub fn pllsai1pen(&self) -> PLLSAI1PEN_R

Bit 16 - SAI1PLL PLLSAI1CLK output enable

Source

pub fn pllsai1n(&self) -> PLLSAI1N_R

Bits 8:14 - SAI1PLL multiplication factor for VCO

Source

pub fn pllsai1pdiv(&self) -> PLLSAI1PDIV_R

Bits 27:31 - PLLSAI1 division factor for PLLSAI1CLK

Source§

impl R<u32, Reg<u32, _CIER>>

Source

pub fn lsecssie(&self) -> LSECSSIE_R

Bit 9 - LSE clock security system interrupt enable

Source

pub fn pllsai1rdyie(&self) -> PLLSAI1RDYIE_R

Bit 6 - PLLSAI1 ready interrupt enable

Source

pub fn pllrdyie(&self) -> PLLRDYIE_R

Bit 5 - PLL ready interrupt enable

Source

pub fn hserdyie(&self) -> HSERDYIE_R

Bit 4 - HSE ready interrupt enable

Source

pub fn hsirdyie(&self) -> HSIRDYIE_R

Bit 3 - HSI ready interrupt enable

Source

pub fn msirdyie(&self) -> MSIRDYIE_R

Bit 2 - MSI ready interrupt enable

Source

pub fn lserdyie(&self) -> LSERDYIE_R

Bit 1 - LSE ready interrupt enable

Source

pub fn lsirdyie(&self) -> LSIRDYIE_R

Bit 0 - LSI ready interrupt enable

Source

pub fn hsi48rdyie(&self) -> HSI48RDYIE_R

Bit 10 - HSI48 ready interrupt enable

Source§

impl R<u32, Reg<u32, _CIFR>>

Source

pub fn lsecssf(&self) -> LSECSSF_R

Bit 9 - LSE Clock security system interrupt flag

Source

pub fn cssf(&self) -> CSSF_R

Bit 8 - Clock security system interrupt flag

Source

pub fn pllsai1rdyf(&self) -> PLLSAI1RDYF_R

Bit 6 - PLLSAI1 ready interrupt flag

Source

pub fn pllrdyf(&self) -> PLLRDYF_R

Bit 5 - PLL ready interrupt flag

Source

pub fn hserdyf(&self) -> HSERDYF_R

Bit 4 - HSE ready interrupt flag

Source

pub fn hsirdyf(&self) -> HSIRDYF_R

Bit 3 - HSI ready interrupt flag

Source

pub fn msirdyf(&self) -> MSIRDYF_R

Bit 2 - MSI ready interrupt flag

Source

pub fn lserdyf(&self) -> LSERDYF_R

Bit 1 - LSE ready interrupt flag

Source

pub fn lsirdyf(&self) -> LSIRDYF_R

Bit 0 - LSI ready interrupt flag

Source

pub fn hsi48rdyf(&self) -> HSI48RDYF_R

Bit 10 - HSI48 ready interrupt flag

Source§

impl R<u32, Reg<u32, _AHB1RSTR>>

Source

pub fn tscrst(&self) -> TSCRST_R

Bit 16 - Touch Sensing Controller reset

Source

pub fn crcrst(&self) -> CRCRST_R

Bit 11 - CRC reset

Source

pub fn flashrst(&self) -> FLASHRST_R

Bit 8 - Flash memory interface reset

Source

pub fn dma2rst(&self) -> DMA2RST_R

Bit 1 - DMA2 reset

Source

pub fn dma1rst(&self) -> DMA1RST_R

Bit 0 - DMA1 reset

Source§

impl R<u32, Reg<u32, _AHB2RSTR>>

Source

pub fn rngrst(&self) -> RNGRST_R

Bit 18 - Random number generator reset

Source

pub fn aesrst(&self) -> AESRST_R

Bit 16 - AES hardware accelerator reset

Source

pub fn adcrst(&self) -> ADCRST_R

Bit 13 - ADC reset

Source

pub fn gpiohrst(&self) -> GPIOHRST_R

Bit 7 - IO port H reset

Source

pub fn gpioerst(&self) -> GPIOERST_R

Bit 4 - IO port E reset

Source

pub fn gpiodrst(&self) -> GPIODRST_R

Bit 3 - IO port D reset

Source

pub fn gpiocrst(&self) -> GPIOCRST_R

Bit 2 - IO port C reset

Source

pub fn gpiobrst(&self) -> GPIOBRST_R

Bit 1 - IO port B reset

Source

pub fn gpioarst(&self) -> GPIOARST_R

Bit 0 - IO port A reset

Source§

impl R<u32, Reg<u32, _AHB3RSTR>>

Source

pub fn qspirst(&self) -> QSPIRST_R

Bit 8 - Quad SPI memory interface reset

Source§

impl R<u32, Reg<u32, _APB1RSTR1>>

Source

pub fn lptim1rst(&self) -> LPTIM1RST_R

Bit 31 - Low Power Timer 1 reset

Source

pub fn opamprst(&self) -> OPAMPRST_R

Bit 30 - OPAMP interface reset

Source

pub fn dac1rst(&self) -> DAC1RST_R

Bit 29 - DAC1 interface reset

Source

pub fn pwrrst(&self) -> PWRRST_R

Bit 28 - Power interface reset

Source

pub fn can1rst(&self) -> CAN1RST_R

Bit 25 - CAN1 reset

Source

pub fn i2c3rst(&self) -> I2C3RST_R

Bit 23 - I2C3 reset

Source

pub fn i2c1rst(&self) -> I2C1RST_R

Bit 21 - I2C1 reset

Source

pub fn usart3rst(&self) -> USART3RST_R

Bit 18 - USART3 reset

Source

pub fn usart2rst(&self) -> USART2RST_R

Bit 17 - USART2 reset

Source

pub fn spi3rst(&self) -> SPI3RST_R

Bit 15 - SPI3 reset

Source

pub fn spi2rst(&self) -> SPI2RST_R

Bit 14 - SPI2 reset

Source

pub fn lcdrst(&self) -> LCDRST_R

Bit 9 - LCD interface reset

Source

pub fn tim7rst(&self) -> TIM7RST_R

Bit 5 - TIM7 timer reset

Source

pub fn tim6rst(&self) -> TIM6RST_R

Bit 4 - TIM6 timer reset

Source

pub fn tim2rst(&self) -> TIM2RST_R

Bit 0 - TIM2 timer reset

Source

pub fn usart4rst(&self) -> USART4RST_R

Bit 19 - USART4 reset.

Source

pub fn i2c2rst(&self) -> I2C2RST_R

Bit 22 - I2C2 reset

Source

pub fn crsrst(&self) -> CRSRST_R

Bit 24 - CRS reset

Source

pub fn usbfsrst(&self) -> USBFSRST_R

Bit 26 - USB FS reset

Source§

impl R<u32, Reg<u32, _APB1RSTR2>>

Source

pub fn lptim2rst(&self) -> LPTIM2RST_R

Bit 5 - Low-power timer 2 reset

Source

pub fn swpmi1rst(&self) -> SWPMI1RST_R

Bit 2 - Single wire protocol reset

Source

pub fn lpuart1rst(&self) -> LPUART1RST_R

Bit 0 - Low-power UART 1 reset

Source

pub fn i2c4rst(&self) -> I2C4RST_R

Bit 1 - I2C4 reset

Source§

impl R<u32, Reg<u32, _APB2RSTR>>

Source

pub fn sai1rst(&self) -> SAI1RST_R

Bit 21 - Serial audio interface 1 (SAI1) reset

Source

pub fn tim16rst(&self) -> TIM16RST_R

Bit 17 - TIM16 timer reset

Source

pub fn tim15rst(&self) -> TIM15RST_R

Bit 16 - TIM15 timer reset

Source

pub fn usart1rst(&self) -> USART1RST_R

Bit 14 - USART1 reset

Source

pub fn spi1rst(&self) -> SPI1RST_R

Bit 12 - SPI1 reset

Source

pub fn tim1rst(&self) -> TIM1RST_R

Bit 11 - TIM1 timer reset

Source

pub fn sdmmcrst(&self) -> SDMMCRST_R

Bit 10 - SDMMC reset

Source

pub fn syscfgrst(&self) -> SYSCFGRST_R

Bit 0 - System configuration (SYSCFG) reset

Source

pub fn dfsdmrst(&self) -> DFSDMRST_R

Bit 24 - DFSDM filter reset

Source§

impl R<u32, Reg<u32, _AHB1ENR>>

Source

pub fn tscen(&self) -> TSCEN_R

Bit 16 - Touch Sensing Controller clock enable

Source

pub fn crcen(&self) -> CRCEN_R

Bit 12 - CRC clock enable

Source

pub fn flashen(&self) -> FLASHEN_R

Bit 8 - Flash memory interface clock enable

Source

pub fn dma2en(&self) -> DMA2EN_R

Bit 1 - DMA2 clock enable

Source

pub fn dma1en(&self) -> DMA1EN_R

Bit 0 - DMA1 clock enable

Source§

impl R<u32, Reg<u32, _AHB2ENR>>

Source

pub fn rngen(&self) -> RNGEN_R

Bit 18 - Random Number Generator clock enable

Source

pub fn aesen(&self) -> AESEN_R

Bit 16 - AES accelerator clock enable

Source

pub fn adcen(&self) -> ADCEN_R

Bit 13 - ADC clock enable

Source

pub fn gpiohen(&self) -> GPIOHEN_R

Bit 7 - IO port H clock enable

Source

pub fn gpioeen(&self) -> GPIOEEN_R

Bit 4 - IO port E clock enable

Source

pub fn gpioden(&self) -> GPIODEN_R

Bit 3 - IO port D clock enable

Source

pub fn gpiocen(&self) -> GPIOCEN_R

Bit 2 - IO port C clock enable

Source

pub fn gpioben(&self) -> GPIOBEN_R

Bit 1 - IO port B clock enable

Source

pub fn gpioaen(&self) -> GPIOAEN_R

Bit 0 - IO port A clock enable

Source§

impl R<u32, Reg<u32, _AHB3ENR>>

Source

pub fn qspien(&self) -> QSPIEN_R

Bit 8 - QSPIEN

Source§

impl R<u32, Reg<u32, _APB1ENR1>>

Source

pub fn lptim1en(&self) -> LPTIM1EN_R

Bit 31 - Low power timer 1 clock enable

Source

pub fn opampen(&self) -> OPAMPEN_R

Bit 30 - OPAMP interface clock enable

Source

pub fn dac1en(&self) -> DAC1EN_R

Bit 29 - DAC1 interface clock enable

Source

pub fn pwren(&self) -> PWREN_R

Bit 28 - Power interface clock enable

Source

pub fn can1en(&self) -> CAN1EN_R

Bit 25 - CAN1 clock enable

Source

pub fn i2c3en(&self) -> I2C3EN_R

Bit 23 - I2C3 clock enable

Source

pub fn i2c1en(&self) -> I2C1EN_R

Bit 21 - I2C1 clock enable

Source

pub fn usart1en(&self) -> USART1EN_R

Bit 18 - USART1 clock enable

Source

pub fn usart2en(&self) -> USART2EN_R

Bit 17 - USART2 clock enable

Source

pub fn spi3en(&self) -> SPI3EN_R

Bit 15 - SPI3 clock enable

Source

pub fn spi2en(&self) -> SPI2EN_R

Bit 14 - SPI peripheral 2 clock enable

Source

pub fn wwdgen(&self) -> WWDGEN_R

Bit 11 - Window watchdog clock enable

Source

pub fn lcden(&self) -> LCDEN_R

Bit 9 - LCD clock enable

Source

pub fn tim7en(&self) -> TIM7EN_R

Bit 5 - TIM7 timer clock enable

Source

pub fn tim6en(&self) -> TIM6EN_R

Bit 4 - TIM6 timer clock enable

Source

pub fn tim2en(&self) -> TIM2EN_R

Bit 0 - TIM2 timer clock enable

Source

pub fn rtcapben(&self) -> RTCAPBEN_R

Bit 10 - RTC APB clock enable

Source

pub fn crsen(&self) -> CRSEN_R

Bit 24 - CRS clock enable

Source

pub fn usbf(&self) -> USBF_R

Bit 26 - USB FS clock enable

Source

pub fn tim3en(&self) -> TIM3EN_R

Bit 1 - TIM3 timer clock enable

Source

pub fn uart4en(&self) -> UART4EN_R

Bit 19 - UART4 clock enable

Source

pub fn i2c2en(&self) -> I2C2EN_R

Bit 22 - I2C2 clock enable

Source§

impl R<u32, Reg<u32, _APB1ENR2>>

Source

pub fn lptim2en(&self) -> LPTIM2EN_R

Bit 5 - LPTIM2EN

Source

pub fn swpmi1en(&self) -> SWPMI1EN_R

Bit 2 - Single wire protocol clock enable

Source

pub fn lpuart1en(&self) -> LPUART1EN_R

Bit 0 - Low power UART 1 clock enable

Source

pub fn dfsdmen(&self) -> DFSDMEN_R

Bit 24 - DFSDMEN enable

Source

pub fn i2c4en(&self) -> I2C4EN_R

Bit 1 - I2C4 clock enable

Source§

impl R<u32, Reg<u32, _APB2ENR>>

Source

pub fn sai1en(&self) -> SAI1EN_R

Bit 21 - SAI1 clock enable

Source

pub fn tim16en(&self) -> TIM16EN_R

Bit 17 - TIM16 timer clock enable

Source

pub fn tim15en(&self) -> TIM15EN_R

Bit 16 - TIM15 timer clock enable

Source

pub fn usart1en(&self) -> USART1EN_R

Bit 14 - USART1clock enable

Source

pub fn spi1en(&self) -> SPI1EN_R

Bit 12 - SPI1 clock enable

Source

pub fn tim1en(&self) -> TIM1EN_R

Bit 11 - TIM1 timer clock enable

Source

pub fn sdmmcen(&self) -> SDMMCEN_R

Bit 10 - SDMMC clock enable

Source

pub fn firewallen(&self) -> FIREWALLEN_R

Bit 7 - Firewall clock enable

Source

pub fn syscfgen(&self) -> SYSCFGEN_R

Bit 0 - SYSCFG clock enable

Source§

impl R<u32, Reg<u32, _AHB1SMENR>>

Source

pub fn tscsmen(&self) -> TSCSMEN_R

Bit 16 - Touch Sensing Controller clocks enable during Sleep and Stop modes

Source

pub fn crcsmen(&self) -> CRCSMEN_R

Bit 12 - CRCSMEN

Source

pub fn sram1smen(&self) -> SRAM1SMEN_R

Bit 9 - SRAM1 interface clocks enable during Sleep and Stop modes

Source

pub fn flashsmen(&self) -> FLASHSMEN_R

Bit 8 - Flash memory interface clocks enable during Sleep and Stop modes

Source

pub fn dma2smen(&self) -> DMA2SMEN_R

Bit 1 - DMA2 clocks enable during Sleep and Stop modes

Source

pub fn dma1smen(&self) -> DMA1SMEN_R

Bit 0 - DMA1 clocks enable during Sleep and Stop modes

Source§

impl R<u32, Reg<u32, _AHB2SMENR>>

Source

pub fn rngsmen(&self) -> RNGSMEN_R

Bit 18 - Random Number Generator clocks enable during Sleep and Stop modes

Source

pub fn aessmen(&self) -> AESSMEN_R

Bit 16 - AES accelerator clocks enable during Sleep and Stop modes

Source

pub fn adcfssmen(&self) -> ADCFSSMEN_R

Bit 13 - ADC clocks enable during Sleep and Stop modes

Source

pub fn sram2smen(&self) -> SRAM2SMEN_R

Bit 9 - SRAM2 interface clocks enable during Sleep and Stop modes

Source

pub fn gpiohsmen(&self) -> GPIOHSMEN_R

Bit 7 - IO port H clocks enable during Sleep and Stop modes

Source

pub fn gpioesmen(&self) -> GPIOESMEN_R

Bit 4 - IO port E clocks enable during Sleep and Stop modes

Source

pub fn gpiodsmen(&self) -> GPIODSMEN_R

Bit 3 - IO port D clocks enable during Sleep and Stop modes

Source

pub fn gpiocsmen(&self) -> GPIOCSMEN_R

Bit 2 - IO port C clocks enable during Sleep and Stop modes

Source

pub fn gpiobsmen(&self) -> GPIOBSMEN_R

Bit 1 - IO port B clocks enable during Sleep and Stop modes

Source

pub fn gpioasmen(&self) -> GPIOASMEN_R

Bit 0 - IO port A clocks enable during Sleep and Stop modes

Source§

impl R<u32, Reg<u32, _AHB3SMENR>>

Source

pub fn qspismen(&self) -> QSPISMEN_R

Bit 8 - QSPISMEN

Source§

impl R<u32, Reg<u32, _APB1SMENR1>>

Source

pub fn lptim1smen(&self) -> LPTIM1SMEN_R

Bit 31 - Low power timer 1 clocks enable during Sleep and Stop modes

Source

pub fn opampsmen(&self) -> OPAMPSMEN_R

Bit 30 - OPAMP interface clocks enable during Sleep and Stop modes

Source

pub fn dac1smen(&self) -> DAC1SMEN_R

Bit 29 - DAC1 interface clocks enable during Sleep and Stop modes

Source

pub fn pwrsmen(&self) -> PWRSMEN_R

Bit 28 - Power interface clocks enable during Sleep and Stop modes

Source

pub fn can1smen(&self) -> CAN1SMEN_R

Bit 25 - CAN1 clocks enable during Sleep and Stop modes

Source

pub fn i2c3smen(&self) -> I2C3SMEN_R

Bit 23 - I2C3 clocks enable during Sleep and Stop modes

Source

pub fn i2c1smen(&self) -> I2C1SMEN_R

Bit 21 - I2C1 clocks enable during Sleep and Stop modes

Source

pub fn usart2smen(&self) -> USART2SMEN_R

Bit 18 - USART2 clocks enable during Sleep and Stop modes

Source

pub fn usart1smen(&self) -> USART1SMEN_R

Bit 17 - USART1 clocks enable during Sleep and Stop modes

Source

pub fn sp3smen(&self) -> SP3SMEN_R

Bit 15 - SPI3 clocks enable during Sleep and Stop modes

Source

pub fn spi2smen(&self) -> SPI2SMEN_R

Bit 14 - SPI2 clocks enable during Sleep and Stop modes

Source

pub fn wwdgsmen(&self) -> WWDGSMEN_R

Bit 11 - Window watchdog clocks enable during Sleep and Stop modes

Source

pub fn lcdsmen(&self) -> LCDSMEN_R

Bit 9 - LCD clocks enable during Sleep and Stop modes

Source

pub fn tim7smen(&self) -> TIM7SMEN_R

Bit 5 - TIM7 timer clocks enable during Sleep and Stop modes

Source

pub fn tim6smen(&self) -> TIM6SMEN_R

Bit 4 - TIM6 timer clocks enable during Sleep and Stop modes

Source

pub fn tim2smen(&self) -> TIM2SMEN_R

Bit 0 - TIM2 timer clocks enable during Sleep and Stop modes

Source

pub fn rtcapbsmen(&self) -> RTCAPBSMEN_R

Bit 10 - RTC APB clock enable during Sleep and Stop modes

Source

pub fn usbfssmen(&self) -> USBFSSMEN_R

Bit 26 - USB FS clock enable during Sleep and Stop modes

Source

pub fn i2c2smen(&self) -> I2C2SMEN_R

Bit 22 - I2C2 clocks enable during Sleep and Stop modes

Source

pub fn crssmen(&self) -> CRSSMEN_R

Bit 24 - CRS clock enable during Sleep and Stop modes

Source§

impl R<u32, Reg<u32, _APB1SMENR2>>

Source

pub fn lptim2smen(&self) -> LPTIM2SMEN_R

Bit 5 - LPTIM2SMEN

Source

pub fn swpmi1smen(&self) -> SWPMI1SMEN_R

Bit 2 - Single wire protocol clocks enable during Sleep and Stop modes

Source

pub fn lpuart1smen(&self) -> LPUART1SMEN_R

Bit 0 - Low power UART 1 clocks enable during Sleep and Stop modes

Source§

impl R<u32, Reg<u32, _APB2SMENR>>

Source

pub fn sai1smen(&self) -> SAI1SMEN_R

Bit 21 - SAI1 clocks enable during Sleep and Stop modes

Source

pub fn tim16smen(&self) -> TIM16SMEN_R

Bit 17 - TIM16 timer clocks enable during Sleep and Stop modes

Source

pub fn tim15smen(&self) -> TIM15SMEN_R

Bit 16 - TIM15 timer clocks enable during Sleep and Stop modes

Source

pub fn usart1smen(&self) -> USART1SMEN_R

Bit 14 - USART1clocks enable during Sleep and Stop modes

Source

pub fn spi1smen(&self) -> SPI1SMEN_R

Bit 12 - SPI1 clocks enable during Sleep and Stop modes

Source

pub fn tim1smen(&self) -> TIM1SMEN_R

Bit 11 - TIM1 timer clocks enable during Sleep and Stop modes

Source

pub fn sdmmcsmen(&self) -> SDMMCSMEN_R

Bit 10 - SDMMC clocks enable during Sleep and Stop modes

Source

pub fn syscfgsmen(&self) -> SYSCFGSMEN_R

Bit 0 - SYSCFG clocks enable during Sleep and Stop modes

Source§

impl R<u32, Reg<u32, _CCIPR>>

Source

pub fn swpmi1sel(&self) -> SWPMI1SEL_R

Bit 30 - SWPMI1 clock source selection

Source

pub fn adcsel(&self) -> ADCSEL_R

Bits 28:29 - ADCs clock source selection

Source

pub fn clk48sel(&self) -> CLK48SEL_R

Bits 26:27 - 48 MHz clock source selection

Source

pub fn sai1sel(&self) -> SAI1SEL_R

Bits 22:23 - SAI1 clock source selection

Source

pub fn lptim2sel(&self) -> LPTIM2SEL_R

Bits 20:21 - Low power timer 2 clock source selection

Source

pub fn lptim1sel(&self) -> LPTIM1SEL_R

Bits 18:19 - Low power timer 1 clock source selection

Source

pub fn i2c3sel(&self) -> I2C3SEL_R

Bits 16:17 - I2C3 clock source selection

Source

pub fn i2c1sel(&self) -> I2C1SEL_R

Bits 12:13 - I2C1 clock source selection

Source

pub fn lpuart1sel(&self) -> LPUART1SEL_R

Bits 10:11 - LPUART1 clock source selection

Source

pub fn usart2sel(&self) -> USART2SEL_R

Bits 2:3 - USART2 clock source selection

Source

pub fn usart1sel(&self) -> USART1SEL_R

Bits 0:1 - USART1 clock source selection

Source

pub fn usart4sel(&self) -> USART4SEL_R

Bits 6:7 - USART4 clock source selection

Source

pub fn usart3sel(&self) -> USART3SEL_R

Bits 4:5 - USART3 clock source selection

Source

pub fn i2c2sel(&self) -> I2C2SEL_R

Bits 14:15 - I2C2 clock source selection

Source§

impl R<u32, Reg<u32, _BDCR>>

Source

pub fn lscosel(&self) -> LSCOSEL_R

Bit 25 - Low speed clock output selection

Source

pub fn lscoen(&self) -> LSCOEN_R

Bit 24 - Low speed clock output enable

Source

pub fn bdrst(&self) -> BDRST_R

Bit 16 - Backup domain software reset

Source

pub fn rtcen(&self) -> RTCEN_R

Bit 15 - RTC clock enable

Source

pub fn rtcsel(&self) -> RTCSEL_R

Bits 8:9 - RTC clock source selection

Source

pub fn lsecssd(&self) -> LSECSSD_R

Bit 6 - LSECSSD

Source

pub fn lsecsson(&self) -> LSECSSON_R

Bit 5 - LSECSSON

Source

pub fn lsedrv(&self) -> LSEDRV_R

Bits 3:4 - SE oscillator drive capability

Source

pub fn lsebyp(&self) -> LSEBYP_R

Bit 2 - LSE oscillator bypass

Source

pub fn lserdy(&self) -> LSERDY_R

Bit 1 - LSE oscillator ready

Source

pub fn lseon(&self) -> LSEON_R

Bit 0 - LSE oscillator enable

Source§

impl R<u32, Reg<u32, _CSR>>

Source

pub fn lpwrstf(&self) -> LPWRSTF_R

Bit 31 - Low-power reset flag

Source

pub fn wwdgrstf(&self) -> WWDGRSTF_R

Bit 30 - Window watchdog reset flag

Source

pub fn iwdgrstf(&self) -> IWDGRSTF_R

Bit 29 - Independent window watchdog reset flag

Source

pub fn sftrstf(&self) -> SFTRSTF_R

Bit 28 - Software reset flag

Source

pub fn borrstf(&self) -> BORRSTF_R

Bit 27 - BOR flag

Source

pub fn pinrstf(&self) -> PINRSTF_R

Bit 26 - Pin reset flag

Source

pub fn oblrstf(&self) -> OBLRSTF_R

Bit 25 - Option byte loader reset flag

Source

pub fn firewallrstf(&self) -> FIREWALLRSTF_R

Bit 24 - Firewall reset flag

Source

pub fn rmvf(&self) -> RMVF_R

Bit 23 - Remove reset flag

Source

pub fn msisrange(&self) -> MSISRANGE_R

Bits 8:11 - SI range after Standby mode

Source

pub fn lsirdy(&self) -> LSIRDY_R

Bit 1 - LSI oscillator ready

Source

pub fn lsion(&self) -> LSION_R

Bit 0 - LSI oscillator enable

Source§

impl R<u32, Reg<u32, _CRRCR>>

Source

pub fn hsi48on(&self) -> HSI48ON_R

Bit 0 - HSI48 clock enable

Source

pub fn hsi48rdy(&self) -> HSI48RDY_R

Bit 1 - HSI48 clock ready flag

Source

pub fn hsi48cal(&self) -> HSI48CAL_R

Bits 7:15 - HSI48 clock calibration

Source§

impl R<u32, Reg<u32, _CR1>>

Source

pub fn lpr(&self) -> LPR_R

Bit 14 - Low-power run

Source

pub fn vos(&self) -> VOS_R

Bits 9:10 - Voltage scaling range selection

Source

pub fn dbp(&self) -> DBP_R

Bit 8 - Disable backup domain write protection

Source

pub fn lpms(&self) -> LPMS_R

Bits 0:2 - Low-power mode selection

Source§

impl R<u32, Reg<u32, _CR2>>

Source

pub fn usv(&self) -> USV_R

Bit 10 - VDDUSB USB supply valid

Source

pub fn iosv(&self) -> IOSV_R

Bit 9 - VDDIO2 Independent I/Os supply valid

Source

pub fn pvme4(&self) -> PVME4_R

Bit 7 - Peripheral voltage monitoring 4 enable: VDDA vs. 2.2V

Source

pub fn pvme3(&self) -> PVME3_R

Bit 6 - Peripheral voltage monitoring 3 enable: VDDA vs. 1.62V

Source

pub fn pvme2(&self) -> PVME2_R

Bit 5 - Peripheral voltage monitoring 2 enable: VDDIO2 vs. 0.9V

Source

pub fn pvme1(&self) -> PVME1_R

Bit 4 - Peripheral voltage monitoring 1 enable: VDDUSB vs. 1.2V

Source

pub fn pls(&self) -> PLS_R

Bits 1:3 - Power voltage detector level selection

Source

pub fn pvde(&self) -> PVDE_R

Bit 0 - Power voltage detector enable

Source§

impl R<u32, Reg<u32, _CR3>>

Source

pub fn ewf(&self) -> EWF_R

Bit 15 - Enable internal wakeup line

Source

pub fn apc(&self) -> APC_R

Bit 10 - Apply pull-up and pull-down configuration

Source

pub fn rrs(&self) -> RRS_R

Bit 8 - SRAM2 retention in Standby mode

Source

pub fn ewup5(&self) -> EWUP5_R

Bit 4 - Enable Wakeup pin WKUP5

Source

pub fn ewup4(&self) -> EWUP4_R

Bit 3 - Enable Wakeup pin WKUP4

Source

pub fn ewup3(&self) -> EWUP3_R

Bit 2 - Enable Wakeup pin WKUP3

Source

pub fn ewup2(&self) -> EWUP2_R

Bit 1 - Enable Wakeup pin WKUP2

Source

pub fn ewup1(&self) -> EWUP1_R

Bit 0 - Enable Wakeup pin WKUP1

Source§

impl R<u32, Reg<u32, _CR4>>

Source

pub fn vbrs(&self) -> VBRS_R

Bit 9 - VBAT battery charging resistor selection

Source

pub fn vbe(&self) -> VBE_R

Bit 8 - VBAT battery charging enable

Source

pub fn wp5(&self) -> WP5_R

Bit 4 - Wakeup pin WKUP5 polarity

Source

pub fn wp4(&self) -> WP4_R

Bit 3 - Wakeup pin WKUP4 polarity

Source

pub fn wp3(&self) -> WP3_R

Bit 2 - Wakeup pin WKUP3 polarity

Source

pub fn wp2(&self) -> WP2_R

Bit 1 - Wakeup pin WKUP2 polarity

Source

pub fn wp1(&self) -> WP1_R

Bit 0 - Wakeup pin WKUP1 polarity

Source§

impl R<u32, Reg<u32, _SR1>>

Source

pub fn wufi(&self) -> WUFI_R

Bit 15 - Wakeup flag internal

Source

pub fn csbf(&self) -> CSBF_R

Bit 8 - Standby flag

Source

pub fn cwuf5(&self) -> CWUF5_R

Bit 4 - Wakeup flag 5

Source

pub fn cwuf4(&self) -> CWUF4_R

Bit 3 - Wakeup flag 4

Source

pub fn cwuf3(&self) -> CWUF3_R

Bit 2 - Wakeup flag 3

Source

pub fn cwuf2(&self) -> CWUF2_R

Bit 1 - Wakeup flag 2

Source

pub fn cwuf1(&self) -> CWUF1_R

Bit 0 - Wakeup flag 1

Source§

impl R<u32, Reg<u32, _SR2>>

Source

pub fn pvmo4(&self) -> PVMO4_R

Bit 15 - Peripheral voltage monitoring output: VDDA vs. 2.2 V

Source

pub fn pvmo3(&self) -> PVMO3_R

Bit 14 - Peripheral voltage monitoring output: VDDA vs. 1.62 V

Source

pub fn pvmo2(&self) -> PVMO2_R

Bit 13 - Peripheral voltage monitoring output: VDDIO2 vs. 0.9 V

Source

pub fn pvmo1(&self) -> PVMO1_R

Bit 12 - Peripheral voltage monitoring output: VDDUSB vs. 1.2 V

Source

pub fn pvdo(&self) -> PVDO_R

Bit 11 - Power voltage detector output

Source

pub fn vosf(&self) -> VOSF_R

Bit 10 - Voltage scaling flag

Source

pub fn reglpf(&self) -> REGLPF_R

Bit 9 - Low-power regulator flag

Source

pub fn reglps(&self) -> REGLPS_R

Bit 8 - Low-power regulator started

Source§

impl R<u32, Reg<u32, _PUCRA>>

Source

pub fn pu15(&self) -> PU15_R

Bit 15 - Port A pull-up bit y (y=0..15)

Source

pub fn pu14(&self) -> PU14_R

Bit 14 - Port A pull-up bit y (y=0..15)

Source

pub fn pu13(&self) -> PU13_R

Bit 13 - Port A pull-up bit y (y=0..15)

Source

pub fn pu12(&self) -> PU12_R

Bit 12 - Port A pull-up bit y (y=0..15)

Source

pub fn pu11(&self) -> PU11_R

Bit 11 - Port A pull-up bit y (y=0..15)

Source

pub fn pu10(&self) -> PU10_R

Bit 10 - Port A pull-up bit y (y=0..15)

Source

pub fn pu9(&self) -> PU9_R

Bit 9 - Port A pull-up bit y (y=0..15)

Source

pub fn pu8(&self) -> PU8_R

Bit 8 - Port A pull-up bit y (y=0..15)

Source

pub fn pu7(&self) -> PU7_R

Bit 7 - Port A pull-up bit y (y=0..15)

Source

pub fn pu6(&self) -> PU6_R

Bit 6 - Port A pull-up bit y (y=0..15)

Source

pub fn pu5(&self) -> PU5_R

Bit 5 - Port A pull-up bit y (y=0..15)

Source

pub fn pu4(&self) -> PU4_R

Bit 4 - Port A pull-up bit y (y=0..15)

Source

pub fn pu3(&self) -> PU3_R

Bit 3 - Port A pull-up bit y (y=0..15)

Source

pub fn pu2(&self) -> PU2_R

Bit 2 - Port A pull-up bit y (y=0..15)

Source

pub fn pu1(&self) -> PU1_R

Bit 1 - Port A pull-up bit y (y=0..15)

Source

pub fn pu0(&self) -> PU0_R

Bit 0 - Port A pull-up bit y (y=0..15)

Source§

impl R<u32, Reg<u32, _PDCRA>>

Source

pub fn pd15(&self) -> PD15_R

Bit 15 - Port A pull-down bit y (y=0..15)

Source

pub fn pd14(&self) -> PD14_R

Bit 14 - Port A pull-down bit y (y=0..15)

Source

pub fn pd13(&self) -> PD13_R

Bit 13 - Port A pull-down bit y (y=0..15)

Source

pub fn pd12(&self) -> PD12_R

Bit 12 - Port A pull-down bit y (y=0..15)

Source

pub fn pd11(&self) -> PD11_R

Bit 11 - Port A pull-down bit y (y=0..15)

Source

pub fn pd10(&self) -> PD10_R

Bit 10 - Port A pull-down bit y (y=0..15)

Source

pub fn pd9(&self) -> PD9_R

Bit 9 - Port A pull-down bit y (y=0..15)

Source

pub fn pd8(&self) -> PD8_R

Bit 8 - Port A pull-down bit y (y=0..15)

Source

pub fn pd7(&self) -> PD7_R

Bit 7 - Port A pull-down bit y (y=0..15)

Source

pub fn pd6(&self) -> PD6_R

Bit 6 - Port A pull-down bit y (y=0..15)

Source

pub fn pd5(&self) -> PD5_R

Bit 5 - Port A pull-down bit y (y=0..15)

Source

pub fn pd4(&self) -> PD4_R

Bit 4 - Port A pull-down bit y (y=0..15)

Source

pub fn pd3(&self) -> PD3_R

Bit 3 - Port A pull-down bit y (y=0..15)

Source

pub fn pd2(&self) -> PD2_R

Bit 2 - Port A pull-down bit y (y=0..15)

Source

pub fn pd1(&self) -> PD1_R

Bit 1 - Port A pull-down bit y (y=0..15)

Source

pub fn pd0(&self) -> PD0_R

Bit 0 - Port A pull-down bit y (y=0..15)

Source§

impl R<u32, Reg<u32, _PUCRB>>

Source

pub fn pu15(&self) -> PU15_R

Bit 15 - Port B pull-up bit y (y=0..15)

Source

pub fn pu14(&self) -> PU14_R

Bit 14 - Port B pull-up bit y (y=0..15)

Source

pub fn pu13(&self) -> PU13_R

Bit 13 - Port B pull-up bit y (y=0..15)

Source

pub fn pu12(&self) -> PU12_R

Bit 12 - Port B pull-up bit y (y=0..15)

Source

pub fn pu11(&self) -> PU11_R

Bit 11 - Port B pull-up bit y (y=0..15)

Source

pub fn pu10(&self) -> PU10_R

Bit 10 - Port B pull-up bit y (y=0..15)

Source

pub fn pu9(&self) -> PU9_R

Bit 9 - Port B pull-up bit y (y=0..15)

Source

pub fn pu8(&self) -> PU8_R

Bit 8 - Port B pull-up bit y (y=0..15)

Source

pub fn pu7(&self) -> PU7_R

Bit 7 - Port B pull-up bit y (y=0..15)

Source

pub fn pu6(&self) -> PU6_R

Bit 6 - Port B pull-up bit y (y=0..15)

Source

pub fn pu5(&self) -> PU5_R

Bit 5 - Port B pull-up bit y (y=0..15)

Source

pub fn pu4(&self) -> PU4_R

Bit 4 - Port B pull-up bit y (y=0..15)

Source

pub fn pu3(&self) -> PU3_R

Bit 3 - Port B pull-up bit y (y=0..15)

Source

pub fn pu2(&self) -> PU2_R

Bit 2 - Port B pull-up bit y (y=0..15)

Source

pub fn pu1(&self) -> PU1_R

Bit 1 - Port B pull-up bit y (y=0..15)

Source

pub fn pu0(&self) -> PU0_R

Bit 0 - Port B pull-up bit y (y=0..15)

Source§

impl R<u32, Reg<u32, _PDCRB>>

Source

pub fn pd15(&self) -> PD15_R

Bit 15 - Port B pull-down bit y (y=0..15)

Source

pub fn pd14(&self) -> PD14_R

Bit 14 - Port B pull-down bit y (y=0..15)

Source

pub fn pd13(&self) -> PD13_R

Bit 13 - Port B pull-down bit y (y=0..15)

Source

pub fn pd12(&self) -> PD12_R

Bit 12 - Port B pull-down bit y (y=0..15)

Source

pub fn pd11(&self) -> PD11_R

Bit 11 - Port B pull-down bit y (y=0..15)

Source

pub fn pd10(&self) -> PD10_R

Bit 10 - Port B pull-down bit y (y=0..15)

Source

pub fn pd9(&self) -> PD9_R

Bit 9 - Port B pull-down bit y (y=0..15)

Source

pub fn pd8(&self) -> PD8_R

Bit 8 - Port B pull-down bit y (y=0..15)

Source

pub fn pd7(&self) -> PD7_R

Bit 7 - Port B pull-down bit y (y=0..15)

Source

pub fn pd6(&self) -> PD6_R

Bit 6 - Port B pull-down bit y (y=0..15)

Source

pub fn pd5(&self) -> PD5_R

Bit 5 - Port B pull-down bit y (y=0..15)

Source

pub fn pd4(&self) -> PD4_R

Bit 4 - Port B pull-down bit y (y=0..15)

Source

pub fn pd3(&self) -> PD3_R

Bit 3 - Port B pull-down bit y (y=0..15)

Source

pub fn pd2(&self) -> PD2_R

Bit 2 - Port B pull-down bit y (y=0..15)

Source

pub fn pd1(&self) -> PD1_R

Bit 1 - Port B pull-down bit y (y=0..15)

Source

pub fn pd0(&self) -> PD0_R

Bit 0 - Port B pull-down bit y (y=0..15)

Source§

impl R<u32, Reg<u32, _PUCRC>>

Source

pub fn pu15(&self) -> PU15_R

Bit 15 - Port C pull-up bit y (y=0..15)

Source

pub fn pu14(&self) -> PU14_R

Bit 14 - Port C pull-up bit y (y=0..15)

Source

pub fn pu13(&self) -> PU13_R

Bit 13 - Port C pull-up bit y (y=0..15)

Source

pub fn pu12(&self) -> PU12_R

Bit 12 - Port C pull-up bit y (y=0..15)

Source

pub fn pu11(&self) -> PU11_R

Bit 11 - Port C pull-up bit y (y=0..15)

Source

pub fn pu10(&self) -> PU10_R

Bit 10 - Port C pull-up bit y (y=0..15)

Source

pub fn pu9(&self) -> PU9_R

Bit 9 - Port C pull-up bit y (y=0..15)

Source

pub fn pu8(&self) -> PU8_R

Bit 8 - Port C pull-up bit y (y=0..15)

Source

pub fn pu7(&self) -> PU7_R

Bit 7 - Port C pull-up bit y (y=0..15)

Source

pub fn pu6(&self) -> PU6_R

Bit 6 - Port C pull-up bit y (y=0..15)

Source

pub fn pu5(&self) -> PU5_R

Bit 5 - Port C pull-up bit y (y=0..15)

Source

pub fn pu4(&self) -> PU4_R

Bit 4 - Port C pull-up bit y (y=0..15)

Source

pub fn pu3(&self) -> PU3_R

Bit 3 - Port C pull-up bit y (y=0..15)

Source

pub fn pu2(&self) -> PU2_R

Bit 2 - Port C pull-up bit y (y=0..15)

Source

pub fn pu1(&self) -> PU1_R

Bit 1 - Port C pull-up bit y (y=0..15)

Source

pub fn pu0(&self) -> PU0_R

Bit 0 - Port C pull-up bit y (y=0..15)

Source§

impl R<u32, Reg<u32, _PDCRC>>

Source

pub fn pd15(&self) -> PD15_R

Bit 15 - Port C pull-down bit y (y=0..15)

Source

pub fn pd14(&self) -> PD14_R

Bit 14 - Port C pull-down bit y (y=0..15)

Source

pub fn pd13(&self) -> PD13_R

Bit 13 - Port C pull-down bit y (y=0..15)

Source

pub fn pd12(&self) -> PD12_R

Bit 12 - Port C pull-down bit y (y=0..15)

Source

pub fn pd11(&self) -> PD11_R

Bit 11 - Port C pull-down bit y (y=0..15)

Source

pub fn pd10(&self) -> PD10_R

Bit 10 - Port C pull-down bit y (y=0..15)

Source

pub fn pd9(&self) -> PD9_R

Bit 9 - Port C pull-down bit y (y=0..15)

Source

pub fn pd8(&self) -> PD8_R

Bit 8 - Port C pull-down bit y (y=0..15)

Source

pub fn pd7(&self) -> PD7_R

Bit 7 - Port C pull-down bit y (y=0..15)

Source

pub fn pd6(&self) -> PD6_R

Bit 6 - Port C pull-down bit y (y=0..15)

Source

pub fn pd5(&self) -> PD5_R

Bit 5 - Port C pull-down bit y (y=0..15)

Source

pub fn pd4(&self) -> PD4_R

Bit 4 - Port C pull-down bit y (y=0..15)

Source

pub fn pd3(&self) -> PD3_R

Bit 3 - Port C pull-down bit y (y=0..15)

Source

pub fn pd2(&self) -> PD2_R

Bit 2 - Port C pull-down bit y (y=0..15)

Source

pub fn pd1(&self) -> PD1_R

Bit 1 - Port C pull-down bit y (y=0..15)

Source

pub fn pd0(&self) -> PD0_R

Bit 0 - Port C pull-down bit y (y=0..15)

Source§

impl R<u32, Reg<u32, _PUCRD>>

Source

pub fn pu15(&self) -> PU15_R

Bit 15 - Port D pull-up bit y (y=0..15)

Source

pub fn pu14(&self) -> PU14_R

Bit 14 - Port D pull-up bit y (y=0..15)

Source

pub fn pu13(&self) -> PU13_R

Bit 13 - Port D pull-up bit y (y=0..15)

Source

pub fn pu12(&self) -> PU12_R

Bit 12 - Port D pull-up bit y (y=0..15)

Source

pub fn pu11(&self) -> PU11_R

Bit 11 - Port D pull-up bit y (y=0..15)

Source

pub fn pu10(&self) -> PU10_R

Bit 10 - Port D pull-up bit y (y=0..15)

Source

pub fn pu9(&self) -> PU9_R

Bit 9 - Port D pull-up bit y (y=0..15)

Source

pub fn pu8(&self) -> PU8_R

Bit 8 - Port D pull-up bit y (y=0..15)

Source

pub fn pu7(&self) -> PU7_R

Bit 7 - Port D pull-up bit y (y=0..15)

Source

pub fn pu6(&self) -> PU6_R

Bit 6 - Port D pull-up bit y (y=0..15)

Source

pub fn pu5(&self) -> PU5_R

Bit 5 - Port D pull-up bit y (y=0..15)

Source

pub fn pu4(&self) -> PU4_R

Bit 4 - Port D pull-up bit y (y=0..15)

Source

pub fn pu3(&self) -> PU3_R

Bit 3 - Port D pull-up bit y (y=0..15)

Source

pub fn pu2(&self) -> PU2_R

Bit 2 - Port D pull-up bit y (y=0..15)

Source

pub fn pu1(&self) -> PU1_R

Bit 1 - Port D pull-up bit y (y=0..15)

Source

pub fn pu0(&self) -> PU0_R

Bit 0 - Port D pull-up bit y (y=0..15)

Source§

impl R<u32, Reg<u32, _PDCRD>>

Source

pub fn pd15(&self) -> PD15_R

Bit 15 - Port D pull-down bit y (y=0..15)

Source

pub fn pd14(&self) -> PD14_R

Bit 14 - Port D pull-down bit y (y=0..15)

Source

pub fn pd13(&self) -> PD13_R

Bit 13 - Port D pull-down bit y (y=0..15)

Source

pub fn pd12(&self) -> PD12_R

Bit 12 - Port D pull-down bit y (y=0..15)

Source

pub fn pd11(&self) -> PD11_R

Bit 11 - Port D pull-down bit y (y=0..15)

Source

pub fn pd10(&self) -> PD10_R

Bit 10 - Port D pull-down bit y (y=0..15)

Source

pub fn pd9(&self) -> PD9_R

Bit 9 - Port D pull-down bit y (y=0..15)

Source

pub fn pd8(&self) -> PD8_R

Bit 8 - Port D pull-down bit y (y=0..15)

Source

pub fn pd7(&self) -> PD7_R

Bit 7 - Port D pull-down bit y (y=0..15)

Source

pub fn pd6(&self) -> PD6_R

Bit 6 - Port D pull-down bit y (y=0..15)

Source

pub fn pd5(&self) -> PD5_R

Bit 5 - Port D pull-down bit y (y=0..15)

Source

pub fn pd4(&self) -> PD4_R

Bit 4 - Port D pull-down bit y (y=0..15)

Source

pub fn pd3(&self) -> PD3_R

Bit 3 - Port D pull-down bit y (y=0..15)

Source

pub fn pd2(&self) -> PD2_R

Bit 2 - Port D pull-down bit y (y=0..15)

Source

pub fn pd1(&self) -> PD1_R

Bit 1 - Port D pull-down bit y (y=0..15)

Source

pub fn pd0(&self) -> PD0_R

Bit 0 - Port D pull-down bit y (y=0..15)

Source§

impl R<u32, Reg<u32, _PUCRE>>

Source

pub fn pu15(&self) -> PU15_R

Bit 15 - Port E pull-up bit y (y=0..15)

Source

pub fn pu14(&self) -> PU14_R

Bit 14 - Port E pull-up bit y (y=0..15)

Source

pub fn pu13(&self) -> PU13_R

Bit 13 - Port E pull-up bit y (y=0..15)

Source

pub fn pu12(&self) -> PU12_R

Bit 12 - Port E pull-up bit y (y=0..15)

Source

pub fn pu11(&self) -> PU11_R

Bit 11 - Port E pull-up bit y (y=0..15)

Source

pub fn pu10(&self) -> PU10_R

Bit 10 - Port E pull-up bit y (y=0..15)

Source

pub fn pu9(&self) -> PU9_R

Bit 9 - Port E pull-up bit y (y=0..15)

Source

pub fn pu8(&self) -> PU8_R

Bit 8 - Port E pull-up bit y (y=0..15)

Source

pub fn pu7(&self) -> PU7_R

Bit 7 - Port E pull-up bit y (y=0..15)

Source

pub fn pu6(&self) -> PU6_R

Bit 6 - Port E pull-up bit y (y=0..15)

Source

pub fn pu5(&self) -> PU5_R

Bit 5 - Port E pull-up bit y (y=0..15)

Source

pub fn pu4(&self) -> PU4_R

Bit 4 - Port E pull-up bit y (y=0..15)

Source

pub fn pu3(&self) -> PU3_R

Bit 3 - Port E pull-up bit y (y=0..15)

Source

pub fn pu2(&self) -> PU2_R

Bit 2 - Port E pull-up bit y (y=0..15)

Source

pub fn pu1(&self) -> PU1_R

Bit 1 - Port E pull-up bit y (y=0..15)

Source

pub fn pu0(&self) -> PU0_R

Bit 0 - Port E pull-up bit y (y=0..15)

Source§

impl R<u32, Reg<u32, _PDCRE>>

Source

pub fn pd15(&self) -> PD15_R

Bit 15 - Port E pull-down bit y (y=0..15)

Source

pub fn pd14(&self) -> PD14_R

Bit 14 - Port E pull-down bit y (y=0..15)

Source

pub fn pd13(&self) -> PD13_R

Bit 13 - Port E pull-down bit y (y=0..15)

Source

pub fn pd12(&self) -> PD12_R

Bit 12 - Port E pull-down bit y (y=0..15)

Source

pub fn pd11(&self) -> PD11_R

Bit 11 - Port E pull-down bit y (y=0..15)

Source

pub fn pd10(&self) -> PD10_R

Bit 10 - Port E pull-down bit y (y=0..15)

Source

pub fn pd9(&self) -> PD9_R

Bit 9 - Port E pull-down bit y (y=0..15)

Source

pub fn pd8(&self) -> PD8_R

Bit 8 - Port E pull-down bit y (y=0..15)

Source

pub fn pd7(&self) -> PD7_R

Bit 7 - Port E pull-down bit y (y=0..15)

Source

pub fn pd6(&self) -> PD6_R

Bit 6 - Port E pull-down bit y (y=0..15)

Source

pub fn pd5(&self) -> PD5_R

Bit 5 - Port E pull-down bit y (y=0..15)

Source

pub fn pd4(&self) -> PD4_R

Bit 4 - Port E pull-down bit y (y=0..15)

Source

pub fn pd3(&self) -> PD3_R

Bit 3 - Port E pull-down bit y (y=0..15)

Source

pub fn pd2(&self) -> PD2_R

Bit 2 - Port E pull-down bit y (y=0..15)

Source

pub fn pd1(&self) -> PD1_R

Bit 1 - Port E pull-down bit y (y=0..15)

Source

pub fn pd0(&self) -> PD0_R

Bit 0 - Port E pull-down bit y (y=0..15)

Source§

impl R<u32, Reg<u32, _PUCRF>>

Source

pub fn pu15(&self) -> PU15_R

Bit 15 - Port F pull-up bit y (y=0..15)

Source

pub fn pu14(&self) -> PU14_R

Bit 14 - Port F pull-up bit y (y=0..15)

Source

pub fn pu13(&self) -> PU13_R

Bit 13 - Port F pull-up bit y (y=0..15)

Source

pub fn pu12(&self) -> PU12_R

Bit 12 - Port F pull-up bit y (y=0..15)

Source

pub fn pu11(&self) -> PU11_R

Bit 11 - Port F pull-up bit y (y=0..15)

Source

pub fn pu10(&self) -> PU10_R

Bit 10 - Port F pull-up bit y (y=0..15)

Source

pub fn pu9(&self) -> PU9_R

Bit 9 - Port F pull-up bit y (y=0..15)

Source

pub fn pu8(&self) -> PU8_R

Bit 8 - Port F pull-up bit y (y=0..15)

Source

pub fn pu7(&self) -> PU7_R

Bit 7 - Port F pull-up bit y (y=0..15)

Source

pub fn pu6(&self) -> PU6_R

Bit 6 - Port F pull-up bit y (y=0..15)

Source

pub fn pu5(&self) -> PU5_R

Bit 5 - Port F pull-up bit y (y=0..15)

Source

pub fn pu4(&self) -> PU4_R

Bit 4 - Port F pull-up bit y (y=0..15)

Source

pub fn pu3(&self) -> PU3_R

Bit 3 - Port F pull-up bit y (y=0..15)

Source

pub fn pu2(&self) -> PU2_R

Bit 2 - Port F pull-up bit y (y=0..15)

Source

pub fn pu1(&self) -> PU1_R

Bit 1 - Port F pull-up bit y (y=0..15)

Source

pub fn pu0(&self) -> PU0_R

Bit 0 - Port F pull-up bit y (y=0..15)

Source§

impl R<u32, Reg<u32, _PDCRF>>

Source

pub fn pd15(&self) -> PD15_R

Bit 15 - Port F pull-down bit y (y=0..15)

Source

pub fn pd14(&self) -> PD14_R

Bit 14 - Port F pull-down bit y (y=0..15)

Source

pub fn pd13(&self) -> PD13_R

Bit 13 - Port F pull-down bit y (y=0..15)

Source

pub fn pd12(&self) -> PD12_R

Bit 12 - Port F pull-down bit y (y=0..15)

Source

pub fn pd11(&self) -> PD11_R

Bit 11 - Port F pull-down bit y (y=0..15)

Source

pub fn pd10(&self) -> PD10_R

Bit 10 - Port F pull-down bit y (y=0..15)

Source

pub fn pd9(&self) -> PD9_R

Bit 9 - Port F pull-down bit y (y=0..15)

Source

pub fn pd8(&self) -> PD8_R

Bit 8 - Port F pull-down bit y (y=0..15)

Source

pub fn pd7(&self) -> PD7_R

Bit 7 - Port F pull-down bit y (y=0..15)

Source

pub fn pd6(&self) -> PD6_R

Bit 6 - Port F pull-down bit y (y=0..15)

Source

pub fn pd5(&self) -> PD5_R

Bit 5 - Port F pull-down bit y (y=0..15)

Source

pub fn pd4(&self) -> PD4_R

Bit 4 - Port F pull-down bit y (y=0..15)

Source

pub fn pd3(&self) -> PD3_R

Bit 3 - Port F pull-down bit y (y=0..15)

Source

pub fn pd2(&self) -> PD2_R

Bit 2 - Port F pull-down bit y (y=0..15)

Source

pub fn pd1(&self) -> PD1_R

Bit 1 - Port F pull-down bit y (y=0..15)

Source

pub fn pd0(&self) -> PD0_R

Bit 0 - Port F pull-down bit y (y=0..15)

Source§

impl R<u32, Reg<u32, _PUCRG>>

Source

pub fn pu15(&self) -> PU15_R

Bit 15 - Port G pull-up bit y (y=0..15)

Source

pub fn pu14(&self) -> PU14_R

Bit 14 - Port G pull-up bit y (y=0..15)

Source

pub fn pu13(&self) -> PU13_R

Bit 13 - Port G pull-up bit y (y=0..15)

Source

pub fn pu12(&self) -> PU12_R

Bit 12 - Port G pull-up bit y (y=0..15)

Source

pub fn pu11(&self) -> PU11_R

Bit 11 - Port G pull-up bit y (y=0..15)

Source

pub fn pu10(&self) -> PU10_R

Bit 10 - Port G pull-up bit y (y=0..15)

Source

pub fn pu9(&self) -> PU9_R

Bit 9 - Port G pull-up bit y (y=0..15)

Source

pub fn pu8(&self) -> PU8_R

Bit 8 - Port G pull-up bit y (y=0..15)

Source

pub fn pu7(&self) -> PU7_R

Bit 7 - Port G pull-up bit y (y=0..15)

Source

pub fn pu6(&self) -> PU6_R

Bit 6 - Port G pull-up bit y (y=0..15)

Source

pub fn pu5(&self) -> PU5_R

Bit 5 - Port G pull-up bit y (y=0..15)

Source

pub fn pu4(&self) -> PU4_R

Bit 4 - Port G pull-up bit y (y=0..15)

Source

pub fn pu3(&self) -> PU3_R

Bit 3 - Port G pull-up bit y (y=0..15)

Source

pub fn pu2(&self) -> PU2_R

Bit 2 - Port G pull-up bit y (y=0..15)

Source

pub fn pu1(&self) -> PU1_R

Bit 1 - Port G pull-up bit y (y=0..15)

Source

pub fn pu0(&self) -> PU0_R

Bit 0 - Port G pull-up bit y (y=0..15)

Source§

impl R<u32, Reg<u32, _PDCRG>>

Source

pub fn pd15(&self) -> PD15_R

Bit 15 - Port G pull-down bit y (y=0..15)

Source

pub fn pd14(&self) -> PD14_R

Bit 14 - Port G pull-down bit y (y=0..15)

Source

pub fn pd13(&self) -> PD13_R

Bit 13 - Port G pull-down bit y (y=0..15)

Source

pub fn pd12(&self) -> PD12_R

Bit 12 - Port G pull-down bit y (y=0..15)

Source

pub fn pd11(&self) -> PD11_R

Bit 11 - Port G pull-down bit y (y=0..15)

Source

pub fn pd10(&self) -> PD10_R

Bit 10 - Port G pull-down bit y (y=0..15)

Source

pub fn pd9(&self) -> PD9_R

Bit 9 - Port G pull-down bit y (y=0..15)

Source

pub fn pd8(&self) -> PD8_R

Bit 8 - Port G pull-down bit y (y=0..15)

Source

pub fn pd7(&self) -> PD7_R

Bit 7 - Port G pull-down bit y (y=0..15)

Source

pub fn pd6(&self) -> PD6_R

Bit 6 - Port G pull-down bit y (y=0..15)

Source

pub fn pd5(&self) -> PD5_R

Bit 5 - Port G pull-down bit y (y=0..15)

Source

pub fn pd4(&self) -> PD4_R

Bit 4 - Port G pull-down bit y (y=0..15)

Source

pub fn pd3(&self) -> PD3_R

Bit 3 - Port G pull-down bit y (y=0..15)

Source

pub fn pd2(&self) -> PD2_R

Bit 2 - Port G pull-down bit y (y=0..15)

Source

pub fn pd1(&self) -> PD1_R

Bit 1 - Port G pull-down bit y (y=0..15)

Source

pub fn pd0(&self) -> PD0_R

Bit 0 - Port G pull-down bit y (y=0..15)

Source§

impl R<u32, Reg<u32, _PUCRH>>

Source

pub fn pu1(&self) -> PU1_R

Bit 1 - Port H pull-up bit y (y=0..1)

Source

pub fn pu0(&self) -> PU0_R

Bit 0 - Port H pull-up bit y (y=0..1)

Source§

impl R<u32, Reg<u32, _PDCRH>>

Source

pub fn pd1(&self) -> PD1_R

Bit 1 - Port H pull-down bit y (y=0..1)

Source

pub fn pd0(&self) -> PD0_R

Bit 0 - Port H pull-down bit y (y=0..1)

Source§

impl R<u32, Reg<u32, _MEMRMP>>

Source

pub fn fb_mode(&self) -> FB_MODE_R

Bit 8 - Flash Bank mode selection

Source

pub fn qfs(&self) -> QFS_R

Bit 3 - QUADSPI memory mapping swap

Source

pub fn mem_mode(&self) -> MEM_MODE_R

Bits 0:2 - Memory mapping selection

Source§

impl R<u32, Reg<u32, _CFGR1>>

Source

pub fn fpu_ie(&self) -> FPU_IE_R

Bits 26:31 - Floating Point Unit interrupts enable bits

Source

pub fn i2c3_fmp(&self) -> I2C3_FMP_R

Bit 22 - I2C3 Fast-mode Plus driving capability activation

Source

pub fn i2c2_fmp(&self) -> I2C2_FMP_R

Bit 21 - I2C2 Fast-mode Plus driving capability activation

Source

pub fn i2c1_fmp(&self) -> I2C1_FMP_R

Bit 20 - I2C1 Fast-mode Plus driving capability activation

Source

pub fn i2c_pb9_fmp(&self) -> I2C_PB9_FMP_R

Bit 19 - Fast-mode Plus (Fm+) driving capability activation on PB9

Source

pub fn i2c_pb8_fmp(&self) -> I2C_PB8_FMP_R

Bit 18 - Fast-mode Plus (Fm+) driving capability activation on PB8

Source

pub fn i2c_pb7_fmp(&self) -> I2C_PB7_FMP_R

Bit 17 - Fast-mode Plus (Fm+) driving capability activation on PB7

Source

pub fn i2c_pb6_fmp(&self) -> I2C_PB6_FMP_R

Bit 16 - Fast-mode Plus (Fm+) driving capability activation on PB6

Source

pub fn boosten(&self) -> BOOSTEN_R

Bit 8 - I/O analog switch voltage booster enable

Source

pub fn fwdis(&self) -> FWDIS_R

Bit 0 - Firewall disable

Source§

impl R<u32, Reg<u32, _EXTICR1>>

Source

pub fn exti3(&self) -> EXTI3_R

Bits 12:14 - EXTI 3 configuration bits

Source

pub fn exti2(&self) -> EXTI2_R

Bits 8:10 - EXTI 2 configuration bits

Source

pub fn exti1(&self) -> EXTI1_R

Bits 4:6 - EXTI 1 configuration bits

Source

pub fn exti0(&self) -> EXTI0_R

Bits 0:2 - EXTI 0 configuration bits

Source§

impl R<u32, Reg<u32, _EXTICR2>>

Source

pub fn exti7(&self) -> EXTI7_R

Bits 12:14 - EXTI 7 configuration bits

Source

pub fn exti6(&self) -> EXTI6_R

Bits 8:10 - EXTI 6 configuration bits

Source

pub fn exti5(&self) -> EXTI5_R

Bits 4:6 - EXTI 5 configuration bits

Source

pub fn exti4(&self) -> EXTI4_R

Bits 0:2 - EXTI 4 configuration bits

Source§

impl R<u32, Reg<u32, _EXTICR3>>

Source

pub fn exti11(&self) -> EXTI11_R

Bits 12:14 - EXTI 11 configuration bits

Source

pub fn exti10(&self) -> EXTI10_R

Bits 8:10 - EXTI 10 configuration bits

Source

pub fn exti9(&self) -> EXTI9_R

Bits 4:6 - EXTI 9 configuration bits

Source

pub fn exti8(&self) -> EXTI8_R

Bits 0:2 - EXTI 8 configuration bits

Source§

impl R<u32, Reg<u32, _EXTICR4>>

Source

pub fn exti15(&self) -> EXTI15_R

Bits 12:14 - EXTI15 configuration bits

Source

pub fn exti14(&self) -> EXTI14_R

Bits 8:10 - EXTI14 configuration bits

Source

pub fn exti13(&self) -> EXTI13_R

Bits 4:6 - EXTI13 configuration bits

Source

pub fn exti12(&self) -> EXTI12_R

Bits 0:2 - EXTI12 configuration bits

Source§

impl R<u32, Reg<u32, _SCSR>>

Source

pub fn sram2bsy(&self) -> SRAM2BSY_R

Bit 1 - SRAM2 busy by erase operation

Source

pub fn sram2er(&self) -> SRAM2ER_R

Bit 0 - SRAM2 Erase

Source§

impl R<u32, Reg<u32, _CFGR2>>

Source

pub fn spf(&self) -> SPF_R

Bit 8 - SRAM2 parity error flag

Source§

impl R<u32, Reg<u32, _CR>>

Source

pub fn ie(&self) -> IE_R

Bit 3 - Interrupt enable

Source

pub fn rngen(&self) -> RNGEN_R

Bit 2 - Random number generator enable

Source§

impl R<u32, Reg<u32, _SR>>

Source

pub fn seis(&self) -> SEIS_R

Bit 6 - Seed error interrupt status

Source

pub fn ceis(&self) -> CEIS_R

Bit 5 - Clock error interrupt status

Source

pub fn secs(&self) -> SECS_R

Bit 2 - Seed error current status

Source

pub fn cecs(&self) -> CECS_R

Bit 1 - Clock error current status

Source

pub fn drdy(&self) -> DRDY_R

Bit 0 - Data ready

Source§

impl R<u32, Reg<u32, _DR>>

Source

pub fn rndata(&self) -> RNDATA_R

Bits 0:31 - Random data

Source§

impl R<u32, Reg<u32, _CR>>

Source

pub fn dmaouten(&self) -> DMAOUTEN_R

Bit 12 - Enable DMA management of data output phase

Source

pub fn dmainen(&self) -> DMAINEN_R

Bit 11 - Enable DMA management of data input phase

Source

pub fn errie(&self) -> ERRIE_R

Bit 10 - Error interrupt enable

Source

pub fn ccfie(&self) -> CCFIE_R

Bit 9 - CCF flag interrupt enable

Source

pub fn errc(&self) -> ERRC_R

Bit 8 - Error clear

Source

pub fn ccfc(&self) -> CCFC_R

Bit 7 - Computation Complete Flag Clear

Source

pub fn chmod(&self) -> CHMOD_R

Bits 5:6 - AES chaining mode

Source

pub fn mode(&self) -> MODE_R

Bits 3:4 - AES operating mode

Source

pub fn datatype(&self) -> DATATYPE_R

Bits 1:2 - Data type selection (for data in and data out to/from the cryptographic block)

Source

pub fn en(&self) -> EN_R

Bit 0 - AES enable

Source§

impl R<u32, Reg<u32, _SR>>

Source

pub fn wrerr(&self) -> WRERR_R

Bit 2 - Write error flag

Source

pub fn rderr(&self) -> RDERR_R

Bit 1 - Read error flag

Source

pub fn ccf(&self) -> CCF_R

Bit 0 - Computation complete flag

Source§

impl R<u32, Reg<u32, _DINR>>

Source

pub fn aes_dinr(&self) -> AES_DINR_R

Bits 0:31 - Data Input Register

Source§

impl R<u32, Reg<u32, _DOUTR>>

Source

pub fn aes_doutr(&self) -> AES_DOUTR_R

Bits 0:31 - Data output register

Source§

impl R<u32, Reg<u32, _KEYR0>>

Source

pub fn aes_keyr0(&self) -> AES_KEYR0_R

Bits 0:31 - Data Output Register (LSB key [31:0])

Source§

impl R<u32, Reg<u32, _KEYR1>>

Source

pub fn aes_keyr1(&self) -> AES_KEYR1_R

Bits 0:31 - AES key register (key [63:32])

Source§

impl R<u32, Reg<u32, _KEYR2>>

Source

pub fn aes_keyr2(&self) -> AES_KEYR2_R

Bits 0:31 - AES key register (key [95:64])

Source§

impl R<u32, Reg<u32, _KEYR3>>

Source

pub fn aes_keyr3(&self) -> AES_KEYR3_R

Bits 0:31 - AES key register (MSB key [127:96])

Source§

impl R<u32, Reg<u32, _IVR0>>

Source

pub fn aes_ivr0(&self) -> AES_IVR0_R

Bits 0:31 - initialization vector register (LSB IVR [31:0])

Source§

impl R<u32, Reg<u32, _IVR1>>

Source

pub fn aes_ivr1(&self) -> AES_IVR1_R

Bits 0:31 - Initialization Vector Register (IVR [63:32])

Source§

impl R<u32, Reg<u32, _IVR2>>

Source

pub fn aes_ivr2(&self) -> AES_IVR2_R

Bits 0:31 - Initialization Vector Register (IVR [95:64])

Source§

impl R<u32, Reg<u32, _IVR3>>

Source

pub fn aes_ivr3(&self) -> AES_IVR3_R

Bits 0:31 - Initialization Vector Register (MSB IVR [127:96])

Source§

impl R<u32, Reg<u32, _ISR>>

Source

pub fn jqovf(&self) -> JQOVF_R

Bit 10 - JQOVF

Source

pub fn awd3(&self) -> AWD3_R

Bit 9 - AWD3

Source

pub fn awd2(&self) -> AWD2_R

Bit 8 - AWD2

Source

pub fn awd1(&self) -> AWD1_R

Bit 7 - AWD1

Source

pub fn jeos(&self) -> JEOS_R

Bit 6 - JEOS

Source

pub fn jeoc(&self) -> JEOC_R

Bit 5 - JEOC

Source

pub fn ovr(&self) -> OVR_R

Bit 4 - OVR

Source

pub fn eos(&self) -> EOS_R

Bit 3 - EOS

Source

pub fn eoc(&self) -> EOC_R

Bit 2 - EOC

Source

pub fn eosmp(&self) -> EOSMP_R

Bit 1 - EOSMP

Source

pub fn adrdy(&self) -> ADRDY_R

Bit 0 - ADRDY

Source§

impl R<u32, Reg<u32, _IER>>

Source

pub fn jqovfie(&self) -> JQOVFIE_R

Bit 10 - JQOVFIE

Source

pub fn awd3ie(&self) -> AWD3IE_R

Bit 9 - AWD3IE

Source

pub fn awd2ie(&self) -> AWD2IE_R

Bit 8 - AWD2IE

Source

pub fn awd1ie(&self) -> AWD1IE_R

Bit 7 - AWD1IE

Source

pub fn jeosie(&self) -> JEOSIE_R

Bit 6 - JEOSIE

Source

pub fn jeocie(&self) -> JEOCIE_R

Bit 5 - JEOCIE

Source

pub fn ovrie(&self) -> OVRIE_R

Bit 4 - OVRIE

Source

pub fn eosie(&self) -> EOSIE_R

Bit 3 - EOSIE

Source

pub fn eocie(&self) -> EOCIE_R

Bit 2 - EOCIE

Source

pub fn eosmpie(&self) -> EOSMPIE_R

Bit 1 - EOSMPIE

Source

pub fn adrdyie(&self) -> ADRDYIE_R

Bit 0 - ADRDYIE

Source§

impl R<u32, Reg<u32, _CR>>

Source

pub fn adcal(&self) -> ADCAL_R

Bit 31 - ADCAL

Source

pub fn adcaldif(&self) -> ADCALDIF_R

Bit 30 - ADCALDIF

Source

pub fn deeppwd(&self) -> DEEPPWD_R

Bit 29 - DEEPPWD

Source

pub fn advregen(&self) -> ADVREGEN_R

Bit 28 - ADVREGEN

Source

pub fn jadstp(&self) -> JADSTP_R

Bit 5 - JADSTP

Source

pub fn adstp(&self) -> ADSTP_R

Bit 4 - ADSTP

Source

pub fn jadstart(&self) -> JADSTART_R

Bit 3 - JADSTART

Source

pub fn adstart(&self) -> ADSTART_R

Bit 2 - ADSTART

Source

pub fn addis(&self) -> ADDIS_R

Bit 1 - ADDIS

Source

pub fn aden(&self) -> ADEN_R

Bit 0 - ADEN

Source§

impl R<u32, Reg<u32, _CFGR>>

Source

pub fn awdch1ch(&self) -> AWDCH1CH_R

Bits 26:30 - AWDCH1CH

Source

pub fn jauto(&self) -> JAUTO_R

Bit 25 - JAUTO

Source

pub fn jawd1en(&self) -> JAWD1EN_R

Bit 24 - JAWD1EN

Source

pub fn awd1en(&self) -> AWD1EN_R

Bit 23 - AWD1EN

Source

pub fn awd1sgl(&self) -> AWD1SGL_R

Bit 22 - AWD1SGL

Source

pub fn jqm(&self) -> JQM_R

Bit 21 - JQM

Source

pub fn jdiscen(&self) -> JDISCEN_R

Bit 20 - JDISCEN

Source

pub fn discnum(&self) -> DISCNUM_R

Bits 17:19 - DISCNUM

Source

pub fn discen(&self) -> DISCEN_R

Bit 16 - DISCEN

Source

pub fn autoff(&self) -> AUTOFF_R

Bit 15 - AUTOFF

Source

pub fn autdly(&self) -> AUTDLY_R

Bit 14 - AUTDLY

Source

pub fn cont(&self) -> CONT_R

Bit 13 - CONT

Source

pub fn ovrmod(&self) -> OVRMOD_R

Bit 12 - OVRMOD

Source

pub fn exten(&self) -> EXTEN_R

Bits 10:11 - EXTEN

Source

pub fn extsel(&self) -> EXTSEL_R

Bits 6:9 - EXTSEL

Source

pub fn align(&self) -> ALIGN_R

Bit 5 - ALIGN

Source

pub fn res(&self) -> RES_R

Bits 3:4 - RES

Source

pub fn dmacfg(&self) -> DMACFG_R

Bit 1 - DMACFG

Source

pub fn dmaen(&self) -> DMAEN_R

Bit 0 - DMAEN

Source§

impl R<u32, Reg<u32, _CFGR2>>

Source

pub fn rovsm(&self) -> ROVSM_R

Bit 10 - EXTEN

Source

pub fn tovs(&self) -> TOVS_R

Bit 9 - EXTSEL

Source

pub fn ovss(&self) -> OVSS_R

Bits 5:8 - ALIGN

Source

pub fn ovsr(&self) -> OVSR_R

Bits 2:4 - RES

Source

pub fn jovse(&self) -> JOVSE_R

Bit 1 - DMACFG

Source

pub fn rovse(&self) -> ROVSE_R

Bit 0 - DMAEN

Source§

impl R<u32, Reg<u32, _SMPR1>>

Source

pub fn smp9(&self) -> SMP9_R

Bits 27:29 - Channel 9 sampling time selection

Source

pub fn smp8(&self) -> SMP8_R

Bits 24:26 - Channel 8 sampling time selection

Source

pub fn smp7(&self) -> SMP7_R

Bits 21:23 - Channel 7 sampling time selection

Source

pub fn smp6(&self) -> SMP6_R

Bits 18:20 - Channel 6 sampling time selection

Source

pub fn smp5(&self) -> SMP5_R

Bits 15:17 - Channel 5 sampling time selection

Source

pub fn smp4(&self) -> SMP4_R

Bits 12:14 - Channel 4 sampling time selection

Source

pub fn smp3(&self) -> SMP3_R

Bits 9:11 - Channel 3 sampling time selection

Source

pub fn smp2(&self) -> SMP2_R

Bits 6:8 - Channel 2 sampling time selection

Source

pub fn smp1(&self) -> SMP1_R

Bits 3:5 - Channel 1 sampling time selection

Source

pub fn smp0(&self) -> SMP0_R

Bits 0:2 - Channel 0 sampling time selection

Source§

impl R<u32, Reg<u32, _SMPR2>>

Source

pub fn smp18(&self) -> SMP18_R

Bits 24:26 - Channel 18 sampling time selection

Source

pub fn smp17(&self) -> SMP17_R

Bits 21:23 - Channel 17 sampling time selection

Source

pub fn smp16(&self) -> SMP16_R

Bits 18:20 - Channel 16 sampling time selection

Source

pub fn smp15(&self) -> SMP15_R

Bits 15:17 - Channel 15 sampling time selection

Source

pub fn smp14(&self) -> SMP14_R

Bits 12:14 - Channel 14 sampling time selection

Source

pub fn smp13(&self) -> SMP13_R

Bits 9:11 - Channel 13 sampling time selection

Source

pub fn smp12(&self) -> SMP12_R

Bits 6:8 - Channel 12 sampling time selection

Source

pub fn smp11(&self) -> SMP11_R

Bits 3:5 - Channel 11 sampling time selection

Source

pub fn smp10(&self) -> SMP10_R

Bits 0:2 - Channel 10 sampling time selection

Source§

impl R<u32, Reg<u32, _TR1>>

Source

pub fn ht1(&self) -> HT1_R

Bits 16:27 - HT1

Source

pub fn lt1(&self) -> LT1_R

Bits 0:11 - LT1

Source§

impl R<u32, Reg<u32, _TR2>>

Source

pub fn ht2(&self) -> HT2_R

Bits 16:23 - HT2

Source

pub fn lt2(&self) -> LT2_R

Bits 0:7 - LT2

Source§

impl R<u32, Reg<u32, _TR3>>

Source

pub fn ht3(&self) -> HT3_R

Bits 16:23 - HT3

Source

pub fn lt3(&self) -> LT3_R

Bits 0:7 - LT3

Source§

impl R<u32, Reg<u32, _SQR1>>

Source

pub fn sq4(&self) -> SQ4_R

Bits 24:28 - SQ4

Source

pub fn sq3(&self) -> SQ3_R

Bits 18:22 - SQ3

Source

pub fn sq2(&self) -> SQ2_R

Bits 12:16 - SQ2

Source

pub fn sq1(&self) -> SQ1_R

Bits 6:10 - SQ1

Source

pub fn l(&self) -> L_R

Bits 0:3 - Regular channel sequence length

Source§

impl R<u32, Reg<u32, _SQR2>>

Source

pub fn sq9(&self) -> SQ9_R

Bits 24:28 - SQ9

Source

pub fn sq8(&self) -> SQ8_R

Bits 18:22 - SQ8

Source

pub fn sq7(&self) -> SQ7_R

Bits 12:16 - SQ7

Source

pub fn sq6(&self) -> SQ6_R

Bits 6:10 - SQ6

Source

pub fn sq5(&self) -> SQ5_R

Bits 0:4 - SQ5

Source§

impl R<u32, Reg<u32, _SQR3>>

Source

pub fn sq14(&self) -> SQ14_R

Bits 24:28 - SQ14

Source

pub fn sq13(&self) -> SQ13_R

Bits 18:22 - SQ13

Source

pub fn sq12(&self) -> SQ12_R

Bits 12:16 - SQ12

Source

pub fn sq11(&self) -> SQ11_R

Bits 6:10 - SQ11

Source

pub fn sq10(&self) -> SQ10_R

Bits 0:4 - SQ10

Source§

impl R<u32, Reg<u32, _SQR4>>

Source

pub fn sq16(&self) -> SQ16_R

Bits 6:10 - SQ16

Source

pub fn sq15(&self) -> SQ15_R

Bits 0:4 - SQ15

Source§

impl R<u32, Reg<u32, _DR>>

Source

pub fn regular_data(&self) -> REGULARDATA_R

Bits 0:15 - regularDATA

Source§

impl R<u32, Reg<u32, _JSQR>>

Source

pub fn jsq4(&self) -> JSQ4_R

Bits 26:30 - JSQ4

Source

pub fn jsq3(&self) -> JSQ3_R

Bits 20:24 - JSQ3

Source

pub fn jsq2(&self) -> JSQ2_R

Bits 14:18 - JSQ2

Source

pub fn jsq1(&self) -> JSQ1_R

Bits 8:12 - JSQ1

Source

pub fn jexten(&self) -> JEXTEN_R

Bits 6:7 - JEXTEN

Source

pub fn jextsel(&self) -> JEXTSEL_R

Bits 2:5 - JEXTSEL

Source

pub fn jl(&self) -> JL_R

Bits 0:1 - JL

Source§

impl R<u32, Reg<u32, _OFR1>>

Source

pub fn offset1_en(&self) -> OFFSET1_EN_R

Bit 31 - OFFSET1_EN

Source

pub fn offset1_ch(&self) -> OFFSET1_CH_R

Bits 26:30 - OFFSET1_CH

Source

pub fn offset1(&self) -> OFFSET1_R

Bits 0:11 - OFFSET1

Source§

impl R<u32, Reg<u32, _OFR2>>

Source

pub fn offset2_en(&self) -> OFFSET2_EN_R

Bit 31 - OFFSET2_EN

Source

pub fn offset2_ch(&self) -> OFFSET2_CH_R

Bits 26:30 - OFFSET2_CH

Source

pub fn offset2(&self) -> OFFSET2_R

Bits 0:11 - OFFSET2

Source§

impl R<u32, Reg<u32, _OFR3>>

Source

pub fn offset3_en(&self) -> OFFSET3_EN_R

Bit 31 - OFFSET3_EN

Source

pub fn offset3_ch(&self) -> OFFSET3_CH_R

Bits 26:30 - OFFSET3_CH

Source

pub fn offset3(&self) -> OFFSET3_R

Bits 0:11 - OFFSET3

Source§

impl R<u32, Reg<u32, _OFR4>>

Source

pub fn offset4_en(&self) -> OFFSET4_EN_R

Bit 31 - OFFSET4_EN

Source

pub fn offset4_ch(&self) -> OFFSET4_CH_R

Bits 26:30 - OFFSET4_CH

Source

pub fn offset4(&self) -> OFFSET4_R

Bits 0:11 - OFFSET4

Source§

impl R<u32, Reg<u32, _JDR1>>

Source

pub fn jdata1(&self) -> JDATA1_R

Bits 0:15 - JDATA1

Source§

impl R<u32, Reg<u32, _JDR2>>

Source

pub fn jdata2(&self) -> JDATA2_R

Bits 0:15 - JDATA2

Source§

impl R<u32, Reg<u32, _JDR3>>

Source

pub fn jdata3(&self) -> JDATA3_R

Bits 0:15 - JDATA3

Source§

impl R<u32, Reg<u32, _JDR4>>

Source

pub fn jdata4(&self) -> JDATA4_R

Bits 0:15 - JDATA4

Source§

impl R<u32, Reg<u32, _AWD2CR>>

Source

pub fn awd2ch(&self) -> AWD2CH_R

Bits 1:18 - AWD2CH

Source§

impl R<u32, Reg<u32, _AWD3CR>>

Source

pub fn awd3ch(&self) -> AWD3CH_R

Bits 1:18 - AWD3CH

Source§

impl R<u32, Reg<u32, _DIFSEL>>

Source

pub fn difsel_1_15(&self) -> DIFSEL_1_15_R

Bits 1:15 - Differential mode for channels 15 to 1

Source

pub fn difsel_16_18(&self) -> DIFSEL_16_18_R

Bits 16:18 - Differential mode for channels 18 to 16

Source§

impl R<u32, Reg<u32, _CALFACT>>

Source

pub fn calfact_d(&self) -> CALFACT_D_R

Bits 16:22 - CALFACT_D

Source

pub fn calfact_s(&self) -> CALFACT_S_R

Bits 0:6 - CALFACT_S

Source§

impl R<u8, MODER15_A>

Source

pub fn variant(&self) -> MODER15_A

Get enumerated values variant

Source

pub fn is_input(&self) -> bool

Checks if the value of the field is INPUT

Source

pub fn is_output(&self) -> bool

Checks if the value of the field is OUTPUT

Source

pub fn is_alternate(&self) -> bool

Checks if the value of the field is ALTERNATE

Source

pub fn is_analog(&self) -> bool

Checks if the value of the field is ANALOG

Source§

impl R<u32, Reg<u32, _MODER>>

Source

pub fn moder15(&self) -> MODER15_R

Bits 30:31 - Port x configuration bits (y = 0..15)

Source

pub fn moder14(&self) -> MODER14_R

Bits 28:29 - Port x configuration bits (y = 0..15)

Source

pub fn moder13(&self) -> MODER13_R

Bits 26:27 - Port x configuration bits (y = 0..15)

Source

pub fn moder12(&self) -> MODER12_R

Bits 24:25 - Port x configuration bits (y = 0..15)

Source

pub fn moder11(&self) -> MODER11_R

Bits 22:23 - Port x configuration bits (y = 0..15)

Source

pub fn moder10(&self) -> MODER10_R

Bits 20:21 - Port x configuration bits (y = 0..15)

Source

pub fn moder9(&self) -> MODER9_R

Bits 18:19 - Port x configuration bits (y = 0..15)

Source

pub fn moder8(&self) -> MODER8_R

Bits 16:17 - Port x configuration bits (y = 0..15)

Source

pub fn moder7(&self) -> MODER7_R

Bits 14:15 - Port x configuration bits (y = 0..15)

Source

pub fn moder6(&self) -> MODER6_R

Bits 12:13 - Port x configuration bits (y = 0..15)

Source

pub fn moder5(&self) -> MODER5_R

Bits 10:11 - Port x configuration bits (y = 0..15)

Source

pub fn moder4(&self) -> MODER4_R

Bits 8:9 - Port x configuration bits (y = 0..15)

Source

pub fn moder3(&self) -> MODER3_R

Bits 6:7 - Port x configuration bits (y = 0..15)

Source

pub fn moder2(&self) -> MODER2_R

Bits 4:5 - Port x configuration bits (y = 0..15)

Source

pub fn moder1(&self) -> MODER1_R

Bits 2:3 - Port x configuration bits (y = 0..15)

Source

pub fn moder0(&self) -> MODER0_R

Bits 0:1 - Port x configuration bits (y = 0..15)

Source§

impl R<bool, OT15_A>

Source

pub fn variant(&self) -> OT15_A

Get enumerated values variant

Source

pub fn is_push_pull(&self) -> bool

Checks if the value of the field is PUSHPULL

Source

pub fn is_open_drain(&self) -> bool

Checks if the value of the field is OPENDRAIN

Source§

impl R<u32, Reg<u32, _OTYPER>>

Source

pub fn ot15(&self) -> OT15_R

Bit 15 - Port x configuration bits (y = 0..15)

Source

pub fn ot14(&self) -> OT14_R

Bit 14 - Port x configuration bits (y = 0..15)

Source

pub fn ot13(&self) -> OT13_R

Bit 13 - Port x configuration bits (y = 0..15)

Source

pub fn ot12(&self) -> OT12_R

Bit 12 - Port x configuration bits (y = 0..15)

Source

pub fn ot11(&self) -> OT11_R

Bit 11 - Port x configuration bits (y = 0..15)

Source

pub fn ot10(&self) -> OT10_R

Bit 10 - Port x configuration bits (y = 0..15)

Source

pub fn ot9(&self) -> OT9_R

Bit 9 - Port x configuration bits (y = 0..15)

Source

pub fn ot8(&self) -> OT8_R

Bit 8 - Port x configuration bits (y = 0..15)

Source

pub fn ot7(&self) -> OT7_R

Bit 7 - Port x configuration bits (y = 0..15)

Source

pub fn ot6(&self) -> OT6_R

Bit 6 - Port x configuration bits (y = 0..15)

Source

pub fn ot5(&self) -> OT5_R

Bit 5 - Port x configuration bits (y = 0..15)

Source

pub fn ot4(&self) -> OT4_R

Bit 4 - Port x configuration bits (y = 0..15)

Source

pub fn ot3(&self) -> OT3_R

Bit 3 - Port x configuration bits (y = 0..15)

Source

pub fn ot2(&self) -> OT2_R

Bit 2 - Port x configuration bits (y = 0..15)

Source

pub fn ot1(&self) -> OT1_R

Bit 1 - Port x configuration bits (y = 0..15)

Source

pub fn ot0(&self) -> OT0_R

Bit 0 - Port x configuration bits (y = 0..15)

Source§

impl R<u8, OSPEEDR15_A>

Source

pub fn variant(&self) -> OSPEEDR15_A

Get enumerated values variant

Source

pub fn is_low_speed(&self) -> bool

Checks if the value of the field is LOWSPEED

Source

pub fn is_medium_speed(&self) -> bool

Checks if the value of the field is MEDIUMSPEED

Source

pub fn is_high_speed(&self) -> bool

Checks if the value of the field is HIGHSPEED

Source

pub fn is_very_high_speed(&self) -> bool

Checks if the value of the field is VERYHIGHSPEED

Source§

impl R<u32, Reg<u32, _OSPEEDR>>

Source

pub fn ospeedr15(&self) -> OSPEEDR15_R

Bits 30:31 - Port x configuration bits (y = 0..15)

Source

pub fn ospeedr14(&self) -> OSPEEDR14_R

Bits 28:29 - Port x configuration bits (y = 0..15)

Source

pub fn ospeedr13(&self) -> OSPEEDR13_R

Bits 26:27 - Port x configuration bits (y = 0..15)

Source

pub fn ospeedr12(&self) -> OSPEEDR12_R

Bits 24:25 - Port x configuration bits (y = 0..15)

Source

pub fn ospeedr11(&self) -> OSPEEDR11_R

Bits 22:23 - Port x configuration bits (y = 0..15)

Source

pub fn ospeedr10(&self) -> OSPEEDR10_R

Bits 20:21 - Port x configuration bits (y = 0..15)

Source

pub fn ospeedr9(&self) -> OSPEEDR9_R

Bits 18:19 - Port x configuration bits (y = 0..15)

Source

pub fn ospeedr8(&self) -> OSPEEDR8_R

Bits 16:17 - Port x configuration bits (y = 0..15)

Source

pub fn ospeedr7(&self) -> OSPEEDR7_R

Bits 14:15 - Port x configuration bits (y = 0..15)

Source

pub fn ospeedr6(&self) -> OSPEEDR6_R

Bits 12:13 - Port x configuration bits (y = 0..15)

Source

pub fn ospeedr5(&self) -> OSPEEDR5_R

Bits 10:11 - Port x configuration bits (y = 0..15)

Source

pub fn ospeedr4(&self) -> OSPEEDR4_R

Bits 8:9 - Port x configuration bits (y = 0..15)

Source

pub fn ospeedr3(&self) -> OSPEEDR3_R

Bits 6:7 - Port x configuration bits (y = 0..15)

Source

pub fn ospeedr2(&self) -> OSPEEDR2_R

Bits 4:5 - Port x configuration bits (y = 0..15)

Source

pub fn ospeedr1(&self) -> OSPEEDR1_R

Bits 2:3 - Port x configuration bits (y = 0..15)

Source

pub fn ospeedr0(&self) -> OSPEEDR0_R

Bits 0:1 - Port x configuration bits (y = 0..15)

Source§

impl R<u8, PUPDR15_A>

Source

pub fn variant(&self) -> Variant<u8, PUPDR15_A>

Get enumerated values variant

Source

pub fn is_floating(&self) -> bool

Checks if the value of the field is FLOATING

Source

pub fn is_pull_up(&self) -> bool

Checks if the value of the field is PULLUP

Source

pub fn is_pull_down(&self) -> bool

Checks if the value of the field is PULLDOWN

Source§

impl R<u32, Reg<u32, _PUPDR>>

Source

pub fn pupdr15(&self) -> PUPDR15_R

Bits 30:31 - Port x configuration bits (y = 0..15)

Source

pub fn pupdr14(&self) -> PUPDR14_R

Bits 28:29 - Port x configuration bits (y = 0..15)

Source

pub fn pupdr13(&self) -> PUPDR13_R

Bits 26:27 - Port x configuration bits (y = 0..15)

Source

pub fn pupdr12(&self) -> PUPDR12_R

Bits 24:25 - Port x configuration bits (y = 0..15)

Source

pub fn pupdr11(&self) -> PUPDR11_R

Bits 22:23 - Port x configuration bits (y = 0..15)

Source

pub fn pupdr10(&self) -> PUPDR10_R

Bits 20:21 - Port x configuration bits (y = 0..15)

Source

pub fn pupdr9(&self) -> PUPDR9_R

Bits 18:19 - Port x configuration bits (y = 0..15)

Source

pub fn pupdr8(&self) -> PUPDR8_R

Bits 16:17 - Port x configuration bits (y = 0..15)

Source

pub fn pupdr7(&self) -> PUPDR7_R

Bits 14:15 - Port x configuration bits (y = 0..15)

Source

pub fn pupdr6(&self) -> PUPDR6_R

Bits 12:13 - Port x configuration bits (y = 0..15)

Source

pub fn pupdr5(&self) -> PUPDR5_R

Bits 10:11 - Port x configuration bits (y = 0..15)

Source

pub fn pupdr4(&self) -> PUPDR4_R

Bits 8:9 - Port x configuration bits (y = 0..15)

Source

pub fn pupdr3(&self) -> PUPDR3_R

Bits 6:7 - Port x configuration bits (y = 0..15)

Source

pub fn pupdr2(&self) -> PUPDR2_R

Bits 4:5 - Port x configuration bits (y = 0..15)

Source

pub fn pupdr1(&self) -> PUPDR1_R

Bits 2:3 - Port x configuration bits (y = 0..15)

Source

pub fn pupdr0(&self) -> PUPDR0_R

Bits 0:1 - Port x configuration bits (y = 0..15)

Source§

impl R<bool, IDR15_A>

Source

pub fn variant(&self) -> IDR15_A

Get enumerated values variant

Source

pub fn is_high(&self) -> bool

Checks if the value of the field is HIGH

Source

pub fn is_low(&self) -> bool

Checks if the value of the field is LOW

Source§

impl R<u32, Reg<u32, _IDR>>

Source

pub fn idr15(&self) -> IDR15_R

Bit 15 - Port input data (y = 0..15)

Source

pub fn idr14(&self) -> IDR14_R

Bit 14 - Port input data (y = 0..15)

Source

pub fn idr13(&self) -> IDR13_R

Bit 13 - Port input data (y = 0..15)

Source

pub fn idr12(&self) -> IDR12_R

Bit 12 - Port input data (y = 0..15)

Source

pub fn idr11(&self) -> IDR11_R

Bit 11 - Port input data (y = 0..15)

Source

pub fn idr10(&self) -> IDR10_R

Bit 10 - Port input data (y = 0..15)

Source

pub fn idr9(&self) -> IDR9_R

Bit 9 - Port input data (y = 0..15)

Source

pub fn idr8(&self) -> IDR8_R

Bit 8 - Port input data (y = 0..15)

Source

pub fn idr7(&self) -> IDR7_R

Bit 7 - Port input data (y = 0..15)

Source

pub fn idr6(&self) -> IDR6_R

Bit 6 - Port input data (y = 0..15)

Source

pub fn idr5(&self) -> IDR5_R

Bit 5 - Port input data (y = 0..15)

Source

pub fn idr4(&self) -> IDR4_R

Bit 4 - Port input data (y = 0..15)

Source

pub fn idr3(&self) -> IDR3_R

Bit 3 - Port input data (y = 0..15)

Source

pub fn idr2(&self) -> IDR2_R

Bit 2 - Port input data (y = 0..15)

Source

pub fn idr1(&self) -> IDR1_R

Bit 1 - Port input data (y = 0..15)

Source

pub fn idr0(&self) -> IDR0_R

Bit 0 - Port input data (y = 0..15)

Source§

impl R<bool, ODR15_A>

Source

pub fn variant(&self) -> ODR15_A

Get enumerated values variant

Source

pub fn is_high(&self) -> bool

Checks if the value of the field is HIGH

Source

pub fn is_low(&self) -> bool

Checks if the value of the field is LOW

Source§

impl R<u32, Reg<u32, _ODR>>

Source

pub fn odr15(&self) -> ODR15_R

Bit 15 - Port output data (y = 0..15)

Source

pub fn odr14(&self) -> ODR14_R

Bit 14 - Port output data (y = 0..15)

Source

pub fn odr13(&self) -> ODR13_R

Bit 13 - Port output data (y = 0..15)

Source

pub fn odr12(&self) -> ODR12_R

Bit 12 - Port output data (y = 0..15)

Source

pub fn odr11(&self) -> ODR11_R

Bit 11 - Port output data (y = 0..15)

Source

pub fn odr10(&self) -> ODR10_R

Bit 10 - Port output data (y = 0..15)

Source

pub fn odr9(&self) -> ODR9_R

Bit 9 - Port output data (y = 0..15)

Source

pub fn odr8(&self) -> ODR8_R

Bit 8 - Port output data (y = 0..15)

Source

pub fn odr7(&self) -> ODR7_R

Bit 7 - Port output data (y = 0..15)

Source

pub fn odr6(&self) -> ODR6_R

Bit 6 - Port output data (y = 0..15)

Source

pub fn odr5(&self) -> ODR5_R

Bit 5 - Port output data (y = 0..15)

Source

pub fn odr4(&self) -> ODR4_R

Bit 4 - Port output data (y = 0..15)

Source

pub fn odr3(&self) -> ODR3_R

Bit 3 - Port output data (y = 0..15)

Source

pub fn odr2(&self) -> ODR2_R

Bit 2 - Port output data (y = 0..15)

Source

pub fn odr1(&self) -> ODR1_R

Bit 1 - Port output data (y = 0..15)

Source

pub fn odr0(&self) -> ODR0_R

Bit 0 - Port output data (y = 0..15)

Source§

impl R<bool, LCKK_A>

Source

pub fn variant(&self) -> LCKK_A

Get enumerated values variant

Source

pub fn is_not_active(&self) -> bool

Checks if the value of the field is NOTACTIVE

Source

pub fn is_active(&self) -> bool

Checks if the value of the field is ACTIVE

Source§

impl R<bool, LCK15_A>

Source

pub fn variant(&self) -> LCK15_A

Get enumerated values variant

Source

pub fn is_unlocked(&self) -> bool

Checks if the value of the field is UNLOCKED

Source

pub fn is_locked(&self) -> bool

Checks if the value of the field is LOCKED

Source§

impl R<bool, LCK9_A>

Source

pub fn variant(&self) -> LCK9_A

Get enumerated values variant

Source

pub fn is_unlocked(&self) -> bool

Checks if the value of the field is UNLOCKED

Source

pub fn is_locked(&self) -> bool

Checks if the value of the field is LOCKED

Source§

impl R<u32, Reg<u32, _LCKR>>

Source

pub fn lckk(&self) -> LCKK_R

Bit 16 - Port x lock bit y (y= 0..15)

Source

pub fn lck15(&self) -> LCK15_R

Bit 15 - Port x lock bit y (y= 0..15)

Source

pub fn lck14(&self) -> LCK14_R

Bit 14 - Port x lock bit y (y= 0..15)

Source

pub fn lck13(&self) -> LCK13_R

Bit 13 - Port x lock bit y (y= 0..15)

Source

pub fn lck12(&self) -> LCK12_R

Bit 12 - Port x lock bit y (y= 0..15)

Source

pub fn lck11(&self) -> LCK11_R

Bit 11 - Port x lock bit y (y= 0..15)

Source

pub fn lck10(&self) -> LCK10_R

Bit 10 - Port x lock bit y (y= 0..15)

Source

pub fn lck9(&self) -> LCK9_R

Bit 9 - Port x lock bit y (y= 0..15)

Source

pub fn lck8(&self) -> LCK8_R

Bit 8 - Port x lock bit y (y= 0..15)

Source

pub fn lck7(&self) -> LCK7_R

Bit 7 - Port x lock bit y (y= 0..15)

Source

pub fn lck6(&self) -> LCK6_R

Bit 6 - Port x lock bit y (y= 0..15)

Source

pub fn lck5(&self) -> LCK5_R

Bit 5 - Port x lock bit y (y= 0..15)

Source

pub fn lck4(&self) -> LCK4_R

Bit 4 - Port x lock bit y (y= 0..15)

Source

pub fn lck3(&self) -> LCK3_R

Bit 3 - Port x lock bit y (y= 0..15)

Source

pub fn lck2(&self) -> LCK2_R

Bit 2 - Port x lock bit y (y= 0..15)

Source

pub fn lck1(&self) -> LCK1_R

Bit 1 - Port x lock bit y (y= 0..15)

Source

pub fn lck0(&self) -> LCK0_R

Bit 0 - Port x lock bit y (y= 0..15)

Source§

impl R<u8, AFRL7_A>

Source

pub fn variant(&self) -> AFRL7_A

Get enumerated values variant

Source

pub fn is_af0(&self) -> bool

Checks if the value of the field is AF0

Source

pub fn is_af1(&self) -> bool

Checks if the value of the field is AF1

Source

pub fn is_af2(&self) -> bool

Checks if the value of the field is AF2

Source

pub fn is_af3(&self) -> bool

Checks if the value of the field is AF3

Source

pub fn is_af4(&self) -> bool

Checks if the value of the field is AF4

Source

pub fn is_af5(&self) -> bool

Checks if the value of the field is AF5

Source

pub fn is_af6(&self) -> bool

Checks if the value of the field is AF6

Source

pub fn is_af7(&self) -> bool

Checks if the value of the field is AF7

Source

pub fn is_af8(&self) -> bool

Checks if the value of the field is AF8

Source

pub fn is_af9(&self) -> bool

Checks if the value of the field is AF9

Source

pub fn is_af10(&self) -> bool

Checks if the value of the field is AF10

Source

pub fn is_af11(&self) -> bool

Checks if the value of the field is AF11

Source

pub fn is_af12(&self) -> bool

Checks if the value of the field is AF12

Source

pub fn is_af13(&self) -> bool

Checks if the value of the field is AF13

Source

pub fn is_af14(&self) -> bool

Checks if the value of the field is AF14

Source

pub fn is_af15(&self) -> bool

Checks if the value of the field is AF15

Source§

impl R<u32, Reg<u32, _AFRL>>

Source

pub fn afrl7(&self) -> AFRL7_R

Bits 28:31 - Alternate function selection for port x bit y (y = 0..7)

Source

pub fn afrl6(&self) -> AFRL6_R

Bits 24:27 - Alternate function selection for port x bit y (y = 0..7)

Source

pub fn afrl5(&self) -> AFRL5_R

Bits 20:23 - Alternate function selection for port x bit y (y = 0..7)

Source

pub fn afrl4(&self) -> AFRL4_R

Bits 16:19 - Alternate function selection for port x bit y (y = 0..7)

Source

pub fn afrl3(&self) -> AFRL3_R

Bits 12:15 - Alternate function selection for port x bit y (y = 0..7)

Source

pub fn afrl2(&self) -> AFRL2_R

Bits 8:11 - Alternate function selection for port x bit y (y = 0..7)

Source

pub fn afrl1(&self) -> AFRL1_R

Bits 4:7 - Alternate function selection for port x bit y (y = 0..7)

Source

pub fn afrl0(&self) -> AFRL0_R

Bits 0:3 - Alternate function selection for port x bit y (y = 0..7)

Source§

impl R<u8, AFRH15_A>

Source

pub fn variant(&self) -> AFRH15_A

Get enumerated values variant

Source

pub fn is_af0(&self) -> bool

Checks if the value of the field is AF0

Source

pub fn is_af1(&self) -> bool

Checks if the value of the field is AF1

Source

pub fn is_af2(&self) -> bool

Checks if the value of the field is AF2

Source

pub fn is_af3(&self) -> bool

Checks if the value of the field is AF3

Source

pub fn is_af4(&self) -> bool

Checks if the value of the field is AF4

Source

pub fn is_af5(&self) -> bool

Checks if the value of the field is AF5

Source

pub fn is_af6(&self) -> bool

Checks if the value of the field is AF6

Source

pub fn is_af7(&self) -> bool

Checks if the value of the field is AF7

Source

pub fn is_af8(&self) -> bool

Checks if the value of the field is AF8

Source

pub fn is_af9(&self) -> bool

Checks if the value of the field is AF9

Source

pub fn is_af10(&self) -> bool

Checks if the value of the field is AF10

Source

pub fn is_af11(&self) -> bool

Checks if the value of the field is AF11

Source

pub fn is_af12(&self) -> bool

Checks if the value of the field is AF12

Source

pub fn is_af13(&self) -> bool

Checks if the value of the field is AF13

Source

pub fn is_af14(&self) -> bool

Checks if the value of the field is AF14

Source

pub fn is_af15(&self) -> bool

Checks if the value of the field is AF15

Source§

impl R<u32, Reg<u32, _AFRH>>

Source

pub fn afrh15(&self) -> AFRH15_R

Bits 28:31 - Alternate function selection for port x bit y (y = 8..15)

Source

pub fn afrh14(&self) -> AFRH14_R

Bits 24:27 - Alternate function selection for port x bit y (y = 8..15)

Source

pub fn afrh13(&self) -> AFRH13_R

Bits 20:23 - Alternate function selection for port x bit y (y = 8..15)

Source

pub fn afrh12(&self) -> AFRH12_R

Bits 16:19 - Alternate function selection for port x bit y (y = 8..15)

Source

pub fn afrh11(&self) -> AFRH11_R

Bits 12:15 - Alternate function selection for port x bit y (y = 8..15)

Source

pub fn afrh10(&self) -> AFRH10_R

Bits 8:11 - Alternate function selection for port x bit y (y = 8..15)

Source

pub fn afrh9(&self) -> AFRH9_R

Bits 4:7 - Alternate function selection for port x bit y (y = 8..15)

Source

pub fn afrh8(&self) -> AFRH8_R

Bits 0:3 - Alternate function selection for port x bit y (y = 8..15)

Source§

impl R<u8, MODER15_A>

Source

pub fn variant(&self) -> MODER15_A

Get enumerated values variant

Source

pub fn is_input(&self) -> bool

Checks if the value of the field is INPUT

Source

pub fn is_output(&self) -> bool

Checks if the value of the field is OUTPUT

Source

pub fn is_alternate(&self) -> bool

Checks if the value of the field is ALTERNATE

Source

pub fn is_analog(&self) -> bool

Checks if the value of the field is ANALOG

Source§

impl R<u32, Reg<u32, _MODER>>

Source

pub fn moder15(&self) -> MODER15_R

Bits 30:31 - Port x configuration bits (y = 0..15)

Source

pub fn moder14(&self) -> MODER14_R

Bits 28:29 - Port x configuration bits (y = 0..15)

Source

pub fn moder13(&self) -> MODER13_R

Bits 26:27 - Port x configuration bits (y = 0..15)

Source

pub fn moder12(&self) -> MODER12_R

Bits 24:25 - Port x configuration bits (y = 0..15)

Source

pub fn moder11(&self) -> MODER11_R

Bits 22:23 - Port x configuration bits (y = 0..15)

Source

pub fn moder10(&self) -> MODER10_R

Bits 20:21 - Port x configuration bits (y = 0..15)

Source

pub fn moder9(&self) -> MODER9_R

Bits 18:19 - Port x configuration bits (y = 0..15)

Source

pub fn moder8(&self) -> MODER8_R

Bits 16:17 - Port x configuration bits (y = 0..15)

Source

pub fn moder7(&self) -> MODER7_R

Bits 14:15 - Port x configuration bits (y = 0..15)

Source

pub fn moder6(&self) -> MODER6_R

Bits 12:13 - Port x configuration bits (y = 0..15)

Source

pub fn moder5(&self) -> MODER5_R

Bits 10:11 - Port x configuration bits (y = 0..15)

Source

pub fn moder4(&self) -> MODER4_R

Bits 8:9 - Port x configuration bits (y = 0..15)

Source

pub fn moder3(&self) -> MODER3_R

Bits 6:7 - Port x configuration bits (y = 0..15)

Source

pub fn moder2(&self) -> MODER2_R

Bits 4:5 - Port x configuration bits (y = 0..15)

Source

pub fn moder1(&self) -> MODER1_R

Bits 2:3 - Port x configuration bits (y = 0..15)

Source

pub fn moder0(&self) -> MODER0_R

Bits 0:1 - Port x configuration bits (y = 0..15)

Source§

impl R<bool, OT15_A>

Source

pub fn variant(&self) -> OT15_A

Get enumerated values variant

Source

pub fn is_push_pull(&self) -> bool

Checks if the value of the field is PUSHPULL

Source

pub fn is_open_drain(&self) -> bool

Checks if the value of the field is OPENDRAIN

Source§

impl R<u32, Reg<u32, _OTYPER>>

Source

pub fn ot15(&self) -> OT15_R

Bit 15 - Port x configuration bits (y = 0..15)

Source

pub fn ot14(&self) -> OT14_R

Bit 14 - Port x configuration bits (y = 0..15)

Source

pub fn ot13(&self) -> OT13_R

Bit 13 - Port x configuration bits (y = 0..15)

Source

pub fn ot12(&self) -> OT12_R

Bit 12 - Port x configuration bits (y = 0..15)

Source

pub fn ot11(&self) -> OT11_R

Bit 11 - Port x configuration bits (y = 0..15)

Source

pub fn ot10(&self) -> OT10_R

Bit 10 - Port x configuration bits (y = 0..15)

Source

pub fn ot9(&self) -> OT9_R

Bit 9 - Port x configuration bits (y = 0..15)

Source

pub fn ot8(&self) -> OT8_R

Bit 8 - Port x configuration bits (y = 0..15)

Source

pub fn ot7(&self) -> OT7_R

Bit 7 - Port x configuration bits (y = 0..15)

Source

pub fn ot6(&self) -> OT6_R

Bit 6 - Port x configuration bits (y = 0..15)

Source

pub fn ot5(&self) -> OT5_R

Bit 5 - Port x configuration bits (y = 0..15)

Source

pub fn ot4(&self) -> OT4_R

Bit 4 - Port x configuration bits (y = 0..15)

Source

pub fn ot3(&self) -> OT3_R

Bit 3 - Port x configuration bits (y = 0..15)

Source

pub fn ot2(&self) -> OT2_R

Bit 2 - Port x configuration bits (y = 0..15)

Source

pub fn ot1(&self) -> OT1_R

Bit 1 - Port x configuration bits (y = 0..15)

Source

pub fn ot0(&self) -> OT0_R

Bit 0 - Port x configuration bits (y = 0..15)

Source§

impl R<u8, OSPEEDR15_A>

Source

pub fn variant(&self) -> OSPEEDR15_A

Get enumerated values variant

Source

pub fn is_low_speed(&self) -> bool

Checks if the value of the field is LOWSPEED

Source

pub fn is_medium_speed(&self) -> bool

Checks if the value of the field is MEDIUMSPEED

Source

pub fn is_high_speed(&self) -> bool

Checks if the value of the field is HIGHSPEED

Source

pub fn is_very_high_speed(&self) -> bool

Checks if the value of the field is VERYHIGHSPEED

Source§

impl R<u32, Reg<u32, _OSPEEDR>>

Source

pub fn ospeedr15(&self) -> OSPEEDR15_R

Bits 30:31 - Port x configuration bits (y = 0..15)

Source

pub fn ospeedr14(&self) -> OSPEEDR14_R

Bits 28:29 - Port x configuration bits (y = 0..15)

Source

pub fn ospeedr13(&self) -> OSPEEDR13_R

Bits 26:27 - Port x configuration bits (y = 0..15)

Source

pub fn ospeedr12(&self) -> OSPEEDR12_R

Bits 24:25 - Port x configuration bits (y = 0..15)

Source

pub fn ospeedr11(&self) -> OSPEEDR11_R

Bits 22:23 - Port x configuration bits (y = 0..15)

Source

pub fn ospeedr10(&self) -> OSPEEDR10_R

Bits 20:21 - Port x configuration bits (y = 0..15)

Source

pub fn ospeedr9(&self) -> OSPEEDR9_R

Bits 18:19 - Port x configuration bits (y = 0..15)

Source

pub fn ospeedr8(&self) -> OSPEEDR8_R

Bits 16:17 - Port x configuration bits (y = 0..15)

Source

pub fn ospeedr7(&self) -> OSPEEDR7_R

Bits 14:15 - Port x configuration bits (y = 0..15)

Source

pub fn ospeedr6(&self) -> OSPEEDR6_R

Bits 12:13 - Port x configuration bits (y = 0..15)

Source

pub fn ospeedr5(&self) -> OSPEEDR5_R

Bits 10:11 - Port x configuration bits (y = 0..15)

Source

pub fn ospeedr4(&self) -> OSPEEDR4_R

Bits 8:9 - Port x configuration bits (y = 0..15)

Source

pub fn ospeedr3(&self) -> OSPEEDR3_R

Bits 6:7 - Port x configuration bits (y = 0..15)

Source

pub fn ospeedr2(&self) -> OSPEEDR2_R

Bits 4:5 - Port x configuration bits (y = 0..15)

Source

pub fn ospeedr1(&self) -> OSPEEDR1_R

Bits 2:3 - Port x configuration bits (y = 0..15)

Source

pub fn ospeedr0(&self) -> OSPEEDR0_R

Bits 0:1 - Port x configuration bits (y = 0..15)

Source§

impl R<u8, PUPDR15_A>

Source

pub fn variant(&self) -> Variant<u8, PUPDR15_A>

Get enumerated values variant

Source

pub fn is_floating(&self) -> bool

Checks if the value of the field is FLOATING

Source

pub fn is_pull_up(&self) -> bool

Checks if the value of the field is PULLUP

Source

pub fn is_pull_down(&self) -> bool

Checks if the value of the field is PULLDOWN

Source§

impl R<u32, Reg<u32, _PUPDR>>

Source

pub fn pupdr15(&self) -> PUPDR15_R

Bits 30:31 - Port x configuration bits (y = 0..15)

Source

pub fn pupdr14(&self) -> PUPDR14_R

Bits 28:29 - Port x configuration bits (y = 0..15)

Source

pub fn pupdr13(&self) -> PUPDR13_R

Bits 26:27 - Port x configuration bits (y = 0..15)

Source

pub fn pupdr12(&self) -> PUPDR12_R

Bits 24:25 - Port x configuration bits (y = 0..15)

Source

pub fn pupdr11(&self) -> PUPDR11_R

Bits 22:23 - Port x configuration bits (y = 0..15)

Source

pub fn pupdr10(&self) -> PUPDR10_R

Bits 20:21 - Port x configuration bits (y = 0..15)

Source

pub fn pupdr9(&self) -> PUPDR9_R

Bits 18:19 - Port x configuration bits (y = 0..15)

Source

pub fn pupdr8(&self) -> PUPDR8_R

Bits 16:17 - Port x configuration bits (y = 0..15)

Source

pub fn pupdr7(&self) -> PUPDR7_R

Bits 14:15 - Port x configuration bits (y = 0..15)

Source

pub fn pupdr6(&self) -> PUPDR6_R

Bits 12:13 - Port x configuration bits (y = 0..15)

Source

pub fn pupdr5(&self) -> PUPDR5_R

Bits 10:11 - Port x configuration bits (y = 0..15)

Source

pub fn pupdr4(&self) -> PUPDR4_R

Bits 8:9 - Port x configuration bits (y = 0..15)

Source

pub fn pupdr3(&self) -> PUPDR3_R

Bits 6:7 - Port x configuration bits (y = 0..15)

Source

pub fn pupdr2(&self) -> PUPDR2_R

Bits 4:5 - Port x configuration bits (y = 0..15)

Source

pub fn pupdr1(&self) -> PUPDR1_R

Bits 2:3 - Port x configuration bits (y = 0..15)

Source

pub fn pupdr0(&self) -> PUPDR0_R

Bits 0:1 - Port x configuration bits (y = 0..15)

Source§

impl R<bool, IDR15_A>

Source

pub fn variant(&self) -> IDR15_A

Get enumerated values variant

Source

pub fn is_high(&self) -> bool

Checks if the value of the field is HIGH

Source

pub fn is_low(&self) -> bool

Checks if the value of the field is LOW

Source§

impl R<u32, Reg<u32, _IDR>>

Source

pub fn idr15(&self) -> IDR15_R

Bit 15 - Port input data (y = 0..15)

Source

pub fn idr14(&self) -> IDR14_R

Bit 14 - Port input data (y = 0..15)

Source

pub fn idr13(&self) -> IDR13_R

Bit 13 - Port input data (y = 0..15)

Source

pub fn idr12(&self) -> IDR12_R

Bit 12 - Port input data (y = 0..15)

Source

pub fn idr11(&self) -> IDR11_R

Bit 11 - Port input data (y = 0..15)

Source

pub fn idr10(&self) -> IDR10_R

Bit 10 - Port input data (y = 0..15)

Source

pub fn idr9(&self) -> IDR9_R

Bit 9 - Port input data (y = 0..15)

Source

pub fn idr8(&self) -> IDR8_R

Bit 8 - Port input data (y = 0..15)

Source

pub fn idr7(&self) -> IDR7_R

Bit 7 - Port input data (y = 0..15)

Source

pub fn idr6(&self) -> IDR6_R

Bit 6 - Port input data (y = 0..15)

Source

pub fn idr5(&self) -> IDR5_R

Bit 5 - Port input data (y = 0..15)

Source

pub fn idr4(&self) -> IDR4_R

Bit 4 - Port input data (y = 0..15)

Source

pub fn idr3(&self) -> IDR3_R

Bit 3 - Port input data (y = 0..15)

Source

pub fn idr2(&self) -> IDR2_R

Bit 2 - Port input data (y = 0..15)

Source

pub fn idr1(&self) -> IDR1_R

Bit 1 - Port input data (y = 0..15)

Source

pub fn idr0(&self) -> IDR0_R

Bit 0 - Port input data (y = 0..15)

Source§

impl R<bool, ODR15_A>

Source

pub fn variant(&self) -> ODR15_A

Get enumerated values variant

Source

pub fn is_high(&self) -> bool

Checks if the value of the field is HIGH

Source

pub fn is_low(&self) -> bool

Checks if the value of the field is LOW

Source§

impl R<u32, Reg<u32, _ODR>>

Source

pub fn odr15(&self) -> ODR15_R

Bit 15 - Port output data (y = 0..15)

Source

pub fn odr14(&self) -> ODR14_R

Bit 14 - Port output data (y = 0..15)

Source

pub fn odr13(&self) -> ODR13_R

Bit 13 - Port output data (y = 0..15)

Source

pub fn odr12(&self) -> ODR12_R

Bit 12 - Port output data (y = 0..15)

Source

pub fn odr11(&self) -> ODR11_R

Bit 11 - Port output data (y = 0..15)

Source

pub fn odr10(&self) -> ODR10_R

Bit 10 - Port output data (y = 0..15)

Source

pub fn odr9(&self) -> ODR9_R

Bit 9 - Port output data (y = 0..15)

Source

pub fn odr8(&self) -> ODR8_R

Bit 8 - Port output data (y = 0..15)

Source

pub fn odr7(&self) -> ODR7_R

Bit 7 - Port output data (y = 0..15)

Source

pub fn odr6(&self) -> ODR6_R

Bit 6 - Port output data (y = 0..15)

Source

pub fn odr5(&self) -> ODR5_R

Bit 5 - Port output data (y = 0..15)

Source

pub fn odr4(&self) -> ODR4_R

Bit 4 - Port output data (y = 0..15)

Source

pub fn odr3(&self) -> ODR3_R

Bit 3 - Port output data (y = 0..15)

Source

pub fn odr2(&self) -> ODR2_R

Bit 2 - Port output data (y = 0..15)

Source

pub fn odr1(&self) -> ODR1_R

Bit 1 - Port output data (y = 0..15)

Source

pub fn odr0(&self) -> ODR0_R

Bit 0 - Port output data (y = 0..15)

Source§

impl R<bool, LCKK_A>

Source

pub fn variant(&self) -> LCKK_A

Get enumerated values variant

Source

pub fn is_not_active(&self) -> bool

Checks if the value of the field is NOTACTIVE

Source

pub fn is_active(&self) -> bool

Checks if the value of the field is ACTIVE

Source§

impl R<bool, LCK15_A>

Source

pub fn variant(&self) -> LCK15_A

Get enumerated values variant

Source

pub fn is_unlocked(&self) -> bool

Checks if the value of the field is UNLOCKED

Source

pub fn is_locked(&self) -> bool

Checks if the value of the field is LOCKED

Source§

impl R<bool, LCK9_A>

Source

pub fn variant(&self) -> LCK9_A

Get enumerated values variant

Source

pub fn is_unlocked(&self) -> bool

Checks if the value of the field is UNLOCKED

Source

pub fn is_locked(&self) -> bool

Checks if the value of the field is LOCKED

Source§

impl R<u32, Reg<u32, _LCKR>>

Source

pub fn lckk(&self) -> LCKK_R

Bit 16 - Port x lock bit y (y= 0..15)

Source

pub fn lck15(&self) -> LCK15_R

Bit 15 - Port x lock bit y (y= 0..15)

Source

pub fn lck14(&self) -> LCK14_R

Bit 14 - Port x lock bit y (y= 0..15)

Source

pub fn lck13(&self) -> LCK13_R

Bit 13 - Port x lock bit y (y= 0..15)

Source

pub fn lck12(&self) -> LCK12_R

Bit 12 - Port x lock bit y (y= 0..15)

Source

pub fn lck11(&self) -> LCK11_R

Bit 11 - Port x lock bit y (y= 0..15)

Source

pub fn lck10(&self) -> LCK10_R

Bit 10 - Port x lock bit y (y= 0..15)

Source

pub fn lck9(&self) -> LCK9_R

Bit 9 - Port x lock bit y (y= 0..15)

Source

pub fn lck8(&self) -> LCK8_R

Bit 8 - Port x lock bit y (y= 0..15)

Source

pub fn lck7(&self) -> LCK7_R

Bit 7 - Port x lock bit y (y= 0..15)

Source

pub fn lck6(&self) -> LCK6_R

Bit 6 - Port x lock bit y (y= 0..15)

Source

pub fn lck5(&self) -> LCK5_R

Bit 5 - Port x lock bit y (y= 0..15)

Source

pub fn lck4(&self) -> LCK4_R

Bit 4 - Port x lock bit y (y= 0..15)

Source

pub fn lck3(&self) -> LCK3_R

Bit 3 - Port x lock bit y (y= 0..15)

Source

pub fn lck2(&self) -> LCK2_R

Bit 2 - Port x lock bit y (y= 0..15)

Source

pub fn lck1(&self) -> LCK1_R

Bit 1 - Port x lock bit y (y= 0..15)

Source

pub fn lck0(&self) -> LCK0_R

Bit 0 - Port x lock bit y (y= 0..15)

Source§

impl R<u8, AFRL7_A>

Source

pub fn variant(&self) -> AFRL7_A

Get enumerated values variant

Source

pub fn is_af0(&self) -> bool

Checks if the value of the field is AF0

Source

pub fn is_af1(&self) -> bool

Checks if the value of the field is AF1

Source

pub fn is_af2(&self) -> bool

Checks if the value of the field is AF2

Source

pub fn is_af3(&self) -> bool

Checks if the value of the field is AF3

Source

pub fn is_af4(&self) -> bool

Checks if the value of the field is AF4

Source

pub fn is_af5(&self) -> bool

Checks if the value of the field is AF5

Source

pub fn is_af6(&self) -> bool

Checks if the value of the field is AF6

Source

pub fn is_af7(&self) -> bool

Checks if the value of the field is AF7

Source

pub fn is_af8(&self) -> bool

Checks if the value of the field is AF8

Source

pub fn is_af9(&self) -> bool

Checks if the value of the field is AF9

Source

pub fn is_af10(&self) -> bool

Checks if the value of the field is AF10

Source

pub fn is_af11(&self) -> bool

Checks if the value of the field is AF11

Source

pub fn is_af12(&self) -> bool

Checks if the value of the field is AF12

Source

pub fn is_af13(&self) -> bool

Checks if the value of the field is AF13

Source

pub fn is_af14(&self) -> bool

Checks if the value of the field is AF14

Source

pub fn is_af15(&self) -> bool

Checks if the value of the field is AF15

Source§

impl R<u32, Reg<u32, _AFRL>>

Source

pub fn afrl7(&self) -> AFRL7_R

Bits 28:31 - Alternate function selection for port x bit y (y = 0..7)

Source

pub fn afrl6(&self) -> AFRL6_R

Bits 24:27 - Alternate function selection for port x bit y (y = 0..7)

Source

pub fn afrl5(&self) -> AFRL5_R

Bits 20:23 - Alternate function selection for port x bit y (y = 0..7)

Source

pub fn afrl4(&self) -> AFRL4_R

Bits 16:19 - Alternate function selection for port x bit y (y = 0..7)

Source

pub fn afrl3(&self) -> AFRL3_R

Bits 12:15 - Alternate function selection for port x bit y (y = 0..7)

Source

pub fn afrl2(&self) -> AFRL2_R

Bits 8:11 - Alternate function selection for port x bit y (y = 0..7)

Source

pub fn afrl1(&self) -> AFRL1_R

Bits 4:7 - Alternate function selection for port x bit y (y = 0..7)

Source

pub fn afrl0(&self) -> AFRL0_R

Bits 0:3 - Alternate function selection for port x bit y (y = 0..7)

Source§

impl R<u8, AFRH15_A>

Source

pub fn variant(&self) -> AFRH15_A

Get enumerated values variant

Source

pub fn is_af0(&self) -> bool

Checks if the value of the field is AF0

Source

pub fn is_af1(&self) -> bool

Checks if the value of the field is AF1

Source

pub fn is_af2(&self) -> bool

Checks if the value of the field is AF2

Source

pub fn is_af3(&self) -> bool

Checks if the value of the field is AF3

Source

pub fn is_af4(&self) -> bool

Checks if the value of the field is AF4

Source

pub fn is_af5(&self) -> bool

Checks if the value of the field is AF5

Source

pub fn is_af6(&self) -> bool

Checks if the value of the field is AF6

Source

pub fn is_af7(&self) -> bool

Checks if the value of the field is AF7

Source

pub fn is_af8(&self) -> bool

Checks if the value of the field is AF8

Source

pub fn is_af9(&self) -> bool

Checks if the value of the field is AF9

Source

pub fn is_af10(&self) -> bool

Checks if the value of the field is AF10

Source

pub fn is_af11(&self) -> bool

Checks if the value of the field is AF11

Source

pub fn is_af12(&self) -> bool

Checks if the value of the field is AF12

Source

pub fn is_af13(&self) -> bool

Checks if the value of the field is AF13

Source

pub fn is_af14(&self) -> bool

Checks if the value of the field is AF14

Source

pub fn is_af15(&self) -> bool

Checks if the value of the field is AF15

Source§

impl R<u32, Reg<u32, _AFRH>>

Source

pub fn afrh15(&self) -> AFRH15_R

Bits 28:31 - Alternate function selection for port x bit y (y = 8..15)

Source

pub fn afrh14(&self) -> AFRH14_R

Bits 24:27 - Alternate function selection for port x bit y (y = 8..15)

Source

pub fn afrh13(&self) -> AFRH13_R

Bits 20:23 - Alternate function selection for port x bit y (y = 8..15)

Source

pub fn afrh12(&self) -> AFRH12_R

Bits 16:19 - Alternate function selection for port x bit y (y = 8..15)

Source

pub fn afrh11(&self) -> AFRH11_R

Bits 12:15 - Alternate function selection for port x bit y (y = 8..15)

Source

pub fn afrh10(&self) -> AFRH10_R

Bits 8:11 - Alternate function selection for port x bit y (y = 8..15)

Source

pub fn afrh9(&self) -> AFRH9_R

Bits 4:7 - Alternate function selection for port x bit y (y = 8..15)

Source

pub fn afrh8(&self) -> AFRH8_R

Bits 0:3 - Alternate function selection for port x bit y (y = 8..15)

Source§

impl R<u8, MODER15_A>

Source

pub fn variant(&self) -> MODER15_A

Get enumerated values variant

Source

pub fn is_input(&self) -> bool

Checks if the value of the field is INPUT

Source

pub fn is_output(&self) -> bool

Checks if the value of the field is OUTPUT

Source

pub fn is_alternate(&self) -> bool

Checks if the value of the field is ALTERNATE

Source

pub fn is_analog(&self) -> bool

Checks if the value of the field is ANALOG

Source§

impl R<u32, Reg<u32, _MODER>>

Source

pub fn moder15(&self) -> MODER15_R

Bits 30:31 - Port x configuration bits (y = 0..15)

Source

pub fn moder14(&self) -> MODER14_R

Bits 28:29 - Port x configuration bits (y = 0..15)

Source

pub fn moder13(&self) -> MODER13_R

Bits 26:27 - Port x configuration bits (y = 0..15)

Source

pub fn moder12(&self) -> MODER12_R

Bits 24:25 - Port x configuration bits (y = 0..15)

Source

pub fn moder11(&self) -> MODER11_R

Bits 22:23 - Port x configuration bits (y = 0..15)

Source

pub fn moder10(&self) -> MODER10_R

Bits 20:21 - Port x configuration bits (y = 0..15)

Source

pub fn moder9(&self) -> MODER9_R

Bits 18:19 - Port x configuration bits (y = 0..15)

Source

pub fn moder8(&self) -> MODER8_R

Bits 16:17 - Port x configuration bits (y = 0..15)

Source

pub fn moder7(&self) -> MODER7_R

Bits 14:15 - Port x configuration bits (y = 0..15)

Source

pub fn moder6(&self) -> MODER6_R

Bits 12:13 - Port x configuration bits (y = 0..15)

Source

pub fn moder5(&self) -> MODER5_R

Bits 10:11 - Port x configuration bits (y = 0..15)

Source

pub fn moder4(&self) -> MODER4_R

Bits 8:9 - Port x configuration bits (y = 0..15)

Source

pub fn moder3(&self) -> MODER3_R

Bits 6:7 - Port x configuration bits (y = 0..15)

Source

pub fn moder2(&self) -> MODER2_R

Bits 4:5 - Port x configuration bits (y = 0..15)

Source

pub fn moder1(&self) -> MODER1_R

Bits 2:3 - Port x configuration bits (y = 0..15)

Source

pub fn moder0(&self) -> MODER0_R

Bits 0:1 - Port x configuration bits (y = 0..15)

Source§

impl R<bool, OT15_A>

Source

pub fn variant(&self) -> OT15_A

Get enumerated values variant

Source

pub fn is_push_pull(&self) -> bool

Checks if the value of the field is PUSHPULL

Source

pub fn is_open_drain(&self) -> bool

Checks if the value of the field is OPENDRAIN

Source§

impl R<u32, Reg<u32, _OTYPER>>

Source

pub fn ot15(&self) -> OT15_R

Bit 15 - Port x configuration bits (y = 0..15)

Source

pub fn ot14(&self) -> OT14_R

Bit 14 - Port x configuration bits (y = 0..15)

Source

pub fn ot13(&self) -> OT13_R

Bit 13 - Port x configuration bits (y = 0..15)

Source

pub fn ot12(&self) -> OT12_R

Bit 12 - Port x configuration bits (y = 0..15)

Source

pub fn ot11(&self) -> OT11_R

Bit 11 - Port x configuration bits (y = 0..15)

Source

pub fn ot10(&self) -> OT10_R

Bit 10 - Port x configuration bits (y = 0..15)

Source

pub fn ot9(&self) -> OT9_R

Bit 9 - Port x configuration bits (y = 0..15)

Source

pub fn ot8(&self) -> OT8_R

Bit 8 - Port x configuration bits (y = 0..15)

Source

pub fn ot7(&self) -> OT7_R

Bit 7 - Port x configuration bits (y = 0..15)

Source

pub fn ot6(&self) -> OT6_R

Bit 6 - Port x configuration bits (y = 0..15)

Source

pub fn ot5(&self) -> OT5_R

Bit 5 - Port x configuration bits (y = 0..15)

Source

pub fn ot4(&self) -> OT4_R

Bit 4 - Port x configuration bits (y = 0..15)

Source

pub fn ot3(&self) -> OT3_R

Bit 3 - Port x configuration bits (y = 0..15)

Source

pub fn ot2(&self) -> OT2_R

Bit 2 - Port x configuration bits (y = 0..15)

Source

pub fn ot1(&self) -> OT1_R

Bit 1 - Port x configuration bits (y = 0..15)

Source

pub fn ot0(&self) -> OT0_R

Bit 0 - Port x configuration bits (y = 0..15)

Source§

impl R<u8, OSPEEDR15_A>

Source

pub fn variant(&self) -> OSPEEDR15_A

Get enumerated values variant

Source

pub fn is_low_speed(&self) -> bool

Checks if the value of the field is LOWSPEED

Source

pub fn is_medium_speed(&self) -> bool

Checks if the value of the field is MEDIUMSPEED

Source

pub fn is_high_speed(&self) -> bool

Checks if the value of the field is HIGHSPEED

Source

pub fn is_very_high_speed(&self) -> bool

Checks if the value of the field is VERYHIGHSPEED

Source§

impl R<u32, Reg<u32, _OSPEEDR>>

Source

pub fn ospeedr15(&self) -> OSPEEDR15_R

Bits 30:31 - Port x configuration bits (y = 0..15)

Source

pub fn ospeedr14(&self) -> OSPEEDR14_R

Bits 28:29 - Port x configuration bits (y = 0..15)

Source

pub fn ospeedr13(&self) -> OSPEEDR13_R

Bits 26:27 - Port x configuration bits (y = 0..15)

Source

pub fn ospeedr12(&self) -> OSPEEDR12_R

Bits 24:25 - Port x configuration bits (y = 0..15)

Source

pub fn ospeedr11(&self) -> OSPEEDR11_R

Bits 22:23 - Port x configuration bits (y = 0..15)

Source

pub fn ospeedr10(&self) -> OSPEEDR10_R

Bits 20:21 - Port x configuration bits (y = 0..15)

Source

pub fn ospeedr9(&self) -> OSPEEDR9_R

Bits 18:19 - Port x configuration bits (y = 0..15)

Source

pub fn ospeedr8(&self) -> OSPEEDR8_R

Bits 16:17 - Port x configuration bits (y = 0..15)

Source

pub fn ospeedr7(&self) -> OSPEEDR7_R

Bits 14:15 - Port x configuration bits (y = 0..15)

Source

pub fn ospeedr6(&self) -> OSPEEDR6_R

Bits 12:13 - Port x configuration bits (y = 0..15)

Source

pub fn ospeedr5(&self) -> OSPEEDR5_R

Bits 10:11 - Port x configuration bits (y = 0..15)

Source

pub fn ospeedr4(&self) -> OSPEEDR4_R

Bits 8:9 - Port x configuration bits (y = 0..15)

Source

pub fn ospeedr3(&self) -> OSPEEDR3_R

Bits 6:7 - Port x configuration bits (y = 0..15)

Source

pub fn ospeedr2(&self) -> OSPEEDR2_R

Bits 4:5 - Port x configuration bits (y = 0..15)

Source

pub fn ospeedr1(&self) -> OSPEEDR1_R

Bits 2:3 - Port x configuration bits (y = 0..15)

Source

pub fn ospeedr0(&self) -> OSPEEDR0_R

Bits 0:1 - Port x configuration bits (y = 0..15)

Source§

impl R<u8, PUPDR15_A>

Source

pub fn variant(&self) -> Variant<u8, PUPDR15_A>

Get enumerated values variant

Source

pub fn is_floating(&self) -> bool

Checks if the value of the field is FLOATING

Source

pub fn is_pull_up(&self) -> bool

Checks if the value of the field is PULLUP

Source

pub fn is_pull_down(&self) -> bool

Checks if the value of the field is PULLDOWN

Source§

impl R<u32, Reg<u32, _PUPDR>>

Source

pub fn pupdr15(&self) -> PUPDR15_R

Bits 30:31 - Port x configuration bits (y = 0..15)

Source

pub fn pupdr14(&self) -> PUPDR14_R

Bits 28:29 - Port x configuration bits (y = 0..15)

Source

pub fn pupdr13(&self) -> PUPDR13_R

Bits 26:27 - Port x configuration bits (y = 0..15)

Source

pub fn pupdr12(&self) -> PUPDR12_R

Bits 24:25 - Port x configuration bits (y = 0..15)

Source

pub fn pupdr11(&self) -> PUPDR11_R

Bits 22:23 - Port x configuration bits (y = 0..15)

Source

pub fn pupdr10(&self) -> PUPDR10_R

Bits 20:21 - Port x configuration bits (y = 0..15)

Source

pub fn pupdr9(&self) -> PUPDR9_R

Bits 18:19 - Port x configuration bits (y = 0..15)

Source

pub fn pupdr8(&self) -> PUPDR8_R

Bits 16:17 - Port x configuration bits (y = 0..15)

Source

pub fn pupdr7(&self) -> PUPDR7_R

Bits 14:15 - Port x configuration bits (y = 0..15)

Source

pub fn pupdr6(&self) -> PUPDR6_R

Bits 12:13 - Port x configuration bits (y = 0..15)

Source

pub fn pupdr5(&self) -> PUPDR5_R

Bits 10:11 - Port x configuration bits (y = 0..15)

Source

pub fn pupdr4(&self) -> PUPDR4_R

Bits 8:9 - Port x configuration bits (y = 0..15)

Source

pub fn pupdr3(&self) -> PUPDR3_R

Bits 6:7 - Port x configuration bits (y = 0..15)

Source

pub fn pupdr2(&self) -> PUPDR2_R

Bits 4:5 - Port x configuration bits (y = 0..15)

Source

pub fn pupdr1(&self) -> PUPDR1_R

Bits 2:3 - Port x configuration bits (y = 0..15)

Source

pub fn pupdr0(&self) -> PUPDR0_R

Bits 0:1 - Port x configuration bits (y = 0..15)

Source§

impl R<bool, IDR15_A>

Source

pub fn variant(&self) -> IDR15_A

Get enumerated values variant

Source

pub fn is_high(&self) -> bool

Checks if the value of the field is HIGH

Source

pub fn is_low(&self) -> bool

Checks if the value of the field is LOW

Source§

impl R<u32, Reg<u32, _IDR>>

Source

pub fn idr15(&self) -> IDR15_R

Bit 15 - Port input data (y = 0..15)

Source

pub fn idr14(&self) -> IDR14_R

Bit 14 - Port input data (y = 0..15)

Source

pub fn idr13(&self) -> IDR13_R

Bit 13 - Port input data (y = 0..15)

Source

pub fn idr12(&self) -> IDR12_R

Bit 12 - Port input data (y = 0..15)

Source

pub fn idr11(&self) -> IDR11_R

Bit 11 - Port input data (y = 0..15)

Source

pub fn idr10(&self) -> IDR10_R

Bit 10 - Port input data (y = 0..15)

Source

pub fn idr9(&self) -> IDR9_R

Bit 9 - Port input data (y = 0..15)

Source

pub fn idr8(&self) -> IDR8_R

Bit 8 - Port input data (y = 0..15)

Source

pub fn idr7(&self) -> IDR7_R

Bit 7 - Port input data (y = 0..15)

Source

pub fn idr6(&self) -> IDR6_R

Bit 6 - Port input data (y = 0..15)

Source

pub fn idr5(&self) -> IDR5_R

Bit 5 - Port input data (y = 0..15)

Source

pub fn idr4(&self) -> IDR4_R

Bit 4 - Port input data (y = 0..15)

Source

pub fn idr3(&self) -> IDR3_R

Bit 3 - Port input data (y = 0..15)

Source

pub fn idr2(&self) -> IDR2_R

Bit 2 - Port input data (y = 0..15)

Source

pub fn idr1(&self) -> IDR1_R

Bit 1 - Port input data (y = 0..15)

Source

pub fn idr0(&self) -> IDR0_R

Bit 0 - Port input data (y = 0..15)

Source§

impl R<bool, ODR15_A>

Source

pub fn variant(&self) -> ODR15_A

Get enumerated values variant

Source

pub fn is_high(&self) -> bool

Checks if the value of the field is HIGH

Source

pub fn is_low(&self) -> bool

Checks if the value of the field is LOW

Source§

impl R<u32, Reg<u32, _ODR>>

Source

pub fn odr15(&self) -> ODR15_R

Bit 15 - Port output data (y = 0..15)

Source

pub fn odr14(&self) -> ODR14_R

Bit 14 - Port output data (y = 0..15)

Source

pub fn odr13(&self) -> ODR13_R

Bit 13 - Port output data (y = 0..15)

Source

pub fn odr12(&self) -> ODR12_R

Bit 12 - Port output data (y = 0..15)

Source

pub fn odr11(&self) -> ODR11_R

Bit 11 - Port output data (y = 0..15)

Source

pub fn odr10(&self) -> ODR10_R

Bit 10 - Port output data (y = 0..15)

Source

pub fn odr9(&self) -> ODR9_R

Bit 9 - Port output data (y = 0..15)

Source

pub fn odr8(&self) -> ODR8_R

Bit 8 - Port output data (y = 0..15)

Source

pub fn odr7(&self) -> ODR7_R

Bit 7 - Port output data (y = 0..15)

Source

pub fn odr6(&self) -> ODR6_R

Bit 6 - Port output data (y = 0..15)

Source

pub fn odr5(&self) -> ODR5_R

Bit 5 - Port output data (y = 0..15)

Source

pub fn odr4(&self) -> ODR4_R

Bit 4 - Port output data (y = 0..15)

Source

pub fn odr3(&self) -> ODR3_R

Bit 3 - Port output data (y = 0..15)

Source

pub fn odr2(&self) -> ODR2_R

Bit 2 - Port output data (y = 0..15)

Source

pub fn odr1(&self) -> ODR1_R

Bit 1 - Port output data (y = 0..15)

Source

pub fn odr0(&self) -> ODR0_R

Bit 0 - Port output data (y = 0..15)

Source§

impl R<bool, LCKK_A>

Source

pub fn variant(&self) -> LCKK_A

Get enumerated values variant

Source

pub fn is_not_active(&self) -> bool

Checks if the value of the field is NOTACTIVE

Source

pub fn is_active(&self) -> bool

Checks if the value of the field is ACTIVE

Source§

impl R<bool, LCK15_A>

Source

pub fn variant(&self) -> LCK15_A

Get enumerated values variant

Source

pub fn is_unlocked(&self) -> bool

Checks if the value of the field is UNLOCKED

Source

pub fn is_locked(&self) -> bool

Checks if the value of the field is LOCKED

Source§

impl R<bool, LCK9_A>

Source

pub fn variant(&self) -> LCK9_A

Get enumerated values variant

Source

pub fn is_unlocked(&self) -> bool

Checks if the value of the field is UNLOCKED

Source

pub fn is_locked(&self) -> bool

Checks if the value of the field is LOCKED

Source§

impl R<u32, Reg<u32, _LCKR>>

Source

pub fn lckk(&self) -> LCKK_R

Bit 16 - Port x lock bit y (y= 0..15)

Source

pub fn lck15(&self) -> LCK15_R

Bit 15 - Port x lock bit y (y= 0..15)

Source

pub fn lck14(&self) -> LCK14_R

Bit 14 - Port x lock bit y (y= 0..15)

Source

pub fn lck13(&self) -> LCK13_R

Bit 13 - Port x lock bit y (y= 0..15)

Source

pub fn lck12(&self) -> LCK12_R

Bit 12 - Port x lock bit y (y= 0..15)

Source

pub fn lck11(&self) -> LCK11_R

Bit 11 - Port x lock bit y (y= 0..15)

Source

pub fn lck10(&self) -> LCK10_R

Bit 10 - Port x lock bit y (y= 0..15)

Source

pub fn lck9(&self) -> LCK9_R

Bit 9 - Port x lock bit y (y= 0..15)

Source

pub fn lck8(&self) -> LCK8_R

Bit 8 - Port x lock bit y (y= 0..15)

Source

pub fn lck7(&self) -> LCK7_R

Bit 7 - Port x lock bit y (y= 0..15)

Source

pub fn lck6(&self) -> LCK6_R

Bit 6 - Port x lock bit y (y= 0..15)

Source

pub fn lck5(&self) -> LCK5_R

Bit 5 - Port x lock bit y (y= 0..15)

Source

pub fn lck4(&self) -> LCK4_R

Bit 4 - Port x lock bit y (y= 0..15)

Source

pub fn lck3(&self) -> LCK3_R

Bit 3 - Port x lock bit y (y= 0..15)

Source

pub fn lck2(&self) -> LCK2_R

Bit 2 - Port x lock bit y (y= 0..15)

Source

pub fn lck1(&self) -> LCK1_R

Bit 1 - Port x lock bit y (y= 0..15)

Source

pub fn lck0(&self) -> LCK0_R

Bit 0 - Port x lock bit y (y= 0..15)

Source§

impl R<u8, AFRL7_A>

Source

pub fn variant(&self) -> AFRL7_A

Get enumerated values variant

Source

pub fn is_af0(&self) -> bool

Checks if the value of the field is AF0

Source

pub fn is_af1(&self) -> bool

Checks if the value of the field is AF1

Source

pub fn is_af2(&self) -> bool

Checks if the value of the field is AF2

Source

pub fn is_af3(&self) -> bool

Checks if the value of the field is AF3

Source

pub fn is_af4(&self) -> bool

Checks if the value of the field is AF4

Source

pub fn is_af5(&self) -> bool

Checks if the value of the field is AF5

Source

pub fn is_af6(&self) -> bool

Checks if the value of the field is AF6

Source

pub fn is_af7(&self) -> bool

Checks if the value of the field is AF7

Source

pub fn is_af8(&self) -> bool

Checks if the value of the field is AF8

Source

pub fn is_af9(&self) -> bool

Checks if the value of the field is AF9

Source

pub fn is_af10(&self) -> bool

Checks if the value of the field is AF10

Source

pub fn is_af11(&self) -> bool

Checks if the value of the field is AF11

Source

pub fn is_af12(&self) -> bool

Checks if the value of the field is AF12

Source

pub fn is_af13(&self) -> bool

Checks if the value of the field is AF13

Source

pub fn is_af14(&self) -> bool

Checks if the value of the field is AF14

Source

pub fn is_af15(&self) -> bool

Checks if the value of the field is AF15

Source§

impl R<u32, Reg<u32, _AFRL>>

Source

pub fn afrl7(&self) -> AFRL7_R

Bits 28:31 - Alternate function selection for port x bit y (y = 0..7)

Source

pub fn afrl6(&self) -> AFRL6_R

Bits 24:27 - Alternate function selection for port x bit y (y = 0..7)

Source

pub fn afrl5(&self) -> AFRL5_R

Bits 20:23 - Alternate function selection for port x bit y (y = 0..7)

Source

pub fn afrl4(&self) -> AFRL4_R

Bits 16:19 - Alternate function selection for port x bit y (y = 0..7)

Source

pub fn afrl3(&self) -> AFRL3_R

Bits 12:15 - Alternate function selection for port x bit y (y = 0..7)

Source

pub fn afrl2(&self) -> AFRL2_R

Bits 8:11 - Alternate function selection for port x bit y (y = 0..7)

Source

pub fn afrl1(&self) -> AFRL1_R

Bits 4:7 - Alternate function selection for port x bit y (y = 0..7)

Source

pub fn afrl0(&self) -> AFRL0_R

Bits 0:3 - Alternate function selection for port x bit y (y = 0..7)

Source§

impl R<u8, AFRH15_A>

Source

pub fn variant(&self) -> AFRH15_A

Get enumerated values variant

Source

pub fn is_af0(&self) -> bool

Checks if the value of the field is AF0

Source

pub fn is_af1(&self) -> bool

Checks if the value of the field is AF1

Source

pub fn is_af2(&self) -> bool

Checks if the value of the field is AF2

Source

pub fn is_af3(&self) -> bool

Checks if the value of the field is AF3

Source

pub fn is_af4(&self) -> bool

Checks if the value of the field is AF4

Source

pub fn is_af5(&self) -> bool

Checks if the value of the field is AF5

Source

pub fn is_af6(&self) -> bool

Checks if the value of the field is AF6

Source

pub fn is_af7(&self) -> bool

Checks if the value of the field is AF7

Source

pub fn is_af8(&self) -> bool

Checks if the value of the field is AF8

Source

pub fn is_af9(&self) -> bool

Checks if the value of the field is AF9

Source

pub fn is_af10(&self) -> bool

Checks if the value of the field is AF10

Source

pub fn is_af11(&self) -> bool

Checks if the value of the field is AF11

Source

pub fn is_af12(&self) -> bool

Checks if the value of the field is AF12

Source

pub fn is_af13(&self) -> bool

Checks if the value of the field is AF13

Source

pub fn is_af14(&self) -> bool

Checks if the value of the field is AF14

Source

pub fn is_af15(&self) -> bool

Checks if the value of the field is AF15

Source§

impl R<u32, Reg<u32, _AFRH>>

Source

pub fn afrh15(&self) -> AFRH15_R

Bits 28:31 - Alternate function selection for port x bit y (y = 8..15)

Source

pub fn afrh14(&self) -> AFRH14_R

Bits 24:27 - Alternate function selection for port x bit y (y = 8..15)

Source

pub fn afrh13(&self) -> AFRH13_R

Bits 20:23 - Alternate function selection for port x bit y (y = 8..15)

Source

pub fn afrh12(&self) -> AFRH12_R

Bits 16:19 - Alternate function selection for port x bit y (y = 8..15)

Source

pub fn afrh11(&self) -> AFRH11_R

Bits 12:15 - Alternate function selection for port x bit y (y = 8..15)

Source

pub fn afrh10(&self) -> AFRH10_R

Bits 8:11 - Alternate function selection for port x bit y (y = 8..15)

Source

pub fn afrh9(&self) -> AFRH9_R

Bits 4:7 - Alternate function selection for port x bit y (y = 8..15)

Source

pub fn afrh8(&self) -> AFRH8_R

Bits 0:3 - Alternate function selection for port x bit y (y = 8..15)

Source§

impl R<bool, NODIV_A>

Source

pub fn variant(&self) -> NODIV_A

Get enumerated values variant

Source

pub fn is_master_clock(&self) -> bool

Checks if the value of the field is MASTERCLOCK

Source

pub fn is_no_div(&self) -> bool

Checks if the value of the field is NODIV

Source§

impl R<bool, DMAEN_A>

Source

pub fn variant(&self) -> DMAEN_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, SAIEN_A>

Source

pub fn variant(&self) -> SAIEN_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, OUTDRIV_A>

Source

pub fn variant(&self) -> OUTDRIV_A

Get enumerated values variant

Source

pub fn is_on_start(&self) -> bool

Checks if the value of the field is ONSTART

Source

pub fn is_immediately(&self) -> bool

Checks if the value of the field is IMMEDIATELY

Source§

impl R<bool, MONO_A>

Source

pub fn variant(&self) -> MONO_A

Get enumerated values variant

Source

pub fn is_stereo(&self) -> bool

Checks if the value of the field is STEREO

Source

pub fn is_mono(&self) -> bool

Checks if the value of the field is MONO

Source§

impl R<u8, SYNCEN_A>

Source

pub fn variant(&self) -> Variant<u8, SYNCEN_A>

Get enumerated values variant

Source

pub fn is_asynchronous(&self) -> bool

Checks if the value of the field is ASYNCHRONOUS

Source

pub fn is_internal(&self) -> bool

Checks if the value of the field is INTERNAL

Source

pub fn is_external(&self) -> bool

Checks if the value of the field is EXTERNAL

Source§

impl R<bool, CKSTR_A>

Source

pub fn variant(&self) -> CKSTR_A

Get enumerated values variant

Source

pub fn is_falling_edge(&self) -> bool

Checks if the value of the field is FALLINGEDGE

Source

pub fn is_rising_edge(&self) -> bool

Checks if the value of the field is RISINGEDGE

Source§

impl R<bool, LSBFIRST_A>

Source

pub fn variant(&self) -> LSBFIRST_A

Get enumerated values variant

Source

pub fn is_msb_first(&self) -> bool

Checks if the value of the field is MSBFIRST

Source

pub fn is_lsb_first(&self) -> bool

Checks if the value of the field is LSBFIRST

Source§

impl R<u8, DS_A>

Source

pub fn variant(&self) -> Variant<u8, DS_A>

Get enumerated values variant

Source

pub fn is_bit8(&self) -> bool

Checks if the value of the field is BIT8

Source

pub fn is_bit10(&self) -> bool

Checks if the value of the field is BIT10

Source

pub fn is_bit16(&self) -> bool

Checks if the value of the field is BIT16

Source

pub fn is_bit20(&self) -> bool

Checks if the value of the field is BIT20

Source

pub fn is_bit24(&self) -> bool

Checks if the value of the field is BIT24

Source

pub fn is_bit32(&self) -> bool

Checks if the value of the field is BIT32

Source§

impl R<u8, PRTCFG_A>

Source

pub fn variant(&self) -> Variant<u8, PRTCFG_A>

Get enumerated values variant

Source

pub fn is_free(&self) -> bool

Checks if the value of the field is FREE

Source

pub fn is_spdif(&self) -> bool

Checks if the value of the field is SPDIF

Source

pub fn is_ac97(&self) -> bool

Checks if the value of the field is AC97

Source§

impl R<u8, MODE_A>

Source

pub fn variant(&self) -> MODE_A

Get enumerated values variant

Source

pub fn is_master_tx(&self) -> bool

Checks if the value of the field is MASTERTX

Source

pub fn is_master_rx(&self) -> bool

Checks if the value of the field is MASTERRX

Source

pub fn is_slave_tx(&self) -> bool

Checks if the value of the field is SLAVETX

Source

pub fn is_slave_rx(&self) -> bool

Checks if the value of the field is SLAVERX

Source§

impl R<u32, Reg<u32, _CR1>>

Source

pub fn mckdiv(&self) -> MCKDIV_R

Bits 20:23 - Master clock divider

Source

pub fn nodiv(&self) -> NODIV_R

Bit 19 - No divider

Source

pub fn dmaen(&self) -> DMAEN_R

Bit 17 - DMA enable

Source

pub fn saien(&self) -> SAIEN_R

Bit 16 - Audio block A enable

Source

pub fn outdriv(&self) -> OUTDRIV_R

Bit 13 - Output drive

Source

pub fn mono(&self) -> MONO_R

Bit 12 - Mono mode

Source

pub fn syncen(&self) -> SYNCEN_R

Bits 10:11 - Synchronization enable

Source

pub fn ckstr(&self) -> CKSTR_R

Bit 9 - Clock strobing edge

Source

pub fn lsbfirst(&self) -> LSBFIRST_R

Bit 8 - Least significant bit first

Source

pub fn ds(&self) -> DS_R

Bits 5:7 - Data size

Source

pub fn prtcfg(&self) -> PRTCFG_R

Bits 2:3 - Protocol configuration

Source

pub fn mode(&self) -> MODE_R

Bits 0:1 - Audio block mode

Source§

impl R<u8, COMP_A>

Source

pub fn variant(&self) -> Variant<u8, COMP_A>

Get enumerated values variant

Source

pub fn is_no_companding(&self) -> bool

Checks if the value of the field is NOCOMPANDING

Source

pub fn is_mu_law(&self) -> bool

Checks if the value of the field is MULAW

Source

pub fn is_alaw(&self) -> bool

Checks if the value of the field is ALAW

Source§

impl R<bool, CPL_A>

Source

pub fn variant(&self) -> CPL_A

Get enumerated values variant

Source

pub fn is_ones_complement(&self) -> bool

Checks if the value of the field is ONESCOMPLEMENT

Source

pub fn is_twos_complement(&self) -> bool

Checks if the value of the field is TWOSCOMPLEMENT

Source§

impl R<bool, MUTEVAL_A>

Source

pub fn variant(&self) -> MUTEVAL_A

Get enumerated values variant

Source

pub fn is_send_zero(&self) -> bool

Checks if the value of the field is SENDZERO

Source

pub fn is_send_last(&self) -> bool

Checks if the value of the field is SENDLAST

Source§

impl R<bool, MUTE_A>

Source

pub fn variant(&self) -> MUTE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, FFLUSH_A>

Source

pub fn variant(&self) -> FFLUSH_A

Get enumerated values variant

Source

pub fn is_no_flush(&self) -> bool

Checks if the value of the field is NOFLUSH

Source

pub fn is_flush(&self) -> bool

Checks if the value of the field is FLUSH

Source§

impl R<u8, FTH_A>

Source

pub fn variant(&self) -> Variant<u8, FTH_A>

Get enumerated values variant

Source

pub fn is_empty(&self) -> bool

Checks if the value of the field is EMPTY

Source

pub fn is_quarter1(&self) -> bool

Checks if the value of the field is QUARTER1

Source

pub fn is_quarter2(&self) -> bool

Checks if the value of the field is QUARTER2

Source

pub fn is_quarter3(&self) -> bool

Checks if the value of the field is QUARTER3

Source

pub fn is_full(&self) -> bool

Checks if the value of the field is FULL

Source§

impl R<u32, Reg<u32, _CR2>>

Source

pub fn comp(&self) -> COMP_R

Bits 14:15 - Companding mode

Source

pub fn cpl(&self) -> CPL_R

Bit 13 - Complement bit

Source

pub fn mutecn(&self) -> MUTECN_R

Bits 7:12 - Mute counter

Source

pub fn muteval(&self) -> MUTEVAL_R

Bit 6 - Mute value

Source

pub fn mute(&self) -> MUTE_R

Bit 5 - Mute

Source

pub fn tris(&self) -> TRIS_R

Bit 4 - Tristate management on data line

Source

pub fn fflush(&self) -> FFLUSH_R

Bit 3 - FIFO flush

Source

pub fn fth(&self) -> FTH_R

Bits 0:2 - FIFO threshold

Source§

impl R<bool, FSOFF_A>

Source

pub fn variant(&self) -> FSOFF_A

Get enumerated values variant

Source

pub fn is_on_first(&self) -> bool

Checks if the value of the field is ONFIRST

Source

pub fn is_before_first(&self) -> bool

Checks if the value of the field is BEFOREFIRST

Source§

impl R<bool, FSPOL_A>

Source

pub fn variant(&self) -> FSPOL_A

Get enumerated values variant

Source

pub fn is_falling_edge(&self) -> bool

Checks if the value of the field is FALLINGEDGE

Source

pub fn is_rising_edge(&self) -> bool

Checks if the value of the field is RISINGEDGE

Source§

impl R<u32, Reg<u32, _FRCR>>

Source

pub fn fsoff(&self) -> FSOFF_R

Bit 18 - Frame synchronization offset

Source

pub fn fspol(&self) -> FSPOL_R

Bit 17 - Frame synchronization polarity

Source

pub fn fsdef(&self) -> FSDEF_R

Bit 16 - Frame synchronization definition

Source

pub fn fsall(&self) -> FSALL_R

Bits 8:14 - Frame synchronization active level length

Source

pub fn frl(&self) -> FRL_R

Bits 0:7 - Frame length

Source§

impl R<u16, SLOTEN_A>

Source

pub fn variant(&self) -> Variant<u16, SLOTEN_A>

Get enumerated values variant

Source

pub fn is_inactive(&self) -> bool

Checks if the value of the field is INACTIVE

Source

pub fn is_active(&self) -> bool

Checks if the value of the field is ACTIVE

Source§

impl R<u8, SLOTSZ_A>

Source

pub fn variant(&self) -> Variant<u8, SLOTSZ_A>

Get enumerated values variant

Source

pub fn is_data_size(&self) -> bool

Checks if the value of the field is DATASIZE

Source

pub fn is_bit16(&self) -> bool

Checks if the value of the field is BIT16

Source

pub fn is_bit32(&self) -> bool

Checks if the value of the field is BIT32

Source§

impl R<u32, Reg<u32, _SLOTR>>

Source

pub fn sloten(&self) -> SLOTEN_R

Bits 16:31 - Slot enable

Source

pub fn nbslot(&self) -> NBSLOT_R

Bits 8:11 - Number of slots in an audio frame

Source

pub fn slotsz(&self) -> SLOTSZ_R

Bits 6:7 - Slot size

Source

pub fn fboff(&self) -> FBOFF_R

Bits 0:4 - First bit offset

Source§

impl R<bool, LFSDETIE_A>

Source

pub fn variant(&self) -> LFSDETIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, AFSDETIE_A>

Source

pub fn variant(&self) -> AFSDETIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, CNRDYIE_A>

Source

pub fn variant(&self) -> CNRDYIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, FREQIE_A>

Source

pub fn variant(&self) -> FREQIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, WCKCFGIE_A>

Source

pub fn variant(&self) -> WCKCFGIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, MUTEDETIE_A>

Source

pub fn variant(&self) -> MUTEDETIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, OVRUDRIE_A>

Source

pub fn variant(&self) -> OVRUDRIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<u32, Reg<u32, _IM>>

Source

pub fn lfsdetie(&self) -> LFSDETIE_R

Bit 6 - Late frame synchronization detection interrupt enable

Source

pub fn afsdetie(&self) -> AFSDETIE_R

Bit 5 - Anticipated frame synchronization detection interrupt enable

Source

pub fn cnrdyie(&self) -> CNRDYIE_R

Bit 4 - Codec not ready interrupt enable

Source

pub fn freqie(&self) -> FREQIE_R

Bit 3 - FIFO request interrupt enable

Source

pub fn wckcfgie(&self) -> WCKCFGIE_R

Bit 2 - Wrong clock configuration interrupt enable

Source

pub fn mutedetie(&self) -> MUTEDETIE_R

Bit 1 - Mute detection interrupt enable

Source

pub fn ovrudrie(&self) -> OVRUDRIE_R

Bit 0 - Overrun/underrun interrupt enable

Source§

impl R<u8, FLVL_A>

Source

pub fn variant(&self) -> Variant<u8, FLVL_A>

Get enumerated values variant

Source

pub fn is_empty(&self) -> bool

Checks if the value of the field is EMPTY

Source

pub fn is_quarter1(&self) -> bool

Checks if the value of the field is QUARTER1

Source

pub fn is_quarter2(&self) -> bool

Checks if the value of the field is QUARTER2

Source

pub fn is_quarter3(&self) -> bool

Checks if the value of the field is QUARTER3

Source

pub fn is_quarter4(&self) -> bool

Checks if the value of the field is QUARTER4

Source

pub fn is_full(&self) -> bool

Checks if the value of the field is FULL

Source§

impl R<bool, LFSDET_A>

Source

pub fn variant(&self) -> LFSDET_A

Get enumerated values variant

Source

pub fn is_no_error(&self) -> bool

Checks if the value of the field is NOERROR

Source

pub fn is_no_sync(&self) -> bool

Checks if the value of the field is NOSYNC

Source§

impl R<bool, AFSDET_A>

Source

pub fn variant(&self) -> AFSDET_A

Get enumerated values variant

Source

pub fn is_no_error(&self) -> bool

Checks if the value of the field is NOERROR

Source

pub fn is_early_sync(&self) -> bool

Checks if the value of the field is EARLYSYNC

Source§

impl R<bool, CNRDY_A>

Source

pub fn variant(&self) -> CNRDY_A

Get enumerated values variant

Source

pub fn is_ready(&self) -> bool

Checks if the value of the field is READY

Source

pub fn is_not_ready(&self) -> bool

Checks if the value of the field is NOTREADY

Source§

impl R<bool, FREQ_A>

Source

pub fn variant(&self) -> FREQ_A

Get enumerated values variant

Source

pub fn is_no_request(&self) -> bool

Checks if the value of the field is NOREQUEST

Source

pub fn is_request(&self) -> bool

Checks if the value of the field is REQUEST

Source§

impl R<bool, WCKCFG_A>

Source

pub fn variant(&self) -> WCKCFG_A

Get enumerated values variant

Source

pub fn is_correct(&self) -> bool

Checks if the value of the field is CORRECT

Source

pub fn is_wrong(&self) -> bool

Checks if the value of the field is WRONG

Source§

impl R<bool, MUTEDET_A>

Source

pub fn variant(&self) -> MUTEDET_A

Get enumerated values variant

Source

pub fn is_no_mute(&self) -> bool

Checks if the value of the field is NOMUTE

Source

pub fn is_mute(&self) -> bool

Checks if the value of the field is MUTE

Source§

impl R<bool, OVRUDR_A>

Source

pub fn variant(&self) -> OVRUDR_A

Get enumerated values variant

Source

pub fn is_no_error(&self) -> bool

Checks if the value of the field is NOERROR

Source

pub fn is_overrun(&self) -> bool

Checks if the value of the field is OVERRUN

Source§

impl R<u32, Reg<u32, _SR>>

Source

pub fn flvl(&self) -> FLVL_R

Bits 16:18 - FIFO level threshold

Source

pub fn lfsdet(&self) -> LFSDET_R

Bit 6 - Late frame synchronization detection

Source

pub fn afsdet(&self) -> AFSDET_R

Bit 5 - Anticipated frame synchronization detection

Source

pub fn cnrdy(&self) -> CNRDY_R

Bit 4 - Codec not ready

Source

pub fn freq(&self) -> FREQ_R

Bit 3 - FIFO request

Source

pub fn wckcfg(&self) -> WCKCFG_R

Bit 2 - Wrong clock configuration flag. This bit is read only

Source

pub fn mutedet(&self) -> MUTEDET_R

Bit 1 - Mute detection

Source

pub fn ovrudr(&self) -> OVRUDR_R

Bit 0 - Overrun / underrun

Source§

impl R<bool, CLFSDET_A>

Source

pub fn variant(&self) -> Variant<bool, CLFSDET_A>

Get enumerated values variant

Source

pub fn is_clear(&self) -> bool

Checks if the value of the field is CLEAR

Source§

impl R<bool, CAFSDET_A>

Source

pub fn variant(&self) -> Variant<bool, CAFSDET_A>

Get enumerated values variant

Source

pub fn is_clear(&self) -> bool

Checks if the value of the field is CLEAR

Source§

impl R<bool, CCNRDY_A>

Source

pub fn variant(&self) -> Variant<bool, CCNRDY_A>

Get enumerated values variant

Source

pub fn is_clear(&self) -> bool

Checks if the value of the field is CLEAR

Source§

impl R<bool, CWCKCFG_A>

Source

pub fn variant(&self) -> Variant<bool, CWCKCFG_A>

Get enumerated values variant

Source

pub fn is_clear(&self) -> bool

Checks if the value of the field is CLEAR

Source§

impl R<bool, CMUTEDET_A>

Source

pub fn variant(&self) -> Variant<bool, CMUTEDET_A>

Get enumerated values variant

Source

pub fn is_clear(&self) -> bool

Checks if the value of the field is CLEAR

Source§

impl R<bool, COVRUDR_A>

Source

pub fn variant(&self) -> Variant<bool, COVRUDR_A>

Get enumerated values variant

Source

pub fn is_clear(&self) -> bool

Checks if the value of the field is CLEAR

Source§

impl R<u32, Reg<u32, _CLRFR>>

Source

pub fn clfsdet(&self) -> CLFSDET_R

Bit 6 - Clear late frame synchronization detection flag

Source

pub fn cafsdet(&self) -> CAFSDET_R

Bit 5 - Clear anticipated frame synchronization detection flag

Source

pub fn ccnrdy(&self) -> CCNRDY_R

Bit 4 - Clear codec not ready flag

Source

pub fn cwckcfg(&self) -> CWCKCFG_R

Bit 2 - Clear wrong clock configuration flag

Source

pub fn cmutedet(&self) -> CMUTEDET_R

Bit 1 - Mute detection flag

Source

pub fn covrudr(&self) -> COVRUDR_R

Bit 0 - Clear overrun / underrun

Source§

impl R<u32, Reg<u32, _DR>>

Source

pub fn data(&self) -> DATA_R

Bits 0:31 - Data

Source§

impl R<u8, CKD_A>

Source

pub fn variant(&self) -> Variant<u8, CKD_A>

Get enumerated values variant

Source

pub fn is_div1(&self) -> bool

Checks if the value of the field is DIV1

Source

pub fn is_div2(&self) -> bool

Checks if the value of the field is DIV2

Source

pub fn is_div4(&self) -> bool

Checks if the value of the field is DIV4

Source§

impl R<bool, ARPE_A>

Source

pub fn variant(&self) -> ARPE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<u8, CMS_A>

Source

pub fn variant(&self) -> CMS_A

Get enumerated values variant

Source

pub fn is_edge_aligned(&self) -> bool

Checks if the value of the field is EDGEALIGNED

Source

pub fn is_center_aligned1(&self) -> bool

Checks if the value of the field is CENTERALIGNED1

Source

pub fn is_center_aligned2(&self) -> bool

Checks if the value of the field is CENTERALIGNED2

Source

pub fn is_center_aligned3(&self) -> bool

Checks if the value of the field is CENTERALIGNED3

Source§

impl R<bool, DIR_A>

Source

pub fn variant(&self) -> DIR_A

Get enumerated values variant

Source

pub fn is_up(&self) -> bool

Checks if the value of the field is UP

Source

pub fn is_down(&self) -> bool

Checks if the value of the field is DOWN

Source§

impl R<bool, OPM_A>

Source

pub fn variant(&self) -> OPM_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, URS_A>

Source

pub fn variant(&self) -> URS_A

Get enumerated values variant

Source

pub fn is_any_event(&self) -> bool

Checks if the value of the field is ANYEVENT

Source

pub fn is_counter_only(&self) -> bool

Checks if the value of the field is COUNTERONLY

Source§

impl R<bool, UDIS_A>

Source

pub fn variant(&self) -> UDIS_A

Get enumerated values variant

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source§

impl R<bool, CEN_A>

Source

pub fn variant(&self) -> CEN_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<u32, Reg<u32, _CR1>>

Source

pub fn ckd(&self) -> CKD_R

Bits 8:9 - Clock division

Source

pub fn arpe(&self) -> ARPE_R

Bit 7 - Auto-reload preload enable

Source

pub fn cms(&self) -> CMS_R

Bits 5:6 - Center-aligned mode selection

Source

pub fn dir(&self) -> DIR_R

Bit 4 - Direction

Source

pub fn opm(&self) -> OPM_R

Bit 3 - One-pulse mode

Source

pub fn urs(&self) -> URS_R

Bit 2 - Update request source

Source

pub fn udis(&self) -> UDIS_R

Bit 1 - Update disable

Source

pub fn cen(&self) -> CEN_R

Bit 0 - Counter enable

Source§

impl R<bool, TI1S_A>

Source

pub fn variant(&self) -> TI1S_A

Get enumerated values variant

Source

pub fn is_normal(&self) -> bool

Checks if the value of the field is NORMAL

Source

pub fn is_xor(&self) -> bool

Checks if the value of the field is XOR

Source§

impl R<u8, MMS_A>

Source

pub fn variant(&self) -> MMS_A

Get enumerated values variant

Source

pub fn is_reset(&self) -> bool

Checks if the value of the field is RESET

Source

pub fn is_enable(&self) -> bool

Checks if the value of the field is ENABLE

Source

pub fn is_update(&self) -> bool

Checks if the value of the field is UPDATE

Source

pub fn is_compare_pulse(&self) -> bool

Checks if the value of the field is COMPAREPULSE

Source

pub fn is_compare_oc1(&self) -> bool

Checks if the value of the field is COMPAREOC1

Source

pub fn is_compare_oc2(&self) -> bool

Checks if the value of the field is COMPAREOC2

Source

pub fn is_compare_oc3(&self) -> bool

Checks if the value of the field is COMPAREOC3

Source

pub fn is_compare_oc4(&self) -> bool

Checks if the value of the field is COMPAREOC4

Source§

impl R<bool, CCDS_A>

Source

pub fn variant(&self) -> CCDS_A

Get enumerated values variant

Source

pub fn is_on_compare(&self) -> bool

Checks if the value of the field is ONCOMPARE

Source

pub fn is_on_update(&self) -> bool

Checks if the value of the field is ONUPDATE

Source§

impl R<u32, Reg<u32, _CR2>>

Source

pub fn ti1s(&self) -> TI1S_R

Bit 7 - TI1 selection

Source

pub fn mms(&self) -> MMS_R

Bits 4:6 - Master mode selection

Source

pub fn ccds(&self) -> CCDS_R

Bit 3 - Capture/compare DMA selection

Source§

impl R<bool, ETP_A>

Source

pub fn variant(&self) -> ETP_A

Get enumerated values variant

Source

pub fn is_not_inverted(&self) -> bool

Checks if the value of the field is NOTINVERTED

Source

pub fn is_inverted(&self) -> bool

Checks if the value of the field is INVERTED

Source§

impl R<bool, ECE_A>

Source

pub fn variant(&self) -> ECE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<u8, ETPS_A>

Source

pub fn variant(&self) -> ETPS_A

Get enumerated values variant

Source

pub fn is_div1(&self) -> bool

Checks if the value of the field is DIV1

Source

pub fn is_div2(&self) -> bool

Checks if the value of the field is DIV2

Source

pub fn is_div4(&self) -> bool

Checks if the value of the field is DIV4

Source

pub fn is_div8(&self) -> bool

Checks if the value of the field is DIV8

Source§

impl R<u8, ETF_A>

Source

pub fn variant(&self) -> ETF_A

Get enumerated values variant

Source

pub fn is_no_filter(&self) -> bool

Checks if the value of the field is NOFILTER

Source

pub fn is_fck_int_n2(&self) -> bool

Checks if the value of the field is FCK_INT_N2

Source

pub fn is_fck_int_n4(&self) -> bool

Checks if the value of the field is FCK_INT_N4

Source

pub fn is_fck_int_n8(&self) -> bool

Checks if the value of the field is FCK_INT_N8

Source

pub fn is_fdts_div2_n6(&self) -> bool

Checks if the value of the field is FDTS_DIV2_N6

Source

pub fn is_fdts_div2_n8(&self) -> bool

Checks if the value of the field is FDTS_DIV2_N8

Source

pub fn is_fdts_div4_n6(&self) -> bool

Checks if the value of the field is FDTS_DIV4_N6

Source

pub fn is_fdts_div4_n8(&self) -> bool

Checks if the value of the field is FDTS_DIV4_N8

Source

pub fn is_fdts_div8_n6(&self) -> bool

Checks if the value of the field is FDTS_DIV8_N6

Source

pub fn is_fdts_div8_n8(&self) -> bool

Checks if the value of the field is FDTS_DIV8_N8

Source

pub fn is_fdts_div16_n5(&self) -> bool

Checks if the value of the field is FDTS_DIV16_N5

Source

pub fn is_fdts_div16_n6(&self) -> bool

Checks if the value of the field is FDTS_DIV16_N6

Source

pub fn is_fdts_div16_n8(&self) -> bool

Checks if the value of the field is FDTS_DIV16_N8

Source

pub fn is_fdts_div32_n5(&self) -> bool

Checks if the value of the field is FDTS_DIV32_N5

Source

pub fn is_fdts_div32_n6(&self) -> bool

Checks if the value of the field is FDTS_DIV32_N6

Source

pub fn is_fdts_div32_n8(&self) -> bool

Checks if the value of the field is FDTS_DIV32_N8

Source§

impl R<bool, MSM_A>

Source

pub fn variant(&self) -> MSM_A

Get enumerated values variant

Source

pub fn is_no_sync(&self) -> bool

Checks if the value of the field is NOSYNC

Source

pub fn is_sync(&self) -> bool

Checks if the value of the field is SYNC

Source§

impl R<u8, TS_A>

Source

pub fn variant(&self) -> Variant<u8, TS_A>

Get enumerated values variant

Source

pub fn is_itr0(&self) -> bool

Checks if the value of the field is ITR0

Source

pub fn is_itr1(&self) -> bool

Checks if the value of the field is ITR1

Source

pub fn is_itr2(&self) -> bool

Checks if the value of the field is ITR2

Source

pub fn is_ti1f_ed(&self) -> bool

Checks if the value of the field is TI1F_ED

Source

pub fn is_ti1fp1(&self) -> bool

Checks if the value of the field is TI1FP1

Source

pub fn is_ti2fp2(&self) -> bool

Checks if the value of the field is TI2FP2

Source

pub fn is_etrf(&self) -> bool

Checks if the value of the field is ETRF

Source§

impl R<u8, SMS_A>

Source

pub fn variant(&self) -> SMS_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_encoder_mode_1(&self) -> bool

Checks if the value of the field is ENCODER_MODE_1

Source

pub fn is_encoder_mode_2(&self) -> bool

Checks if the value of the field is ENCODER_MODE_2

Source

pub fn is_encoder_mode_3(&self) -> bool

Checks if the value of the field is ENCODER_MODE_3

Source

pub fn is_reset_mode(&self) -> bool

Checks if the value of the field is RESET_MODE

Source

pub fn is_gated_mode(&self) -> bool

Checks if the value of the field is GATED_MODE

Source

pub fn is_trigger_mode(&self) -> bool

Checks if the value of the field is TRIGGER_MODE

Source

pub fn is_ext_clock_mode(&self) -> bool

Checks if the value of the field is EXT_CLOCK_MODE

Source§

impl R<u32, Reg<u32, _SMCR>>

Source

pub fn etp(&self) -> ETP_R

Bit 15 - External trigger polarity

Source

pub fn ece(&self) -> ECE_R

Bit 14 - External clock enable

Source

pub fn etps(&self) -> ETPS_R

Bits 12:13 - External trigger prescaler

Source

pub fn etf(&self) -> ETF_R

Bits 8:11 - External trigger filter

Source

pub fn msm(&self) -> MSM_R

Bit 7 - Master/Slave mode

Source

pub fn ts(&self) -> TS_R

Bits 4:6 - Trigger selection

Source

pub fn sms(&self) -> SMS_R

Bits 0:2 - Slave mode selection

Source§

impl R<bool, TDE_A>

Source

pub fn variant(&self) -> TDE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, CC4DE_A>

Source

pub fn variant(&self) -> CC4DE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, UDE_A>

Source

pub fn variant(&self) -> UDE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, TIE_A>

Source

pub fn variant(&self) -> TIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, CC4IE_A>

Source

pub fn variant(&self) -> CC4IE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, UIE_A>

Source

pub fn variant(&self) -> UIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<u32, Reg<u32, _DIER>>

Source

pub fn tde(&self) -> TDE_R

Bit 14 - Trigger DMA request enable

Source

pub fn comde(&self) -> COMDE_R

Bit 13 - COM DMA request enable

Source

pub fn cc4de(&self) -> CC4DE_R

Bit 12 - Capture/Compare 4 DMA request enable

Source

pub fn cc3de(&self) -> CC3DE_R

Bit 11 - Capture/Compare 3 DMA request enable

Source

pub fn cc2de(&self) -> CC2DE_R

Bit 10 - Capture/Compare 2 DMA request enable

Source

pub fn cc1de(&self) -> CC1DE_R

Bit 9 - Capture/Compare 1 DMA request enable

Source

pub fn ude(&self) -> UDE_R

Bit 8 - Update DMA request enable

Source

pub fn tie(&self) -> TIE_R

Bit 6 - Trigger interrupt enable

Source

pub fn cc4ie(&self) -> CC4IE_R

Bit 4 - Capture/Compare 4 interrupt enable

Source

pub fn cc3ie(&self) -> CC3IE_R

Bit 3 - Capture/Compare 3 interrupt enable

Source

pub fn cc2ie(&self) -> CC2IE_R

Bit 2 - Capture/Compare 2 interrupt enable

Source

pub fn cc1ie(&self) -> CC1IE_R

Bit 1 - Capture/Compare 1 interrupt enable

Source

pub fn uie(&self) -> UIE_R

Bit 0 - Update interrupt enable

Source§

impl R<bool, CC4OF_A>

Source

pub fn variant(&self) -> Variant<bool, CC4OF_A>

Get enumerated values variant

Source

pub fn is_overcapture(&self) -> bool

Checks if the value of the field is OVERCAPTURE

Source§

impl R<bool, TIF_A>

Source

pub fn variant(&self) -> TIF_A

Get enumerated values variant

Source

pub fn is_no_trigger(&self) -> bool

Checks if the value of the field is NOTRIGGER

Source

pub fn is_trigger(&self) -> bool

Checks if the value of the field is TRIGGER

Source§

impl R<bool, CC4IF_A>

Source

pub fn variant(&self) -> Variant<bool, CC4IF_A>

Get enumerated values variant

Source

pub fn is_match_(&self) -> bool

Checks if the value of the field is MATCH

Source§

impl R<bool, UIF_A>

Source

pub fn variant(&self) -> UIF_A

Get enumerated values variant

Source

pub fn is_clear(&self) -> bool

Checks if the value of the field is CLEAR

Source

pub fn is_update_pending(&self) -> bool

Checks if the value of the field is UPDATEPENDING

Source§

impl R<u32, Reg<u32, _SR>>

Source

pub fn cc4of(&self) -> CC4OF_R

Bit 12 - Capture/Compare 4 overcapture flag

Source

pub fn cc3of(&self) -> CC3OF_R

Bit 11 - Capture/Compare 3 overcapture flag

Source

pub fn cc2of(&self) -> CC2OF_R

Bit 10 - Capture/compare 2 overcapture flag

Source

pub fn cc1of(&self) -> CC1OF_R

Bit 9 - Capture/Compare 1 overcapture flag

Source

pub fn tif(&self) -> TIF_R

Bit 6 - Trigger interrupt flag

Source

pub fn cc4if(&self) -> CC4IF_R

Bit 4 - Capture/Compare 4 interrupt flag

Source

pub fn cc3if(&self) -> CC3IF_R

Bit 3 - Capture/Compare 3 interrupt flag

Source

pub fn cc2if(&self) -> CC2IF_R

Bit 2 - Capture/Compare 2 interrupt flag

Source

pub fn cc1if(&self) -> CC1IF_R

Bit 1 - Capture/compare 1 interrupt flag

Source

pub fn uif(&self) -> UIF_R

Bit 0 - Update interrupt flag

Source§

impl R<u8, OC2M_A>

Source

pub fn variant(&self) -> Variant<u8, OC2M_A>

Get enumerated values variant

Source

pub fn is_frozen(&self) -> bool

Checks if the value of the field is FROZEN

Source

pub fn is_active_on_match(&self) -> bool

Checks if the value of the field is ACTIVEONMATCH

Source

pub fn is_inactive_on_match(&self) -> bool

Checks if the value of the field is INACTIVEONMATCH

Source

pub fn is_toggle(&self) -> bool

Checks if the value of the field is TOGGLE

Source

pub fn is_force_inactive(&self) -> bool

Checks if the value of the field is FORCEINACTIVE

Source

pub fn is_force_active(&self) -> bool

Checks if the value of the field is FORCEACTIVE

Source

pub fn is_pwm_mode1(&self) -> bool

Checks if the value of the field is PWMMODE1

Source

pub fn is_pwm_mode2(&self) -> bool

Checks if the value of the field is PWMMODE2

Source

pub fn is_opm_mode1(&self) -> bool

Checks if the value of the field is OPMMODE1

Source

pub fn is_opm_mode2(&self) -> bool

Checks if the value of the field is OPMMODE2

Source

pub fn is_combined_pwm_mode1(&self) -> bool

Checks if the value of the field is COMBINEDPWMMODE1

Source

pub fn is_combined_pwm_mode2(&self) -> bool

Checks if the value of the field is COMBINEDPWMMODE2

Source

pub fn is_asymmetric_pwm_mode1(&self) -> bool

Checks if the value of the field is ASYMMETRICPWMMODE1

Source

pub fn is_asymmetric_pwm_mode2(&self) -> bool

Checks if the value of the field is ASYMMETRICPWMMODE2

Source§

impl R<bool, OC2PE_A>

Source

pub fn variant(&self) -> OC2PE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<u8, CC2S_A>

Source

pub fn variant(&self) -> Variant<u8, CC2S_A>

Get enumerated values variant

Source

pub fn is_output(&self) -> bool

Checks if the value of the field is OUTPUT

Source§

impl R<bool, OC1PE_A>

Source

pub fn variant(&self) -> OC1PE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<u8, CC1S_A>

Source

pub fn variant(&self) -> Variant<u8, CC1S_A>

Get enumerated values variant

Source

pub fn is_output(&self) -> bool

Checks if the value of the field is OUTPUT

Source§

impl R<u32, Reg<u32, _CCMR1_OUTPUT>>

Source

pub fn oc2ce(&self) -> OC2CE_R

Bit 15 - Output compare 2 clear enable

Source

pub fn oc2m(&self) -> OC2M_R

Bits 12:14 - Output compare 2 mode

Source

pub fn oc2pe(&self) -> OC2PE_R

Bit 11 - Output compare 2 preload enable

Source

pub fn oc2fe(&self) -> OC2FE_R

Bit 10 - Output compare 2 fast enable

Source

pub fn cc2s(&self) -> CC2S_R

Bits 8:9 - Capture/Compare 2 selection

Source

pub fn oc1ce(&self) -> OC1CE_R

Bit 7 - Output compare 1 clear enable

Source

pub fn oc1m(&self) -> OC1M_R

Bits 4:6 - Output compare 1 mode

Source

pub fn oc1pe(&self) -> OC1PE_R

Bit 3 - Output compare 1 preload enable

Source

pub fn oc1fe(&self) -> OC1FE_R

Bit 2 - Output compare 1 fast enable

Source

pub fn cc1s(&self) -> CC1S_R

Bits 0:1 - Capture/Compare 1 selection

Source§

impl R<u8, CC2S_A>

Source

pub fn variant(&self) -> Variant<u8, CC2S_A>

Get enumerated values variant

Source

pub fn is_ti2(&self) -> bool

Checks if the value of the field is TI2

Source

pub fn is_ti1(&self) -> bool

Checks if the value of the field is TI1

Source

pub fn is_trc(&self) -> bool

Checks if the value of the field is TRC

Source§

impl R<u8, IC1F_A>

Source

pub fn variant(&self) -> IC1F_A

Get enumerated values variant

Source

pub fn is_no_filter(&self) -> bool

Checks if the value of the field is NOFILTER

Source

pub fn is_fck_int_n2(&self) -> bool

Checks if the value of the field is FCK_INT_N2

Source

pub fn is_fck_int_n4(&self) -> bool

Checks if the value of the field is FCK_INT_N4

Source

pub fn is_fck_int_n8(&self) -> bool

Checks if the value of the field is FCK_INT_N8

Source

pub fn is_fdts_div2_n6(&self) -> bool

Checks if the value of the field is FDTS_DIV2_N6

Source

pub fn is_fdts_div2_n8(&self) -> bool

Checks if the value of the field is FDTS_DIV2_N8

Source

pub fn is_fdts_div4_n6(&self) -> bool

Checks if the value of the field is FDTS_DIV4_N6

Source

pub fn is_fdts_div4_n8(&self) -> bool

Checks if the value of the field is FDTS_DIV4_N8

Source

pub fn is_fdts_div8_n6(&self) -> bool

Checks if the value of the field is FDTS_DIV8_N6

Source

pub fn is_fdts_div8_n8(&self) -> bool

Checks if the value of the field is FDTS_DIV8_N8

Source

pub fn is_fdts_div16_n5(&self) -> bool

Checks if the value of the field is FDTS_DIV16_N5

Source

pub fn is_fdts_div16_n6(&self) -> bool

Checks if the value of the field is FDTS_DIV16_N6

Source

pub fn is_fdts_div16_n8(&self) -> bool

Checks if the value of the field is FDTS_DIV16_N8

Source

pub fn is_fdts_div32_n5(&self) -> bool

Checks if the value of the field is FDTS_DIV32_N5

Source

pub fn is_fdts_div32_n6(&self) -> bool

Checks if the value of the field is FDTS_DIV32_N6

Source

pub fn is_fdts_div32_n8(&self) -> bool

Checks if the value of the field is FDTS_DIV32_N8

Source§

impl R<u8, CC1S_A>

Source

pub fn variant(&self) -> Variant<u8, CC1S_A>

Get enumerated values variant

Source

pub fn is_ti1(&self) -> bool

Checks if the value of the field is TI1

Source

pub fn is_ti2(&self) -> bool

Checks if the value of the field is TI2

Source

pub fn is_trc(&self) -> bool

Checks if the value of the field is TRC

Source§

impl R<u32, Reg<u32, _CCMR1_INPUT>>

Source

pub fn ic2f(&self) -> IC2F_R

Bits 12:15 - Input capture 2 filter

Source

pub fn ic2psc(&self) -> IC2PSC_R

Bits 10:11 - Input capture 2 prescaler

Source

pub fn cc2s(&self) -> CC2S_R

Bits 8:9 - Capture/compare 2 selection

Source

pub fn ic1f(&self) -> IC1F_R

Bits 4:7 - Input capture 1 filter

Source

pub fn ic1psc(&self) -> IC1PSC_R

Bits 2:3 - Input capture 1 prescaler

Source

pub fn cc1s(&self) -> CC1S_R

Bits 0:1 - Capture/Compare 1 selection

Source§

impl R<u8, OC4M_A>

Source

pub fn variant(&self) -> Variant<u8, OC4M_A>

Get enumerated values variant

Source

pub fn is_frozen(&self) -> bool

Checks if the value of the field is FROZEN

Source

pub fn is_active_on_match(&self) -> bool

Checks if the value of the field is ACTIVEONMATCH

Source

pub fn is_inactive_on_match(&self) -> bool

Checks if the value of the field is INACTIVEONMATCH

Source

pub fn is_toggle(&self) -> bool

Checks if the value of the field is TOGGLE

Source

pub fn is_force_inactive(&self) -> bool

Checks if the value of the field is FORCEINACTIVE

Source

pub fn is_force_active(&self) -> bool

Checks if the value of the field is FORCEACTIVE

Source

pub fn is_pwm_mode1(&self) -> bool

Checks if the value of the field is PWMMODE1

Source

pub fn is_pwm_mode2(&self) -> bool

Checks if the value of the field is PWMMODE2

Source

pub fn is_opm_mode1(&self) -> bool

Checks if the value of the field is OPMMODE1

Source

pub fn is_opm_mode2(&self) -> bool

Checks if the value of the field is OPMMODE2

Source

pub fn is_combined_pwm_mode1(&self) -> bool

Checks if the value of the field is COMBINEDPWMMODE1

Source

pub fn is_combined_pwm_mode2(&self) -> bool

Checks if the value of the field is COMBINEDPWMMODE2

Source

pub fn is_asymmetric_pwm_mode1(&self) -> bool

Checks if the value of the field is ASYMMETRICPWMMODE1

Source

pub fn is_asymmetric_pwm_mode2(&self) -> bool

Checks if the value of the field is ASYMMETRICPWMMODE2

Source§

impl R<bool, OC4PE_A>

Source

pub fn variant(&self) -> OC4PE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<u8, CC4S_A>

Source

pub fn variant(&self) -> Variant<u8, CC4S_A>

Get enumerated values variant

Source

pub fn is_output(&self) -> bool

Checks if the value of the field is OUTPUT

Source§

impl R<bool, OC3PE_A>

Source

pub fn variant(&self) -> OC3PE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<u8, CC3S_A>

Source

pub fn variant(&self) -> Variant<u8, CC3S_A>

Get enumerated values variant

Source

pub fn is_output(&self) -> bool

Checks if the value of the field is OUTPUT

Source§

impl R<u32, Reg<u32, _CCMR2_OUTPUT>>

Source

pub fn oc4ce(&self) -> OC4CE_R

Bit 15 - Output compare 4 clear enable

Source

pub fn oc4m(&self) -> OC4M_R

Bits 12:14 - Output compare 4 mode

Source

pub fn oc4pe(&self) -> OC4PE_R

Bit 11 - Output compare 4 preload enable

Source

pub fn oc4fe(&self) -> OC4FE_R

Bit 10 - Output compare 4 fast enable

Source

pub fn cc4s(&self) -> CC4S_R

Bits 8:9 - Capture/Compare 4 selection

Source

pub fn oc3ce(&self) -> OC3CE_R

Bit 7 - Output compare 3 clear enable

Source

pub fn oc3m(&self) -> OC3M_R

Bits 4:6 - Output compare 3 mode

Source

pub fn oc3pe(&self) -> OC3PE_R

Bit 3 - Output compare 3 preload enable

Source

pub fn oc3fe(&self) -> OC3FE_R

Bit 2 - Output compare 3 fast enable

Source

pub fn cc3s(&self) -> CC3S_R

Bits 0:1 - Capture/Compare 3 selection

Source§

impl R<u8, CC4S_A>

Source

pub fn variant(&self) -> Variant<u8, CC4S_A>

Get enumerated values variant

Source

pub fn is_ti4(&self) -> bool

Checks if the value of the field is TI4

Source

pub fn is_ti3(&self) -> bool

Checks if the value of the field is TI3

Source

pub fn is_trc(&self) -> bool

Checks if the value of the field is TRC

Source§

impl R<u8, CC3S_A>

Source

pub fn variant(&self) -> Variant<u8, CC3S_A>

Get enumerated values variant

Source

pub fn is_ti3(&self) -> bool

Checks if the value of the field is TI3

Source

pub fn is_ti4(&self) -> bool

Checks if the value of the field is TI4

Source

pub fn is_trc(&self) -> bool

Checks if the value of the field is TRC

Source§

impl R<u32, Reg<u32, _CCMR2_INPUT>>

Source

pub fn ic4f(&self) -> IC4F_R

Bits 12:15 - Input capture 4 filter

Source

pub fn ic4psc(&self) -> IC4PSC_R

Bits 10:11 - Input capture 4 prescaler

Source

pub fn cc4s(&self) -> CC4S_R

Bits 8:9 - Capture/Compare 4 selection

Source

pub fn ic3f(&self) -> IC3F_R

Bits 4:7 - Input capture 3 filter

Source

pub fn ic3psc(&self) -> IC3PSC_R

Bits 2:3 - Input capture 3 prescaler

Source

pub fn cc3s(&self) -> CC3S_R

Bits 0:1 - Capture/Compare 3 selection

Source§

impl R<u32, Reg<u32, _CCER>>

Source

pub fn cc4np(&self) -> CC4NP_R

Bit 15 - Capture/Compare 4 output Polarity

Source

pub fn cc4p(&self) -> CC4P_R

Bit 13 - Capture/Compare 3 output Polarity

Source

pub fn cc4e(&self) -> CC4E_R

Bit 12 - Capture/Compare 4 output enable

Source

pub fn cc3np(&self) -> CC3NP_R

Bit 11 - Capture/Compare 3 output Polarity

Source

pub fn cc3p(&self) -> CC3P_R

Bit 9 - Capture/Compare 3 output Polarity

Source

pub fn cc3e(&self) -> CC3E_R

Bit 8 - Capture/Compare 3 output enable

Source

pub fn cc2np(&self) -> CC2NP_R

Bit 7 - Capture/Compare 2 output Polarity

Source

pub fn cc2p(&self) -> CC2P_R

Bit 5 - Capture/Compare 2 output Polarity

Source

pub fn cc2e(&self) -> CC2E_R

Bit 4 - Capture/Compare 2 output enable

Source

pub fn cc1np(&self) -> CC1NP_R

Bit 3 - Capture/Compare 1 output Polarity

Source

pub fn cc1p(&self) -> CC1P_R

Bit 1 - Capture/Compare 1 output Polarity

Source

pub fn cc1e(&self) -> CC1E_R

Bit 0 - Capture/Compare 1 output enable

Source§

impl R<u32, Reg<u32, _CNT>>

Source

pub fn cnt(&self) -> CNT_R

Bits 0:31 - Counter value

Source§

impl R<u32, Reg<u32, _PSC>>

Source

pub fn psc(&self) -> PSC_R

Bits 0:15 - Prescaler value

Source§

impl R<u32, Reg<u32, _ARR>>

Source

pub fn arr(&self) -> ARR_R

Bits 0:31 - Auto-reload value

Source§

impl R<u32, Reg<u32, _CCR>>

Source

pub fn ccr(&self) -> CCR_R

Bits 0:31 - Capture/Compare 1 value

Source§

impl R<u32, Reg<u32, _DCR>>

Source

pub fn dbl(&self) -> DBL_R

Bits 8:12 - DMA burst length

Source

pub fn dba(&self) -> DBA_R

Bits 0:4 - DMA base address

Source§

impl R<u32, Reg<u32, _DMAR>>

Source

pub fn dmab(&self) -> DMAB_R

Bits 0:15 - DMA register for burst accesses

Source§

impl R<u32, Reg<u32, _OR>>

Source

pub fn etr_rmp(&self) -> ETR_RMP_R

Bits 0:2 - Timer2 ETR remap

Source

pub fn ti4_rmp(&self) -> TI4_RMP_R

Bits 3:4 - Internal trigger

Source§

impl R<bool, CEN_A>

Source

pub fn variant(&self) -> CEN_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, UDIS_A>

Source

pub fn variant(&self) -> UDIS_A

Get enumerated values variant

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source§

impl R<bool, URS_A>

Source

pub fn variant(&self) -> URS_A

Get enumerated values variant

Source

pub fn is_any_event(&self) -> bool

Checks if the value of the field is ANYEVENT

Source

pub fn is_counter_only(&self) -> bool

Checks if the value of the field is COUNTERONLY

Source§

impl R<bool, ARPE_A>

Source

pub fn variant(&self) -> ARPE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<u8, CKD_A>

Source

pub fn variant(&self) -> Variant<u8, CKD_A>

Get enumerated values variant

Source

pub fn is_div1(&self) -> bool

Checks if the value of the field is DIV1

Source

pub fn is_div2(&self) -> bool

Checks if the value of the field is DIV2

Source

pub fn is_div4(&self) -> bool

Checks if the value of the field is DIV4

Source§

impl R<u32, Reg<u32, _CR1>>

Source

pub fn cen(&self) -> CEN_R

Bit 0 - Counter enable

Source

pub fn udis(&self) -> UDIS_R

Bit 1 - Update disable

Source

pub fn urs(&self) -> URS_R

Bit 2 - Update request source

Source

pub fn opm(&self) -> OPM_R

Bit 3 - One-pulse mode

Source

pub fn arpe(&self) -> ARPE_R

Bit 7 - Auto-reload preload enable

Source

pub fn ckd(&self) -> CKD_R

Bits 8:9 - Clock division

Source

pub fn uifremap(&self) -> UIFREMAP_R

Bit 11 - UIF status bit remapping

Source§

impl R<u32, Reg<u32, _CR2>>

Source

pub fn ois1n(&self) -> OIS1N_R

Bit 9 - Output Idle state 1

Source

pub fn ois1(&self) -> OIS1_R

Bit 8 - Output Idle state 1

Source

pub fn ccds(&self) -> CCDS_R

Bit 3 - Capture/compare DMA selection

Source

pub fn ccus(&self) -> CCUS_R

Bit 2 - Capture/compare control update selection

Source

pub fn ccpc(&self) -> CCPC_R

Bit 0 - Capture/compare preloaded control

Source§

impl R<bool, UIE_A>

Source

pub fn variant(&self) -> UIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<u32, Reg<u32, _DIER>>

Source

pub fn tde(&self) -> TDE_R

Bit 14 - Trigger DMA request enable

Source

pub fn comde(&self) -> COMDE_R

Bit 13 - COM DMA request enable

Source

pub fn cc1de(&self) -> CC1DE_R

Bit 9 - Capture/Compare 1 DMA request enable

Source

pub fn ude(&self) -> UDE_R

Bit 8 - Update DMA request enable

Source

pub fn bie(&self) -> BIE_R

Bit 7 - Break interrupt enable

Source

pub fn tie(&self) -> TIE_R

Bit 6 - Trigger interrupt enable

Source

pub fn comie(&self) -> COMIE_R

Bit 5 - COM interrupt enable

Source

pub fn cc1ie(&self) -> CC1IE_R

Bit 1 - Capture/Compare 1 interrupt enable

Source

pub fn uie(&self) -> UIE_R

Bit 0 - Update interrupt enable

Source§

impl R<bool, UIF_A>

Source

pub fn variant(&self) -> UIF_A

Get enumerated values variant

Source

pub fn is_clear(&self) -> bool

Checks if the value of the field is CLEAR

Source

pub fn is_update_pending(&self) -> bool

Checks if the value of the field is UPDATEPENDING

Source§

impl R<u32, Reg<u32, _SR>>

Source

pub fn cc1of(&self) -> CC1OF_R

Bit 9 - Capture/Compare 1 overcapture flag

Source

pub fn bif(&self) -> BIF_R

Bit 7 - Break interrupt flag

Source

pub fn tif(&self) -> TIF_R

Bit 6 - Trigger interrupt flag

Source

pub fn comif(&self) -> COMIF_R

Bit 5 - COM interrupt flag

Source

pub fn cc1if(&self) -> CC1IF_R

Bit 1 - Capture/compare 1 interrupt flag

Source

pub fn uif(&self) -> UIF_R

Bit 0 - Update interrupt flag

Source§

impl R<u32, Reg<u32, _CCMR1_OUTPUT>>

Source

pub fn oc1m_2(&self) -> OC1M_2_R

Bit 16 - Output Compare 1 mode

Source

pub fn oc1m(&self) -> OC1M_R

Bits 4:6 - Output Compare 1 mode

Source

pub fn oc1pe(&self) -> OC1PE_R

Bit 3 - Output Compare 1 preload enable

Source

pub fn oc1fe(&self) -> OC1FE_R

Bit 2 - Output Compare 1 fast enable

Source

pub fn cc1s(&self) -> CC1S_R

Bits 0:1 - Capture/Compare 1 selection

Source§

impl R<u32, Reg<u32, _CCMR1_INPUT>>

Source

pub fn ic1f(&self) -> IC1F_R

Bits 4:7 - Input capture 1 filter

Source

pub fn ic1psc(&self) -> IC1PSC_R

Bits 2:3 - Input capture 1 prescaler

Source

pub fn cc1s(&self) -> CC1S_R

Bits 0:1 - Capture/Compare 1 selection

Source§

impl R<u32, Reg<u32, _CCER>>

Source

pub fn cc1np(&self) -> CC1NP_R

Bit 3 - Capture/Compare 1 output Polarity

Source

pub fn cc1ne(&self) -> CC1NE_R

Bit 2 - Capture/Compare 1 complementary output enable

Source

pub fn cc1p(&self) -> CC1P_R

Bit 1 - Capture/Compare 1 output Polarity

Source

pub fn cc1e(&self) -> CC1E_R

Bit 0 - Capture/Compare 1 output enable

Source§

impl R<u32, Reg<u32, _CNT>>

Source

pub fn cnt(&self) -> CNT_R

Bits 0:15 - counter value

Source

pub fn uifcpy(&self) -> UIFCPY_R

Bit 31 - UIF Copy

Source§

impl R<u32, Reg<u32, _PSC>>

Source

pub fn psc(&self) -> PSC_R

Bits 0:15 - Prescaler value

Source§

impl R<u32, Reg<u32, _ARR>>

Source

pub fn arr(&self) -> ARR_R

Bits 0:15 - Auto-reload value

Source§

impl R<u32, Reg<u32, _RCR>>

Source

pub fn rep(&self) -> REP_R

Bits 0:7 - Repetition counter value

Source§

impl R<u32, Reg<u32, _CCR1>>

Source

pub fn ccr1(&self) -> CCR1_R

Bits 0:15 - Capture/Compare 1 value

Source§

impl R<u32, Reg<u32, _BDTR>>

Source

pub fn dtg(&self) -> DTG_R

Bits 0:7 - Dead-time generator setup

Source

pub fn lock(&self) -> LOCK_R

Bits 8:9 - Lock configuration

Source

pub fn ossi(&self) -> OSSI_R

Bit 10 - Off-state selection for Idle mode

Source

pub fn ossr(&self) -> OSSR_R

Bit 11 - Off-state selection for Run mode

Source

pub fn bke(&self) -> BKE_R

Bit 12 - Break enable

Source

pub fn bkp(&self) -> BKP_R

Bit 13 - Break polarity

Source

pub fn aoe(&self) -> AOE_R

Bit 14 - Automatic output enable

Source

pub fn moe(&self) -> MOE_R

Bit 15 - Main output enable

Source

pub fn bkf(&self) -> BKF_R

Bits 16:19 - Break filter

Source§

impl R<u32, Reg<u32, _DCR>>

Source

pub fn dbl(&self) -> DBL_R

Bits 8:12 - DMA burst length

Source

pub fn dba(&self) -> DBA_R

Bits 0:4 - DMA base address

Source§

impl R<u32, Reg<u32, _DMAR>>

Source

pub fn dmab(&self) -> DMAB_R

Bits 0:15 - DMA register for burst accesses

Source§

impl R<bool, CEN_A>

Source

pub fn variant(&self) -> CEN_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, UDIS_A>

Source

pub fn variant(&self) -> UDIS_A

Get enumerated values variant

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source§

impl R<bool, URS_A>

Source

pub fn variant(&self) -> URS_A

Get enumerated values variant

Source

pub fn is_any_event(&self) -> bool

Checks if the value of the field is ANYEVENT

Source

pub fn is_counter_only(&self) -> bool

Checks if the value of the field is COUNTERONLY

Source§

impl R<bool, OPM_A>

Source

pub fn variant(&self) -> OPM_A

Get enumerated values variant

Source

pub fn is_not_stopped(&self) -> bool

Checks if the value of the field is NOTSTOPPED

Source

pub fn is_stopped(&self) -> bool

Checks if the value of the field is STOPPED

Source§

impl R<bool, ARPE_A>

Source

pub fn variant(&self) -> ARPE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<u8, CKD_A>

Source

pub fn variant(&self) -> Variant<u8, CKD_A>

Get enumerated values variant

Source

pub fn is_div1(&self) -> bool

Checks if the value of the field is DIV1

Source

pub fn is_div2(&self) -> bool

Checks if the value of the field is DIV2

Source

pub fn is_div4(&self) -> bool

Checks if the value of the field is DIV4

Source§

impl R<u32, Reg<u32, _CR1>>

Source

pub fn cen(&self) -> CEN_R

Bit 0 - Counter enable

Source

pub fn udis(&self) -> UDIS_R

Bit 1 - Update disable

Source

pub fn urs(&self) -> URS_R

Bit 2 - Update request source

Source

pub fn opm(&self) -> OPM_R

Bit 3 - One-pulse mode

Source

pub fn arpe(&self) -> ARPE_R

Bit 7 - Auto-reload preload enable

Source

pub fn ckd(&self) -> CKD_R

Bits 8:9 - Clock division

Source

pub fn uifremap(&self) -> UIFREMAP_R

Bit 11 - UIF status bit remapping

Source§

impl R<bool, OIS1N_A>

Source

pub fn variant(&self) -> OIS1N_A

Get enumerated values variant

Source

pub fn is_low(&self) -> bool

Checks if the value of the field is LOW

Source

pub fn is_high(&self) -> bool

Checks if the value of the field is HIGH

Source§

impl R<bool, OIS1_A>

Source

pub fn variant(&self) -> OIS1_A

Get enumerated values variant

Source

pub fn is_low(&self) -> bool

Checks if the value of the field is LOW

Source

pub fn is_high(&self) -> bool

Checks if the value of the field is HIGH

Source§

impl R<bool, CCDS_A>

Source

pub fn variant(&self) -> CCDS_A

Get enumerated values variant

Source

pub fn is_on_compare(&self) -> bool

Checks if the value of the field is ONCOMPARE

Source

pub fn is_on_update(&self) -> bool

Checks if the value of the field is ONUPDATE

Source§

impl R<bool, CCUS_A>

Source

pub fn variant(&self) -> CCUS_A

Get enumerated values variant

Source

pub fn is_default(&self) -> bool

Checks if the value of the field is DEFAULT

Source

pub fn is_with_rising_edge(&self) -> bool

Checks if the value of the field is WITHRISINGEDGE

Source§

impl R<bool, CCPC_A>

Source

pub fn variant(&self) -> CCPC_A

Get enumerated values variant

Source

pub fn is_not_preloaded(&self) -> bool

Checks if the value of the field is NOTPRELOADED

Source

pub fn is_preloaded(&self) -> bool

Checks if the value of the field is PRELOADED

Source§

impl R<u32, Reg<u32, _CR2>>

Source

pub fn ois1n(&self) -> OIS1N_R

Bit 9 - Output Idle state 1

Source

pub fn ois1(&self) -> OIS1_R

Bit 8 - Output Idle state 1

Source

pub fn ccds(&self) -> CCDS_R

Bit 3 - Capture/compare DMA selection

Source

pub fn ccus(&self) -> CCUS_R

Bit 2 - Capture/compare control update selection

Source

pub fn ccpc(&self) -> CCPC_R

Bit 0 - Capture/compare preloaded control

Source§

impl R<bool, CC1DE_A>

Source

pub fn variant(&self) -> CC1DE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, BIE_A>

Source

pub fn variant(&self) -> BIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, COMIE_A>

Source

pub fn variant(&self) -> COMIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, CC1IE_A>

Source

pub fn variant(&self) -> CC1IE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, UIE_A>

Source

pub fn variant(&self) -> UIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<u32, Reg<u32, _DIER>>

Source

pub fn tde(&self) -> TDE_R

Bit 14 - Trigger DMA request enable

Source

pub fn comde(&self) -> COMDE_R

Bit 13 - COM DMA request enable

Source

pub fn cc1de(&self) -> CC1DE_R

Bit 9 - Capture/Compare 1 DMA request enable

Source

pub fn ude(&self) -> UDE_R

Bit 8 - Update DMA request enable

Source

pub fn bie(&self) -> BIE_R

Bit 7 - Break interrupt enable

Source

pub fn tie(&self) -> TIE_R

Bit 6 - Trigger interrupt enable

Source

pub fn comie(&self) -> COMIE_R

Bit 5 - COM interrupt enable

Source

pub fn cc1ie(&self) -> CC1IE_R

Bit 1 - Capture/Compare 1 interrupt enable

Source

pub fn uie(&self) -> UIE_R

Bit 0 - Update interrupt enable

Source§

impl R<bool, UIF_A>

Source

pub fn variant(&self) -> UIF_A

Get enumerated values variant

Source

pub fn is_clear(&self) -> bool

Checks if the value of the field is CLEAR

Source

pub fn is_update_pending(&self) -> bool

Checks if the value of the field is UPDATEPENDING

Source§

impl R<u32, Reg<u32, _SR>>

Source

pub fn cc1of(&self) -> CC1OF_R

Bit 9 - Capture/Compare 1 overcapture flag

Source

pub fn bif(&self) -> BIF_R

Bit 7 - Break interrupt flag

Source

pub fn tif(&self) -> TIF_R

Bit 6 - Trigger interrupt flag

Source

pub fn comif(&self) -> COMIF_R

Bit 5 - COM interrupt flag

Source

pub fn cc1if(&self) -> CC1IF_R

Bit 1 - Capture/compare 1 interrupt flag

Source

pub fn uif(&self) -> UIF_R

Bit 0 - Update interrupt flag

Source§

impl R<u32, Reg<u32, _CCMR1_OUTPUT>>

Source

pub fn oc1m_2(&self) -> OC1M_2_R

Bit 16 - Output Compare 1 mode

Source

pub fn oc1m(&self) -> OC1M_R

Bits 4:6 - Output Compare 1 mode

Source

pub fn oc1pe(&self) -> OC1PE_R

Bit 3 - Output Compare 1 preload enable

Source

pub fn oc1fe(&self) -> OC1FE_R

Bit 2 - Output Compare 1 fast enable

Source

pub fn cc1s(&self) -> CC1S_R

Bits 0:1 - Capture/Compare 1 selection

Source§

impl R<u32, Reg<u32, _CCMR1_INPUT>>

Source

pub fn ic1f(&self) -> IC1F_R

Bits 4:7 - Input capture 1 filter

Source

pub fn ic1psc(&self) -> IC1PSC_R

Bits 2:3 - Input capture 1 prescaler

Source

pub fn cc1s(&self) -> CC1S_R

Bits 0:1 - Capture/Compare 1 selection

Source§

impl R<u32, Reg<u32, _CCER>>

Source

pub fn cc1np(&self) -> CC1NP_R

Bit 3 - Capture/Compare 1 output Polarity

Source

pub fn cc1ne(&self) -> CC1NE_R

Bit 2 - Capture/Compare 1 complementary output enable

Source

pub fn cc1p(&self) -> CC1P_R

Bit 1 - Capture/Compare 1 output Polarity

Source

pub fn cc1e(&self) -> CC1E_R

Bit 0 - Capture/Compare 1 output enable

Source§

impl R<u32, Reg<u32, _CNT>>

Source

pub fn cnt(&self) -> CNT_R

Bits 0:15 - counter value

Source

pub fn uifcpy(&self) -> UIFCPY_R

Bit 31 - UIF Copy

Source§

impl R<u32, Reg<u32, _PSC>>

Source

pub fn psc(&self) -> PSC_R

Bits 0:15 - Prescaler value

Source§

impl R<u32, Reg<u32, _ARR>>

Source

pub fn arr(&self) -> ARR_R

Bits 0:15 - Auto-reload value

Source§

impl R<u32, Reg<u32, _RCR>>

Source

pub fn rep(&self) -> REP_R

Bits 0:7 - Repetition counter value

Source§

impl R<u32, Reg<u32, _CCR1>>

Source

pub fn ccr1(&self) -> CCR1_R

Bits 0:15 - Capture/Compare 1 value

Source§

impl R<u32, Reg<u32, _BDTR>>

Source

pub fn dtg(&self) -> DTG_R

Bits 0:7 - Dead-time generator setup

Source

pub fn lock(&self) -> LOCK_R

Bits 8:9 - Lock configuration

Source

pub fn ossi(&self) -> OSSI_R

Bit 10 - Off-state selection for Idle mode

Source

pub fn ossr(&self) -> OSSR_R

Bit 11 - Off-state selection for Run mode

Source

pub fn bke(&self) -> BKE_R

Bit 12 - Break enable

Source

pub fn bkp(&self) -> BKP_R

Bit 13 - Break polarity

Source

pub fn aoe(&self) -> AOE_R

Bit 14 - Automatic output enable

Source

pub fn moe(&self) -> MOE_R

Bit 15 - Main output enable

Source

pub fn bkf(&self) -> BKF_R

Bits 16:19 - Break filter

Source§

impl R<u32, Reg<u32, _DCR>>

Source

pub fn dbl(&self) -> DBL_R

Bits 8:12 - DMA burst length

Source

pub fn dba(&self) -> DBA_R

Bits 0:4 - DMA base address

Source§

impl R<u32, Reg<u32, _DMAR>>

Source

pub fn dmab(&self) -> DMAB_R

Bits 0:15 - DMA register for burst accesses

Source§

impl R<u32, Reg<u32, _OR1>>

Source

pub fn ti1_rmp(&self) -> TI1_RMP_R

Bits 0:1 - Input capture 1 remap

Source§

impl R<u32, Reg<u32, _OR2>>

Source

pub fn bkine(&self) -> BKINE_R

Bit 0 - BRK BKIN input enable

Source

pub fn bkcmp1e(&self) -> BKCMP1E_R

Bit 1 - BRK COMP1 enable

Source

pub fn bkcmp2e(&self) -> BKCMP2E_R

Bit 2 - BRK COMP2 enable

Source

pub fn bkdfbk1e(&self) -> BKDFBK1E_R

Bit 8 - BRK DFSDM_BREAK1 enable

Source

pub fn bkinp(&self) -> BKINP_R

Bit 9 - BRK BKIN input polarity

Source

pub fn bkcmp1p(&self) -> BKCMP1P_R

Bit 10 - BRK COMP1 input polarity

Source

pub fn bkcmp2p(&self) -> BKCMP2P_R

Bit 11 - BRK COMP2 input polarit

Source§

impl R<u8, CKD_A>

Source

pub fn variant(&self) -> Variant<u8, CKD_A>

Get enumerated values variant

Source

pub fn is_div1(&self) -> bool

Checks if the value of the field is DIV1

Source

pub fn is_div2(&self) -> bool

Checks if the value of the field is DIV2

Source

pub fn is_div4(&self) -> bool

Checks if the value of the field is DIV4

Source§

impl R<bool, ARPE_A>

Source

pub fn variant(&self) -> ARPE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<u8, CMS_A>

Source

pub fn variant(&self) -> CMS_A

Get enumerated values variant

Source

pub fn is_edge_aligned(&self) -> bool

Checks if the value of the field is EDGEALIGNED

Source

pub fn is_center_aligned1(&self) -> bool

Checks if the value of the field is CENTERALIGNED1

Source

pub fn is_center_aligned2(&self) -> bool

Checks if the value of the field is CENTERALIGNED2

Source

pub fn is_center_aligned3(&self) -> bool

Checks if the value of the field is CENTERALIGNED3

Source§

impl R<bool, DIR_A>

Source

pub fn variant(&self) -> DIR_A

Get enumerated values variant

Source

pub fn is_up(&self) -> bool

Checks if the value of the field is UP

Source

pub fn is_down(&self) -> bool

Checks if the value of the field is DOWN

Source§

impl R<bool, OPM_A>

Source

pub fn variant(&self) -> OPM_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, URS_A>

Source

pub fn variant(&self) -> URS_A

Get enumerated values variant

Source

pub fn is_any_event(&self) -> bool

Checks if the value of the field is ANYEVENT

Source

pub fn is_counter_only(&self) -> bool

Checks if the value of the field is COUNTERONLY

Source§

impl R<bool, UDIS_A>

Source

pub fn variant(&self) -> UDIS_A

Get enumerated values variant

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source§

impl R<bool, CEN_A>

Source

pub fn variant(&self) -> CEN_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<u32, Reg<u32, _CR1>>

Source

pub fn ckd(&self) -> CKD_R

Bits 8:9 - Clock division

Source

pub fn arpe(&self) -> ARPE_R

Bit 7 - Auto-reload preload enable

Source

pub fn cms(&self) -> CMS_R

Bits 5:6 - Center-aligned mode selection

Source

pub fn dir(&self) -> DIR_R

Bit 4 - Direction

Source

pub fn opm(&self) -> OPM_R

Bit 3 - One-pulse mode

Source

pub fn urs(&self) -> URS_R

Bit 2 - Update request source

Source

pub fn udis(&self) -> UDIS_R

Bit 1 - Update disable

Source

pub fn cen(&self) -> CEN_R

Bit 0 - Counter enable

Source§

impl R<bool, TI1S_A>

Source

pub fn variant(&self) -> TI1S_A

Get enumerated values variant

Source

pub fn is_normal(&self) -> bool

Checks if the value of the field is NORMAL

Source

pub fn is_xor(&self) -> bool

Checks if the value of the field is XOR

Source§

impl R<u8, MMS_A>

Source

pub fn variant(&self) -> MMS_A

Get enumerated values variant

Source

pub fn is_reset(&self) -> bool

Checks if the value of the field is RESET

Source

pub fn is_enable(&self) -> bool

Checks if the value of the field is ENABLE

Source

pub fn is_update(&self) -> bool

Checks if the value of the field is UPDATE

Source

pub fn is_compare_pulse(&self) -> bool

Checks if the value of the field is COMPAREPULSE

Source

pub fn is_compare_oc1(&self) -> bool

Checks if the value of the field is COMPAREOC1

Source

pub fn is_compare_oc2(&self) -> bool

Checks if the value of the field is COMPAREOC2

Source

pub fn is_compare_oc3(&self) -> bool

Checks if the value of the field is COMPAREOC3

Source

pub fn is_compare_oc4(&self) -> bool

Checks if the value of the field is COMPAREOC4

Source§

impl R<bool, CCDS_A>

Source

pub fn variant(&self) -> CCDS_A

Get enumerated values variant

Source

pub fn is_on_compare(&self) -> bool

Checks if the value of the field is ONCOMPARE

Source

pub fn is_on_update(&self) -> bool

Checks if the value of the field is ONUPDATE

Source§

impl R<u32, Reg<u32, _CR2>>

Source

pub fn ois4(&self) -> OIS4_R

Bit 14 - Output Idle state 4

Source

pub fn ois3n(&self) -> OIS3N_R

Bit 13 - Output Idle state 3

Source

pub fn ois3(&self) -> OIS3_R

Bit 12 - Output Idle state 3

Source

pub fn ois2n(&self) -> OIS2N_R

Bit 11 - Output Idle state 2

Source

pub fn ois2(&self) -> OIS2_R

Bit 10 - Output Idle state 2

Source

pub fn ois1n(&self) -> OIS1N_R

Bit 9 - Output Idle state 1

Source

pub fn ois1(&self) -> OIS1_R

Bit 8 - Output Idle state 1

Source

pub fn ti1s(&self) -> TI1S_R

Bit 7 - TI1 selection

Source

pub fn mms(&self) -> MMS_R

Bits 4:6 - Master mode selection

Source

pub fn ccds(&self) -> CCDS_R

Bit 3 - Capture/compare DMA selection

Source

pub fn ccus(&self) -> CCUS_R

Bit 2 - Capture/compare control update selection

Source

pub fn ccpc(&self) -> CCPC_R

Bit 0 - Capture/compare preloaded control

Source§

impl R<bool, ETP_A>

Source

pub fn variant(&self) -> ETP_A

Get enumerated values variant

Source

pub fn is_not_inverted(&self) -> bool

Checks if the value of the field is NOTINVERTED

Source

pub fn is_inverted(&self) -> bool

Checks if the value of the field is INVERTED

Source§

impl R<bool, ECE_A>

Source

pub fn variant(&self) -> ECE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<u8, ETPS_A>

Source

pub fn variant(&self) -> ETPS_A

Get enumerated values variant

Source

pub fn is_div1(&self) -> bool

Checks if the value of the field is DIV1

Source

pub fn is_div2(&self) -> bool

Checks if the value of the field is DIV2

Source

pub fn is_div4(&self) -> bool

Checks if the value of the field is DIV4

Source

pub fn is_div8(&self) -> bool

Checks if the value of the field is DIV8

Source§

impl R<u8, ETF_A>

Source

pub fn variant(&self) -> ETF_A

Get enumerated values variant

Source

pub fn is_no_filter(&self) -> bool

Checks if the value of the field is NOFILTER

Source

pub fn is_fck_int_n2(&self) -> bool

Checks if the value of the field is FCK_INT_N2

Source

pub fn is_fck_int_n4(&self) -> bool

Checks if the value of the field is FCK_INT_N4

Source

pub fn is_fck_int_n8(&self) -> bool

Checks if the value of the field is FCK_INT_N8

Source

pub fn is_fdts_div2_n6(&self) -> bool

Checks if the value of the field is FDTS_DIV2_N6

Source

pub fn is_fdts_div2_n8(&self) -> bool

Checks if the value of the field is FDTS_DIV2_N8

Source

pub fn is_fdts_div4_n6(&self) -> bool

Checks if the value of the field is FDTS_DIV4_N6

Source

pub fn is_fdts_div4_n8(&self) -> bool

Checks if the value of the field is FDTS_DIV4_N8

Source

pub fn is_fdts_div8_n6(&self) -> bool

Checks if the value of the field is FDTS_DIV8_N6

Source

pub fn is_fdts_div8_n8(&self) -> bool

Checks if the value of the field is FDTS_DIV8_N8

Source

pub fn is_fdts_div16_n5(&self) -> bool

Checks if the value of the field is FDTS_DIV16_N5

Source

pub fn is_fdts_div16_n6(&self) -> bool

Checks if the value of the field is FDTS_DIV16_N6

Source

pub fn is_fdts_div16_n8(&self) -> bool

Checks if the value of the field is FDTS_DIV16_N8

Source

pub fn is_fdts_div32_n5(&self) -> bool

Checks if the value of the field is FDTS_DIV32_N5

Source

pub fn is_fdts_div32_n6(&self) -> bool

Checks if the value of the field is FDTS_DIV32_N6

Source

pub fn is_fdts_div32_n8(&self) -> bool

Checks if the value of the field is FDTS_DIV32_N8

Source§

impl R<bool, MSM_A>

Source

pub fn variant(&self) -> MSM_A

Get enumerated values variant

Source

pub fn is_no_sync(&self) -> bool

Checks if the value of the field is NOSYNC

Source

pub fn is_sync(&self) -> bool

Checks if the value of the field is SYNC

Source§

impl R<u8, TS_A>

Source

pub fn variant(&self) -> Variant<u8, TS_A>

Get enumerated values variant

Source

pub fn is_itr0(&self) -> bool

Checks if the value of the field is ITR0

Source

pub fn is_itr1(&self) -> bool

Checks if the value of the field is ITR1

Source

pub fn is_itr2(&self) -> bool

Checks if the value of the field is ITR2

Source

pub fn is_ti1f_ed(&self) -> bool

Checks if the value of the field is TI1F_ED

Source

pub fn is_ti1fp1(&self) -> bool

Checks if the value of the field is TI1FP1

Source

pub fn is_ti2fp2(&self) -> bool

Checks if the value of the field is TI2FP2

Source

pub fn is_etrf(&self) -> bool

Checks if the value of the field is ETRF

Source§

impl R<u8, SMS_A>

Source

pub fn variant(&self) -> SMS_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_encoder_mode_1(&self) -> bool

Checks if the value of the field is ENCODER_MODE_1

Source

pub fn is_encoder_mode_2(&self) -> bool

Checks if the value of the field is ENCODER_MODE_2

Source

pub fn is_encoder_mode_3(&self) -> bool

Checks if the value of the field is ENCODER_MODE_3

Source

pub fn is_reset_mode(&self) -> bool

Checks if the value of the field is RESET_MODE

Source

pub fn is_gated_mode(&self) -> bool

Checks if the value of the field is GATED_MODE

Source

pub fn is_trigger_mode(&self) -> bool

Checks if the value of the field is TRIGGER_MODE

Source

pub fn is_ext_clock_mode(&self) -> bool

Checks if the value of the field is EXT_CLOCK_MODE

Source§

impl R<u32, Reg<u32, _SMCR>>

Source

pub fn etp(&self) -> ETP_R

Bit 15 - External trigger polarity

Source

pub fn ece(&self) -> ECE_R

Bit 14 - External clock enable

Source

pub fn etps(&self) -> ETPS_R

Bits 12:13 - External trigger prescaler

Source

pub fn etf(&self) -> ETF_R

Bits 8:11 - External trigger filter

Source

pub fn msm(&self) -> MSM_R

Bit 7 - Master/Slave mode

Source

pub fn ts(&self) -> TS_R

Bits 4:6 - Trigger selection

Source

pub fn sms(&self) -> SMS_R

Bits 0:2 - Slave mode selection

Source§

impl R<bool, TDE_A>

Source

pub fn variant(&self) -> TDE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, CC4DE_A>

Source

pub fn variant(&self) -> CC4DE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, UDE_A>

Source

pub fn variant(&self) -> UDE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, TIE_A>

Source

pub fn variant(&self) -> TIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, CC4IE_A>

Source

pub fn variant(&self) -> CC4IE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, UIE_A>

Source

pub fn variant(&self) -> UIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<u32, Reg<u32, _DIER>>

Source

pub fn tde(&self) -> TDE_R

Bit 14 - Trigger DMA request enable

Source

pub fn comde(&self) -> COMDE_R

Bit 13 - COM DMA request enable

Source

pub fn cc4de(&self) -> CC4DE_R

Bit 12 - Capture/Compare 4 DMA request enable

Source

pub fn cc3de(&self) -> CC3DE_R

Bit 11 - Capture/Compare 3 DMA request enable

Source

pub fn cc2de(&self) -> CC2DE_R

Bit 10 - Capture/Compare 2 DMA request enable

Source

pub fn cc1de(&self) -> CC1DE_R

Bit 9 - Capture/Compare 1 DMA request enable

Source

pub fn ude(&self) -> UDE_R

Bit 8 - Update DMA request enable

Source

pub fn tie(&self) -> TIE_R

Bit 6 - Trigger interrupt enable

Source

pub fn cc4ie(&self) -> CC4IE_R

Bit 4 - Capture/Compare 4 interrupt enable

Source

pub fn cc3ie(&self) -> CC3IE_R

Bit 3 - Capture/Compare 3 interrupt enable

Source

pub fn cc2ie(&self) -> CC2IE_R

Bit 2 - Capture/Compare 2 interrupt enable

Source

pub fn cc1ie(&self) -> CC1IE_R

Bit 1 - Capture/Compare 1 interrupt enable

Source

pub fn uie(&self) -> UIE_R

Bit 0 - Update interrupt enable

Source

pub fn bie(&self) -> BIE_R

Bit 7 - Break interrupt enable

Source

pub fn comie(&self) -> COMIE_R

Bit 5 - COM interrupt enable

Source§

impl R<bool, CC4OF_A>

Source

pub fn variant(&self) -> Variant<bool, CC4OF_A>

Get enumerated values variant

Source

pub fn is_overcapture(&self) -> bool

Checks if the value of the field is OVERCAPTURE

Source§

impl R<bool, TIF_A>

Source

pub fn variant(&self) -> TIF_A

Get enumerated values variant

Source

pub fn is_no_trigger(&self) -> bool

Checks if the value of the field is NOTRIGGER

Source

pub fn is_trigger(&self) -> bool

Checks if the value of the field is TRIGGER

Source§

impl R<bool, CC4IF_A>

Source

pub fn variant(&self) -> Variant<bool, CC4IF_A>

Get enumerated values variant

Source

pub fn is_match_(&self) -> bool

Checks if the value of the field is MATCH

Source§

impl R<bool, UIF_A>

Source

pub fn variant(&self) -> UIF_A

Get enumerated values variant

Source

pub fn is_clear(&self) -> bool

Checks if the value of the field is CLEAR

Source

pub fn is_update_pending(&self) -> bool

Checks if the value of the field is UPDATEPENDING

Source§

impl R<u32, Reg<u32, _SR>>

Source

pub fn cc4of(&self) -> CC4OF_R

Bit 12 - Capture/Compare 4 overcapture flag

Source

pub fn cc3of(&self) -> CC3OF_R

Bit 11 - Capture/Compare 3 overcapture flag

Source

pub fn cc2of(&self) -> CC2OF_R

Bit 10 - Capture/compare 2 overcapture flag

Source

pub fn cc1of(&self) -> CC1OF_R

Bit 9 - Capture/Compare 1 overcapture flag

Source

pub fn bif(&self) -> BIF_R

Bit 7 - Break interrupt flag

Source

pub fn tif(&self) -> TIF_R

Bit 6 - Trigger interrupt flag

Source

pub fn comif(&self) -> COMIF_R

Bit 5 - COM interrupt flag

Source

pub fn cc4if(&self) -> CC4IF_R

Bit 4 - Capture/Compare 4 interrupt flag

Source

pub fn cc3if(&self) -> CC3IF_R

Bit 3 - Capture/Compare 3 interrupt flag

Source

pub fn cc2if(&self) -> CC2IF_R

Bit 2 - Capture/Compare 2 interrupt flag

Source

pub fn cc1if(&self) -> CC1IF_R

Bit 1 - Capture/compare 1 interrupt flag

Source

pub fn uif(&self) -> UIF_R

Bit 0 - Update interrupt flag

Source§

impl R<u8, OC2M_A>

Source

pub fn variant(&self) -> Variant<u8, OC2M_A>

Get enumerated values variant

Source

pub fn is_frozen(&self) -> bool

Checks if the value of the field is FROZEN

Source

pub fn is_active_on_match(&self) -> bool

Checks if the value of the field is ACTIVEONMATCH

Source

pub fn is_inactive_on_match(&self) -> bool

Checks if the value of the field is INACTIVEONMATCH

Source

pub fn is_toggle(&self) -> bool

Checks if the value of the field is TOGGLE

Source

pub fn is_force_inactive(&self) -> bool

Checks if the value of the field is FORCEINACTIVE

Source

pub fn is_force_active(&self) -> bool

Checks if the value of the field is FORCEACTIVE

Source

pub fn is_pwm_mode1(&self) -> bool

Checks if the value of the field is PWMMODE1

Source

pub fn is_pwm_mode2(&self) -> bool

Checks if the value of the field is PWMMODE2

Source

pub fn is_opm_mode1(&self) -> bool

Checks if the value of the field is OPMMODE1

Source

pub fn is_opm_mode2(&self) -> bool

Checks if the value of the field is OPMMODE2

Source

pub fn is_combined_pwm_mode1(&self) -> bool

Checks if the value of the field is COMBINEDPWMMODE1

Source

pub fn is_combined_pwm_mode2(&self) -> bool

Checks if the value of the field is COMBINEDPWMMODE2

Source

pub fn is_asymmetric_pwm_mode1(&self) -> bool

Checks if the value of the field is ASYMMETRICPWMMODE1

Source

pub fn is_asymmetric_pwm_mode2(&self) -> bool

Checks if the value of the field is ASYMMETRICPWMMODE2

Source§

impl R<bool, OC2PE_A>

Source

pub fn variant(&self) -> OC2PE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<u8, CC2S_A>

Source

pub fn variant(&self) -> Variant<u8, CC2S_A>

Get enumerated values variant

Source

pub fn is_output(&self) -> bool

Checks if the value of the field is OUTPUT

Source§

impl R<bool, OC1PE_A>

Source

pub fn variant(&self) -> OC1PE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<u8, CC1S_A>

Source

pub fn variant(&self) -> Variant<u8, CC1S_A>

Get enumerated values variant

Source

pub fn is_output(&self) -> bool

Checks if the value of the field is OUTPUT

Source§

impl R<u32, Reg<u32, _CCMR1_OUTPUT>>

Source

pub fn oc2ce(&self) -> OC2CE_R

Bit 15 - Output Compare 2 clear enable

Source

pub fn oc2m(&self) -> OC2M_R

Bits 12:14 - Output Compare 2 mode

Source

pub fn oc2pe(&self) -> OC2PE_R

Bit 11 - Output Compare 2 preload enable

Source

pub fn oc2fe(&self) -> OC2FE_R

Bit 10 - Output Compare 2 fast enable

Source

pub fn cc2s(&self) -> CC2S_R

Bits 8:9 - Capture/Compare 2 selection

Source

pub fn oc1ce(&self) -> OC1CE_R

Bit 7 - Output Compare 1 clear enable

Source

pub fn oc1m(&self) -> OC1M_R

Bits 4:6 - Output Compare 1 mode

Source

pub fn oc1pe(&self) -> OC1PE_R

Bit 3 - Output Compare 1 preload enable

Source

pub fn oc1fe(&self) -> OC1FE_R

Bit 2 - Output Compare 1 fast enable

Source

pub fn cc1s(&self) -> CC1S_R

Bits 0:1 - Capture/Compare 1 selection

Source§

impl R<u8, CC2S_A>

Source

pub fn variant(&self) -> Variant<u8, CC2S_A>

Get enumerated values variant

Source

pub fn is_ti2(&self) -> bool

Checks if the value of the field is TI2

Source

pub fn is_ti1(&self) -> bool

Checks if the value of the field is TI1

Source

pub fn is_trc(&self) -> bool

Checks if the value of the field is TRC

Source§

impl R<u8, IC1F_A>

Source

pub fn variant(&self) -> IC1F_A

Get enumerated values variant

Source

pub fn is_no_filter(&self) -> bool

Checks if the value of the field is NOFILTER

Source

pub fn is_fck_int_n2(&self) -> bool

Checks if the value of the field is FCK_INT_N2

Source

pub fn is_fck_int_n4(&self) -> bool

Checks if the value of the field is FCK_INT_N4

Source

pub fn is_fck_int_n8(&self) -> bool

Checks if the value of the field is FCK_INT_N8

Source

pub fn is_fdts_div2_n6(&self) -> bool

Checks if the value of the field is FDTS_DIV2_N6

Source

pub fn is_fdts_div2_n8(&self) -> bool

Checks if the value of the field is FDTS_DIV2_N8

Source

pub fn is_fdts_div4_n6(&self) -> bool

Checks if the value of the field is FDTS_DIV4_N6

Source

pub fn is_fdts_div4_n8(&self) -> bool

Checks if the value of the field is FDTS_DIV4_N8

Source

pub fn is_fdts_div8_n6(&self) -> bool

Checks if the value of the field is FDTS_DIV8_N6

Source

pub fn is_fdts_div8_n8(&self) -> bool

Checks if the value of the field is FDTS_DIV8_N8

Source

pub fn is_fdts_div16_n5(&self) -> bool

Checks if the value of the field is FDTS_DIV16_N5

Source

pub fn is_fdts_div16_n6(&self) -> bool

Checks if the value of the field is FDTS_DIV16_N6

Source

pub fn is_fdts_div16_n8(&self) -> bool

Checks if the value of the field is FDTS_DIV16_N8

Source

pub fn is_fdts_div32_n5(&self) -> bool

Checks if the value of the field is FDTS_DIV32_N5

Source

pub fn is_fdts_div32_n6(&self) -> bool

Checks if the value of the field is FDTS_DIV32_N6

Source

pub fn is_fdts_div32_n8(&self) -> bool

Checks if the value of the field is FDTS_DIV32_N8

Source§

impl R<u8, CC1S_A>

Source

pub fn variant(&self) -> Variant<u8, CC1S_A>

Get enumerated values variant

Source

pub fn is_ti1(&self) -> bool

Checks if the value of the field is TI1

Source

pub fn is_ti2(&self) -> bool

Checks if the value of the field is TI2

Source

pub fn is_trc(&self) -> bool

Checks if the value of the field is TRC

Source§

impl R<u32, Reg<u32, _CCMR1_INPUT>>

Source

pub fn ic2f(&self) -> IC2F_R

Bits 12:15 - Input capture 2 filter

Source

pub fn ic2psc(&self) -> IC2PSC_R

Bits 10:11 - Input capture 2 prescaler

Source

pub fn cc2s(&self) -> CC2S_R

Bits 8:9 - Capture/Compare 2 selection

Source

pub fn ic1f(&self) -> IC1F_R

Bits 4:7 - Input capture 1 filter

Source

pub fn ic1psc(&self) -> IC1PSC_R

Bits 2:3 - Input capture 1 prescaler

Source

pub fn cc1s(&self) -> CC1S_R

Bits 0:1 - Capture/Compare 1 selection

Source§

impl R<u8, OC4M_A>

Source

pub fn variant(&self) -> Variant<u8, OC4M_A>

Get enumerated values variant

Source

pub fn is_frozen(&self) -> bool

Checks if the value of the field is FROZEN

Source

pub fn is_active_on_match(&self) -> bool

Checks if the value of the field is ACTIVEONMATCH

Source

pub fn is_inactive_on_match(&self) -> bool

Checks if the value of the field is INACTIVEONMATCH

Source

pub fn is_toggle(&self) -> bool

Checks if the value of the field is TOGGLE

Source

pub fn is_force_inactive(&self) -> bool

Checks if the value of the field is FORCEINACTIVE

Source

pub fn is_force_active(&self) -> bool

Checks if the value of the field is FORCEACTIVE

Source

pub fn is_pwm_mode1(&self) -> bool

Checks if the value of the field is PWMMODE1

Source

pub fn is_pwm_mode2(&self) -> bool

Checks if the value of the field is PWMMODE2

Source

pub fn is_opm_mode1(&self) -> bool

Checks if the value of the field is OPMMODE1

Source

pub fn is_opm_mode2(&self) -> bool

Checks if the value of the field is OPMMODE2

Source

pub fn is_combined_pwm_mode1(&self) -> bool

Checks if the value of the field is COMBINEDPWMMODE1

Source

pub fn is_combined_pwm_mode2(&self) -> bool

Checks if the value of the field is COMBINEDPWMMODE2

Source

pub fn is_asymmetric_pwm_mode1(&self) -> bool

Checks if the value of the field is ASYMMETRICPWMMODE1

Source

pub fn is_asymmetric_pwm_mode2(&self) -> bool

Checks if the value of the field is ASYMMETRICPWMMODE2

Source§

impl R<bool, OC4PE_A>

Source

pub fn variant(&self) -> OC4PE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<u8, CC4S_A>

Source

pub fn variant(&self) -> Variant<u8, CC4S_A>

Get enumerated values variant

Source

pub fn is_output(&self) -> bool

Checks if the value of the field is OUTPUT

Source§

impl R<bool, OC3PE_A>

Source

pub fn variant(&self) -> OC3PE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<u8, CC3S_A>

Source

pub fn variant(&self) -> Variant<u8, CC3S_A>

Get enumerated values variant

Source

pub fn is_output(&self) -> bool

Checks if the value of the field is OUTPUT

Source§

impl R<u32, Reg<u32, _CCMR2_OUTPUT>>

Source

pub fn oc4ce(&self) -> OC4CE_R

Bit 15 - Output compare 4 clear enable

Source

pub fn oc4m(&self) -> OC4M_R

Bits 12:14 - Output compare 4 mode

Source

pub fn oc4pe(&self) -> OC4PE_R

Bit 11 - Output compare 4 preload enable

Source

pub fn oc4fe(&self) -> OC4FE_R

Bit 10 - Output compare 4 fast enable

Source

pub fn cc4s(&self) -> CC4S_R

Bits 8:9 - Capture/Compare 4 selection

Source

pub fn oc3ce(&self) -> OC3CE_R

Bit 7 - Output compare 3 clear enable

Source

pub fn oc3m(&self) -> OC3M_R

Bits 4:6 - Output compare 3 mode

Source

pub fn oc3pe(&self) -> OC3PE_R

Bit 3 - Output compare 3 preload enable

Source

pub fn oc3fe(&self) -> OC3FE_R

Bit 2 - Output compare 3 fast enable

Source

pub fn cc3s(&self) -> CC3S_R

Bits 0:1 - Capture/Compare 3 selection

Source§

impl R<u8, CC4S_A>

Source

pub fn variant(&self) -> Variant<u8, CC4S_A>

Get enumerated values variant

Source

pub fn is_ti4(&self) -> bool

Checks if the value of the field is TI4

Source

pub fn is_ti3(&self) -> bool

Checks if the value of the field is TI3

Source

pub fn is_trc(&self) -> bool

Checks if the value of the field is TRC

Source§

impl R<u8, CC3S_A>

Source

pub fn variant(&self) -> Variant<u8, CC3S_A>

Get enumerated values variant

Source

pub fn is_ti3(&self) -> bool

Checks if the value of the field is TI3

Source

pub fn is_ti4(&self) -> bool

Checks if the value of the field is TI4

Source

pub fn is_trc(&self) -> bool

Checks if the value of the field is TRC

Source§

impl R<u32, Reg<u32, _CCMR2_INPUT>>

Source

pub fn ic4f(&self) -> IC4F_R

Bits 12:15 - Input capture 4 filter

Source

pub fn ic4psc(&self) -> IC4PSC_R

Bits 10:11 - Input capture 4 prescaler

Source

pub fn cc4s(&self) -> CC4S_R

Bits 8:9 - Capture/Compare 4 selection

Source

pub fn ic3f(&self) -> IC3F_R

Bits 4:7 - Input capture 3 filter

Source

pub fn ic3psc(&self) -> IC3PSC_R

Bits 2:3 - Input capture 3 prescaler

Source

pub fn cc3s(&self) -> CC3S_R

Bits 0:1 - Capture/compare 3 selection

Source§

impl R<u32, Reg<u32, _CCER>>

Source

pub fn cc4p(&self) -> CC4P_R

Bit 13 - Capture/Compare 3 output Polarity

Source

pub fn cc4e(&self) -> CC4E_R

Bit 12 - Capture/Compare 4 output enable

Source

pub fn cc3np(&self) -> CC3NP_R

Bit 11 - Capture/Compare 3 output Polarity

Source

pub fn cc3ne(&self) -> CC3NE_R

Bit 10 - Capture/Compare 3 complementary output enable

Source

pub fn cc3p(&self) -> CC3P_R

Bit 9 - Capture/Compare 3 output Polarity

Source

pub fn cc3e(&self) -> CC3E_R

Bit 8 - Capture/Compare 3 output enable

Source

pub fn cc2np(&self) -> CC2NP_R

Bit 7 - Capture/Compare 2 output Polarity

Source

pub fn cc2ne(&self) -> CC2NE_R

Bit 6 - Capture/Compare 2 complementary output enable

Source

pub fn cc2p(&self) -> CC2P_R

Bit 5 - Capture/Compare 2 output Polarity

Source

pub fn cc2e(&self) -> CC2E_R

Bit 4 - Capture/Compare 2 output enable

Source

pub fn cc1np(&self) -> CC1NP_R

Bit 3 - Capture/Compare 1 output Polarity

Source

pub fn cc1ne(&self) -> CC1NE_R

Bit 2 - Capture/Compare 1 complementary output enable

Source

pub fn cc1p(&self) -> CC1P_R

Bit 1 - Capture/Compare 1 output Polarity

Source

pub fn cc1e(&self) -> CC1E_R

Bit 0 - Capture/Compare 1 output enable

Source§

impl R<u32, Reg<u32, _CNT>>

Source

pub fn cnt(&self) -> CNT_R

Bits 0:15 - counter value

Source§

impl R<u32, Reg<u32, _PSC>>

Source

pub fn psc(&self) -> PSC_R

Bits 0:15 - Prescaler value

Source§

impl R<u32, Reg<u32, _ARR>>

Source

pub fn arr(&self) -> ARR_R

Bits 0:15 - Auto-reload value

Source§

impl R<u32, Reg<u32, _RCR>>

Source

pub fn rep(&self) -> REP_R

Bits 0:7 - Repetition counter value

Source§

impl R<u32, Reg<u32, _CCR>>

Source

pub fn ccr(&self) -> CCR_R

Bits 0:15 - Capture/Compare 1 value

Source§

impl R<bool, MOE_A>

Source

pub fn variant(&self) -> MOE_A

Get enumerated values variant

Source

pub fn is_disabled_idle(&self) -> bool

Checks if the value of the field is DISABLEDIDLE

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, OSSR_A>

Source

pub fn variant(&self) -> OSSR_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_idle_level(&self) -> bool

Checks if the value of the field is IDLELEVEL

Source§

impl R<bool, OSSI_A>

Source

pub fn variant(&self) -> OSSI_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_idle_level(&self) -> bool

Checks if the value of the field is IDLELEVEL

Source§

impl R<u32, Reg<u32, _BDTR>>

Source

pub fn moe(&self) -> MOE_R

Bit 15 - Main output enable

Source

pub fn aoe(&self) -> AOE_R

Bit 14 - Automatic output enable

Source

pub fn bkp(&self) -> BKP_R

Bit 13 - Break polarity

Source

pub fn bke(&self) -> BKE_R

Bit 12 - Break enable

Source

pub fn ossr(&self) -> OSSR_R

Bit 11 - Off-state selection for Run mode

Source

pub fn ossi(&self) -> OSSI_R

Bit 10 - Off-state selection for Idle mode

Source

pub fn lock(&self) -> LOCK_R

Bits 8:9 - Lock configuration

Source

pub fn dtg(&self) -> DTG_R

Bits 0:7 - Dead-time generator setup

Source§

impl R<u32, Reg<u32, _DCR>>

Source

pub fn dbl(&self) -> DBL_R

Bits 8:12 - DMA burst length

Source

pub fn dba(&self) -> DBA_R

Bits 0:4 - DMA base address

Source§

impl R<u32, Reg<u32, _DMAR>>

Source

pub fn dmab(&self) -> DMAB_R

Bits 0:15 - DMA register for burst accesses

Source§

impl R<u32, Reg<u32, _OR1>>

Source

pub fn etr_adc1_rmp(&self) -> ETR_ADC1_RMP_R

Bits 0:1 - External trigger remap on ADC1 analog watchdog

Source

pub fn etr_adc3_rmp(&self) -> ETR_ADC3_RMP_R

Bits 2:3 - External trigger remap on ADC3 analog watchdog

Source

pub fn ti1_rmp(&self) -> TI1_RMP_R

Bit 4 - Input Capture 1 remap

Source§

impl R<u32, Reg<u32, _CCMR3_OUTPUT>>

Source

pub fn oc6m_bit3(&self) -> OC6M_BIT3_R

Bit 24 - Output Compare 6 mode bit 3

Source

pub fn oc5m_bit3(&self) -> OC5M_BIT3_R

Bits 16:18 - Output Compare 5 mode bit 3

Source

pub fn oc6ce(&self) -> OC6CE_R

Bit 15 - Output compare 6 clear enable

Source

pub fn oc6m(&self) -> OC6M_R

Bits 12:14 - Output compare 6 mode

Source

pub fn oc6pe(&self) -> OC6PE_R

Bit 11 - Output compare 6 preload enable

Source

pub fn oc6fe(&self) -> OC6FE_R

Bit 10 - Output compare 6 fast enable

Source

pub fn oc5ce(&self) -> OC5CE_R

Bit 7 - Output compare 5 clear enable

Source

pub fn oc5m(&self) -> OC5M_R

Bits 4:6 - Output compare 5 mode

Source

pub fn oc5pe(&self) -> OC5PE_R

Bit 3 - Output compare 5 preload enable

Source

pub fn oc5fe(&self) -> OC5FE_R

Bit 2 - Output compare 5 fast enable

Source§

impl R<u32, Reg<u32, _CCR5>>

Source

pub fn ccr(&self) -> CCR_R

Bits 0:15 - Capture/Compare value

Source

pub fn gc5c1(&self) -> GC5C1_R

Bit 29 - Group Channel 5 and Channel 1

Source

pub fn gc5c2(&self) -> GC5C2_R

Bit 30 - Group Channel 5 and Channel 2

Source

pub fn gc5c3(&self) -> GC5C3_R

Bit 31 - Group Channel 5 and Channel 3

Source§

impl R<u32, Reg<u32, _CCR6>>

Source

pub fn ccr(&self) -> CCR_R

Bits 0:15 - Capture/Compare value

Source§

impl R<u32, Reg<u32, _OR2>>

Source

pub fn bkine(&self) -> BKINE_R

Bit 0 - BRK BKIN input enable

Source

pub fn bkcmp1e(&self) -> BKCMP1E_R

Bit 1 - BRK COMP1 enable

Source

pub fn bkcmp2e(&self) -> BKCMP2E_R

Bit 2 - BRK COMP2 enable

Source

pub fn bkdfbk0e(&self) -> BKDFBK0E_R

Bit 8 - BRK DFSDM_BREAK0 enable

Source

pub fn bkinp(&self) -> BKINP_R

Bit 9 - BRK BKIN input polarity

Source

pub fn bkcmp1p(&self) -> BKCMP1P_R

Bit 10 - BRK COMP1 input polarity

Source

pub fn bkcmp2p(&self) -> BKCMP2P_R

Bit 11 - BRK COMP2 input polarity

Source

pub fn etrsel(&self) -> ETRSEL_R

Bits 14:16 - ETR source selection

Source§

impl R<u32, Reg<u32, _OR3>>

Source

pub fn bk2ine(&self) -> BK2INE_R

Bit 0 - BRK2 BKIN input enable

Source

pub fn bk2cmp1e(&self) -> BK2CMP1E_R

Bit 1 - BRK2 COMP1 enable

Source

pub fn bk2cmp2e(&self) -> BK2CMP2E_R

Bit 2 - BRK2 COMP2 enable

Source

pub fn bk2dfbk0e(&self) -> BK2DFBK0E_R

Bit 8 - BRK2 DFSDM_BREAK0 enable

Source

pub fn bk2inp(&self) -> BK2INP_R

Bit 9 - BRK2 BKIN input polarity

Source

pub fn bk2cmp1p(&self) -> BK2CMP1P_R

Bit 10 - BRK2 COMP1 input polarity

Source

pub fn bk2cmp2p(&self) -> BK2CMP2P_R

Bit 11 - BRK2 COMP2 input polarity

Source§

impl R<bool, ARPE_A>

Source

pub fn variant(&self) -> ARPE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, OPM_A>

Source

pub fn variant(&self) -> OPM_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, URS_A>

Source

pub fn variant(&self) -> URS_A

Get enumerated values variant

Source

pub fn is_any_event(&self) -> bool

Checks if the value of the field is ANYEVENT

Source

pub fn is_counter_only(&self) -> bool

Checks if the value of the field is COUNTERONLY

Source§

impl R<bool, UDIS_A>

Source

pub fn variant(&self) -> UDIS_A

Get enumerated values variant

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source§

impl R<bool, CEN_A>

Source

pub fn variant(&self) -> CEN_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<u32, Reg<u32, _CR1>>

Source

pub fn arpe(&self) -> ARPE_R

Bit 7 - Auto-reload preload enable

Source

pub fn opm(&self) -> OPM_R

Bit 3 - One-pulse mode

Source

pub fn urs(&self) -> URS_R

Bit 2 - Update request source

Source

pub fn udis(&self) -> UDIS_R

Bit 1 - Update disable

Source

pub fn cen(&self) -> CEN_R

Bit 0 - Counter enable

Source§

impl R<u8, MMS_A>

Source

pub fn variant(&self) -> Variant<u8, MMS_A>

Get enumerated values variant

Source

pub fn is_reset(&self) -> bool

Checks if the value of the field is RESET

Source

pub fn is_enable(&self) -> bool

Checks if the value of the field is ENABLE

Source

pub fn is_update(&self) -> bool

Checks if the value of the field is UPDATE

Source§

impl R<u32, Reg<u32, _CR2>>

Source

pub fn mms(&self) -> MMS_R

Bits 4:6 - Master mode selection

Source§

impl R<bool, UDE_A>

Source

pub fn variant(&self) -> UDE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, UIE_A>

Source

pub fn variant(&self) -> UIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<u32, Reg<u32, _DIER>>

Source

pub fn ude(&self) -> UDE_R

Bit 8 - Update DMA request enable

Source

pub fn uie(&self) -> UIE_R

Bit 0 - Update interrupt enable

Source§

impl R<bool, UIF_A>

Source

pub fn variant(&self) -> UIF_A

Get enumerated values variant

Source

pub fn is_clear(&self) -> bool

Checks if the value of the field is CLEAR

Source

pub fn is_update_pending(&self) -> bool

Checks if the value of the field is UPDATEPENDING

Source§

impl R<u32, Reg<u32, _SR>>

Source

pub fn uif(&self) -> UIF_R

Bit 0 - Update interrupt flag

Source§

impl R<u32, Reg<u32, _CNT>>

Source

pub fn cnt(&self) -> CNT_R

Bits 0:15 - Low counter value

Source§

impl R<u32, Reg<u32, _PSC>>

Source

pub fn psc(&self) -> PSC_R

Bits 0:15 - Prescaler value

Source§

impl R<u32, Reg<u32, _ARR>>

Source

pub fn arr(&self) -> ARR_R

Bits 0:15 - Low Auto-reload value

Source§

impl R<u32, Reg<u32, _ISR>>

Source

pub fn down(&self) -> DOWN_R

Bit 6 - Counter direction change up to down

Source

pub fn up(&self) -> UP_R

Bit 5 - Counter direction change down to up

Source

pub fn arrok(&self) -> ARROK_R

Bit 4 - Autoreload register update OK

Source

pub fn cmpok(&self) -> CMPOK_R

Bit 3 - Compare register update OK

Source

pub fn exttrig(&self) -> EXTTRIG_R

Bit 2 - External trigger edge event

Source

pub fn arrm(&self) -> ARRM_R

Bit 1 - Autoreload match

Source

pub fn cmpm(&self) -> CMPM_R

Bit 0 - Compare match

Source§

impl R<u32, Reg<u32, _IER>>

Source

pub fn downie(&self) -> DOWNIE_R

Bit 6 - Direction change to down Interrupt Enable

Source

pub fn upie(&self) -> UPIE_R

Bit 5 - Direction change to UP Interrupt Enable

Source

pub fn arrokie(&self) -> ARROKIE_R

Bit 4 - Autoreload register update OK Interrupt Enable

Source

pub fn cmpokie(&self) -> CMPOKIE_R

Bit 3 - Compare register update OK Interrupt Enable

Source

pub fn exttrigie(&self) -> EXTTRIGIE_R

Bit 2 - External trigger valid edge Interrupt Enable

Source

pub fn arrmie(&self) -> ARRMIE_R

Bit 1 - Autoreload match Interrupt Enable

Source

pub fn cmpmie(&self) -> CMPMIE_R

Bit 0 - Compare match Interrupt Enable

Source§

impl R<u32, Reg<u32, _CFGR>>

Source

pub fn enc(&self) -> ENC_R

Bit 24 - Encoder mode enable

Source

pub fn countmode(&self) -> COUNTMODE_R

Bit 23 - counter mode enabled

Source

pub fn preload(&self) -> PRELOAD_R

Bit 22 - Registers update mode

Source

pub fn wavpol(&self) -> WAVPOL_R

Bit 21 - Waveform shape polarity

Source

pub fn wave(&self) -> WAVE_R

Bit 20 - Waveform shape

Source

pub fn timout(&self) -> TIMOUT_R

Bit 19 - Timeout enable

Source

pub fn trigen(&self) -> TRIGEN_R

Bits 17:18 - Trigger enable and polarity

Source

pub fn trigsel(&self) -> TRIGSEL_R

Bits 13:15 - Trigger selector

Source

pub fn presc(&self) -> PRESC_R

Bits 9:11 - Clock prescaler

Source

pub fn trgflt(&self) -> TRGFLT_R

Bits 6:7 - Configurable digital filter for trigger

Source

pub fn ckflt(&self) -> CKFLT_R

Bits 3:4 - Configurable digital filter for external clock

Source

pub fn ckpol(&self) -> CKPOL_R

Bits 1:2 - Clock Polarity

Source

pub fn cksel(&self) -> CKSEL_R

Bit 0 - Clock selector

Source§

impl R<u32, Reg<u32, _CR>>

Source

pub fn cntstrt(&self) -> CNTSTRT_R

Bit 2 - Timer start in continuous mode

Source

pub fn sngstrt(&self) -> SNGSTRT_R

Bit 1 - LPTIM start in single mode

Source

pub fn enable(&self) -> ENABLE_R

Bit 0 - LPTIM Enable

Source§

impl R<u32, Reg<u32, _CMP>>

Source

pub fn cmp(&self) -> CMP_R

Bits 0:15 - Compare value

Source§

impl R<u32, Reg<u32, _ARR>>

Source

pub fn arr(&self) -> ARR_R

Bits 0:15 - Auto reload value

Source§

impl R<u32, Reg<u32, _CNT>>

Source

pub fn cnt(&self) -> CNT_R

Bits 0:15 - Counter value

Source§

impl R<bool, M1_A>

Source

pub fn variant(&self) -> M1_A

Get enumerated values variant

Source

pub fn is_m0(&self) -> bool

Checks if the value of the field is M0

Source

pub fn is_bit7(&self) -> bool

Checks if the value of the field is BIT7

Source§

impl R<bool, EOBIE_A>

Source

pub fn variant(&self) -> EOBIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, RTOIE_A>

Source

pub fn variant(&self) -> RTOIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, OVER8_A>

Source

pub fn variant(&self) -> OVER8_A

Get enumerated values variant

Source

pub fn is_oversampling16(&self) -> bool

Checks if the value of the field is OVERSAMPLING16

Source

pub fn is_oversampling8(&self) -> bool

Checks if the value of the field is OVERSAMPLING8

Source§

impl R<bool, CMIE_A>

Source

pub fn variant(&self) -> CMIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, MME_A>

Source

pub fn variant(&self) -> MME_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, M0_A>

Source

pub fn variant(&self) -> M0_A

Get enumerated values variant

Source

pub fn is_bit8(&self) -> bool

Checks if the value of the field is BIT8

Source

pub fn is_bit9(&self) -> bool

Checks if the value of the field is BIT9

Source§

impl R<bool, WAKE_A>

Source

pub fn variant(&self) -> WAKE_A

Get enumerated values variant

Source

pub fn is_idle(&self) -> bool

Checks if the value of the field is IDLE

Source

pub fn is_address(&self) -> bool

Checks if the value of the field is ADDRESS

Source§

impl R<bool, PCE_A>

Source

pub fn variant(&self) -> PCE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, PS_A>

Source

pub fn variant(&self) -> PS_A

Get enumerated values variant

Source

pub fn is_even(&self) -> bool

Checks if the value of the field is EVEN

Source

pub fn is_odd(&self) -> bool

Checks if the value of the field is ODD

Source§

impl R<bool, PEIE_A>

Source

pub fn variant(&self) -> PEIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, TXEIE_A>

Source

pub fn variant(&self) -> TXEIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, TCIE_A>

Source

pub fn variant(&self) -> TCIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, RXNEIE_A>

Source

pub fn variant(&self) -> RXNEIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, IDLEIE_A>

Source

pub fn variant(&self) -> IDLEIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, TE_A>

Source

pub fn variant(&self) -> TE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, RE_A>

Source

pub fn variant(&self) -> RE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, UESM_A>

Source

pub fn variant(&self) -> UESM_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, UE_A>

Source

pub fn variant(&self) -> UE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<u32, Reg<u32, _CR1>>

Source

pub fn m1(&self) -> M1_R

Bit 28 - Word length

Source

pub fn eobie(&self) -> EOBIE_R

Bit 27 - End of Block interrupt enable

Source

pub fn rtoie(&self) -> RTOIE_R

Bit 26 - Receiver timeout interrupt enable

Source

pub fn over8(&self) -> OVER8_R

Bit 15 - Oversampling mode

Source

pub fn cmie(&self) -> CMIE_R

Bit 14 - Character match interrupt enable

Source

pub fn mme(&self) -> MME_R

Bit 13 - Mute mode enable

Source

pub fn m0(&self) -> M0_R

Bit 12 - Word length

Source

pub fn wake(&self) -> WAKE_R

Bit 11 - Receiver wakeup method

Source

pub fn pce(&self) -> PCE_R

Bit 10 - Parity control enable

Source

pub fn ps(&self) -> PS_R

Bit 9 - Parity selection

Source

pub fn peie(&self) -> PEIE_R

Bit 8 - PE interrupt enable

Source

pub fn txeie(&self) -> TXEIE_R

Bit 7 - interrupt enable

Source

pub fn tcie(&self) -> TCIE_R

Bit 6 - Transmission complete interrupt enable

Source

pub fn rxneie(&self) -> RXNEIE_R

Bit 5 - RXNE interrupt enable

Source

pub fn idleie(&self) -> IDLEIE_R

Bit 4 - IDLE interrupt enable

Source

pub fn te(&self) -> TE_R

Bit 3 - Transmitter enable

Source

pub fn re(&self) -> RE_R

Bit 2 - Receiver enable

Source

pub fn uesm(&self) -> UESM_R

Bit 1 - USART enable in Stop mode

Source

pub fn ue(&self) -> UE_R

Bit 0 - USART enable

Source

pub fn dedt(&self) -> DEDT_R

Bits 16:20 - Driver Enable de-assertion time

Source

pub fn deat(&self) -> DEAT_R

Bits 21:25 - Driver Enable assertion time

Source§

impl R<bool, RTOEN_A>

Source

pub fn variant(&self) -> RTOEN_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, ABREN_A>

Source

pub fn variant(&self) -> ABREN_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, MSBFIRST_A>

Source

pub fn variant(&self) -> MSBFIRST_A

Get enumerated values variant

Source

pub fn is_lsb(&self) -> bool

Checks if the value of the field is LSB

Source

pub fn is_msb(&self) -> bool

Checks if the value of the field is MSB

Source§

impl R<bool, DATAINV_A>

Source

pub fn variant(&self) -> DATAINV_A

Get enumerated values variant

Source

pub fn is_positive(&self) -> bool

Checks if the value of the field is POSITIVE

Source

pub fn is_negative(&self) -> bool

Checks if the value of the field is NEGATIVE

Source§

impl R<bool, TXINV_A>

Source

pub fn variant(&self) -> TXINV_A

Get enumerated values variant

Source

pub fn is_standard(&self) -> bool

Checks if the value of the field is STANDARD

Source

pub fn is_inverted(&self) -> bool

Checks if the value of the field is INVERTED

Source§

impl R<bool, RXINV_A>

Source

pub fn variant(&self) -> RXINV_A

Get enumerated values variant

Source

pub fn is_standard(&self) -> bool

Checks if the value of the field is STANDARD

Source

pub fn is_inverted(&self) -> bool

Checks if the value of the field is INVERTED

Source§

impl R<bool, SWAP_A>

Source

pub fn variant(&self) -> SWAP_A

Get enumerated values variant

Source

pub fn is_standard(&self) -> bool

Checks if the value of the field is STANDARD

Source

pub fn is_swapped(&self) -> bool

Checks if the value of the field is SWAPPED

Source§

impl R<bool, LINEN_A>

Source

pub fn variant(&self) -> LINEN_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<u8, STOP_A>

Source

pub fn variant(&self) -> STOP_A

Get enumerated values variant

Source

pub fn is_stop1(&self) -> bool

Checks if the value of the field is STOP1

Source

pub fn is_stop0p5(&self) -> bool

Checks if the value of the field is STOP0P5

Source

pub fn is_stop2(&self) -> bool

Checks if the value of the field is STOP2

Source

pub fn is_stop1p5(&self) -> bool

Checks if the value of the field is STOP1P5

Source§

impl R<bool, CLKEN_A>

Source

pub fn variant(&self) -> CLKEN_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, CPOL_A>

Source

pub fn variant(&self) -> CPOL_A

Get enumerated values variant

Source

pub fn is_low(&self) -> bool

Checks if the value of the field is LOW

Source

pub fn is_high(&self) -> bool

Checks if the value of the field is HIGH

Source§

impl R<bool, CPHA_A>

Source

pub fn variant(&self) -> CPHA_A

Get enumerated values variant

Source

pub fn is_first(&self) -> bool

Checks if the value of the field is FIRST

Source

pub fn is_second(&self) -> bool

Checks if the value of the field is SECOND

Source§

impl R<bool, LBCL_A>

Source

pub fn variant(&self) -> LBCL_A

Get enumerated values variant

Source

pub fn is_not_output(&self) -> bool

Checks if the value of the field is NOTOUTPUT

Source

pub fn is_output(&self) -> bool

Checks if the value of the field is OUTPUT

Source§

impl R<bool, LBDIE_A>

Source

pub fn variant(&self) -> LBDIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, LBDL_A>

Source

pub fn variant(&self) -> LBDL_A

Get enumerated values variant

Source

pub fn is_bit10(&self) -> bool

Checks if the value of the field is BIT10

Source

pub fn is_bit11(&self) -> bool

Checks if the value of the field is BIT11

Source§

impl R<bool, ADDM7_A>

Source

pub fn variant(&self) -> ADDM7_A

Get enumerated values variant

Source

pub fn is_bit4(&self) -> bool

Checks if the value of the field is BIT4

Source

pub fn is_bit7(&self) -> bool

Checks if the value of the field is BIT7

Source§

impl R<u8, ABRMOD_A>

Source

pub fn variant(&self) -> ABRMOD_A

Get enumerated values variant

Source

pub fn is_start(&self) -> bool

Checks if the value of the field is START

Source

pub fn is_edge(&self) -> bool

Checks if the value of the field is EDGE

Source

pub fn is_frame7f(&self) -> bool

Checks if the value of the field is FRAME7F

Source

pub fn is_frame55(&self) -> bool

Checks if the value of the field is FRAME55

Source§

impl R<u32, Reg<u32, _CR2>>

Source

pub fn rtoen(&self) -> RTOEN_R

Bit 23 - Receiver timeout enable

Source

pub fn abren(&self) -> ABREN_R

Bit 20 - Auto baud rate enable

Source

pub fn msbfirst(&self) -> MSBFIRST_R

Bit 19 - Most significant bit first

Source

pub fn datainv(&self) -> DATAINV_R

Bit 18 - Binary data inversion

Source

pub fn txinv(&self) -> TXINV_R

Bit 17 - TX pin active level inversion

Source

pub fn rxinv(&self) -> RXINV_R

Bit 16 - RX pin active level inversion

Source

pub fn swap(&self) -> SWAP_R

Bit 15 - Swap TX/RX pins

Source

pub fn linen(&self) -> LINEN_R

Bit 14 - LIN mode enable

Source

pub fn stop(&self) -> STOP_R

Bits 12:13 - STOP bits

Source

pub fn clken(&self) -> CLKEN_R

Bit 11 - Clock enable

Source

pub fn cpol(&self) -> CPOL_R

Bit 10 - Clock polarity

Source

pub fn cpha(&self) -> CPHA_R

Bit 9 - Clock phase

Source

pub fn lbcl(&self) -> LBCL_R

Bit 8 - Last bit clock pulse

Source

pub fn lbdie(&self) -> LBDIE_R

Bit 6 - LIN break detection interrupt enable

Source

pub fn lbdl(&self) -> LBDL_R

Bit 5 - LIN break detection length

Source

pub fn addm7(&self) -> ADDM7_R

Bit 4 - 7-bit Address Detection/4-bit Address Detection

Source

pub fn add(&self) -> ADD_R

Bits 24:31 - Address of the USART node

Source

pub fn abrmod(&self) -> ABRMOD_R

Bits 21:22 - Auto baud rate mode

Source§

impl R<bool, WUFIE_A>

Source

pub fn variant(&self) -> WUFIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<u8, WUS_A>

Source

pub fn variant(&self) -> Variant<u8, WUS_A>

Get enumerated values variant

Source

pub fn is_address(&self) -> bool

Checks if the value of the field is ADDRESS

Source

pub fn is_start(&self) -> bool

Checks if the value of the field is START

Source

pub fn is_rxne(&self) -> bool

Checks if the value of the field is RXNE

Source§

impl R<bool, DEP_A>

Source

pub fn variant(&self) -> DEP_A

Get enumerated values variant

Source

pub fn is_high(&self) -> bool

Checks if the value of the field is HIGH

Source

pub fn is_low(&self) -> bool

Checks if the value of the field is LOW

Source§

impl R<bool, DEM_A>

Source

pub fn variant(&self) -> DEM_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, DDRE_A>

Source

pub fn variant(&self) -> DDRE_A

Get enumerated values variant

Source

pub fn is_not_disabled(&self) -> bool

Checks if the value of the field is NOTDISABLED

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source§

impl R<bool, OVRDIS_A>

Source

pub fn variant(&self) -> OVRDIS_A

Get enumerated values variant

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source§

impl R<bool, ONEBIT_A>

Source

pub fn variant(&self) -> ONEBIT_A

Get enumerated values variant

Source

pub fn is_sample3(&self) -> bool

Checks if the value of the field is SAMPLE3

Source

pub fn is_sample1(&self) -> bool

Checks if the value of the field is SAMPLE1

Source§

impl R<bool, CTSIE_A>

Source

pub fn variant(&self) -> CTSIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, CTSE_A>

Source

pub fn variant(&self) -> CTSE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, RTSE_A>

Source

pub fn variant(&self) -> RTSE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, DMAT_A>

Source

pub fn variant(&self) -> DMAT_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, DMAR_A>

Source

pub fn variant(&self) -> DMAR_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, SCEN_A>

Source

pub fn variant(&self) -> SCEN_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, NACK_A>

Source

pub fn variant(&self) -> NACK_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, HDSEL_A>

Source

pub fn variant(&self) -> HDSEL_A

Get enumerated values variant

Source

pub fn is_not_selected(&self) -> bool

Checks if the value of the field is NOTSELECTED

Source

pub fn is_selected(&self) -> bool

Checks if the value of the field is SELECTED

Source§

impl R<bool, IRLP_A>

Source

pub fn variant(&self) -> IRLP_A

Get enumerated values variant

Source

pub fn is_normal(&self) -> bool

Checks if the value of the field is NORMAL

Source

pub fn is_low_power(&self) -> bool

Checks if the value of the field is LOWPOWER

Source§

impl R<bool, IREN_A>

Source

pub fn variant(&self) -> IREN_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, EIE_A>

Source

pub fn variant(&self) -> EIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<u32, Reg<u32, _CR3>>

Source

pub fn wufie(&self) -> WUFIE_R

Bit 22 - Wakeup from Stop mode interrupt enable

Source

pub fn wus(&self) -> WUS_R

Bits 20:21 - Wakeup from Stop mode interrupt flag selection

Source

pub fn scarcnt(&self) -> SCARCNT_R

Bits 17:19 - Smartcard auto-retry count

Source

pub fn dep(&self) -> DEP_R

Bit 15 - Driver enable polarity selection

Source

pub fn dem(&self) -> DEM_R

Bit 14 - Driver enable mode

Source

pub fn ddre(&self) -> DDRE_R

Bit 13 - DMA Disable on Reception Error

Source

pub fn ovrdis(&self) -> OVRDIS_R

Bit 12 - Overrun Disable

Source

pub fn onebit(&self) -> ONEBIT_R

Bit 11 - One sample bit method enable

Source

pub fn ctsie(&self) -> CTSIE_R

Bit 10 - CTS interrupt enable

Source

pub fn ctse(&self) -> CTSE_R

Bit 9 - CTS enable

Source

pub fn rtse(&self) -> RTSE_R

Bit 8 - RTS enable

Source

pub fn dmat(&self) -> DMAT_R

Bit 7 - DMA enable transmitter

Source

pub fn dmar(&self) -> DMAR_R

Bit 6 - DMA enable receiver

Source

pub fn scen(&self) -> SCEN_R

Bit 5 - Smartcard mode enable

Source

pub fn nack(&self) -> NACK_R

Bit 4 - Smartcard NACK enable

Source

pub fn hdsel(&self) -> HDSEL_R

Bit 3 - Half-duplex selection

Source

pub fn irlp(&self) -> IRLP_R

Bit 2 - Ir low-power

Source

pub fn iren(&self) -> IREN_R

Bit 1 - Ir mode enable

Source

pub fn eie(&self) -> EIE_R

Bit 0 - Error interrupt enable

Source§

impl R<u32, Reg<u32, _BRR>>

Source

pub fn brr(&self) -> BRR_R

Bits 0:15 - DIV_Mantissa

Source§

impl R<u32, Reg<u32, _GTPR>>

Source

pub fn gt(&self) -> GT_R

Bits 8:15 - Guard time value

Source

pub fn psc(&self) -> PSC_R

Bits 0:7 - Prescaler value

Source§

impl R<u32, Reg<u32, _RTOR>>

Source

pub fn blen(&self) -> BLEN_R

Bits 24:31 - Block Length

Source

pub fn rto(&self) -> RTO_R

Bits 0:23 - Receiver timeout value

Source§

impl R<u32, Reg<u32, _ISR>>

Source

pub fn reack(&self) -> REACK_R

Bit 22 - REACK

Source

pub fn teack(&self) -> TEACK_R

Bit 21 - TEACK

Source

pub fn wuf(&self) -> WUF_R

Bit 20 - WUF

Source

pub fn rwu(&self) -> RWU_R

Bit 19 - RWU

Source

pub fn sbkf(&self) -> SBKF_R

Bit 18 - SBKF

Source

pub fn cmf(&self) -> CMF_R

Bit 17 - CMF

Source

pub fn busy(&self) -> BUSY_R

Bit 16 - BUSY

Source

pub fn abrf(&self) -> ABRF_R

Bit 15 - ABRF

Source

pub fn abre(&self) -> ABRE_R

Bit 14 - ABRE

Source

pub fn eobf(&self) -> EOBF_R

Bit 12 - EOBF

Source

pub fn rtof(&self) -> RTOF_R

Bit 11 - RTOF

Source

pub fn cts(&self) -> CTS_R

Bit 10 - CTS

Source

pub fn ctsif(&self) -> CTSIF_R

Bit 9 - CTSIF

Source

pub fn lbdf(&self) -> LBDF_R

Bit 8 - LBDF

Source

pub fn txe(&self) -> TXE_R

Bit 7 - TXE

Source

pub fn tc(&self) -> TC_R

Bit 6 - TC

Source

pub fn rxne(&self) -> RXNE_R

Bit 5 - RXNE

Source

pub fn idle(&self) -> IDLE_R

Bit 4 - IDLE

Source

pub fn ore(&self) -> ORE_R

Bit 3 - ORE

Source

pub fn nf(&self) -> NF_R

Bit 2 - NF

Source

pub fn fe(&self) -> FE_R

Bit 1 - FE

Source

pub fn pe(&self) -> PE_R

Bit 0 - PE

Source§

impl R<u32, Reg<u32, _RDR>>

Source

pub fn rdr(&self) -> RDR_R

Bits 0:8 - Receive data value

Source§

impl R<u32, Reg<u32, _TDR>>

Source

pub fn tdr(&self) -> TDR_R

Bits 0:8 - Transmit data value

Source§

impl R<bool, M1_A>

Source

pub fn variant(&self) -> M1_A

Get enumerated values variant

Source

pub fn is_m0(&self) -> bool

Checks if the value of the field is M0

Source

pub fn is_bit7(&self) -> bool

Checks if the value of the field is BIT7

Source§

impl R<bool, EOBIE_A>

Source

pub fn variant(&self) -> EOBIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, RTOIE_A>

Source

pub fn variant(&self) -> RTOIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, OVER8_A>

Source

pub fn variant(&self) -> OVER8_A

Get enumerated values variant

Source

pub fn is_oversampling16(&self) -> bool

Checks if the value of the field is OVERSAMPLING16

Source

pub fn is_oversampling8(&self) -> bool

Checks if the value of the field is OVERSAMPLING8

Source§

impl R<bool, CMIE_A>

Source

pub fn variant(&self) -> CMIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, MME_A>

Source

pub fn variant(&self) -> MME_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, M0_A>

Source

pub fn variant(&self) -> M0_A

Get enumerated values variant

Source

pub fn is_bit8(&self) -> bool

Checks if the value of the field is BIT8

Source

pub fn is_bit9(&self) -> bool

Checks if the value of the field is BIT9

Source§

impl R<bool, WAKE_A>

Source

pub fn variant(&self) -> WAKE_A

Get enumerated values variant

Source

pub fn is_idle(&self) -> bool

Checks if the value of the field is IDLE

Source

pub fn is_address(&self) -> bool

Checks if the value of the field is ADDRESS

Source§

impl R<bool, PCE_A>

Source

pub fn variant(&self) -> PCE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, PS_A>

Source

pub fn variant(&self) -> PS_A

Get enumerated values variant

Source

pub fn is_even(&self) -> bool

Checks if the value of the field is EVEN

Source

pub fn is_odd(&self) -> bool

Checks if the value of the field is ODD

Source§

impl R<bool, PEIE_A>

Source

pub fn variant(&self) -> PEIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, TXEIE_A>

Source

pub fn variant(&self) -> TXEIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, TCIE_A>

Source

pub fn variant(&self) -> TCIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, RXNEIE_A>

Source

pub fn variant(&self) -> RXNEIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, IDLEIE_A>

Source

pub fn variant(&self) -> IDLEIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, TE_A>

Source

pub fn variant(&self) -> TE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, RE_A>

Source

pub fn variant(&self) -> RE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, UESM_A>

Source

pub fn variant(&self) -> UESM_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, UE_A>

Source

pub fn variant(&self) -> UE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<u32, Reg<u32, _CR1>>

Source

pub fn m1(&self) -> M1_R

Bit 28 - Word length

Source

pub fn eobie(&self) -> EOBIE_R

Bit 27 - End of Block interrupt enable

Source

pub fn rtoie(&self) -> RTOIE_R

Bit 26 - Receiver timeout interrupt enable

Source

pub fn over8(&self) -> OVER8_R

Bit 15 - Oversampling mode

Source

pub fn cmie(&self) -> CMIE_R

Bit 14 - Character match interrupt enable

Source

pub fn mme(&self) -> MME_R

Bit 13 - Mute mode enable

Source

pub fn m0(&self) -> M0_R

Bit 12 - Word length

Source

pub fn wake(&self) -> WAKE_R

Bit 11 - Receiver wakeup method

Source

pub fn pce(&self) -> PCE_R

Bit 10 - Parity control enable

Source

pub fn ps(&self) -> PS_R

Bit 9 - Parity selection

Source

pub fn peie(&self) -> PEIE_R

Bit 8 - PE interrupt enable

Source

pub fn txeie(&self) -> TXEIE_R

Bit 7 - interrupt enable

Source

pub fn tcie(&self) -> TCIE_R

Bit 6 - Transmission complete interrupt enable

Source

pub fn rxneie(&self) -> RXNEIE_R

Bit 5 - RXNE interrupt enable

Source

pub fn idleie(&self) -> IDLEIE_R

Bit 4 - IDLE interrupt enable

Source

pub fn te(&self) -> TE_R

Bit 3 - Transmitter enable

Source

pub fn re(&self) -> RE_R

Bit 2 - Receiver enable

Source

pub fn uesm(&self) -> UESM_R

Bit 1 - USART enable in Stop mode

Source

pub fn ue(&self) -> UE_R

Bit 0 - USART enable

Source

pub fn dedt(&self) -> DEDT_R

Bits 16:20 - Driver Enable de-assertion time

Source

pub fn deat(&self) -> DEAT_R

Bits 21:25 - Driver Enable assertion time

Source§

impl R<bool, RTOEN_A>

Source

pub fn variant(&self) -> RTOEN_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, ABREN_A>

Source

pub fn variant(&self) -> ABREN_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, MSBFIRST_A>

Source

pub fn variant(&self) -> MSBFIRST_A

Get enumerated values variant

Source

pub fn is_lsb(&self) -> bool

Checks if the value of the field is LSB

Source

pub fn is_msb(&self) -> bool

Checks if the value of the field is MSB

Source§

impl R<bool, DATAINV_A>

Source

pub fn variant(&self) -> DATAINV_A

Get enumerated values variant

Source

pub fn is_positive(&self) -> bool

Checks if the value of the field is POSITIVE

Source

pub fn is_negative(&self) -> bool

Checks if the value of the field is NEGATIVE

Source§

impl R<bool, TXINV_A>

Source

pub fn variant(&self) -> TXINV_A

Get enumerated values variant

Source

pub fn is_standard(&self) -> bool

Checks if the value of the field is STANDARD

Source

pub fn is_inverted(&self) -> bool

Checks if the value of the field is INVERTED

Source§

impl R<bool, RXINV_A>

Source

pub fn variant(&self) -> RXINV_A

Get enumerated values variant

Source

pub fn is_standard(&self) -> bool

Checks if the value of the field is STANDARD

Source

pub fn is_inverted(&self) -> bool

Checks if the value of the field is INVERTED

Source§

impl R<bool, SWAP_A>

Source

pub fn variant(&self) -> SWAP_A

Get enumerated values variant

Source

pub fn is_standard(&self) -> bool

Checks if the value of the field is STANDARD

Source

pub fn is_swapped(&self) -> bool

Checks if the value of the field is SWAPPED

Source§

impl R<bool, LINEN_A>

Source

pub fn variant(&self) -> LINEN_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<u8, STOP_A>

Source

pub fn variant(&self) -> STOP_A

Get enumerated values variant

Source

pub fn is_stop1(&self) -> bool

Checks if the value of the field is STOP1

Source

pub fn is_stop0p5(&self) -> bool

Checks if the value of the field is STOP0P5

Source

pub fn is_stop2(&self) -> bool

Checks if the value of the field is STOP2

Source

pub fn is_stop1p5(&self) -> bool

Checks if the value of the field is STOP1P5

Source§

impl R<bool, CLKEN_A>

Source

pub fn variant(&self) -> CLKEN_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, CPOL_A>

Source

pub fn variant(&self) -> CPOL_A

Get enumerated values variant

Source

pub fn is_low(&self) -> bool

Checks if the value of the field is LOW

Source

pub fn is_high(&self) -> bool

Checks if the value of the field is HIGH

Source§

impl R<bool, CPHA_A>

Source

pub fn variant(&self) -> CPHA_A

Get enumerated values variant

Source

pub fn is_first(&self) -> bool

Checks if the value of the field is FIRST

Source

pub fn is_second(&self) -> bool

Checks if the value of the field is SECOND

Source§

impl R<bool, LBCL_A>

Source

pub fn variant(&self) -> LBCL_A

Get enumerated values variant

Source

pub fn is_not_output(&self) -> bool

Checks if the value of the field is NOTOUTPUT

Source

pub fn is_output(&self) -> bool

Checks if the value of the field is OUTPUT

Source§

impl R<bool, LBDIE_A>

Source

pub fn variant(&self) -> LBDIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, LBDL_A>

Source

pub fn variant(&self) -> LBDL_A

Get enumerated values variant

Source

pub fn is_bit10(&self) -> bool

Checks if the value of the field is BIT10

Source

pub fn is_bit11(&self) -> bool

Checks if the value of the field is BIT11

Source§

impl R<bool, ADDM7_A>

Source

pub fn variant(&self) -> ADDM7_A

Get enumerated values variant

Source

pub fn is_bit4(&self) -> bool

Checks if the value of the field is BIT4

Source

pub fn is_bit7(&self) -> bool

Checks if the value of the field is BIT7

Source§

impl R<u8, ABRMOD_A>

Source

pub fn variant(&self) -> ABRMOD_A

Get enumerated values variant

Source

pub fn is_start(&self) -> bool

Checks if the value of the field is START

Source

pub fn is_edge(&self) -> bool

Checks if the value of the field is EDGE

Source

pub fn is_frame7f(&self) -> bool

Checks if the value of the field is FRAME7F

Source

pub fn is_frame55(&self) -> bool

Checks if the value of the field is FRAME55

Source§

impl R<u32, Reg<u32, _CR2>>

Source

pub fn rtoen(&self) -> RTOEN_R

Bit 23 - Receiver timeout enable

Source

pub fn abren(&self) -> ABREN_R

Bit 20 - Auto baud rate enable

Source

pub fn msbfirst(&self) -> MSBFIRST_R

Bit 19 - Most significant bit first

Source

pub fn datainv(&self) -> DATAINV_R

Bit 18 - Binary data inversion

Source

pub fn txinv(&self) -> TXINV_R

Bit 17 - TX pin active level inversion

Source

pub fn rxinv(&self) -> RXINV_R

Bit 16 - RX pin active level inversion

Source

pub fn swap(&self) -> SWAP_R

Bit 15 - Swap TX/RX pins

Source

pub fn linen(&self) -> LINEN_R

Bit 14 - LIN mode enable

Source

pub fn stop(&self) -> STOP_R

Bits 12:13 - STOP bits

Source

pub fn clken(&self) -> CLKEN_R

Bit 11 - Clock enable

Source

pub fn cpol(&self) -> CPOL_R

Bit 10 - Clock polarity

Source

pub fn cpha(&self) -> CPHA_R

Bit 9 - Clock phase

Source

pub fn lbcl(&self) -> LBCL_R

Bit 8 - Last bit clock pulse

Source

pub fn lbdie(&self) -> LBDIE_R

Bit 6 - LIN break detection interrupt enable

Source

pub fn lbdl(&self) -> LBDL_R

Bit 5 - LIN break detection length

Source

pub fn addm7(&self) -> ADDM7_R

Bit 4 - 7-bit Address Detection/4-bit Address Detection

Source

pub fn add(&self) -> ADD_R

Bits 24:31 - Address of the USART node

Source

pub fn abrmod(&self) -> ABRMOD_R

Bits 21:22 - Auto baud rate mode

Source§

impl R<bool, WUFIE_A>

Source

pub fn variant(&self) -> WUFIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<u8, WUS_A>

Source

pub fn variant(&self) -> Variant<u8, WUS_A>

Get enumerated values variant

Source

pub fn is_address(&self) -> bool

Checks if the value of the field is ADDRESS

Source

pub fn is_start(&self) -> bool

Checks if the value of the field is START

Source

pub fn is_rxne(&self) -> bool

Checks if the value of the field is RXNE

Source§

impl R<bool, DEP_A>

Source

pub fn variant(&self) -> DEP_A

Get enumerated values variant

Source

pub fn is_high(&self) -> bool

Checks if the value of the field is HIGH

Source

pub fn is_low(&self) -> bool

Checks if the value of the field is LOW

Source§

impl R<bool, DEM_A>

Source

pub fn variant(&self) -> DEM_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, DDRE_A>

Source

pub fn variant(&self) -> DDRE_A

Get enumerated values variant

Source

pub fn is_not_disabled(&self) -> bool

Checks if the value of the field is NOTDISABLED

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source§

impl R<bool, OVRDIS_A>

Source

pub fn variant(&self) -> OVRDIS_A

Get enumerated values variant

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source§

impl R<bool, ONEBIT_A>

Source

pub fn variant(&self) -> ONEBIT_A

Get enumerated values variant

Source

pub fn is_sample3(&self) -> bool

Checks if the value of the field is SAMPLE3

Source

pub fn is_sample1(&self) -> bool

Checks if the value of the field is SAMPLE1

Source§

impl R<bool, CTSIE_A>

Source

pub fn variant(&self) -> CTSIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, CTSE_A>

Source

pub fn variant(&self) -> CTSE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, RTSE_A>

Source

pub fn variant(&self) -> RTSE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, DMAT_A>

Source

pub fn variant(&self) -> DMAT_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, DMAR_A>

Source

pub fn variant(&self) -> DMAR_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, SCEN_A>

Source

pub fn variant(&self) -> SCEN_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, NACK_A>

Source

pub fn variant(&self) -> NACK_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, HDSEL_A>

Source

pub fn variant(&self) -> HDSEL_A

Get enumerated values variant

Source

pub fn is_not_selected(&self) -> bool

Checks if the value of the field is NOTSELECTED

Source

pub fn is_selected(&self) -> bool

Checks if the value of the field is SELECTED

Source§

impl R<bool, IRLP_A>

Source

pub fn variant(&self) -> IRLP_A

Get enumerated values variant

Source

pub fn is_normal(&self) -> bool

Checks if the value of the field is NORMAL

Source

pub fn is_low_power(&self) -> bool

Checks if the value of the field is LOWPOWER

Source§

impl R<bool, IREN_A>

Source

pub fn variant(&self) -> IREN_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, EIE_A>

Source

pub fn variant(&self) -> EIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, UCESM_A>

Source

pub fn variant(&self) -> UCESM_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, TCBGTIE_A>

Source

pub fn variant(&self) -> TCBGTIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<u32, Reg<u32, _CR3>>

Source

pub fn wufie(&self) -> WUFIE_R

Bit 22 - Wakeup from Stop mode interrupt enable

Source

pub fn wus(&self) -> WUS_R

Bits 20:21 - Wakeup from Stop mode interrupt flag selection

Source

pub fn scarcnt(&self) -> SCARCNT_R

Bits 17:19 - Smartcard auto-retry count

Source

pub fn dep(&self) -> DEP_R

Bit 15 - Driver enable polarity selection

Source

pub fn dem(&self) -> DEM_R

Bit 14 - Driver enable mode

Source

pub fn ddre(&self) -> DDRE_R

Bit 13 - DMA Disable on Reception Error

Source

pub fn ovrdis(&self) -> OVRDIS_R

Bit 12 - Overrun Disable

Source

pub fn onebit(&self) -> ONEBIT_R

Bit 11 - One sample bit method enable

Source

pub fn ctsie(&self) -> CTSIE_R

Bit 10 - CTS interrupt enable

Source

pub fn ctse(&self) -> CTSE_R

Bit 9 - CTS enable

Source

pub fn rtse(&self) -> RTSE_R

Bit 8 - RTS enable

Source

pub fn dmat(&self) -> DMAT_R

Bit 7 - DMA enable transmitter

Source

pub fn dmar(&self) -> DMAR_R

Bit 6 - DMA enable receiver

Source

pub fn scen(&self) -> SCEN_R

Bit 5 - Smartcard mode enable

Source

pub fn nack(&self) -> NACK_R

Bit 4 - Smartcard NACK enable

Source

pub fn hdsel(&self) -> HDSEL_R

Bit 3 - Half-duplex selection

Source

pub fn irlp(&self) -> IRLP_R

Bit 2 - Ir low-power

Source

pub fn iren(&self) -> IREN_R

Bit 1 - Ir mode enable

Source

pub fn eie(&self) -> EIE_R

Bit 0 - Error interrupt enable

Source

pub fn ucesm(&self) -> UCESM_R

Bit 23 - USART Clock Enable in Stop mode

Source

pub fn tcbgtie(&self) -> TCBGTIE_R

Bit 24 - Transmission complete before guard time interrupt enable

Source§

impl R<u32, Reg<u32, _BRR>>

Source

pub fn brr(&self) -> BRR_R

Bits 0:11 - USARTDIV

Source§

impl R<u32, Reg<u32, _GTPR>>

Source

pub fn gt(&self) -> GT_R

Bits 8:15 - Guard time value

Source

pub fn psc(&self) -> PSC_R

Bits 0:7 - Prescaler value

Source§

impl R<u32, Reg<u32, _RTOR>>

Source

pub fn blen(&self) -> BLEN_R

Bits 24:31 - Block Length

Source

pub fn rto(&self) -> RTO_R

Bits 0:23 - Receiver timeout value

Source§

impl R<bool, TCBGT_A>

Source

pub fn variant(&self) -> TCBGT_A

Get enumerated values variant

Source

pub fn is_not_completed(&self) -> bool

Checks if the value of the field is NOTCOMPLETED

Source

pub fn is_completed(&self) -> bool

Checks if the value of the field is COMPLETED

Source§

impl R<u32, Reg<u32, _ISR>>

Source

pub fn reack(&self) -> REACK_R

Bit 22 - REACK

Source

pub fn teack(&self) -> TEACK_R

Bit 21 - TEACK

Source

pub fn wuf(&self) -> WUF_R

Bit 20 - WUF

Source

pub fn rwu(&self) -> RWU_R

Bit 19 - RWU

Source

pub fn sbkf(&self) -> SBKF_R

Bit 18 - SBKF

Source

pub fn cmf(&self) -> CMF_R

Bit 17 - CMF

Source

pub fn busy(&self) -> BUSY_R

Bit 16 - BUSY

Source

pub fn abrf(&self) -> ABRF_R

Bit 15 - ABRF

Source

pub fn abre(&self) -> ABRE_R

Bit 14 - ABRE

Source

pub fn eobf(&self) -> EOBF_R

Bit 12 - EOBF

Source

pub fn rtof(&self) -> RTOF_R

Bit 11 - RTOF

Source

pub fn cts(&self) -> CTS_R

Bit 10 - CTS

Source

pub fn ctsif(&self) -> CTSIF_R

Bit 9 - CTSIF

Source

pub fn lbdf(&self) -> LBDF_R

Bit 8 - LBDF

Source

pub fn txe(&self) -> TXE_R

Bit 7 - TXE

Source

pub fn tc(&self) -> TC_R

Bit 6 - TC

Source

pub fn rxne(&self) -> RXNE_R

Bit 5 - RXNE

Source

pub fn idle(&self) -> IDLE_R

Bit 4 - IDLE

Source

pub fn ore(&self) -> ORE_R

Bit 3 - ORE

Source

pub fn nf(&self) -> NF_R

Bit 2 - NF

Source

pub fn fe(&self) -> FE_R

Bit 1 - FE

Source

pub fn pe(&self) -> PE_R

Bit 0 - PE

Source

pub fn tcbgt(&self) -> TCBGT_R

Bit 25 - Transmission complete before guard time completion

Source§

impl R<u32, Reg<u32, _RDR>>

Source

pub fn rdr(&self) -> RDR_R

Bits 0:8 - Receive data value

Source§

impl R<u32, Reg<u32, _TDR>>

Source

pub fn tdr(&self) -> TDR_R

Bits 0:8 - Transmit data value

Source§

impl R<bool, M1_A>

Source

pub fn variant(&self) -> M1_A

Get enumerated values variant

Source

pub fn is_m0(&self) -> bool

Checks if the value of the field is M0

Source

pub fn is_bit7(&self) -> bool

Checks if the value of the field is BIT7

Source§

impl R<bool, CMIE_A>

Source

pub fn variant(&self) -> CMIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, MME_A>

Source

pub fn variant(&self) -> MME_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, M0_A>

Source

pub fn variant(&self) -> M0_A

Get enumerated values variant

Source

pub fn is_bit8(&self) -> bool

Checks if the value of the field is BIT8

Source

pub fn is_bit9(&self) -> bool

Checks if the value of the field is BIT9

Source§

impl R<bool, WAKE_A>

Source

pub fn variant(&self) -> WAKE_A

Get enumerated values variant

Source

pub fn is_idle(&self) -> bool

Checks if the value of the field is IDLE

Source

pub fn is_address(&self) -> bool

Checks if the value of the field is ADDRESS

Source§

impl R<bool, PCE_A>

Source

pub fn variant(&self) -> PCE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, PS_A>

Source

pub fn variant(&self) -> PS_A

Get enumerated values variant

Source

pub fn is_even(&self) -> bool

Checks if the value of the field is EVEN

Source

pub fn is_odd(&self) -> bool

Checks if the value of the field is ODD

Source§

impl R<bool, PEIE_A>

Source

pub fn variant(&self) -> PEIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, TXEIE_A>

Source

pub fn variant(&self) -> TXEIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, TCIE_A>

Source

pub fn variant(&self) -> TCIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, RXNEIE_A>

Source

pub fn variant(&self) -> RXNEIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, IDLEIE_A>

Source

pub fn variant(&self) -> IDLEIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, TE_A>

Source

pub fn variant(&self) -> TE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, RE_A>

Source

pub fn variant(&self) -> RE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, UESM_A>

Source

pub fn variant(&self) -> UESM_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, UE_A>

Source

pub fn variant(&self) -> UE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<u32, Reg<u32, _CR1>>

Source

pub fn m1(&self) -> M1_R

Bit 28 - Word length

Source

pub fn cmie(&self) -> CMIE_R

Bit 14 - Character match interrupt enable

Source

pub fn mme(&self) -> MME_R

Bit 13 - Mute mode enable

Source

pub fn m0(&self) -> M0_R

Bit 12 - Word length

Source

pub fn wake(&self) -> WAKE_R

Bit 11 - Receiver wakeup method

Source

pub fn pce(&self) -> PCE_R

Bit 10 - Parity control enable

Source

pub fn ps(&self) -> PS_R

Bit 9 - Parity selection

Source

pub fn peie(&self) -> PEIE_R

Bit 8 - PE interrupt enable

Source

pub fn txeie(&self) -> TXEIE_R

Bit 7 - interrupt enable

Source

pub fn tcie(&self) -> TCIE_R

Bit 6 - Transmission complete interrupt enable

Source

pub fn rxneie(&self) -> RXNEIE_R

Bit 5 - RXNE interrupt enable

Source

pub fn idleie(&self) -> IDLEIE_R

Bit 4 - IDLE interrupt enable

Source

pub fn te(&self) -> TE_R

Bit 3 - Transmitter enable

Source

pub fn re(&self) -> RE_R

Bit 2 - Receiver enable

Source

pub fn uesm(&self) -> UESM_R

Bit 1 - USART enable in Stop mode

Source

pub fn ue(&self) -> UE_R

Bit 0 - USART enable

Source

pub fn deat(&self) -> DEAT_R

Bits 21:25 - Driver Enable assertion time

Source

pub fn dedt(&self) -> DEDT_R

Bits 16:20 - Driver Enable de-assertion time

Source§

impl R<bool, MSBFIRST_A>

Source

pub fn variant(&self) -> MSBFIRST_A

Get enumerated values variant

Source

pub fn is_lsb(&self) -> bool

Checks if the value of the field is LSB

Source

pub fn is_msb(&self) -> bool

Checks if the value of the field is MSB

Source§

impl R<bool, DATAINV_A>

Source

pub fn variant(&self) -> DATAINV_A

Get enumerated values variant

Source

pub fn is_positive(&self) -> bool

Checks if the value of the field is POSITIVE

Source

pub fn is_negative(&self) -> bool

Checks if the value of the field is NEGATIVE

Source§

impl R<bool, TXINV_A>

Source

pub fn variant(&self) -> TXINV_A

Get enumerated values variant

Source

pub fn is_standard(&self) -> bool

Checks if the value of the field is STANDARD

Source

pub fn is_inverted(&self) -> bool

Checks if the value of the field is INVERTED

Source§

impl R<bool, RXINV_A>

Source

pub fn variant(&self) -> RXINV_A

Get enumerated values variant

Source

pub fn is_standard(&self) -> bool

Checks if the value of the field is STANDARD

Source

pub fn is_inverted(&self) -> bool

Checks if the value of the field is INVERTED

Source§

impl R<bool, SWAP_A>

Source

pub fn variant(&self) -> SWAP_A

Get enumerated values variant

Source

pub fn is_standard(&self) -> bool

Checks if the value of the field is STANDARD

Source

pub fn is_swapped(&self) -> bool

Checks if the value of the field is SWAPPED

Source§

impl R<u8, STOP_A>

Source

pub fn variant(&self) -> STOP_A

Get enumerated values variant

Source

pub fn is_stop1(&self) -> bool

Checks if the value of the field is STOP1

Source

pub fn is_stop0p5(&self) -> bool

Checks if the value of the field is STOP0P5

Source

pub fn is_stop2(&self) -> bool

Checks if the value of the field is STOP2

Source

pub fn is_stop1p5(&self) -> bool

Checks if the value of the field is STOP1P5

Source§

impl R<bool, CLKEN_A>

Source

pub fn variant(&self) -> CLKEN_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, ADDM7_A>

Source

pub fn variant(&self) -> ADDM7_A

Get enumerated values variant

Source

pub fn is_bit4(&self) -> bool

Checks if the value of the field is BIT4

Source

pub fn is_bit7(&self) -> bool

Checks if the value of the field is BIT7

Source§

impl R<u32, Reg<u32, _CR2>>

Source

pub fn msbfirst(&self) -> MSBFIRST_R

Bit 19 - Most significant bit first

Source

pub fn datainv(&self) -> DATAINV_R

Bit 18 - Binary data inversion

Source

pub fn txinv(&self) -> TXINV_R

Bit 17 - TX pin active level inversion

Source

pub fn rxinv(&self) -> RXINV_R

Bit 16 - RX pin active level inversion

Source

pub fn swap(&self) -> SWAP_R

Bit 15 - Swap TX/RX pins

Source

pub fn stop(&self) -> STOP_R

Bits 12:13 - STOP bits

Source

pub fn clken(&self) -> CLKEN_R

Bit 11 - Clock enable

Source

pub fn addm7(&self) -> ADDM7_R

Bit 4 - 7-bit Address Detection/4-bit Address Detection

Source

pub fn add(&self) -> ADD_R

Bits 24:31 - Address of the USART node

Source§

impl R<bool, WUFIE_A>

Source

pub fn variant(&self) -> WUFIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<u8, WUS_A>

Source

pub fn variant(&self) -> Variant<u8, WUS_A>

Get enumerated values variant

Source

pub fn is_address(&self) -> bool

Checks if the value of the field is ADDRESS

Source

pub fn is_start(&self) -> bool

Checks if the value of the field is START

Source

pub fn is_rxne(&self) -> bool

Checks if the value of the field is RXNE

Source§

impl R<bool, DEP_A>

Source

pub fn variant(&self) -> DEP_A

Get enumerated values variant

Source

pub fn is_high(&self) -> bool

Checks if the value of the field is HIGH

Source

pub fn is_low(&self) -> bool

Checks if the value of the field is LOW

Source§

impl R<bool, DEM_A>

Source

pub fn variant(&self) -> DEM_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, DDRE_A>

Source

pub fn variant(&self) -> DDRE_A

Get enumerated values variant

Source

pub fn is_not_disabled(&self) -> bool

Checks if the value of the field is NOTDISABLED

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source§

impl R<bool, OVRDIS_A>

Source

pub fn variant(&self) -> OVRDIS_A

Get enumerated values variant

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source§

impl R<bool, CTSIE_A>

Source

pub fn variant(&self) -> CTSIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, CTSE_A>

Source

pub fn variant(&self) -> CTSE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, RTSE_A>

Source

pub fn variant(&self) -> RTSE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, DMAT_A>

Source

pub fn variant(&self) -> DMAT_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, DMAR_A>

Source

pub fn variant(&self) -> DMAR_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, HDSEL_A>

Source

pub fn variant(&self) -> HDSEL_A

Get enumerated values variant

Source

pub fn is_not_selected(&self) -> bool

Checks if the value of the field is NOTSELECTED

Source

pub fn is_selected(&self) -> bool

Checks if the value of the field is SELECTED

Source§

impl R<bool, EIE_A>

Source

pub fn variant(&self) -> EIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<u32, Reg<u32, _CR3>>

Source

pub fn wufie(&self) -> WUFIE_R

Bit 22 - Wakeup from Stop mode interrupt enable

Source

pub fn wus(&self) -> WUS_R

Bits 20:21 - Wakeup from Stop mode interrupt flag selection

Source

pub fn dep(&self) -> DEP_R

Bit 15 - Driver enable polarity selection

Source

pub fn dem(&self) -> DEM_R

Bit 14 - Driver enable mode

Source

pub fn ddre(&self) -> DDRE_R

Bit 13 - DMA Disable on Reception Error

Source

pub fn ovrdis(&self) -> OVRDIS_R

Bit 12 - Overrun Disable

Source

pub fn ctsie(&self) -> CTSIE_R

Bit 10 - CTS interrupt enable

Source

pub fn ctse(&self) -> CTSE_R

Bit 9 - CTS enable

Source

pub fn rtse(&self) -> RTSE_R

Bit 8 - RTS enable

Source

pub fn dmat(&self) -> DMAT_R

Bit 7 - DMA enable transmitter

Source

pub fn dmar(&self) -> DMAR_R

Bit 6 - DMA enable receiver

Source

pub fn hdsel(&self) -> HDSEL_R

Bit 3 - Half-duplex selection

Source

pub fn eie(&self) -> EIE_R

Bit 0 - Error interrupt enable

Source§

impl R<u32, Reg<u32, _BRR>>

Source

pub fn brr(&self) -> BRR_R

Bits 0:19 - BRR

Source§

impl R<u32, Reg<u32, _ISR>>

Source

pub fn reack(&self) -> REACK_R

Bit 22 - REACK

Source

pub fn teack(&self) -> TEACK_R

Bit 21 - TEACK

Source

pub fn wuf(&self) -> WUF_R

Bit 20 - WUF

Source

pub fn rwu(&self) -> RWU_R

Bit 19 - RWU

Source

pub fn sbkf(&self) -> SBKF_R

Bit 18 - SBKF

Source

pub fn cmf(&self) -> CMF_R

Bit 17 - CMF

Source

pub fn busy(&self) -> BUSY_R

Bit 16 - BUSY

Source

pub fn cts(&self) -> CTS_R

Bit 10 - CTS

Source

pub fn ctsif(&self) -> CTSIF_R

Bit 9 - CTSIF

Source

pub fn txe(&self) -> TXE_R

Bit 7 - TXE

Source

pub fn tc(&self) -> TC_R

Bit 6 - TC

Source

pub fn rxne(&self) -> RXNE_R

Bit 5 - RXNE

Source

pub fn idle(&self) -> IDLE_R

Bit 4 - IDLE

Source

pub fn ore(&self) -> ORE_R

Bit 3 - ORE

Source

pub fn nf(&self) -> NF_R

Bit 2 - NF

Source

pub fn fe(&self) -> FE_R

Bit 1 - FE

Source

pub fn pe(&self) -> PE_R

Bit 0 - PE

Source§

impl R<u32, Reg<u32, _RDR>>

Source

pub fn rdr(&self) -> RDR_R

Bits 0:8 - Receive data value

Source§

impl R<u32, Reg<u32, _TDR>>

Source

pub fn tdr(&self) -> TDR_R

Bits 0:8 - Transmit data value

Source§

impl R<bool, BIDIMODE_A>

Source

pub fn variant(&self) -> BIDIMODE_A

Get enumerated values variant

Source

pub fn is_unidirectional(&self) -> bool

Checks if the value of the field is UNIDIRECTIONAL

Source

pub fn is_bidirectional(&self) -> bool

Checks if the value of the field is BIDIRECTIONAL

Source§

impl R<bool, BIDIOE_A>

Source

pub fn variant(&self) -> BIDIOE_A

Get enumerated values variant

Source

pub fn is_output_disabled(&self) -> bool

Checks if the value of the field is OUTPUTDISABLED

Source

pub fn is_output_enabled(&self) -> bool

Checks if the value of the field is OUTPUTENABLED

Source§

impl R<bool, CRCEN_A>

Source

pub fn variant(&self) -> CRCEN_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, CRCNEXT_A>

Source

pub fn variant(&self) -> CRCNEXT_A

Get enumerated values variant

Source

pub fn is_tx_buffer(&self) -> bool

Checks if the value of the field is TXBUFFER

Source

pub fn is_crc(&self) -> bool

Checks if the value of the field is CRC

Source§

impl R<bool, RXONLY_A>

Source

pub fn variant(&self) -> RXONLY_A

Get enumerated values variant

Source

pub fn is_full_duplex(&self) -> bool

Checks if the value of the field is FULLDUPLEX

Source

pub fn is_output_disabled(&self) -> bool

Checks if the value of the field is OUTPUTDISABLED

Source§

impl R<bool, SSM_A>

Source

pub fn variant(&self) -> SSM_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, SSI_A>

Source

pub fn variant(&self) -> SSI_A

Get enumerated values variant

Source

pub fn is_slave_selected(&self) -> bool

Checks if the value of the field is SLAVESELECTED

Source

pub fn is_slave_not_selected(&self) -> bool

Checks if the value of the field is SLAVENOTSELECTED

Source§

impl R<bool, LSBFIRST_A>

Source

pub fn variant(&self) -> LSBFIRST_A

Get enumerated values variant

Source

pub fn is_msbfirst(&self) -> bool

Checks if the value of the field is MSBFIRST

Source

pub fn is_lsbfirst(&self) -> bool

Checks if the value of the field is LSBFIRST

Source§

impl R<bool, SPE_A>

Source

pub fn variant(&self) -> SPE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<u8, BR_A>

Source

pub fn variant(&self) -> BR_A

Get enumerated values variant

Source

pub fn is_div2(&self) -> bool

Checks if the value of the field is DIV2

Source

pub fn is_div4(&self) -> bool

Checks if the value of the field is DIV4

Source

pub fn is_div8(&self) -> bool

Checks if the value of the field is DIV8

Source

pub fn is_div16(&self) -> bool

Checks if the value of the field is DIV16

Source

pub fn is_div32(&self) -> bool

Checks if the value of the field is DIV32

Source

pub fn is_div64(&self) -> bool

Checks if the value of the field is DIV64

Source

pub fn is_div128(&self) -> bool

Checks if the value of the field is DIV128

Source

pub fn is_div256(&self) -> bool

Checks if the value of the field is DIV256

Source§

impl R<bool, MSTR_A>

Source

pub fn variant(&self) -> MSTR_A

Get enumerated values variant

Source

pub fn is_slave(&self) -> bool

Checks if the value of the field is SLAVE

Source

pub fn is_master(&self) -> bool

Checks if the value of the field is MASTER

Source§

impl R<bool, CPOL_A>

Source

pub fn variant(&self) -> CPOL_A

Get enumerated values variant

Source

pub fn is_idle_low(&self) -> bool

Checks if the value of the field is IDLELOW

Source

pub fn is_idle_high(&self) -> bool

Checks if the value of the field is IDLEHIGH

Source§

impl R<bool, CPHA_A>

Source

pub fn variant(&self) -> CPHA_A

Get enumerated values variant

Source

pub fn is_first_edge(&self) -> bool

Checks if the value of the field is FIRSTEDGE

Source

pub fn is_second_edge(&self) -> bool

Checks if the value of the field is SECONDEDGE

Source§

impl R<u32, Reg<u32, _CR1>>

Source

pub fn bidimode(&self) -> BIDIMODE_R

Bit 15 - Bidirectional data mode enable

Source

pub fn bidioe(&self) -> BIDIOE_R

Bit 14 - Output enable in bidirectional mode

Source

pub fn crcen(&self) -> CRCEN_R

Bit 13 - Hardware CRC calculation enable

Source

pub fn crcnext(&self) -> CRCNEXT_R

Bit 12 - CRC transfer next

Source

pub fn crcl(&self) -> CRCL_R

Bit 11 - CRC length

Source

pub fn rxonly(&self) -> RXONLY_R

Bit 10 - Receive only

Source

pub fn ssm(&self) -> SSM_R

Bit 9 - Software slave management

Source

pub fn ssi(&self) -> SSI_R

Bit 8 - Internal slave select

Source

pub fn lsbfirst(&self) -> LSBFIRST_R

Bit 7 - Frame format

Source

pub fn spe(&self) -> SPE_R

Bit 6 - SPI enable

Source

pub fn br(&self) -> BR_R

Bits 3:5 - Baud rate control

Source

pub fn mstr(&self) -> MSTR_R

Bit 2 - Master selection

Source

pub fn cpol(&self) -> CPOL_R

Bit 1 - Clock polarity

Source

pub fn cpha(&self) -> CPHA_R

Bit 0 - Clock phase

Source§

impl R<bool, RXDMAEN_A>

Source

pub fn variant(&self) -> RXDMAEN_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, TXDMAEN_A>

Source

pub fn variant(&self) -> TXDMAEN_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, SSOE_A>

Source

pub fn variant(&self) -> SSOE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, ERRIE_A>

Source

pub fn variant(&self) -> ERRIE_A

Get enumerated values variant

Source

pub fn is_masked(&self) -> bool

Checks if the value of the field is MASKED

Source

pub fn is_not_masked(&self) -> bool

Checks if the value of the field is NOTMASKED

Source§

impl R<bool, RXNEIE_A>

Source

pub fn variant(&self) -> RXNEIE_A

Get enumerated values variant

Source

pub fn is_masked(&self) -> bool

Checks if the value of the field is MASKED

Source

pub fn is_not_masked(&self) -> bool

Checks if the value of the field is NOTMASKED

Source§

impl R<bool, TXEIE_A>

Source

pub fn variant(&self) -> TXEIE_A

Get enumerated values variant

Source

pub fn is_masked(&self) -> bool

Checks if the value of the field is MASKED

Source

pub fn is_not_masked(&self) -> bool

Checks if the value of the field is NOTMASKED

Source§

impl R<u32, Reg<u32, _CR2>>

Source

pub fn rxdmaen(&self) -> RXDMAEN_R

Bit 0 - Rx buffer DMA enable

Source

pub fn txdmaen(&self) -> TXDMAEN_R

Bit 1 - Tx buffer DMA enable

Source

pub fn ssoe(&self) -> SSOE_R

Bit 2 - SS output enable

Source

pub fn nssp(&self) -> NSSP_R

Bit 3 - NSS pulse management

Source

pub fn frf(&self) -> FRF_R

Bit 4 - Frame format

Source

pub fn errie(&self) -> ERRIE_R

Bit 5 - Error interrupt enable

Source

pub fn rxneie(&self) -> RXNEIE_R

Bit 6 - RX buffer not empty interrupt enable

Source

pub fn txeie(&self) -> TXEIE_R

Bit 7 - Tx buffer empty interrupt enable

Source

pub fn ds(&self) -> DS_R

Bits 8:11 - Data size

Source

pub fn frxth(&self) -> FRXTH_R

Bit 12 - FIFO reception threshold

Source

pub fn ldma_rx(&self) -> LDMA_RX_R

Bit 13 - Last DMA transfer for reception

Source

pub fn ldma_tx(&self) -> LDMA_TX_R

Bit 14 - Last DMA transfer for transmission

Source§

impl R<bool, RXNE_A>

Source

pub fn variant(&self) -> RXNE_A

Get enumerated values variant

Source

pub fn is_empty(&self) -> bool

Checks if the value of the field is EMPTY

Source

pub fn is_not_empty(&self) -> bool

Checks if the value of the field is NOTEMPTY

Source§

impl R<bool, TXE_A>

Source

pub fn variant(&self) -> TXE_A

Get enumerated values variant

Source

pub fn is_not_empty(&self) -> bool

Checks if the value of the field is NOTEMPTY

Source

pub fn is_empty(&self) -> bool

Checks if the value of the field is EMPTY

Source§

impl R<bool, CRCERR_A>

Source

pub fn variant(&self) -> CRCERR_A

Get enumerated values variant

Source

pub fn is_match_(&self) -> bool

Checks if the value of the field is MATCH

Source

pub fn is_no_match(&self) -> bool

Checks if the value of the field is NOMATCH

Source§

impl R<bool, MODF_A>

Source

pub fn variant(&self) -> MODF_A

Get enumerated values variant

Source

pub fn is_no_fault(&self) -> bool

Checks if the value of the field is NOFAULT

Source

pub fn is_fault(&self) -> bool

Checks if the value of the field is FAULT

Source§

impl R<bool, OVR_A>

Source

pub fn variant(&self) -> OVR_A

Get enumerated values variant

Source

pub fn is_no_overrun(&self) -> bool

Checks if the value of the field is NOOVERRUN

Source

pub fn is_overrun(&self) -> bool

Checks if the value of the field is OVERRUN

Source§

impl R<bool, BSY_A>

Source

pub fn variant(&self) -> BSY_A

Get enumerated values variant

Source

pub fn is_not_busy(&self) -> bool

Checks if the value of the field is NOTBUSY

Source

pub fn is_busy(&self) -> bool

Checks if the value of the field is BUSY

Source§

impl R<u32, Reg<u32, _SR>>

Source

pub fn rxne(&self) -> RXNE_R

Bit 0 - Receive buffer not empty

Source

pub fn txe(&self) -> TXE_R

Bit 1 - Transmit buffer empty

Source

pub fn crcerr(&self) -> CRCERR_R

Bit 4 - CRC error flag

Source

pub fn modf(&self) -> MODF_R

Bit 5 - Mode fault

Source

pub fn ovr(&self) -> OVR_R

Bit 6 - Overrun flag

Source

pub fn bsy(&self) -> BSY_R

Bit 7 - Busy flag

Source

pub fn fre(&self) -> FRE_R

Bit 8 - Frame format error

Source

pub fn frlvl(&self) -> FRLVL_R

Bits 9:10 - FIFO reception level

Source

pub fn ftlvl(&self) -> FTLVL_R

Bits 11:12 - FIFO transmission level

Source§

impl R<u32, Reg<u32, _DR>>

Source

pub fn dr(&self) -> DR_R

Bits 0:15 - Data register

Source§

impl R<u32, Reg<u32, _CRCPR>>

Source

pub fn crcpoly(&self) -> CRCPOLY_R

Bits 0:15 - CRC polynomial register

Source§

impl R<u32, Reg<u32, _RXCRCR>>

Source

pub fn rx_crc(&self) -> RXCRC_R

Bits 0:15 - Rx CRC register

Source§

impl R<u32, Reg<u32, _TXCRCR>>

Source

pub fn tx_crc(&self) -> TXCRC_R

Bits 0:15 - Tx CRC register

Source§

impl R<u32, Reg<u32, _POWER>>

Source

pub fn pwrctrl(&self) -> PWRCTRL_R

Bits 0:1 - PWRCTRL

Source§

impl R<u32, Reg<u32, _CLKCR>>

Source

pub fn hwfc_en(&self) -> HWFC_EN_R

Bit 14 - HW Flow Control enable

Source

pub fn negedge(&self) -> NEGEDGE_R

Bit 13 - SDIO_CK dephasing selection bit

Source

pub fn widbus(&self) -> WIDBUS_R

Bits 11:12 - Wide bus mode enable bit

Source

pub fn bypass(&self) -> BYPASS_R

Bit 10 - Clock divider bypass enable bit

Source

pub fn pwrsav(&self) -> PWRSAV_R

Bit 9 - Power saving configuration bit

Source

pub fn clken(&self) -> CLKEN_R

Bit 8 - Clock enable bit

Source

pub fn clkdiv(&self) -> CLKDIV_R

Bits 0:7 - Clock divide factor

Source§

impl R<u32, Reg<u32, _ARG>>

Source

pub fn cmdarg(&self) -> CMDARG_R

Bits 0:31 - Command argument

Source§

impl R<u32, Reg<u32, _CMD>>

Source

pub fn ce_atacmd(&self) -> CE_ATACMD_R

Bit 14 - CE-ATA command

Source

pub fn n_ien(&self) -> NIEN_R

Bit 13 - not Interrupt Enable

Source

pub fn encmdcompl(&self) -> ENCMDCOMPL_R

Bit 12 - Enable CMD completion

Source

pub fn sdiosuspend(&self) -> SDIOSUSPEND_R

Bit 11 - SD I/O suspend command

Source

pub fn cpsmen(&self) -> CPSMEN_R

Bit 10 - Command path state machine (CPSM) Enable bit

Source

pub fn waitpend(&self) -> WAITPEND_R

Bit 9 - CPSM Waits for ends of data transfer (CmdPend internal signal)

Source

pub fn waitint(&self) -> WAITINT_R

Bit 8 - CPSM waits for interrupt request

Source

pub fn waitresp(&self) -> WAITRESP_R

Bits 6:7 - Wait for response bits

Source

pub fn cmdindex(&self) -> CMDINDEX_R

Bits 0:5 - Command index

Source§

impl R<u32, Reg<u32, _RESPCMD>>

Source

pub fn respcmd(&self) -> RESPCMD_R

Bits 0:5 - Response command index

Source§

impl R<u32, Reg<u32, _RESP1>>

Source

pub fn cardstatus1(&self) -> CARDSTATUS1_R

Bits 0:31 - see Table 132

Source§

impl R<u32, Reg<u32, _RESP2>>

Source

pub fn cardstatus2(&self) -> CARDSTATUS2_R

Bits 0:31 - see Table 132

Source§

impl R<u32, Reg<u32, _RESP3>>

Source

pub fn cardstatus3(&self) -> CARDSTATUS3_R

Bits 0:31 - see Table 132

Source§

impl R<u32, Reg<u32, _RESP4>>

Source

pub fn cardstatus4(&self) -> CARDSTATUS4_R

Bits 0:31 - see Table 132

Source§

impl R<u32, Reg<u32, _DTIMER>>

Source

pub fn datatime(&self) -> DATATIME_R

Bits 0:31 - Data timeout period

Source§

impl R<u32, Reg<u32, _DLEN>>

Source

pub fn datalength(&self) -> DATALENGTH_R

Bits 0:24 - Data length value

Source§

impl R<u32, Reg<u32, _DCTRL>>

Source

pub fn sdioen(&self) -> SDIOEN_R

Bit 11 - SD I/O enable functions

Source

pub fn rwmod(&self) -> RWMOD_R

Bit 10 - Read wait mode

Source

pub fn rwstop(&self) -> RWSTOP_R

Bit 9 - Read wait stop

Source

pub fn rwstart(&self) -> RWSTART_R

Bit 8 - Read wait start

Source

pub fn dblocksize(&self) -> DBLOCKSIZE_R

Bits 4:7 - Data block size

Source

pub fn dmaen(&self) -> DMAEN_R

Bit 3 - DMA enable bit

Source

pub fn dtmode(&self) -> DTMODE_R

Bit 2 - Data transfer mode selection 1: Stream or SDIO multibyte data transfer

Source

pub fn dtdir(&self) -> DTDIR_R

Bit 1 - Data transfer direction selection

Source

pub fn dten(&self) -> DTEN_R

Bit 0 - DTEN

Source§

impl R<u32, Reg<u32, _DCOUNT>>

Source

pub fn datacount(&self) -> DATACOUNT_R

Bits 0:24 - Data count value

Source§

impl R<u32, Reg<u32, _STA>>

Source

pub fn ceataend(&self) -> CEATAEND_R

Bit 23 - CE-ATA command completion signal received for CMD61

Source

pub fn sdioit(&self) -> SDIOIT_R

Bit 22 - SDIO interrupt received

Source

pub fn rxdavl(&self) -> RXDAVL_R

Bit 21 - Data available in receive FIFO

Source

pub fn txdavl(&self) -> TXDAVL_R

Bit 20 - Data available in transmit FIFO

Source

pub fn rxfifoe(&self) -> RXFIFOE_R

Bit 19 - Receive FIFO empty

Source

pub fn txfifoe(&self) -> TXFIFOE_R

Bit 18 - Transmit FIFO empty

Source

pub fn rxfifof(&self) -> RXFIFOF_R

Bit 17 - Receive FIFO full

Source

pub fn txfifof(&self) -> TXFIFOF_R

Bit 16 - Transmit FIFO full

Source

pub fn rxfifohf(&self) -> RXFIFOHF_R

Bit 15 - Receive FIFO half full: there are at least 8 words in the FIFO

Source

pub fn txfifohe(&self) -> TXFIFOHE_R

Bit 14 - Transmit FIFO half empty: at least 8 words can be written into the FIFO

Source

pub fn rxact(&self) -> RXACT_R

Bit 13 - Data receive in progress

Source

pub fn txact(&self) -> TXACT_R

Bit 12 - Data transmit in progress

Source

pub fn cmdact(&self) -> CMDACT_R

Bit 11 - Command transfer in progress

Source

pub fn dbckend(&self) -> DBCKEND_R

Bit 10 - Data block sent/received (CRC check passed)

Source

pub fn stbiterr(&self) -> STBITERR_R

Bit 9 - Start bit not detected on all data signals in wide bus mode

Source

pub fn dataend(&self) -> DATAEND_R

Bit 8 - Data end (data counter, SDIDCOUNT, is zero)

Source

pub fn cmdsent(&self) -> CMDSENT_R

Bit 7 - Command sent (no response required)

Source

pub fn cmdrend(&self) -> CMDREND_R

Bit 6 - Command response received (CRC check passed)

Source

pub fn rxoverr(&self) -> RXOVERR_R

Bit 5 - Received FIFO overrun error

Source

pub fn txunderr(&self) -> TXUNDERR_R

Bit 4 - Transmit FIFO underrun error

Source

pub fn dtimeout(&self) -> DTIMEOUT_R

Bit 3 - Data timeout

Source

pub fn ctimeout(&self) -> CTIMEOUT_R

Bit 2 - Command response timeout

Source

pub fn dcrcfail(&self) -> DCRCFAIL_R

Bit 1 - Data block sent/received (CRC check failed)

Source

pub fn ccrcfail(&self) -> CCRCFAIL_R

Bit 0 - Command response received (CRC check failed)

Source§

impl R<u32, Reg<u32, _ICR>>

Source

pub fn ceataendc(&self) -> CEATAENDC_R

Bit 23 - CEATAEND flag clear bit

Source

pub fn sdioitc(&self) -> SDIOITC_R

Bit 22 - SDIOIT flag clear bit

Source

pub fn dbckendc(&self) -> DBCKENDC_R

Bit 10 - DBCKEND flag clear bit

Source

pub fn stbiterrc(&self) -> STBITERRC_R

Bit 9 - STBITERR flag clear bit

Source

pub fn dataendc(&self) -> DATAENDC_R

Bit 8 - DATAEND flag clear bit

Source

pub fn cmdsentc(&self) -> CMDSENTC_R

Bit 7 - CMDSENT flag clear bit

Source

pub fn cmdrendc(&self) -> CMDRENDC_R

Bit 6 - CMDREND flag clear bit

Source

pub fn rxoverrc(&self) -> RXOVERRC_R

Bit 5 - RXOVERR flag clear bit

Source

pub fn txunderrc(&self) -> TXUNDERRC_R

Bit 4 - TXUNDERR flag clear bit

Source

pub fn dtimeoutc(&self) -> DTIMEOUTC_R

Bit 3 - DTIMEOUT flag clear bit

Source

pub fn ctimeoutc(&self) -> CTIMEOUTC_R

Bit 2 - CTIMEOUT flag clear bit

Source

pub fn dcrcfailc(&self) -> DCRCFAILC_R

Bit 1 - DCRCFAIL flag clear bit

Source

pub fn ccrcfailc(&self) -> CCRCFAILC_R

Bit 0 - CCRCFAIL flag clear bit

Source§

impl R<u32, Reg<u32, _MASK>>

Source

pub fn ceataendie(&self) -> CEATAENDIE_R

Bit 23 - CE-ATA command completion signal received interrupt enable

Source

pub fn sdioitie(&self) -> SDIOITIE_R

Bit 22 - SDIO mode interrupt received interrupt enable

Source

pub fn rxdavlie(&self) -> RXDAVLIE_R

Bit 21 - Data available in Rx FIFO interrupt enable

Source

pub fn txdavlie(&self) -> TXDAVLIE_R

Bit 20 - Data available in Tx FIFO interrupt enable

Source

pub fn rxfifoeie(&self) -> RXFIFOEIE_R

Bit 19 - Rx FIFO empty interrupt enable

Source

pub fn txfifoeie(&self) -> TXFIFOEIE_R

Bit 18 - Tx FIFO empty interrupt enable

Source

pub fn rxfifofie(&self) -> RXFIFOFIE_R

Bit 17 - Rx FIFO full interrupt enable

Source

pub fn txfifofie(&self) -> TXFIFOFIE_R

Bit 16 - Tx FIFO full interrupt enable

Source

pub fn rxfifohfie(&self) -> RXFIFOHFIE_R

Bit 15 - Rx FIFO half full interrupt enable

Source

pub fn txfifoheie(&self) -> TXFIFOHEIE_R

Bit 14 - Tx FIFO half empty interrupt enable

Source

pub fn rxactie(&self) -> RXACTIE_R

Bit 13 - Data receive acting interrupt enable

Source

pub fn txactie(&self) -> TXACTIE_R

Bit 12 - Data transmit acting interrupt enable

Source

pub fn cmdactie(&self) -> CMDACTIE_R

Bit 11 - Command acting interrupt enable

Source

pub fn dbckendie(&self) -> DBCKENDIE_R

Bit 10 - Data block end interrupt enable

Source

pub fn stbiterrie(&self) -> STBITERRIE_R

Bit 9 - Start bit error interrupt enable

Source

pub fn dataendie(&self) -> DATAENDIE_R

Bit 8 - Data end interrupt enable

Source

pub fn cmdsentie(&self) -> CMDSENTIE_R

Bit 7 - Command sent interrupt enable

Source

pub fn cmdrendie(&self) -> CMDRENDIE_R

Bit 6 - Command response received interrupt enable

Source

pub fn rxoverrie(&self) -> RXOVERRIE_R

Bit 5 - Rx FIFO overrun error interrupt enable

Source

pub fn txunderrie(&self) -> TXUNDERRIE_R

Bit 4 - Tx FIFO underrun error interrupt enable

Source

pub fn dtimeoutie(&self) -> DTIMEOUTIE_R

Bit 3 - Data timeout interrupt enable

Source

pub fn ctimeoutie(&self) -> CTIMEOUTIE_R

Bit 2 - Command timeout interrupt enable

Source

pub fn dcrcfailie(&self) -> DCRCFAILIE_R

Bit 1 - Data CRC fail interrupt enable

Source

pub fn ccrcfailie(&self) -> CCRCFAILIE_R

Bit 0 - Command CRC fail interrupt enable

Source§

impl R<u32, Reg<u32, _FIFOCNT>>

Source

pub fn fifocount(&self) -> FIFOCOUNT_R

Bits 0:23 - Remaining number of words to be written to or read from the FIFO

Source§

impl R<u32, Reg<u32, _FIFO>>

Source

pub fn fifodata(&self) -> FIFODATA_R

Bits 0:31 - Receive and transmit FIFO data

Source§

impl R<bool, MR0_A>

Source

pub fn variant(&self) -> MR0_A

Get enumerated values variant

Source

pub fn is_masked(&self) -> bool

Checks if the value of the field is MASKED

Source

pub fn is_unmasked(&self) -> bool

Checks if the value of the field is UNMASKED

Source§

impl R<u32, Reg<u32, _IMR1>>

Source

pub fn mr0(&self) -> MR0_R

Bit 0 - Interrupt Mask on line 0

Source

pub fn mr1(&self) -> MR1_R

Bit 1 - Interrupt Mask on line 1

Source

pub fn mr2(&self) -> MR2_R

Bit 2 - Interrupt Mask on line 2

Source

pub fn mr3(&self) -> MR3_R

Bit 3 - Interrupt Mask on line 3

Source

pub fn mr4(&self) -> MR4_R

Bit 4 - Interrupt Mask on line 4

Source

pub fn mr5(&self) -> MR5_R

Bit 5 - Interrupt Mask on line 5

Source

pub fn mr6(&self) -> MR6_R

Bit 6 - Interrupt Mask on line 6

Source

pub fn mr7(&self) -> MR7_R

Bit 7 - Interrupt Mask on line 7

Source

pub fn mr8(&self) -> MR8_R

Bit 8 - Interrupt Mask on line 8

Source

pub fn mr9(&self) -> MR9_R

Bit 9 - Interrupt Mask on line 9

Source

pub fn mr10(&self) -> MR10_R

Bit 10 - Interrupt Mask on line 10

Source

pub fn mr11(&self) -> MR11_R

Bit 11 - Interrupt Mask on line 11

Source

pub fn mr12(&self) -> MR12_R

Bit 12 - Interrupt Mask on line 12

Source

pub fn mr13(&self) -> MR13_R

Bit 13 - Interrupt Mask on line 13

Source

pub fn mr14(&self) -> MR14_R

Bit 14 - Interrupt Mask on line 14

Source

pub fn mr15(&self) -> MR15_R

Bit 15 - Interrupt Mask on line 15

Source

pub fn mr16(&self) -> MR16_R

Bit 16 - Interrupt Mask on line 16

Source

pub fn mr17(&self) -> MR17_R

Bit 17 - Interrupt Mask on line 17

Source

pub fn mr18(&self) -> MR18_R

Bit 18 - Interrupt Mask on line 18

Source

pub fn mr19(&self) -> MR19_R

Bit 19 - Interrupt Mask on line 19

Source

pub fn mr20(&self) -> MR20_R

Bit 20 - Interrupt Mask on line 20

Source

pub fn mr21(&self) -> MR21_R

Bit 21 - Interrupt Mask on line 21

Source

pub fn mr22(&self) -> MR22_R

Bit 22 - Interrupt Mask on line 22

Source

pub fn mr23(&self) -> MR23_R

Bit 23 - Interrupt Mask on line 23

Source

pub fn mr24(&self) -> MR24_R

Bit 24 - Interrupt Mask on line 24

Source

pub fn mr25(&self) -> MR25_R

Bit 25 - Interrupt Mask on line 25

Source

pub fn mr26(&self) -> MR26_R

Bit 26 - Interrupt Mask on line 26

Source

pub fn mr27(&self) -> MR27_R

Bit 27 - Interrupt Mask on line 27

Source

pub fn mr28(&self) -> MR28_R

Bit 28 - Interrupt Mask on line 28

Source

pub fn mr29(&self) -> MR29_R

Bit 29 - Interrupt Mask on line 29

Source

pub fn mr30(&self) -> MR30_R

Bit 30 - Interrupt Mask on line 30

Source

pub fn mr31(&self) -> MR31_R

Bit 31 - Interrupt Mask on line 31

Source§

impl R<bool, MR0_A>

Source

pub fn variant(&self) -> MR0_A

Get enumerated values variant

Source

pub fn is_masked(&self) -> bool

Checks if the value of the field is MASKED

Source

pub fn is_unmasked(&self) -> bool

Checks if the value of the field is UNMASKED

Source§

impl R<u32, Reg<u32, _EMR1>>

Source

pub fn mr0(&self) -> MR0_R

Bit 0 - Event Mask on line 0

Source

pub fn mr1(&self) -> MR1_R

Bit 1 - Event Mask on line 1

Source

pub fn mr2(&self) -> MR2_R

Bit 2 - Event Mask on line 2

Source

pub fn mr3(&self) -> MR3_R

Bit 3 - Event Mask on line 3

Source

pub fn mr4(&self) -> MR4_R

Bit 4 - Event Mask on line 4

Source

pub fn mr5(&self) -> MR5_R

Bit 5 - Event Mask on line 5

Source

pub fn mr6(&self) -> MR6_R

Bit 6 - Event Mask on line 6

Source

pub fn mr7(&self) -> MR7_R

Bit 7 - Event Mask on line 7

Source

pub fn mr8(&self) -> MR8_R

Bit 8 - Event Mask on line 8

Source

pub fn mr9(&self) -> MR9_R

Bit 9 - Event Mask on line 9

Source

pub fn mr10(&self) -> MR10_R

Bit 10 - Event Mask on line 10

Source

pub fn mr11(&self) -> MR11_R

Bit 11 - Event Mask on line 11

Source

pub fn mr12(&self) -> MR12_R

Bit 12 - Event Mask on line 12

Source

pub fn mr13(&self) -> MR13_R

Bit 13 - Event Mask on line 13

Source

pub fn mr14(&self) -> MR14_R

Bit 14 - Event Mask on line 14

Source

pub fn mr15(&self) -> MR15_R

Bit 15 - Event Mask on line 15

Source

pub fn mr16(&self) -> MR16_R

Bit 16 - Event Mask on line 16

Source

pub fn mr17(&self) -> MR17_R

Bit 17 - Event Mask on line 17

Source

pub fn mr18(&self) -> MR18_R

Bit 18 - Event Mask on line 18

Source

pub fn mr19(&self) -> MR19_R

Bit 19 - Event Mask on line 19

Source

pub fn mr20(&self) -> MR20_R

Bit 20 - Event Mask on line 20

Source

pub fn mr21(&self) -> MR21_R

Bit 21 - Event Mask on line 21

Source

pub fn mr22(&self) -> MR22_R

Bit 22 - Event Mask on line 22

Source

pub fn mr23(&self) -> MR23_R

Bit 23 - Event Mask on line 23

Source

pub fn mr24(&self) -> MR24_R

Bit 24 - Event Mask on line 24

Source

pub fn mr25(&self) -> MR25_R

Bit 25 - Event Mask on line 25

Source

pub fn mr26(&self) -> MR26_R

Bit 26 - Event Mask on line 26

Source

pub fn mr27(&self) -> MR27_R

Bit 27 - Event Mask on line 27

Source

pub fn mr28(&self) -> MR28_R

Bit 28 - Event Mask on line 28

Source

pub fn mr29(&self) -> MR29_R

Bit 29 - Event Mask on line 29

Source

pub fn mr30(&self) -> MR30_R

Bit 30 - Event Mask on line 30

Source

pub fn mr31(&self) -> MR31_R

Bit 31 - Event Mask on line 31

Source§

impl R<bool, TR0_A>

Source

pub fn variant(&self) -> TR0_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<u32, Reg<u32, _RTSR1>>

Source

pub fn tr0(&self) -> TR0_R

Bit 0 - Rising trigger event configuration of line 0

Source

pub fn tr1(&self) -> TR1_R

Bit 1 - Rising trigger event configuration of line 1

Source

pub fn tr2(&self) -> TR2_R

Bit 2 - Rising trigger event configuration of line 2

Source

pub fn tr3(&self) -> TR3_R

Bit 3 - Rising trigger event configuration of line 3

Source

pub fn tr4(&self) -> TR4_R

Bit 4 - Rising trigger event configuration of line 4

Source

pub fn tr5(&self) -> TR5_R

Bit 5 - Rising trigger event configuration of line 5

Source

pub fn tr6(&self) -> TR6_R

Bit 6 - Rising trigger event configuration of line 6

Source

pub fn tr7(&self) -> TR7_R

Bit 7 - Rising trigger event configuration of line 7

Source

pub fn tr8(&self) -> TR8_R

Bit 8 - Rising trigger event configuration of line 8

Source

pub fn tr9(&self) -> TR9_R

Bit 9 - Rising trigger event configuration of line 9

Source

pub fn tr10(&self) -> TR10_R

Bit 10 - Rising trigger event configuration of line 10

Source

pub fn tr11(&self) -> TR11_R

Bit 11 - Rising trigger event configuration of line 11

Source

pub fn tr12(&self) -> TR12_R

Bit 12 - Rising trigger event configuration of line 12

Source

pub fn tr13(&self) -> TR13_R

Bit 13 - Rising trigger event configuration of line 13

Source

pub fn tr14(&self) -> TR14_R

Bit 14 - Rising trigger event configuration of line 14

Source

pub fn tr15(&self) -> TR15_R

Bit 15 - Rising trigger event configuration of line 15

Source

pub fn tr16(&self) -> TR16_R

Bit 16 - Rising trigger event configuration of line 16

Source

pub fn tr18(&self) -> TR18_R

Bit 18 - Rising trigger event configuration of line 18

Source

pub fn tr19(&self) -> TR19_R

Bit 19 - Rising trigger event configuration of line 19

Source

pub fn tr20(&self) -> TR20_R

Bit 20 - Rising trigger event configuration of line 20

Source

pub fn tr21(&self) -> TR21_R

Bit 21 - Rising trigger event configuration of line 21

Source

pub fn tr22(&self) -> TR22_R

Bit 22 - Rising trigger event configuration of line 22

Source§

impl R<bool, TR0_A>

Source

pub fn variant(&self) -> TR0_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<u32, Reg<u32, _FTSR1>>

Source

pub fn tr0(&self) -> TR0_R

Bit 0 - Falling trigger event configuration of line 0

Source

pub fn tr1(&self) -> TR1_R

Bit 1 - Falling trigger event configuration of line 1

Source

pub fn tr2(&self) -> TR2_R

Bit 2 - Falling trigger event configuration of line 2

Source

pub fn tr3(&self) -> TR3_R

Bit 3 - Falling trigger event configuration of line 3

Source

pub fn tr4(&self) -> TR4_R

Bit 4 - Falling trigger event configuration of line 4

Source

pub fn tr5(&self) -> TR5_R

Bit 5 - Falling trigger event configuration of line 5

Source

pub fn tr6(&self) -> TR6_R

Bit 6 - Falling trigger event configuration of line 6

Source

pub fn tr7(&self) -> TR7_R

Bit 7 - Falling trigger event configuration of line 7

Source

pub fn tr8(&self) -> TR8_R

Bit 8 - Falling trigger event configuration of line 8

Source

pub fn tr9(&self) -> TR9_R

Bit 9 - Falling trigger event configuration of line 9

Source

pub fn tr10(&self) -> TR10_R

Bit 10 - Falling trigger event configuration of line 10

Source

pub fn tr11(&self) -> TR11_R

Bit 11 - Falling trigger event configuration of line 11

Source

pub fn tr12(&self) -> TR12_R

Bit 12 - Falling trigger event configuration of line 12

Source

pub fn tr13(&self) -> TR13_R

Bit 13 - Falling trigger event configuration of line 13

Source

pub fn tr14(&self) -> TR14_R

Bit 14 - Falling trigger event configuration of line 14

Source

pub fn tr15(&self) -> TR15_R

Bit 15 - Falling trigger event configuration of line 15

Source

pub fn tr16(&self) -> TR16_R

Bit 16 - Falling trigger event configuration of line 16

Source

pub fn tr18(&self) -> TR18_R

Bit 18 - Falling trigger event configuration of line 18

Source

pub fn tr19(&self) -> TR19_R

Bit 19 - Falling trigger event configuration of line 19

Source

pub fn tr20(&self) -> TR20_R

Bit 20 - Falling trigger event configuration of line 20

Source

pub fn tr21(&self) -> TR21_R

Bit 21 - Falling trigger event configuration of line 21

Source

pub fn tr22(&self) -> TR22_R

Bit 22 - Falling trigger event configuration of line 22

Source§

impl R<bool, SWIER0_A>

Source

pub fn variant(&self) -> Variant<bool, SWIER0_A>

Get enumerated values variant

Source

pub fn is_pend(&self) -> bool

Checks if the value of the field is PEND

Source§

impl R<u32, Reg<u32, _SWIER1>>

Source

pub fn swier0(&self) -> SWIER0_R

Bit 0 - Software Interrupt on line 0

Source

pub fn swier1(&self) -> SWIER1_R

Bit 1 - Software Interrupt on line 1

Source

pub fn swier2(&self) -> SWIER2_R

Bit 2 - Software Interrupt on line 2

Source

pub fn swier3(&self) -> SWIER3_R

Bit 3 - Software Interrupt on line 3

Source

pub fn swier4(&self) -> SWIER4_R

Bit 4 - Software Interrupt on line 4

Source

pub fn swier5(&self) -> SWIER5_R

Bit 5 - Software Interrupt on line 5

Source

pub fn swier6(&self) -> SWIER6_R

Bit 6 - Software Interrupt on line 6

Source

pub fn swier7(&self) -> SWIER7_R

Bit 7 - Software Interrupt on line 7

Source

pub fn swier8(&self) -> SWIER8_R

Bit 8 - Software Interrupt on line 8

Source

pub fn swier9(&self) -> SWIER9_R

Bit 9 - Software Interrupt on line 9

Source

pub fn swier10(&self) -> SWIER10_R

Bit 10 - Software Interrupt on line 10

Source

pub fn swier11(&self) -> SWIER11_R

Bit 11 - Software Interrupt on line 11

Source

pub fn swier12(&self) -> SWIER12_R

Bit 12 - Software Interrupt on line 12

Source

pub fn swier13(&self) -> SWIER13_R

Bit 13 - Software Interrupt on line 13

Source

pub fn swier14(&self) -> SWIER14_R

Bit 14 - Software Interrupt on line 14

Source

pub fn swier15(&self) -> SWIER15_R

Bit 15 - Software Interrupt on line 15

Source

pub fn swier16(&self) -> SWIER16_R

Bit 16 - Software Interrupt on line 16

Source

pub fn swier18(&self) -> SWIER18_R

Bit 18 - Software Interrupt on line 18

Source

pub fn swier19(&self) -> SWIER19_R

Bit 19 - Software Interrupt on line 19

Source

pub fn swier20(&self) -> SWIER20_R

Bit 20 - Software Interrupt on line 20

Source

pub fn swier21(&self) -> SWIER21_R

Bit 21 - Software Interrupt on line 21

Source

pub fn swier22(&self) -> SWIER22_R

Bit 22 - Software Interrupt on line 22

Source§

impl R<bool, PR0_A>

Source

pub fn variant(&self) -> PR0_A

Get enumerated values variant

Source

pub fn is_not_pending(&self) -> bool

Checks if the value of the field is NOTPENDING

Source

pub fn is_pending(&self) -> bool

Checks if the value of the field is PENDING

Source§

impl R<u32, Reg<u32, _PR1>>

Source

pub fn pr0(&self) -> PR0_R

Bit 0 - Pending bit 0

Source

pub fn pr1(&self) -> PR1_R

Bit 1 - Pending bit 1

Source

pub fn pr2(&self) -> PR2_R

Bit 2 - Pending bit 2

Source

pub fn pr3(&self) -> PR3_R

Bit 3 - Pending bit 3

Source

pub fn pr4(&self) -> PR4_R

Bit 4 - Pending bit 4

Source

pub fn pr5(&self) -> PR5_R

Bit 5 - Pending bit 5

Source

pub fn pr6(&self) -> PR6_R

Bit 6 - Pending bit 6

Source

pub fn pr7(&self) -> PR7_R

Bit 7 - Pending bit 7

Source

pub fn pr8(&self) -> PR8_R

Bit 8 - Pending bit 8

Source

pub fn pr9(&self) -> PR9_R

Bit 9 - Pending bit 9

Source

pub fn pr10(&self) -> PR10_R

Bit 10 - Pending bit 10

Source

pub fn pr11(&self) -> PR11_R

Bit 11 - Pending bit 11

Source

pub fn pr12(&self) -> PR12_R

Bit 12 - Pending bit 12

Source

pub fn pr13(&self) -> PR13_R

Bit 13 - Pending bit 13

Source

pub fn pr14(&self) -> PR14_R

Bit 14 - Pending bit 14

Source

pub fn pr15(&self) -> PR15_R

Bit 15 - Pending bit 15

Source

pub fn pr16(&self) -> PR16_R

Bit 16 - Pending bit 16

Source

pub fn pr18(&self) -> PR18_R

Bit 18 - Pending bit 18

Source

pub fn pr19(&self) -> PR19_R

Bit 19 - Pending bit 19

Source

pub fn pr20(&self) -> PR20_R

Bit 20 - Pending bit 20

Source

pub fn pr21(&self) -> PR21_R

Bit 21 - Pending bit 21

Source

pub fn pr22(&self) -> PR22_R

Bit 22 - Pending bit 22

Source§

impl R<bool, MR32_A>

Source

pub fn variant(&self) -> MR32_A

Get enumerated values variant

Source

pub fn is_masked(&self) -> bool

Checks if the value of the field is MASKED

Source

pub fn is_unmasked(&self) -> bool

Checks if the value of the field is UNMASKED

Source§

impl R<u32, Reg<u32, _IMR2>>

Source

pub fn mr32(&self) -> MR32_R

Bit 0 - Interrupt Mask on external/internal line 32

Source

pub fn mr33(&self) -> MR33_R

Bit 1 - Interrupt Mask on external/internal line 33

Source

pub fn mr34(&self) -> MR34_R

Bit 2 - Interrupt Mask on external/internal line 34

Source

pub fn mr35(&self) -> MR35_R

Bit 3 - Interrupt Mask on external/internal line 35

Source

pub fn mr36(&self) -> MR36_R

Bit 4 - Interrupt Mask on external/internal line 36

Source

pub fn mr37(&self) -> MR37_R

Bit 5 - Interrupt Mask on external/internal line 37

Source

pub fn mr38(&self) -> MR38_R

Bit 6 - Interrupt Mask on external/internal line 38

Source

pub fn mr39(&self) -> MR39_R

Bit 7 - Interrupt Mask on external/internal line 39

Source§

impl R<bool, MR32_A>

Source

pub fn variant(&self) -> MR32_A

Get enumerated values variant

Source

pub fn is_masked(&self) -> bool

Checks if the value of the field is MASKED

Source

pub fn is_unmasked(&self) -> bool

Checks if the value of the field is UNMASKED

Source§

impl R<u32, Reg<u32, _EMR2>>

Source

pub fn mr32(&self) -> MR32_R

Bit 0 - Event mask on external/internal line 32

Source

pub fn mr33(&self) -> MR33_R

Bit 1 - Event mask on external/internal line 33

Source

pub fn mr34(&self) -> MR34_R

Bit 2 - Event mask on external/internal line 34

Source

pub fn mr35(&self) -> MR35_R

Bit 3 - Event mask on external/internal line 35

Source

pub fn mr36(&self) -> MR36_R

Bit 4 - Event mask on external/internal line 36

Source

pub fn mr37(&self) -> MR37_R

Bit 5 - Event mask on external/internal line 37

Source

pub fn mr38(&self) -> MR38_R

Bit 6 - Event mask on external/internal line 38

Source

pub fn mr39(&self) -> MR39_R

Bit 7 - Event mask on external/internal line 39

Source§

impl R<bool, RT35_A>

Source

pub fn variant(&self) -> RT35_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<u32, Reg<u32, _RTSR2>>

Source

pub fn rt35(&self) -> RT35_R

Bit 3 - Rising trigger event configuration bit of line 35

Source

pub fn rt36(&self) -> RT36_R

Bit 4 - Rising trigger event configuration bit of line 36

Source

pub fn rt37(&self) -> RT37_R

Bit 5 - Rising trigger event configuration bit of line 37

Source

pub fn rt38(&self) -> RT38_R

Bit 6 - Rising trigger event configuration bit of line 38

Source§

impl R<bool, FT35_A>

Source

pub fn variant(&self) -> FT35_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<u32, Reg<u32, _FTSR2>>

Source

pub fn ft35(&self) -> FT35_R

Bit 3 - Falling trigger event configuration bit of line 35

Source

pub fn ft36(&self) -> FT36_R

Bit 4 - Falling trigger event configuration bit of line 36

Source

pub fn ft37(&self) -> FT37_R

Bit 5 - Falling trigger event configuration bit of line 37

Source

pub fn ft38(&self) -> FT38_R

Bit 6 - Falling trigger event configuration bit of line 38

Source§

impl R<bool, SWI35_A>

Source

pub fn variant(&self) -> Variant<bool, SWI35_A>

Get enumerated values variant

Source

pub fn is_pend(&self) -> bool

Checks if the value of the field is PEND

Source§

impl R<u32, Reg<u32, _SWIER2>>

Source

pub fn swi35(&self) -> SWI35_R

Bit 3 - Software interrupt on line 35

Source

pub fn swi36(&self) -> SWI36_R

Bit 4 - Software interrupt on line 36

Source

pub fn swi37(&self) -> SWI37_R

Bit 5 - Software interrupt on line 37

Source

pub fn swi38(&self) -> SWI38_R

Bit 6 - Software interrupt on line 38

Source§

impl R<bool, PIF35_A>

Source

pub fn variant(&self) -> PIF35_A

Get enumerated values variant

Source

pub fn is_not_pending(&self) -> bool

Checks if the value of the field is NOTPENDING

Source

pub fn is_pending(&self) -> bool

Checks if the value of the field is PENDING

Source§

impl R<u32, Reg<u32, _PR2>>

Source

pub fn pif35(&self) -> PIF35_R

Bit 3 - Pending interrupt flag on line 35

Source

pub fn pif36(&self) -> PIF36_R

Bit 4 - Pending interrupt flag on line 36

Source

pub fn pif37(&self) -> PIF37_R

Bit 5 - Pending interrupt flag on line 37

Source

pub fn pif38(&self) -> PIF38_R

Bit 6 - Pending interrupt flag on line 38

Source§

impl R<u32, Reg<u32, _CSR>>

Source

pub fn envr(&self) -> ENVR_R

Bit 0 - Voltage reference buffer enable

Source

pub fn hiz(&self) -> HIZ_R

Bit 1 - High impedance mode

Source

pub fn vrs(&self) -> VRS_R

Bit 2 - Voltage reference scale

Source

pub fn vrr(&self) -> VRR_R

Bit 3 - Voltage reference buffer ready

Source§

impl R<u32, Reg<u32, _CCR>>

Source

pub fn trim(&self) -> TRIM_R

Bits 0:5 - Trimming code

Source§

impl R<bool, IDE_A>

Source

pub fn variant(&self) -> IDE_A

Get enumerated values variant

Source

pub fn is_standard(&self) -> bool

Checks if the value of the field is STANDARD

Source

pub fn is_extended(&self) -> bool

Checks if the value of the field is EXTENDED

Source§

impl R<bool, RTR_A>

Source

pub fn variant(&self) -> RTR_A

Get enumerated values variant

Source

pub fn is_data(&self) -> bool

Checks if the value of the field is DATA

Source

pub fn is_remote(&self) -> bool

Checks if the value of the field is REMOTE

Source§

impl R<u32, Reg<u32, _TIR>>

Source

pub fn stid(&self) -> STID_R

Bits 21:31 - STID

Source

pub fn exid(&self) -> EXID_R

Bits 3:20 - EXID

Source

pub fn ide(&self) -> IDE_R

Bit 2 - IDE

Source

pub fn rtr(&self) -> RTR_R

Bit 1 - RTR

Source

pub fn txrq(&self) -> TXRQ_R

Bit 0 - TXRQ

Source§

impl R<u32, Reg<u32, _TDTR>>

Source

pub fn time(&self) -> TIME_R

Bits 16:31 - TIME

Source

pub fn tgt(&self) -> TGT_R

Bit 8 - TGT

Source

pub fn dlc(&self) -> DLC_R

Bits 0:3 - DLC

Source§

impl R<u32, Reg<u32, _TDLR>>

Source

pub fn data3(&self) -> DATA3_R

Bits 24:31 - DATA3

Source

pub fn data2(&self) -> DATA2_R

Bits 16:23 - DATA2

Source

pub fn data1(&self) -> DATA1_R

Bits 8:15 - DATA1

Source

pub fn data0(&self) -> DATA0_R

Bits 0:7 - DATA0

Source§

impl R<u32, Reg<u32, _TDHR>>

Source

pub fn data7(&self) -> DATA7_R

Bits 24:31 - DATA7

Source

pub fn data6(&self) -> DATA6_R

Bits 16:23 - DATA6

Source

pub fn data5(&self) -> DATA5_R

Bits 8:15 - DATA5

Source

pub fn data4(&self) -> DATA4_R

Bits 0:7 - DATA4

Source§

impl R<bool, IDE_A>

Source

pub fn variant(&self) -> IDE_A

Get enumerated values variant

Source

pub fn is_standard(&self) -> bool

Checks if the value of the field is STANDARD

Source

pub fn is_extended(&self) -> bool

Checks if the value of the field is EXTENDED

Source§

impl R<bool, RTR_A>

Source

pub fn variant(&self) -> RTR_A

Get enumerated values variant

Source

pub fn is_data(&self) -> bool

Checks if the value of the field is DATA

Source

pub fn is_remote(&self) -> bool

Checks if the value of the field is REMOTE

Source§

impl R<u32, Reg<u32, _RIR>>

Source

pub fn stid(&self) -> STID_R

Bits 21:31 - STID

Source

pub fn exid(&self) -> EXID_R

Bits 3:20 - EXID

Source

pub fn ide(&self) -> IDE_R

Bit 2 - IDE

Source

pub fn rtr(&self) -> RTR_R

Bit 1 - RTR

Source§

impl R<u32, Reg<u32, _RDTR>>

Source

pub fn time(&self) -> TIME_R

Bits 16:31 - TIME

Source

pub fn fmi(&self) -> FMI_R

Bits 8:15 - FMI

Source

pub fn dlc(&self) -> DLC_R

Bits 0:3 - DLC

Source§

impl R<u32, Reg<u32, _RDLR>>

Source

pub fn data3(&self) -> DATA3_R

Bits 24:31 - DATA3

Source

pub fn data2(&self) -> DATA2_R

Bits 16:23 - DATA2

Source

pub fn data1(&self) -> DATA1_R

Bits 8:15 - DATA1

Source

pub fn data0(&self) -> DATA0_R

Bits 0:7 - DATA0

Source§

impl R<u32, Reg<u32, _RDHR>>

Source

pub fn data7(&self) -> DATA7_R

Bits 24:31 - DATA7

Source

pub fn data6(&self) -> DATA6_R

Bits 16:23 - DATA6

Source

pub fn data5(&self) -> DATA5_R

Bits 8:15 - DATA5

Source

pub fn data4(&self) -> DATA4_R

Bits 0:7 - DATA4

Source§

impl R<u32, Reg<u32, _FR1>>

Source

pub fn fb(&self) -> FB_R

Bits 0:31 - Filter bits

Source§

impl R<u32, Reg<u32, _FR2>>

Source

pub fn fb(&self) -> FB_R

Bits 0:31 - Filter bits

Source§

impl R<u32, Reg<u32, _MCR>>

Source

pub fn dbf(&self) -> DBF_R

Bit 16 - DBF

Source

pub fn reset(&self) -> RESET_R

Bit 15 - RESET

Source

pub fn ttcm(&self) -> TTCM_R

Bit 7 - TTCM

Source

pub fn abom(&self) -> ABOM_R

Bit 6 - ABOM

Source

pub fn awum(&self) -> AWUM_R

Bit 5 - AWUM

Source

pub fn nart(&self) -> NART_R

Bit 4 - NART

Source

pub fn rflm(&self) -> RFLM_R

Bit 3 - RFLM

Source

pub fn txfp(&self) -> TXFP_R

Bit 2 - TXFP

Source

pub fn sleep(&self) -> SLEEP_R

Bit 1 - SLEEP

Source

pub fn inrq(&self) -> INRQ_R

Bit 0 - INRQ

Source§

impl R<u32, Reg<u32, _MSR>>

Source

pub fn rx(&self) -> RX_R

Bit 11 - RX

Source

pub fn samp(&self) -> SAMP_R

Bit 10 - SAMP

Source

pub fn rxm(&self) -> RXM_R

Bit 9 - RXM

Source

pub fn txm(&self) -> TXM_R

Bit 8 - TXM

Source

pub fn slaki(&self) -> SLAKI_R

Bit 4 - SLAKI

Source

pub fn wkui(&self) -> WKUI_R

Bit 3 - WKUI

Source

pub fn erri(&self) -> ERRI_R

Bit 2 - ERRI

Source

pub fn slak(&self) -> SLAK_R

Bit 1 - SLAK

Source

pub fn inak(&self) -> INAK_R

Bit 0 - INAK

Source§

impl R<u32, Reg<u32, _TSR>>

Source

pub fn low2(&self) -> LOW2_R

Bit 31 - Lowest priority flag for mailbox 2

Source

pub fn low1(&self) -> LOW1_R

Bit 30 - Lowest priority flag for mailbox 1

Source

pub fn low0(&self) -> LOW0_R

Bit 29 - Lowest priority flag for mailbox 0

Source

pub fn tme2(&self) -> TME2_R

Bit 28 - Lowest priority flag for mailbox 2

Source

pub fn tme1(&self) -> TME1_R

Bit 27 - Lowest priority flag for mailbox 1

Source

pub fn tme0(&self) -> TME0_R

Bit 26 - Lowest priority flag for mailbox 0

Source

pub fn code(&self) -> CODE_R

Bits 24:25 - CODE

Source

pub fn abrq2(&self) -> ABRQ2_R

Bit 23 - ABRQ2

Source

pub fn terr2(&self) -> TERR2_R

Bit 19 - TERR2

Source

pub fn alst2(&self) -> ALST2_R

Bit 18 - ALST2

Source

pub fn txok2(&self) -> TXOK2_R

Bit 17 - TXOK2

Source

pub fn rqcp2(&self) -> RQCP2_R

Bit 16 - RQCP2

Source

pub fn abrq1(&self) -> ABRQ1_R

Bit 15 - ABRQ1

Source

pub fn terr1(&self) -> TERR1_R

Bit 11 - TERR1

Source

pub fn alst1(&self) -> ALST1_R

Bit 10 - ALST1

Source

pub fn txok1(&self) -> TXOK1_R

Bit 9 - TXOK1

Source

pub fn rqcp1(&self) -> RQCP1_R

Bit 8 - RQCP1

Source

pub fn abrq0(&self) -> ABRQ0_R

Bit 7 - ABRQ0

Source

pub fn terr0(&self) -> TERR0_R

Bit 3 - TERR0

Source

pub fn alst0(&self) -> ALST0_R

Bit 2 - ALST0

Source

pub fn txok0(&self) -> TXOK0_R

Bit 1 - TXOK0

Source

pub fn rqcp0(&self) -> RQCP0_R

Bit 0 - RQCP0

Source§

impl R<bool, RFOM_A>

Source

pub fn variant(&self) -> Variant<bool, RFOM_A>

Get enumerated values variant

Source

pub fn is_release(&self) -> bool

Checks if the value of the field is RELEASE

Source§

impl R<bool, FOVR_A>

Source

pub fn variant(&self) -> FOVR_A

Get enumerated values variant

Source

pub fn is_no_overrun(&self) -> bool

Checks if the value of the field is NOOVERRUN

Source

pub fn is_overrun(&self) -> bool

Checks if the value of the field is OVERRUN

Source§

impl R<bool, FULL_A>

Source

pub fn variant(&self) -> FULL_A

Get enumerated values variant

Source

pub fn is_not_full(&self) -> bool

Checks if the value of the field is NOTFULL

Source

pub fn is_full(&self) -> bool

Checks if the value of the field is FULL

Source§

impl R<u32, Reg<u32, _RFR>>

Source

pub fn rfom(&self) -> RFOM_R

Bit 5 - RFOM0

Source

pub fn fovr(&self) -> FOVR_R

Bit 4 - FOVR0

Source

pub fn full(&self) -> FULL_R

Bit 3 - FULL0

Source

pub fn fmp(&self) -> FMP_R

Bits 0:1 - FMP0

Source§

impl R<bool, SLKIE_A>

Source

pub fn variant(&self) -> SLKIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, WKUIE_A>

Source

pub fn variant(&self) -> WKUIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, ERRIE_A>

Source

pub fn variant(&self) -> ERRIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, LECIE_A>

Source

pub fn variant(&self) -> LECIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, BOFIE_A>

Source

pub fn variant(&self) -> BOFIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, EPVIE_A>

Source

pub fn variant(&self) -> EPVIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, EWGIE_A>

Source

pub fn variant(&self) -> EWGIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, FOVIE1_A>

Source

pub fn variant(&self) -> FOVIE1_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, FFIE1_A>

Source

pub fn variant(&self) -> FFIE1_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, FMPIE1_A>

Source

pub fn variant(&self) -> FMPIE1_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, FOVIE0_A>

Source

pub fn variant(&self) -> FOVIE0_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, FFIE0_A>

Source

pub fn variant(&self) -> FFIE0_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, FMPIE0_A>

Source

pub fn variant(&self) -> FMPIE0_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, TMEIE_A>

Source

pub fn variant(&self) -> TMEIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<u32, Reg<u32, _IER>>

Source

pub fn slkie(&self) -> SLKIE_R

Bit 17 - SLKIE

Source

pub fn wkuie(&self) -> WKUIE_R

Bit 16 - WKUIE

Source

pub fn errie(&self) -> ERRIE_R

Bit 15 - ERRIE

Source

pub fn lecie(&self) -> LECIE_R

Bit 11 - LECIE

Source

pub fn bofie(&self) -> BOFIE_R

Bit 10 - BOFIE

Source

pub fn epvie(&self) -> EPVIE_R

Bit 9 - EPVIE

Source

pub fn ewgie(&self) -> EWGIE_R

Bit 8 - EWGIE

Source

pub fn fovie1(&self) -> FOVIE1_R

Bit 6 - FOVIE1

Source

pub fn ffie1(&self) -> FFIE1_R

Bit 5 - FFIE1

Source

pub fn fmpie1(&self) -> FMPIE1_R

Bit 4 - FMPIE1

Source

pub fn fovie0(&self) -> FOVIE0_R

Bit 3 - FOVIE0

Source

pub fn ffie0(&self) -> FFIE0_R

Bit 2 - FFIE0

Source

pub fn fmpie0(&self) -> FMPIE0_R

Bit 1 - FMPIE0

Source

pub fn tmeie(&self) -> TMEIE_R

Bit 0 - TMEIE

Source§

impl R<u8, LEC_A>

Source

pub fn variant(&self) -> LEC_A

Get enumerated values variant

Source

pub fn is_no_error(&self) -> bool

Checks if the value of the field is NOERROR

Source

pub fn is_stuff(&self) -> bool

Checks if the value of the field is STUFF

Source

pub fn is_form(&self) -> bool

Checks if the value of the field is FORM

Source

pub fn is_ack(&self) -> bool

Checks if the value of the field is ACK

Source

pub fn is_bit_recessive(&self) -> bool

Checks if the value of the field is BITRECESSIVE

Source

pub fn is_bit_dominant(&self) -> bool

Checks if the value of the field is BITDOMINANT

Source

pub fn is_crc(&self) -> bool

Checks if the value of the field is CRC

Source

pub fn is_custom(&self) -> bool

Checks if the value of the field is CUSTOM

Source§

impl R<u32, Reg<u32, _ESR>>

Source

pub fn rec(&self) -> REC_R

Bits 24:31 - REC

Source

pub fn tec(&self) -> TEC_R

Bits 16:23 - TEC

Source

pub fn lec(&self) -> LEC_R

Bits 4:6 - LEC

Source

pub fn boff(&self) -> BOFF_R

Bit 2 - BOFF

Source

pub fn epvf(&self) -> EPVF_R

Bit 1 - EPVF

Source

pub fn ewgf(&self) -> EWGF_R

Bit 0 - EWGF

Source§

impl R<bool, SILM_A>

Source

pub fn variant(&self) -> SILM_A

Get enumerated values variant

Source

pub fn is_normal(&self) -> bool

Checks if the value of the field is NORMAL

Source

pub fn is_silent(&self) -> bool

Checks if the value of the field is SILENT

Source§

impl R<bool, LBKM_A>

Source

pub fn variant(&self) -> LBKM_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<u32, Reg<u32, _BTR>>

Source

pub fn silm(&self) -> SILM_R

Bit 31 - SILM

Source

pub fn lbkm(&self) -> LBKM_R

Bit 30 - LBKM

Source

pub fn sjw(&self) -> SJW_R

Bits 24:25 - SJW

Source

pub fn ts2(&self) -> TS2_R

Bits 20:22 - TS2

Source

pub fn ts1(&self) -> TS1_R

Bits 16:19 - TS1

Source

pub fn brp(&self) -> BRP_R

Bits 0:9 - BRP

Source§

impl R<u32, Reg<u32, _FMR>>

Source

pub fn finit(&self) -> FINIT_R

Bit 0 - Filter initialization mode

Source§

impl R<u32, Reg<u32, _FM1R>>

Source

pub fn fbm0(&self) -> FBM0_R

Bit 0 - Filter mode

Source

pub fn fbm1(&self) -> FBM1_R

Bit 1 - Filter mode

Source

pub fn fbm2(&self) -> FBM2_R

Bit 2 - Filter mode

Source

pub fn fbm3(&self) -> FBM3_R

Bit 3 - Filter mode

Source

pub fn fbm4(&self) -> FBM4_R

Bit 4 - Filter mode

Source

pub fn fbm5(&self) -> FBM5_R

Bit 5 - Filter mode

Source

pub fn fbm6(&self) -> FBM6_R

Bit 6 - Filter mode

Source

pub fn fbm7(&self) -> FBM7_R

Bit 7 - Filter mode

Source

pub fn fbm8(&self) -> FBM8_R

Bit 8 - Filter mode

Source

pub fn fbm9(&self) -> FBM9_R

Bit 9 - Filter mode

Source

pub fn fbm10(&self) -> FBM10_R

Bit 10 - Filter mode

Source

pub fn fbm11(&self) -> FBM11_R

Bit 11 - Filter mode

Source

pub fn fbm12(&self) -> FBM12_R

Bit 12 - Filter mode

Source

pub fn fbm13(&self) -> FBM13_R

Bit 13 - Filter mode

Source§

impl R<u32, Reg<u32, _FS1R>>

Source

pub fn fsc0(&self) -> FSC0_R

Bit 0 - Filter scale configuration

Source

pub fn fsc1(&self) -> FSC1_R

Bit 1 - Filter scale configuration

Source

pub fn fsc2(&self) -> FSC2_R

Bit 2 - Filter scale configuration

Source

pub fn fsc3(&self) -> FSC3_R

Bit 3 - Filter scale configuration

Source

pub fn fsc4(&self) -> FSC4_R

Bit 4 - Filter scale configuration

Source

pub fn fsc5(&self) -> FSC5_R

Bit 5 - Filter scale configuration

Source

pub fn fsc6(&self) -> FSC6_R

Bit 6 - Filter scale configuration

Source

pub fn fsc7(&self) -> FSC7_R

Bit 7 - Filter scale configuration

Source

pub fn fsc8(&self) -> FSC8_R

Bit 8 - Filter scale configuration

Source

pub fn fsc9(&self) -> FSC9_R

Bit 9 - Filter scale configuration

Source

pub fn fsc10(&self) -> FSC10_R

Bit 10 - Filter scale configuration

Source

pub fn fsc11(&self) -> FSC11_R

Bit 11 - Filter scale configuration

Source

pub fn fsc12(&self) -> FSC12_R

Bit 12 - Filter scale configuration

Source

pub fn fsc13(&self) -> FSC13_R

Bit 13 - Filter scale configuration

Source§

impl R<u32, Reg<u32, _FFA1R>>

Source

pub fn ffa0(&self) -> FFA0_R

Bit 0 - Filter FIFO assignment for filter 0

Source

pub fn ffa1(&self) -> FFA1_R

Bit 1 - Filter FIFO assignment for filter 1

Source

pub fn ffa2(&self) -> FFA2_R

Bit 2 - Filter FIFO assignment for filter 2

Source

pub fn ffa3(&self) -> FFA3_R

Bit 3 - Filter FIFO assignment for filter 3

Source

pub fn ffa4(&self) -> FFA4_R

Bit 4 - Filter FIFO assignment for filter 4

Source

pub fn ffa5(&self) -> FFA5_R

Bit 5 - Filter FIFO assignment for filter 5

Source

pub fn ffa6(&self) -> FFA6_R

Bit 6 - Filter FIFO assignment for filter 6

Source

pub fn ffa7(&self) -> FFA7_R

Bit 7 - Filter FIFO assignment for filter 7

Source

pub fn ffa8(&self) -> FFA8_R

Bit 8 - Filter FIFO assignment for filter 8

Source

pub fn ffa9(&self) -> FFA9_R

Bit 9 - Filter FIFO assignment for filter 9

Source

pub fn ffa10(&self) -> FFA10_R

Bit 10 - Filter FIFO assignment for filter 10

Source

pub fn ffa11(&self) -> FFA11_R

Bit 11 - Filter FIFO assignment for filter 11

Source

pub fn ffa12(&self) -> FFA12_R

Bit 12 - Filter FIFO assignment for filter 12

Source

pub fn ffa13(&self) -> FFA13_R

Bit 13 - Filter FIFO assignment for filter 13

Source§

impl R<u32, Reg<u32, _FA1R>>

Source

pub fn fact0(&self) -> FACT0_R

Bit 0 - Filter active

Source

pub fn fact1(&self) -> FACT1_R

Bit 1 - Filter active

Source

pub fn fact2(&self) -> FACT2_R

Bit 2 - Filter active

Source

pub fn fact3(&self) -> FACT3_R

Bit 3 - Filter active

Source

pub fn fact4(&self) -> FACT4_R

Bit 4 - Filter active

Source

pub fn fact5(&self) -> FACT5_R

Bit 5 - Filter active

Source

pub fn fact6(&self) -> FACT6_R

Bit 6 - Filter active

Source

pub fn fact7(&self) -> FACT7_R

Bit 7 - Filter active

Source

pub fn fact8(&self) -> FACT8_R

Bit 8 - Filter active

Source

pub fn fact9(&self) -> FACT9_R

Bit 9 - Filter active

Source

pub fn fact10(&self) -> FACT10_R

Bit 10 - Filter active

Source

pub fn fact11(&self) -> FACT11_R

Bit 11 - Filter active

Source

pub fn fact12(&self) -> FACT12_R

Bit 12 - Filter active

Source

pub fn fact13(&self) -> FACT13_R

Bit 13 - Filter active

Source§

impl R<u32, Reg<u32, _TR>>

Source

pub fn pm(&self) -> PM_R

Bit 22 - AM/PM notation

Source

pub fn ht(&self) -> HT_R

Bits 20:21 - Hour tens in BCD format

Source

pub fn hu(&self) -> HU_R

Bits 16:19 - Hour units in BCD format

Source

pub fn mnt(&self) -> MNT_R

Bits 12:14 - Minute tens in BCD format

Source

pub fn mnu(&self) -> MNU_R

Bits 8:11 - Minute units in BCD format

Source

pub fn st(&self) -> ST_R

Bits 4:6 - Second tens in BCD format

Source

pub fn su(&self) -> SU_R

Bits 0:3 - Second units in BCD format

Source§

impl R<u32, Reg<u32, _DR>>

Source

pub fn yt(&self) -> YT_R

Bits 20:23 - Year tens in BCD format

Source

pub fn yu(&self) -> YU_R

Bits 16:19 - Year units in BCD format

Source

pub fn wdu(&self) -> WDU_R

Bits 13:15 - Week day units

Source

pub fn mt(&self) -> MT_R

Bit 12 - Month tens in BCD format

Source

pub fn mu(&self) -> MU_R

Bits 8:11 - Month units in BCD format

Source

pub fn dt(&self) -> DT_R

Bits 4:5 - Date tens in BCD format

Source

pub fn du(&self) -> DU_R

Bits 0:3 - Date units in BCD format

Source§

impl R<u32, Reg<u32, _CR>>

Source

pub fn wucksel(&self) -> WUCKSEL_R

Bits 0:2 - Wakeup clock selection

Source

pub fn tsedge(&self) -> TSEDGE_R

Bit 3 - Time-stamp event active edge

Source

pub fn refckon(&self) -> REFCKON_R

Bit 4 - Reference clock detection enable (50 or 60 Hz)

Source

pub fn bypshad(&self) -> BYPSHAD_R

Bit 5 - Bypass the shadow registers

Source

pub fn fmt(&self) -> FMT_R

Bit 6 - Hour format

Source

pub fn alrae(&self) -> ALRAE_R

Bit 8 - Alarm A enable

Source

pub fn alrbe(&self) -> ALRBE_R

Bit 9 - Alarm B enable

Source

pub fn wute(&self) -> WUTE_R

Bit 10 - Wakeup timer enable

Source

pub fn tse(&self) -> TSE_R

Bit 11 - Time stamp enable

Source

pub fn alraie(&self) -> ALRAIE_R

Bit 12 - Alarm A interrupt enable

Source

pub fn alrbie(&self) -> ALRBIE_R

Bit 13 - Alarm B interrupt enable

Source

pub fn wutie(&self) -> WUTIE_R

Bit 14 - Wakeup timer interrupt enable

Source

pub fn tsie(&self) -> TSIE_R

Bit 15 - Time-stamp interrupt enable

Source

pub fn add1h(&self) -> ADD1H_R

Bit 16 - Add 1 hour (summer time change)

Source

pub fn sub1h(&self) -> SUB1H_R

Bit 17 - Subtract 1 hour (winter time change)

Source

pub fn bkp(&self) -> BKP_R

Bit 18 - Backup

Source

pub fn cosel(&self) -> COSEL_R

Bit 19 - Calibration output selection

Source

pub fn pol(&self) -> POL_R

Bit 20 - Output polarity

Source

pub fn osel(&self) -> OSEL_R

Bits 21:22 - Output selection

Source

pub fn coe(&self) -> COE_R

Bit 23 - Calibration output enable

Source

pub fn itse(&self) -> ITSE_R

Bit 24 - timestamp on internal event enable

Source§

impl R<u32, Reg<u32, _ISR>>

Source

pub fn alrawf(&self) -> ALRAWF_R

Bit 0 - Alarm A write flag

Source

pub fn alrbwf(&self) -> ALRBWF_R

Bit 1 - Alarm B write flag

Source

pub fn wutwf(&self) -> WUTWF_R

Bit 2 - Wakeup timer write flag

Source

pub fn shpf(&self) -> SHPF_R

Bit 3 - Shift operation pending

Source

pub fn inits(&self) -> INITS_R

Bit 4 - Initialization status flag

Source

pub fn rsf(&self) -> RSF_R

Bit 5 - Registers synchronization flag

Source

pub fn initf(&self) -> INITF_R

Bit 6 - Initialization flag

Source

pub fn init(&self) -> INIT_R

Bit 7 - Initialization mode

Source

pub fn alraf(&self) -> ALRAF_R

Bit 8 - Alarm A flag

Source

pub fn alrbf(&self) -> ALRBF_R

Bit 9 - Alarm B flag

Source

pub fn wutf(&self) -> WUTF_R

Bit 10 - Wakeup timer flag

Source

pub fn tsf(&self) -> TSF_R

Bit 11 - Time-stamp flag

Source

pub fn tsovf(&self) -> TSOVF_R

Bit 12 - Time-stamp overflow flag

Source

pub fn tamp1f(&self) -> TAMP1F_R

Bit 13 - Tamper detection flag

Source

pub fn tamp2f(&self) -> TAMP2F_R

Bit 14 - RTC_TAMP2 detection flag

Source

pub fn tamp3f(&self) -> TAMP3F_R

Bit 15 - RTC_TAMP3 detection flag

Source

pub fn recalpf(&self) -> RECALPF_R

Bit 16 - Recalibration pending Flag

Source§

impl R<u32, Reg<u32, _PRER>>

Source

pub fn prediv_a(&self) -> PREDIV_A_R

Bits 16:22 - Asynchronous prescaler factor

Source

pub fn prediv_s(&self) -> PREDIV_S_R

Bits 0:14 - Synchronous prescaler factor

Source§

impl R<u32, Reg<u32, _WUTR>>

Source

pub fn wut(&self) -> WUT_R

Bits 0:15 - Wakeup auto-reload value bits

Source§

impl R<u32, Reg<u32, _ALRMAR>>

Source

pub fn msk4(&self) -> MSK4_R

Bit 31 - Alarm A date mask

Source

pub fn wdsel(&self) -> WDSEL_R

Bit 30 - Week day selection

Source

pub fn dt(&self) -> DT_R

Bits 28:29 - Date tens in BCD format

Source

pub fn du(&self) -> DU_R

Bits 24:27 - Date units or day in BCD format

Source

pub fn msk3(&self) -> MSK3_R

Bit 23 - Alarm A hours mask

Source

pub fn pm(&self) -> PM_R

Bit 22 - AM/PM notation

Source

pub fn ht(&self) -> HT_R

Bits 20:21 - Hour tens in BCD format

Source

pub fn hu(&self) -> HU_R

Bits 16:19 - Hour units in BCD format

Source

pub fn msk2(&self) -> MSK2_R

Bit 15 - Alarm A minutes mask

Source

pub fn mnt(&self) -> MNT_R

Bits 12:14 - Minute tens in BCD format

Source

pub fn mnu(&self) -> MNU_R

Bits 8:11 - Minute units in BCD format

Source

pub fn msk1(&self) -> MSK1_R

Bit 7 - Alarm A seconds mask

Source

pub fn st(&self) -> ST_R

Bits 4:6 - Second tens in BCD format

Source

pub fn su(&self) -> SU_R

Bits 0:3 - Second units in BCD format

Source§

impl R<u32, Reg<u32, _ALRMBR>>

Source

pub fn msk4(&self) -> MSK4_R

Bit 31 - Alarm B date mask

Source

pub fn wdsel(&self) -> WDSEL_R

Bit 30 - Week day selection

Source

pub fn dt(&self) -> DT_R

Bits 28:29 - Date tens in BCD format

Source

pub fn du(&self) -> DU_R

Bits 24:27 - Date units or day in BCD format

Source

pub fn msk3(&self) -> MSK3_R

Bit 23 - Alarm B hours mask

Source

pub fn pm(&self) -> PM_R

Bit 22 - AM/PM notation

Source

pub fn ht(&self) -> HT_R

Bits 20:21 - Hour tens in BCD format

Source

pub fn hu(&self) -> HU_R

Bits 16:19 - Hour units in BCD format

Source

pub fn msk2(&self) -> MSK2_R

Bit 15 - Alarm B minutes mask

Source

pub fn mnt(&self) -> MNT_R

Bits 12:14 - Minute tens in BCD format

Source

pub fn mnu(&self) -> MNU_R

Bits 8:11 - Minute units in BCD format

Source

pub fn msk1(&self) -> MSK1_R

Bit 7 - Alarm B seconds mask

Source

pub fn st(&self) -> ST_R

Bits 4:6 - Second tens in BCD format

Source

pub fn su(&self) -> SU_R

Bits 0:3 - Second units in BCD format

Source§

impl R<u32, Reg<u32, _SSR>>

Source

pub fn ss(&self) -> SS_R

Bits 0:15 - Sub second value

Source§

impl R<u32, Reg<u32, _TSTR>>

Source

pub fn su(&self) -> SU_R

Bits 0:3 - Second units in BCD format

Source

pub fn st(&self) -> ST_R

Bits 4:6 - Second tens in BCD format

Source

pub fn mnu(&self) -> MNU_R

Bits 8:11 - Minute units in BCD format

Source

pub fn mnt(&self) -> MNT_R

Bits 12:14 - Minute tens in BCD format

Source

pub fn hu(&self) -> HU_R

Bits 16:19 - Hour units in BCD format

Source

pub fn ht(&self) -> HT_R

Bits 20:21 - Hour tens in BCD format

Source

pub fn pm(&self) -> PM_R

Bit 22 - AM/PM notation

Source§

impl R<u32, Reg<u32, _TSDR>>

Source

pub fn wdu(&self) -> WDU_R

Bits 13:15 - Week day units

Source

pub fn mt(&self) -> MT_R

Bit 12 - Month tens in BCD format

Source

pub fn mu(&self) -> MU_R

Bits 8:11 - Month units in BCD format

Source

pub fn dt(&self) -> DT_R

Bits 4:5 - Date tens in BCD format

Source

pub fn du(&self) -> DU_R

Bits 0:3 - Date units in BCD format

Source§

impl R<u32, Reg<u32, _TSSSR>>

Source

pub fn ss(&self) -> SS_R

Bits 0:15 - Sub second value

Source§

impl R<u32, Reg<u32, _CALR>>

Source

pub fn calp(&self) -> CALP_R

Bit 15 - Increase frequency of RTC by 488.5 ppm

Source

pub fn calw8(&self) -> CALW8_R

Bit 14 - Use an 8-second calibration cycle period

Source

pub fn calw16(&self) -> CALW16_R

Bit 13 - Use a 16-second calibration cycle period

Source

pub fn calm(&self) -> CALM_R

Bits 0:8 - Calibration minus

Source§

impl R<u32, Reg<u32, _TAMPCR>>

Source

pub fn tamp1e(&self) -> TAMP1E_R

Bit 0 - Tamper 1 detection enable

Source

pub fn tamp1trg(&self) -> TAMP1TRG_R

Bit 1 - Active level for tamper 1

Source

pub fn tampie(&self) -> TAMPIE_R

Bit 2 - Tamper interrupt enable

Source

pub fn tamp2e(&self) -> TAMP2E_R

Bit 3 - Tamper 2 detection enable

Source

pub fn tamp2trg(&self) -> TAMP2TRG_R

Bit 4 - Active level for tamper 2

Source

pub fn tamp3e(&self) -> TAMP3E_R

Bit 5 - Tamper 3 detection enable

Source

pub fn tamp3trg(&self) -> TAMP3TRG_R

Bit 6 - Active level for tamper 3

Source

pub fn tampts(&self) -> TAMPTS_R

Bit 7 - Activate timestamp on tamper detection event

Source

pub fn tampfreq(&self) -> TAMPFREQ_R

Bits 8:10 - Tamper sampling frequency

Source

pub fn tampflt(&self) -> TAMPFLT_R

Bits 11:12 - Tamper filter count

Source

pub fn tampprch(&self) -> TAMPPRCH_R

Bits 13:14 - Tamper precharge duration

Source

pub fn tamppudis(&self) -> TAMPPUDIS_R

Bit 15 - TAMPER pull-up disable

Source

pub fn tamp1ie(&self) -> TAMP1IE_R

Bit 16 - Tamper 1 interrupt enable

Source

pub fn tamp1noerase(&self) -> TAMP1NOERASE_R

Bit 17 - Tamper 1 no erase

Source

pub fn tamp1mf(&self) -> TAMP1MF_R

Bit 18 - Tamper 1 mask flag

Source

pub fn tamp2ie(&self) -> TAMP2IE_R

Bit 19 - Tamper 2 interrupt enable

Source

pub fn tamp2noerase(&self) -> TAMP2NOERASE_R

Bit 20 - Tamper 2 no erase

Source

pub fn tamp2mf(&self) -> TAMP2MF_R

Bit 21 - Tamper 2 mask flag

Source

pub fn tamp3ie(&self) -> TAMP3IE_R

Bit 22 - Tamper 3 interrupt enable

Source

pub fn tamp3noerase(&self) -> TAMP3NOERASE_R

Bit 23 - Tamper 3 no erase

Source

pub fn tamp3mf(&self) -> TAMP3MF_R

Bit 24 - Tamper 3 mask flag

Source§

impl R<u32, Reg<u32, _ALRMASSR>>

Source

pub fn maskss(&self) -> MASKSS_R

Bits 24:27 - Mask the most-significant bits starting at this bit

Source

pub fn ss(&self) -> SS_R

Bits 0:14 - Sub seconds value

Source§

impl R<u32, Reg<u32, _ALRMBSSR>>

Source

pub fn maskss(&self) -> MASKSS_R

Bits 24:27 - Mask the most-significant bits starting at this bit

Source

pub fn ss(&self) -> SS_R

Bits 0:14 - Sub seconds value

Source§

impl R<u32, Reg<u32, _OR>>

Source

pub fn rtc_alarm_type(&self) -> RTC_ALARM_TYPE_R

Bit 0 - RTC_ALARM on PC13 output type

Source

pub fn rtc_out_rmp(&self) -> RTC_OUT_RMP_R

Bit 1 - RTC_OUT remap

Source§

impl R<u32, Reg<u32, _BKPR>>

Source

pub fn bkp(&self) -> BKP_R

Bits 0:31 - BKP

Source§

impl R<u32, Reg<u32, _CR>>

Source

pub fn rxdma(&self) -> RXDMA_R

Bit 0 - Reception DMA enable

Source

pub fn txdma(&self) -> TXDMA_R

Bit 1 - Transmission DMA enable

Source

pub fn rxmode(&self) -> RXMODE_R

Bit 2 - Reception buffering mode

Source

pub fn txmode(&self) -> TXMODE_R

Bit 3 - Transmission buffering mode

Source

pub fn lpbk(&self) -> LPBK_R

Bit 4 - Loopback mode enable

Source

pub fn swpme(&self) -> SWPME_R

Bit 5 - Single wire protocol master interface enable

Source

pub fn deact(&self) -> DEACT_R

Bit 10 - Single wire protocol master interface deactivate

Source§

impl R<u32, Reg<u32, _BRR>>

Source

pub fn br(&self) -> BR_R

Bits 0:5 - Bitrate prescaler

Source§

impl R<u32, Reg<u32, _ISR>>

Source

pub fn rxbff(&self) -> RXBFF_R

Bit 0 - Receive buffer full flag

Source

pub fn txbef(&self) -> TXBEF_R

Bit 1 - Transmit buffer empty flag

Source

pub fn rxberf(&self) -> RXBERF_R

Bit 2 - Receive CRC error flag

Source

pub fn rxovrf(&self) -> RXOVRF_R

Bit 3 - Receive overrun error flag

Source

pub fn txunrf(&self) -> TXUNRF_R

Bit 4 - Transmit underrun error flag

Source

pub fn rxne(&self) -> RXNE_R

Bit 5 - Receive data register not empty

Source

pub fn txe(&self) -> TXE_R

Bit 6 - Transmit data register empty

Source

pub fn tcf(&self) -> TCF_R

Bit 7 - Transfer complete flag

Source

pub fn srf(&self) -> SRF_R

Bit 8 - Slave resume flag

Source

pub fn susp(&self) -> SUSP_R

Bit 9 - SUSPEND flag

Source

pub fn deactf(&self) -> DEACTF_R

Bit 10 - DEACTIVATED flag

Source§

impl R<u32, Reg<u32, _IER>>

Source

pub fn rxbfie(&self) -> RXBFIE_R

Bit 0 - Receive buffer full interrupt enable

Source

pub fn txbeie(&self) -> TXBEIE_R

Bit 1 - Transmit buffer empty interrupt enable

Source

pub fn rxberie(&self) -> RXBERIE_R

Bit 2 - Receive CRC error interrupt enable

Source

pub fn rxovrie(&self) -> RXOVRIE_R

Bit 3 - Receive overrun error interrupt enable

Source

pub fn txunrie(&self) -> TXUNRIE_R

Bit 4 - Transmit underrun error interrupt enable

Source

pub fn rie(&self) -> RIE_R

Bit 5 - Receive interrupt enable

Source

pub fn tie(&self) -> TIE_R

Bit 6 - Transmit interrupt enable

Source

pub fn tcie(&self) -> TCIE_R

Bit 7 - Transmit complete interrupt enable

Source

pub fn srie(&self) -> SRIE_R

Bit 8 - Slave resume interrupt enable

Source§

impl R<u32, Reg<u32, _RFL>>

Source

pub fn rfl(&self) -> RFL_R

Bits 0:4 - Receive frame length

Source§

impl R<u32, Reg<u32, _RDR>>

Source

pub fn rd(&self) -> RD_R

Bits 0:31 - received data

Source§

impl R<u32, Reg<u32, _OPAMP1_CSR>>

Source

pub fn opaen(&self) -> OPAEN_R

Bit 0 - Operational amplifier Enable

Source

pub fn opalpm(&self) -> OPALPM_R

Bit 1 - Operational amplifier Low Power Mode

Source

pub fn opamode(&self) -> OPAMODE_R

Bits 2:3 - Operational amplifier PGA mode

Source

pub fn pga_gain(&self) -> PGA_GAIN_R

Bits 4:5 - Operational amplifier Programmable amplifier gain value

Source

pub fn vm_sel(&self) -> VM_SEL_R

Bits 8:9 - Inverting input selection

Source

pub fn vp_sel(&self) -> VP_SEL_R

Bit 10 - Non inverted input selection

Source

pub fn calon(&self) -> CALON_R

Bit 12 - Calibration mode enabled

Source

pub fn calsel(&self) -> CALSEL_R

Bit 13 - Calibration selection

Source

pub fn usertrim(&self) -> USERTRIM_R

Bit 14 - allows to switch from AOP offset trimmed values to AOP offset

Source

pub fn calout(&self) -> CALOUT_R

Bit 15 - Operational amplifier calibration output

Source

pub fn opa_range(&self) -> OPA_RANGE_R

Bit 31 - Operational amplifier power supply range for stability

Source§

impl R<u32, Reg<u32, _OPAMP1_OTR>>

Source

pub fn trimoffsetn(&self) -> TRIMOFFSETN_R

Bits 0:4 - Trim for NMOS differential pairs

Source

pub fn trimoffsetp(&self) -> TRIMOFFSETP_R

Bits 8:12 - Trim for PMOS differential pairs

Source§

impl R<u32, Reg<u32, _OPAMP1_LPOTR>>

Source

pub fn trimlpoffsetn(&self) -> TRIMLPOFFSETN_R

Bits 0:4 - Trim for NMOS differential pairs

Source

pub fn trimlpoffsetp(&self) -> TRIMLPOFFSETP_R

Bits 8:12 - Trim for PMOS differential pairs

Source§

impl R<u32, Reg<u32, _OPAMP2_CSR>>

Source

pub fn opaen(&self) -> OPAEN_R

Bit 0 - Operational amplifier Enable

Source

pub fn opalpm(&self) -> OPALPM_R

Bit 1 - Operational amplifier Low Power Mode

Source

pub fn opamode(&self) -> OPAMODE_R

Bits 2:3 - Operational amplifier PGA mode

Source

pub fn pga_gain(&self) -> PGA_GAIN_R

Bits 4:5 - Operational amplifier Programmable amplifier gain value

Source

pub fn vm_sel(&self) -> VM_SEL_R

Bits 8:9 - Inverting input selection

Source

pub fn vp_sel(&self) -> VP_SEL_R

Bit 10 - Non inverted input selection

Source

pub fn calon(&self) -> CALON_R

Bit 12 - Calibration mode enabled

Source

pub fn calsel(&self) -> CALSEL_R

Bit 13 - Calibration selection

Source

pub fn usertrim(&self) -> USERTRIM_R

Bit 14 - allows to switch from AOP offset trimmed values to AOP offset

Source

pub fn calout(&self) -> CALOUT_R

Bit 15 - Operational amplifier calibration output

Source§

impl R<u32, Reg<u32, _OPAMP2_OTR>>

Source

pub fn trimoffsetn(&self) -> TRIMOFFSETN_R

Bits 0:4 - Trim for NMOS differential pairs

Source

pub fn trimoffsetp(&self) -> TRIMOFFSETP_R

Bits 8:12 - Trim for PMOS differential pairs

Source§

impl R<u32, Reg<u32, _OPAMP2_LPOTR>>

Source

pub fn trimlpoffsetn(&self) -> TRIMLPOFFSETN_R

Bits 0:4 - Trim for NMOS differential pairs

Source

pub fn trimlpoffsetp(&self) -> TRIMLPOFFSETP_R

Bits 8:12 - Trim for PMOS differential pairs

Source§

impl R<u32, Reg<u32, _CR>>

Source

pub fn trim(&self) -> TRIM_R

Bits 8:13 - HSI48 oscillator smooth trimming

Source

pub fn swsync(&self) -> SWSYNC_R

Bit 7 - Generate software SYNC event

Source

pub fn autotrimen(&self) -> AUTOTRIMEN_R

Bit 6 - Automatic trimming enable

Source

pub fn cen(&self) -> CEN_R

Bit 5 - Frequency error counter enable

Source

pub fn esyncie(&self) -> ESYNCIE_R

Bit 3 - Expected SYNC interrupt enable

Source

pub fn errie(&self) -> ERRIE_R

Bit 2 - Synchronization or trimming error interrupt enable

Source

pub fn syncwarnie(&self) -> SYNCWARNIE_R

Bit 1 - SYNC warning interrupt enable

Source

pub fn syncokie(&self) -> SYNCOKIE_R

Bit 0 - SYNC event OK interrupt enable

Source§

impl R<u32, Reg<u32, _CFGR>>

Source

pub fn syncpol(&self) -> SYNCPOL_R

Bit 31 - SYNC polarity selection

Source

pub fn syncsrc(&self) -> SYNCSRC_R

Bits 28:29 - SYNC signal source selection

Source

pub fn syncdiv(&self) -> SYNCDIV_R

Bits 24:26 - SYNC divider

Source

pub fn felim(&self) -> FELIM_R

Bits 16:23 - Frequency error limit

Source

pub fn reload(&self) -> RELOAD_R

Bits 0:15 - Counter reload value

Source§

impl R<u32, Reg<u32, _ISR>>

Source

pub fn fecap(&self) -> FECAP_R

Bits 16:31 - Frequency error capture

Source

pub fn fedir(&self) -> FEDIR_R

Bit 15 - Frequency error direction

Source

pub fn trimovf(&self) -> TRIMOVF_R

Bit 10 - Trimming overflow or underflow

Source

pub fn syncmiss(&self) -> SYNCMISS_R

Bit 9 - SYNC missed

Source

pub fn syncerr(&self) -> SYNCERR_R

Bit 8 - SYNC error

Source

pub fn esyncf(&self) -> ESYNCF_R

Bit 3 - Expected SYNC flag

Source

pub fn errf(&self) -> ERRF_R

Bit 2 - Error flag

Source

pub fn syncwarnf(&self) -> SYNCWARNF_R

Bit 1 - SYNC warning flag

Source

pub fn syncokf(&self) -> SYNCOKF_R

Bit 0 - SYNC event OK flag

Source§

impl R<u32, Reg<u32, _ICR>>

Source

pub fn esyncc(&self) -> ESYNCC_R

Bit 3 - Expected SYNC clear flag

Source

pub fn errc(&self) -> ERRC_R

Bit 2 - Error clear flag

Source

pub fn syncwarnc(&self) -> SYNCWARNC_R

Bit 1 - SYNC warning clear flag

Source

pub fn syncokc(&self) -> SYNCOKC_R

Bit 0 - SYNC event OK clear flag

Source§

impl R<u32, Reg<u32, _EP0R>>

Source

pub fn ea(&self) -> EA_R

Bits 0:3 - Endpoint address

Source

pub fn stat_tx(&self) -> STAT_TX_R

Bits 4:5 - Status bits, for transmission transfers

Source

pub fn dtog_tx(&self) -> DTOG_TX_R

Bit 6 - Data Toggle, for transmission transfers

Source

pub fn ctr_tx(&self) -> CTR_TX_R

Bit 7 - Correct Transfer for transmission

Source

pub fn ep_kind(&self) -> EP_KIND_R

Bit 8 - Endpoint kind

Source

pub fn ep_type(&self) -> EP_TYPE_R

Bits 9:10 - Endpoint type

Source

pub fn setup(&self) -> SETUP_R

Bit 11 - Setup transaction completed

Source

pub fn stat_rx(&self) -> STAT_RX_R

Bits 12:13 - Status bits, for reception transfers

Source

pub fn dtog_rx(&self) -> DTOG_RX_R

Bit 14 - Data Toggle, for reception transfers

Source

pub fn ctr_rx(&self) -> CTR_RX_R

Bit 15 - Correct transfer for reception

Source§

impl R<u32, Reg<u32, _EP1R>>

Source

pub fn ea(&self) -> EA_R

Bits 0:3 - Endpoint address

Source

pub fn stat_tx(&self) -> STAT_TX_R

Bits 4:5 - Status bits, for transmission transfers

Source

pub fn dtog_tx(&self) -> DTOG_TX_R

Bit 6 - Data Toggle, for transmission transfers

Source

pub fn ctr_tx(&self) -> CTR_TX_R

Bit 7 - Correct Transfer for transmission

Source

pub fn ep_kind(&self) -> EP_KIND_R

Bit 8 - Endpoint kind

Source

pub fn ep_type(&self) -> EP_TYPE_R

Bits 9:10 - Endpoint type

Source

pub fn setup(&self) -> SETUP_R

Bit 11 - Setup transaction completed

Source

pub fn stat_rx(&self) -> STAT_RX_R

Bits 12:13 - Status bits, for reception transfers

Source

pub fn dtog_rx(&self) -> DTOG_RX_R

Bit 14 - Data Toggle, for reception transfers

Source

pub fn ctr_rx(&self) -> CTR_RX_R

Bit 15 - Correct transfer for reception

Source§

impl R<u32, Reg<u32, _EP2R>>

Source

pub fn ea(&self) -> EA_R

Bits 0:3 - Endpoint address

Source

pub fn stat_tx(&self) -> STAT_TX_R

Bits 4:5 - Status bits, for transmission transfers

Source

pub fn dtog_tx(&self) -> DTOG_TX_R

Bit 6 - Data Toggle, for transmission transfers

Source

pub fn ctr_tx(&self) -> CTR_TX_R

Bit 7 - Correct Transfer for transmission

Source

pub fn ep_kind(&self) -> EP_KIND_R

Bit 8 - Endpoint kind

Source

pub fn ep_type(&self) -> EP_TYPE_R

Bits 9:10 - Endpoint type

Source

pub fn setup(&self) -> SETUP_R

Bit 11 - Setup transaction completed

Source

pub fn stat_rx(&self) -> STAT_RX_R

Bits 12:13 - Status bits, for reception transfers

Source

pub fn dtog_rx(&self) -> DTOG_RX_R

Bit 14 - Data Toggle, for reception transfers

Source

pub fn ctr_rx(&self) -> CTR_RX_R

Bit 15 - Correct transfer for reception

Source§

impl R<u32, Reg<u32, _EP3R>>

Source

pub fn ea(&self) -> EA_R

Bits 0:3 - Endpoint address

Source

pub fn stat_tx(&self) -> STAT_TX_R

Bits 4:5 - Status bits, for transmission transfers

Source

pub fn dtog_tx(&self) -> DTOG_TX_R

Bit 6 - Data Toggle, for transmission transfers

Source

pub fn ctr_tx(&self) -> CTR_TX_R

Bit 7 - Correct Transfer for transmission

Source

pub fn ep_kind(&self) -> EP_KIND_R

Bit 8 - Endpoint kind

Source

pub fn ep_type(&self) -> EP_TYPE_R

Bits 9:10 - Endpoint type

Source

pub fn setup(&self) -> SETUP_R

Bit 11 - Setup transaction completed

Source

pub fn stat_rx(&self) -> STAT_RX_R

Bits 12:13 - Status bits, for reception transfers

Source

pub fn dtog_rx(&self) -> DTOG_RX_R

Bit 14 - Data Toggle, for reception transfers

Source

pub fn ctr_rx(&self) -> CTR_RX_R

Bit 15 - Correct transfer for reception

Source§

impl R<u32, Reg<u32, _EP4R>>

Source

pub fn ea(&self) -> EA_R

Bits 0:3 - Endpoint address

Source

pub fn stat_tx(&self) -> STAT_TX_R

Bits 4:5 - Status bits, for transmission transfers

Source

pub fn dtog_tx(&self) -> DTOG_TX_R

Bit 6 - Data Toggle, for transmission transfers

Source

pub fn ctr_tx(&self) -> CTR_TX_R

Bit 7 - Correct Transfer for transmission

Source

pub fn ep_kind(&self) -> EP_KIND_R

Bit 8 - Endpoint kind

Source

pub fn ep_type(&self) -> EP_TYPE_R

Bits 9:10 - Endpoint type

Source

pub fn setup(&self) -> SETUP_R

Bit 11 - Setup transaction completed

Source

pub fn stat_rx(&self) -> STAT_RX_R

Bits 12:13 - Status bits, for reception transfers

Source

pub fn dtog_rx(&self) -> DTOG_RX_R

Bit 14 - Data Toggle, for reception transfers

Source

pub fn ctr_rx(&self) -> CTR_RX_R

Bit 15 - Correct transfer for reception

Source§

impl R<u32, Reg<u32, _EP5R>>

Source

pub fn ea(&self) -> EA_R

Bits 0:3 - Endpoint address

Source

pub fn stat_tx(&self) -> STAT_TX_R

Bits 4:5 - Status bits, for transmission transfers

Source

pub fn dtog_tx(&self) -> DTOG_TX_R

Bit 6 - Data Toggle, for transmission transfers

Source

pub fn ctr_tx(&self) -> CTR_TX_R

Bit 7 - Correct Transfer for transmission

Source

pub fn ep_kind(&self) -> EP_KIND_R

Bit 8 - Endpoint kind

Source

pub fn ep_type(&self) -> EP_TYPE_R

Bits 9:10 - Endpoint type

Source

pub fn setup(&self) -> SETUP_R

Bit 11 - Setup transaction completed

Source

pub fn stat_rx(&self) -> STAT_RX_R

Bits 12:13 - Status bits, for reception transfers

Source

pub fn dtog_rx(&self) -> DTOG_RX_R

Bit 14 - Data Toggle, for reception transfers

Source

pub fn ctr_rx(&self) -> CTR_RX_R

Bit 15 - Correct transfer for reception

Source§

impl R<u32, Reg<u32, _EP6R>>

Source

pub fn ea(&self) -> EA_R

Bits 0:3 - Endpoint address

Source

pub fn stat_tx(&self) -> STAT_TX_R

Bits 4:5 - Status bits, for transmission transfers

Source

pub fn dtog_tx(&self) -> DTOG_TX_R

Bit 6 - Data Toggle, for transmission transfers

Source

pub fn ctr_tx(&self) -> CTR_TX_R

Bit 7 - Correct Transfer for transmission

Source

pub fn ep_kind(&self) -> EP_KIND_R

Bit 8 - Endpoint kind

Source

pub fn ep_type(&self) -> EP_TYPE_R

Bits 9:10 - Endpoint type

Source

pub fn setup(&self) -> SETUP_R

Bit 11 - Setup transaction completed

Source

pub fn stat_rx(&self) -> STAT_RX_R

Bits 12:13 - Status bits, for reception transfers

Source

pub fn dtog_rx(&self) -> DTOG_RX_R

Bit 14 - Data Toggle, for reception transfers

Source

pub fn ctr_rx(&self) -> CTR_RX_R

Bit 15 - Correct transfer for reception

Source§

impl R<u32, Reg<u32, _EP7R>>

Source

pub fn ea(&self) -> EA_R

Bits 0:3 - Endpoint address

Source

pub fn stat_tx(&self) -> STAT_TX_R

Bits 4:5 - Status bits, for transmission transfers

Source

pub fn dtog_tx(&self) -> DTOG_TX_R

Bit 6 - Data Toggle, for transmission transfers

Source

pub fn ctr_tx(&self) -> CTR_TX_R

Bit 7 - Correct Transfer for transmission

Source

pub fn ep_kind(&self) -> EP_KIND_R

Bit 8 - Endpoint kind

Source

pub fn ep_type(&self) -> EP_TYPE_R

Bits 9:10 - Endpoint type

Source

pub fn setup(&self) -> SETUP_R

Bit 11 - Setup transaction completed

Source

pub fn stat_rx(&self) -> STAT_RX_R

Bits 12:13 - Status bits, for reception transfers

Source

pub fn dtog_rx(&self) -> DTOG_RX_R

Bit 14 - Data Toggle, for reception transfers

Source

pub fn ctr_rx(&self) -> CTR_RX_R

Bit 15 - Correct transfer for reception

Source§

impl R<u32, Reg<u32, _CNTR>>

Source

pub fn fres(&self) -> FRES_R

Bit 0 - Force USB Reset

Source

pub fn pdwn(&self) -> PDWN_R

Bit 1 - Power down

Source

pub fn lpmode(&self) -> LPMODE_R

Bit 2 - Low-power mode

Source

pub fn fsusp(&self) -> FSUSP_R

Bit 3 - Force suspend

Source

pub fn resume(&self) -> RESUME_R

Bit 4 - Resume request

Source

pub fn l1resume(&self) -> L1RESUME_R

Bit 5 - LPM L1 Resume request

Source

pub fn l1reqm(&self) -> L1REQM_R

Bit 7 - LPM L1 state request interrupt mask

Source

pub fn esofm(&self) -> ESOFM_R

Bit 8 - Expected start of frame interrupt mask

Source

pub fn sofm(&self) -> SOFM_R

Bit 9 - Start of frame interrupt mask

Source

pub fn resetm(&self) -> RESETM_R

Bit 10 - USB reset interrupt mask

Source

pub fn suspm(&self) -> SUSPM_R

Bit 11 - Suspend mode interrupt mask

Source

pub fn wkupm(&self) -> WKUPM_R

Bit 12 - Wakeup interrupt mask

Source

pub fn errm(&self) -> ERRM_R

Bit 13 - Error interrupt mask

Source

pub fn pmaovrm(&self) -> PMAOVRM_R

Bit 14 - Packet memory area over / underrun interrupt mask

Source

pub fn ctrm(&self) -> CTRM_R

Bit 15 - Correct transfer interrupt mask

Source§

impl R<u32, Reg<u32, _ISTR>>

Source

pub fn ep_id(&self) -> EP_ID_R

Bits 0:3 - Endpoint Identifier

Source

pub fn dir(&self) -> DIR_R

Bit 4 - Direction of transaction

Source

pub fn l1req(&self) -> L1REQ_R

Bit 7 - LPM L1 state request

Source

pub fn esof(&self) -> ESOF_R

Bit 8 - Expected start frame

Source

pub fn sof(&self) -> SOF_R

Bit 9 - start of frame

Source

pub fn reset(&self) -> RESET_R

Bit 10 - reset request

Source

pub fn susp(&self) -> SUSP_R

Bit 11 - Suspend mode request

Source

pub fn wkup(&self) -> WKUP_R

Bit 12 - Wakeup

Source

pub fn err(&self) -> ERR_R

Bit 13 - Error

Source

pub fn pmaovr(&self) -> PMAOVR_R

Bit 14 - Packet memory area over / underrun

Source

pub fn ctr(&self) -> CTR_R

Bit 15 - Correct transfer

Source§

impl R<u32, Reg<u32, _FNR>>

Source

pub fn fn_(&self) -> FN_R

Bits 0:10 - Frame number

Source

pub fn lsof(&self) -> LSOF_R

Bits 11:12 - Lost SOF

Source

pub fn lck(&self) -> LCK_R

Bit 13 - Locked

Source

pub fn rxdm(&self) -> RXDM_R

Bit 14 - Receive data - line status

Source

pub fn rxdp(&self) -> RXDP_R

Bit 15 - Receive data + line status

Source§

impl R<u32, Reg<u32, _DADDR>>

Source

pub fn add(&self) -> ADD_R

Bits 0:6 - Device address

Source

pub fn ef(&self) -> EF_R

Bit 7 - Enable function

Source§

impl R<u32, Reg<u32, _BTABLE>>

Source

pub fn btable(&self) -> BTABLE_R

Bits 3:15 - Buffer table

Source§

impl R<u32, Reg<u32, _LPMCSR>>

Source

pub fn lpmen(&self) -> LPMEN_R

Bit 0 - LPM support enable

Source

pub fn lpmack(&self) -> LPMACK_R

Bit 1 - LPM Token acknowledge enable

Source

pub fn remwake(&self) -> REMWAKE_R

Bit 3 - bRemoteWake value

Source

pub fn besl(&self) -> BESL_R

Bits 4:7 - BESL value

Source§

impl R<u32, Reg<u32, _BCDR>>

Source

pub fn bcden(&self) -> BCDEN_R

Bit 0 - Battery charging detector

Source

pub fn dcden(&self) -> DCDEN_R

Bit 1 - Data contact detection

Source

pub fn pden(&self) -> PDEN_R

Bit 2 - Primary detection

Source

pub fn sden(&self) -> SDEN_R

Bit 3 - Secondary detection

Source

pub fn dcdet(&self) -> DCDET_R

Bit 4 - Data contact detection

Source

pub fn pdet(&self) -> PDET_R

Bit 5 - Primary detection

Source

pub fn sdet(&self) -> SDET_R

Bit 6 - Secondary detection

Source

pub fn ps2det(&self) -> PS2DET_R

Bit 7 - DM pull-up detection status

Source

pub fn dppu(&self) -> DPPU_R

Bit 15 - DP pull-up control

Source§

impl R<u32, Reg<u32, _CFGR1>>

Source

pub fn dfsdmen(&self) -> DFSDMEN_R

Bit 31 - DFSDMEN

Source

pub fn ckoutsrc(&self) -> CKOUTSRC_R

Bit 30 - CKOUTSRC

Source

pub fn ckoutdiv(&self) -> CKOUTDIV_R

Bits 16:23 - CKOUTDIV

Source

pub fn datpack(&self) -> DATPACK_R

Bits 14:15 - DATPACK

Source

pub fn datmpx(&self) -> DATMPX_R

Bits 12:13 - DATMPX

Source

pub fn chinsel(&self) -> CHINSEL_R

Bit 8 - CHINSEL

Source

pub fn chen(&self) -> CHEN_R

Bit 7 - CHEN

Source

pub fn ckaben(&self) -> CKABEN_R

Bit 6 - CKABEN

Source

pub fn scden(&self) -> SCDEN_R

Bit 5 - SCDEN

Source

pub fn spicksel(&self) -> SPICKSEL_R

Bits 2:3 - SPICKSEL

Source

pub fn sitp(&self) -> SITP_R

Bits 0:1 - SITP

Source§

impl R<u32, Reg<u32, _CFGR2>>

Source

pub fn offset(&self) -> OFFSET_R

Bits 8:31 - OFFSET

Source

pub fn dtrbs(&self) -> DTRBS_R

Bits 3:7 - DTRBS

Source§

impl R<u32, Reg<u32, _AWSCDR>>

Source

pub fn awford(&self) -> AWFORD_R

Bits 22:23 - AWFORD

Source

pub fn awfosr(&self) -> AWFOSR_R

Bits 16:20 - AWFOSR

Source

pub fn bkscd(&self) -> BKSCD_R

Bits 12:15 - BKSCD

Source

pub fn scdt(&self) -> SCDT_R

Bits 0:7 - SCDT

Source§

impl R<u32, Reg<u32, _WDATR>>

Source

pub fn wdata(&self) -> WDATA_R

Bits 0:15 - WDATA

Source§

impl R<u32, Reg<u32, _DATINR>>

Source

pub fn indat1(&self) -> INDAT1_R

Bits 16:31 - INDAT1

Source

pub fn indat0(&self) -> INDAT0_R

Bits 0:15 - INDAT0

Source§

impl R<u32, Reg<u32, _CR2>>

Source

pub fn awfsel(&self) -> AWFSEL_R

Bit 30 - Analog watchdog fast mode select

Source

pub fn fast(&self) -> FAST_R

Bit 29 - Fast conversion mode selection for regular conversions

Source

pub fn rch(&self) -> RCH_R

Bits 24:26 - Regular channel selection

Source

pub fn rdmaen(&self) -> RDMAEN_R

Bit 21 - DMA channel enabled to read data for the regular conversion

Source

pub fn rsync(&self) -> RSYNC_R

Bit 19 - Launch regular conversion synchronously with DFSDM0

Source

pub fn rcont(&self) -> RCONT_R

Bit 18 - Continuous mode selection for regular conversions

Source

pub fn rswstart(&self) -> RSWSTART_R

Bit 17 - Software start of a conversion on the regular channel

Source

pub fn jexten(&self) -> JEXTEN_R

Bits 13:14 - Trigger enable and trigger edge selection for injected conversions

Source

pub fn jextsel(&self) -> JEXTSEL_R

Bits 8:10 - Trigger signal selection for launching injected conversions

Source

pub fn jdmaen(&self) -> JDMAEN_R

Bit 5 - DMA channel enabled to read data for the injected channel group

Source

pub fn jscan(&self) -> JSCAN_R

Bit 4 - Scanning conversion mode for injected conversions

Source

pub fn jsync(&self) -> JSYNC_R

Bit 3 - Launch an injected conversion synchronously with the DFSDM0 JSWSTART trigger

Source

pub fn jswstart(&self) -> JSWSTART_R

Bit 1 - Start a conversion of the injected group of channels

Source

pub fn dfen(&self) -> DFEN_R

Bit 0 - DFSDM enable

Source§

impl R<u32, Reg<u32, _ISR>>

Source

pub fn scdf(&self) -> SCDF_R

Bits 24:31 - short-circuit detector flag

Source

pub fn ckabf(&self) -> CKABF_R

Bits 16:23 - Clock absence flag

Source

pub fn rcip(&self) -> RCIP_R

Bit 14 - Regular conversion in progress status

Source

pub fn jcip(&self) -> JCIP_R

Bit 13 - Injected conversion in progress status

Source

pub fn awdf(&self) -> AWDF_R

Bit 4 - Analog watchdog

Source

pub fn rovrf(&self) -> ROVRF_R

Bit 3 - Regular conversion overrun flag

Source

pub fn jovrf(&self) -> JOVRF_R

Bit 2 - Injected conversion overrun flag

Source

pub fn reocf(&self) -> REOCF_R

Bit 1 - End of regular conversion flag

Source

pub fn jeocf(&self) -> JEOCF_R

Bit 0 - End of injected conversion flag

Source§

impl R<u32, Reg<u32, _ICR>>

Source

pub fn clrscdf(&self) -> CLRSCDF_R

Bits 24:31 - Clear the short-circuit detector flag

Source

pub fn clrckabf(&self) -> CLRCKABF_R

Bits 16:23 - Clear the clock absence flag

Source

pub fn clrrovrf(&self) -> CLRROVRF_R

Bit 3 - Clear the regular conversion overrun flag

Source

pub fn clrjovrf(&self) -> CLRJOVRF_R

Bit 2 - Clear the injected conversion overrun flag

Source§

impl R<u32, Reg<u32, _JCHGR>>

Source

pub fn jchg(&self) -> JCHG_R

Bits 0:7 - Injected channel group selection

Source§

impl R<u32, Reg<u32, _FCR>>

Source

pub fn ford(&self) -> FORD_R

Bits 29:31 - Sinc filter order

Source

pub fn fosr(&self) -> FOSR_R

Bits 16:25 - Sinc filter oversampling ratio (decimation rate)

Source

pub fn iosr(&self) -> IOSR_R

Bits 0:7 - Integrator oversampling ratio (averaging length)

Source§

impl R<u32, Reg<u32, _JDATAR>>

Source

pub fn jdata(&self) -> JDATA_R

Bits 8:31 - Injected group conversion data

Source

pub fn jdatach(&self) -> JDATACH_R

Bits 0:2 - Injected channel most recently converted

Source§

impl R<u32, Reg<u32, _RDATAR>>

Source

pub fn rdata(&self) -> RDATA_R

Bits 8:31 - Regular channel conversion data

Source

pub fn rpend(&self) -> RPEND_R

Bit 4 - Regular channel pending data

Source

pub fn rdatach(&self) -> RDATACH_R

Bits 0:2 - Regular channel most recently converted

Source§

impl R<u32, Reg<u32, _AWHTR>>

Source

pub fn awht(&self) -> AWHT_R

Bits 8:31 - Analog watchdog high threshold

Source

pub fn bkawh(&self) -> BKAWH_R

Bits 0:3 - Break signal assignment to analog watchdog high threshold event

Source§

impl R<u32, Reg<u32, _AWLTR>>

Source

pub fn awlt(&self) -> AWLT_R

Bits 8:31 - Analog watchdog low threshold

Source

pub fn bkawl(&self) -> BKAWL_R

Bits 0:3 - Break signal assignment to analog watchdog low threshold event

Source§

impl R<u32, Reg<u32, _AWSR>>

Source

pub fn awhtf(&self) -> AWHTF_R

Bits 8:15 - Analog watchdog high threshold flag

Source

pub fn awltf(&self) -> AWLTF_R

Bits 0:7 - Analog watchdog low threshold flag

Source§

impl R<u32, Reg<u32, _AWCFR>>

Source

pub fn clrawhtf(&self) -> CLRAWHTF_R

Bits 8:15 - Clear the analog watchdog high threshold flag

Source

pub fn clrawltf(&self) -> CLRAWLTF_R

Bits 0:7 - Clear the analog watchdog low threshold flag

Source§

impl R<u32, Reg<u32, _EXMAX>>

Source

pub fn exmax(&self) -> EXMAX_R

Bits 8:31 - Extremes detector maximum value

Source

pub fn exmaxch(&self) -> EXMAXCH_R

Bits 0:2 - Extremes detector maximum data channel

Source§

impl R<u32, Reg<u32, _EXMIN>>

Source

pub fn exmin(&self) -> EXMIN_R

Bits 8:31 - EXMIN

Source

pub fn exminch(&self) -> EXMINCH_R

Bits 0:2 - Extremes detector minimum data channel

Source§

impl R<u32, Reg<u32, _CNVTIMR>>

Source

pub fn cnvcnt(&self) -> CNVCNT_R

Bits 4:31 - 28-bit timer counting conversion time t = CNVCNT[27:0]

Source§

impl R<u32, Reg<u32, _DFSDM0_CR2>>

Source

pub fn awdch(&self) -> AWDCH_R

Bits 16:23 - Analog watchdog channel selection

Source

pub fn exch(&self) -> EXCH_R

Bits 8:15 - Extremes detector channel selection

Source

pub fn ckabie(&self) -> CKABIE_R

Bit 6 - Clock absence interrupt enable

Source

pub fn scdie(&self) -> SCDIE_R

Bit 5 - Short-circuit detector interrupt enable

Source

pub fn awdie(&self) -> AWDIE_R

Bit 4 - Analog watchdog interrupt enable

Source

pub fn rovrie(&self) -> ROVRIE_R

Bit 3 - Regular data overrun interrupt enable

Source

pub fn jovrie(&self) -> JOVRIE_R

Bit 2 - Injected data overrun interrupt enable

Source

pub fn reocie(&self) -> REOCIE_R

Bit 1 - Regular end of conversion interrupt enable

Source

pub fn jeocie(&self) -> JEOCIE_R

Bit 0 - Injected end of conversion interrupt enable

Source§

impl R<u32, Reg<u32, _DFSDM1_CR2>>

Source

pub fn awdch(&self) -> AWDCH_R

Bits 16:23 - Analog watchdog channel selection

Source

pub fn exch(&self) -> EXCH_R

Bits 8:15 - Extremes detector channel selection

Source

pub fn ckabie(&self) -> CKABIE_R

Bit 6 - Clock absence interrupt enable

Source

pub fn scdie(&self) -> SCDIE_R

Bit 5 - Short-circuit detector interrupt enable

Source

pub fn awdie(&self) -> AWDIE_R

Bit 4 - Analog watchdog interrupt enable

Source

pub fn rovrie(&self) -> ROVRIE_R

Bit 3 - Regular data overrun interrupt enable

Source

pub fn jovrie(&self) -> JOVRIE_R

Bit 2 - Injected data overrun interrupt enable

Source

pub fn reocie(&self) -> REOCIE_R

Bit 1 - Regular end of conversion interrupt enable

Source

pub fn jeocie(&self) -> JEOCIE_R

Bit 0 - Injected end of conversion interrupt enable

Source§

impl R<u32, Reg<u32, _DFSDM2_CR2>>

Source

pub fn awdch(&self) -> AWDCH_R

Bits 16:23 - Analog watchdog channel selection

Source

pub fn exch(&self) -> EXCH_R

Bits 8:15 - Extremes detector channel selection

Source

pub fn ckabie(&self) -> CKABIE_R

Bit 6 - Clock absence interrupt enable

Source

pub fn scdie(&self) -> SCDIE_R

Bit 5 - Short-circuit detector interrupt enable

Source

pub fn awdie(&self) -> AWDIE_R

Bit 4 - Analog watchdog interrupt enable

Source

pub fn rovrie(&self) -> ROVRIE_R

Bit 3 - Regular data overrun interrupt enable

Source

pub fn jovrie(&self) -> JOVRIE_R

Bit 2 - Injected data overrun interrupt enable

Source

pub fn reocie(&self) -> REOCIE_R

Bit 1 - Regular end of conversion interrupt enable

Source

pub fn jeocie(&self) -> JEOCIE_R

Bit 0 - Injected end of conversion interrupt enable

Source§

impl R<u32, Reg<u32, _DFSDM3_CR2>>

Source

pub fn awdch(&self) -> AWDCH_R

Bits 16:23 - Analog watchdog channel selection

Source

pub fn exch(&self) -> EXCH_R

Bits 8:15 - Extremes detector channel selection

Source

pub fn ckabie(&self) -> CKABIE_R

Bit 6 - Clock absence interrupt enable

Source

pub fn scdie(&self) -> SCDIE_R

Bit 5 - Short-circuit detector interrupt enable

Source

pub fn awdie(&self) -> AWDIE_R

Bit 4 - Analog watchdog interrupt enable

Source

pub fn rovrie(&self) -> ROVRIE_R

Bit 3 - Regular data overrun interrupt enable

Source

pub fn jovrie(&self) -> JOVRIE_R

Bit 2 - Injected data overrun interrupt enable

Source

pub fn reocie(&self) -> REOCIE_R

Bit 1 - Regular end of conversion interrupt enable

Source

pub fn jeocie(&self) -> JEOCIE_R

Bit 0 - Injected end of conversion interrupt enable

Source§

impl R<u32, Reg<u32, _CR>>

Source

pub fn prescaler(&self) -> PRESCALER_R

Bits 24:31 - Clock prescaler

Source

pub fn pmm(&self) -> PMM_R

Bit 23 - Polling match mode

Source

pub fn apms(&self) -> APMS_R

Bit 22 - Automatic poll mode stop

Source

pub fn toie(&self) -> TOIE_R

Bit 20 - TimeOut interrupt enable

Source

pub fn smie(&self) -> SMIE_R

Bit 19 - Status match interrupt enable

Source

pub fn ftie(&self) -> FTIE_R

Bit 18 - FIFO threshold interrupt enable

Source

pub fn tcie(&self) -> TCIE_R

Bit 17 - Transfer complete interrupt enable

Source

pub fn teie(&self) -> TEIE_R

Bit 16 - Transfer error interrupt enable

Source

pub fn fthres(&self) -> FTHRES_R

Bits 8:12 - IFO threshold level

Source

pub fn fsel(&self) -> FSEL_R

Bit 7 - FLASH memory selection

Source

pub fn dfm(&self) -> DFM_R

Bit 6 - Dual-flash mode

Source

pub fn sshift(&self) -> SSHIFT_R

Bit 4 - Sample shift

Source

pub fn tcen(&self) -> TCEN_R

Bit 3 - Timeout counter enable

Source

pub fn dmaen(&self) -> DMAEN_R

Bit 2 - DMA enable

Source

pub fn abort(&self) -> ABORT_R

Bit 1 - Abort request

Source

pub fn en(&self) -> EN_R

Bit 0 - Enable

Source§

impl R<u32, Reg<u32, _DCR>>

Source

pub fn fsize(&self) -> FSIZE_R

Bits 16:20 - FLASH memory size

Source

pub fn csht(&self) -> CSHT_R

Bits 8:10 - Chip select high time

Source

pub fn ckmode(&self) -> CKMODE_R

Bit 0 - Mode 0 / mode 3

Source§

impl R<u32, Reg<u32, _SR>>

Source

pub fn flevel(&self) -> FLEVEL_R

Bits 8:14 - FIFO level

Source

pub fn busy(&self) -> BUSY_R

Bit 5 - Busy

Source

pub fn tof(&self) -> TOF_R

Bit 4 - Timeout flag

Source

pub fn smf(&self) -> SMF_R

Bit 3 - Status match flag

Source

pub fn ftf(&self) -> FTF_R

Bit 2 - FIFO threshold flag

Source

pub fn tcf(&self) -> TCF_R

Bit 1 - Transfer complete flag

Source

pub fn tef(&self) -> TEF_R

Bit 0 - Transfer error flag

Source§

impl R<u32, Reg<u32, _FCR>>

Source

pub fn ctof(&self) -> CTOF_R

Bit 4 - Clear timeout flag

Source

pub fn csmf(&self) -> CSMF_R

Bit 3 - Clear status match flag

Source

pub fn ctcf(&self) -> CTCF_R

Bit 1 - Clear transfer complete flag

Source

pub fn ctef(&self) -> CTEF_R

Bit 0 - Clear transfer error flag

Source§

impl R<u32, Reg<u32, _DLR>>

Source

pub fn dl(&self) -> DL_R

Bits 0:31 - Data length

Source§

impl R<u32, Reg<u32, _CCR>>

Source

pub fn ddrm(&self) -> DDRM_R

Bit 31 - Double data rate mode

Source

pub fn dhhc(&self) -> DHHC_R

Bit 30 - DDR hold half cycle

Source

pub fn sioo(&self) -> SIOO_R

Bit 28 - Send instruction only once mode

Source

pub fn fmode(&self) -> FMODE_R

Bits 26:27 - Functional mode

Source

pub fn dmode(&self) -> DMODE_R

Bits 24:25 - Data mode

Source

pub fn dcyc(&self) -> DCYC_R

Bits 18:22 - Number of dummy cycles

Source

pub fn absize(&self) -> ABSIZE_R

Bits 16:17 - Alternate bytes size

Source

pub fn abmode(&self) -> ABMODE_R

Bits 14:15 - Alternate bytes mode

Source

pub fn adsize(&self) -> ADSIZE_R

Bits 12:13 - Address size

Source

pub fn admode(&self) -> ADMODE_R

Bits 10:11 - Address mode

Source

pub fn imode(&self) -> IMODE_R

Bits 8:9 - Instruction mode

Source

pub fn instruction(&self) -> INSTRUCTION_R

Bits 0:7 - Instruction

Source§

impl R<u32, Reg<u32, _AR>>

Source

pub fn address(&self) -> ADDRESS_R

Bits 0:31 - Address

Source§

impl R<u32, Reg<u32, _ABR>>

Source

pub fn alternate(&self) -> ALTERNATE_R

Bits 0:31 - ALTERNATE

Source§

impl R<u32, Reg<u32, _DR>>

Source

pub fn data(&self) -> DATA_R

Bits 0:31 - Data

Source§

impl R<u32, Reg<u32, _PSMKR>>

Source

pub fn mask(&self) -> MASK_R

Bits 0:31 - Status mask

Source§

impl R<u32, Reg<u32, _PSMAR>>

Source

pub fn match_(&self) -> MATCH_R

Bits 0:31 - Status match

Source§

impl R<u32, Reg<u32, _PIR>>

Source

pub fn interval(&self) -> INTERVAL_R

Bits 0:15 - Polling interval

Source§

impl R<u32, Reg<u32, _LPTR>>

Source

pub fn timeout(&self) -> TIMEOUT_R

Bits 0:15 - Timeout period

Source§

impl R<u32, Reg<u32, _IDCODE>>

Source

pub fn dev_id(&self) -> DEV_ID_R

Bits 0:11 - Device identifier

Source

pub fn rev_id(&self) -> REV_ID_R

Bits 16:31 - Revision identifie

Source§

impl R<u32, Reg<u32, _CR>>

Source

pub fn dbg_sleep(&self) -> DBG_SLEEP_R

Bit 0 - Debug Sleep mode

Source

pub fn dbg_stop(&self) -> DBG_STOP_R

Bit 1 - Debug Stop mode

Source

pub fn dbg_standby(&self) -> DBG_STANDBY_R

Bit 2 - Debug Standby mode

Source

pub fn trace_ioen(&self) -> TRACE_IOEN_R

Bit 5 - Trace pin assignment control

Source

pub fn trace_mode(&self) -> TRACE_MODE_R

Bits 6:7 - Trace pin assignment control

Source§

impl R<u32, Reg<u32, _APB1FZR1>>

Source

pub fn dbg_tim2_stop(&self) -> DBG_TIM2_STOP_R

Bit 0 - TIM2 counter stopped when core is halted

Source

pub fn dbg_tim6_stop(&self) -> DBG_TIM6_STOP_R

Bit 4 - TIM6 counter stopped when core is halted

Source

pub fn dbg_tim7_stop(&self) -> DBG_TIM7_STOP_R

Bit 5 - TIM7 counter stopped when core is halted

Source

pub fn dbg_rtc_stop(&self) -> DBG_RTC_STOP_R

Bit 10 - RTC counter stopped when core is halted

Source

pub fn dbg_wwdg_stop(&self) -> DBG_WWDG_STOP_R

Bit 11 - Window watchdog counter stopped when core is halted

Source

pub fn dbg_iwdg_stop(&self) -> DBG_IWDG_STOP_R

Bit 12 - Independent watchdog counter stopped when core is halted

Source

pub fn dbg_i2c1_stop(&self) -> DBG_I2C1_STOP_R

Bit 21 - I2C1 SMBUS timeout counter stopped when core is halted

Source

pub fn dbg_i2c2_stop(&self) -> DBG_I2C2_STOP_R

Bit 22 - I2C2 SMBUS timeout counter stopped when core is halted

Source

pub fn dbg_i2c3_stop(&self) -> DBG_I2C3_STOP_R

Bit 23 - I2C3 SMBUS timeout counter stopped when core is halted

Source

pub fn dbg_can_stop(&self) -> DBG_CAN_STOP_R

Bit 25 - bxCAN stopped when core is halted

Source

pub fn dbg_lptim1_stop(&self) -> DBG_LPTIM1_STOP_R

Bit 31 - LPTIM1 counter stopped when core is halted

Source§

impl R<u32, Reg<u32, _APB1FZR2>>

Source

pub fn dbg_lptim2_stop(&self) -> DBG_LPTIM2_STOP_R

Bit 5 - LPTIM2 counter stopped when core is halted

Source§

impl R<u32, Reg<u32, _APB2FZR>>

Source

pub fn dbg_tim1_stop(&self) -> DBG_TIM1_STOP_R

Bit 11 - TIM1 counter stopped when core is halted

Source

pub fn dbg_tim15_stop(&self) -> DBG_TIM15_STOP_R

Bit 16 - TIM15 counter stopped when core is halted

Source

pub fn dbg_tim16_stop(&self) -> DBG_TIM16_STOP_R

Bit 17 - TIM16 counter stopped when core is halted

Source§

impl R<u32, Reg<u32, _FPCCR>>

Source

pub fn lspact(&self) -> LSPACT_R

Bit 0 - LSPACT

Source

pub fn user(&self) -> USER_R

Bit 1 - USER

Source

pub fn thread(&self) -> THREAD_R

Bit 3 - THREAD

Source

pub fn hfrdy(&self) -> HFRDY_R

Bit 4 - HFRDY

Source

pub fn mmrdy(&self) -> MMRDY_R

Bit 5 - MMRDY

Source

pub fn bfrdy(&self) -> BFRDY_R

Bit 6 - BFRDY

Source

pub fn monrdy(&self) -> MONRDY_R

Bit 8 - MONRDY

Source

pub fn lspen(&self) -> LSPEN_R

Bit 30 - LSPEN

Source

pub fn aspen(&self) -> ASPEN_R

Bit 31 - ASPEN

Source§

impl R<u32, Reg<u32, _FPCAR>>

Source

pub fn address(&self) -> ADDRESS_R

Bits 3:31 - Location of unpopulated floating-point

Source§

impl R<u32, Reg<u32, _FPSCR>>

Source

pub fn ioc(&self) -> IOC_R

Bit 0 - Invalid operation cumulative exception bit

Source

pub fn dzc(&self) -> DZC_R

Bit 1 - Division by zero cumulative exception bit.

Source

pub fn ofc(&self) -> OFC_R

Bit 2 - Overflow cumulative exception bit

Source

pub fn ufc(&self) -> UFC_R

Bit 3 - Underflow cumulative exception bit

Source

pub fn ixc(&self) -> IXC_R

Bit 4 - Inexact cumulative exception bit

Source

pub fn idc(&self) -> IDC_R

Bit 7 - Input denormal cumulative exception bit.

Source

pub fn rmode(&self) -> RMODE_R

Bits 22:23 - Rounding Mode control field

Source

pub fn fz(&self) -> FZ_R

Bit 24 - Flush-to-zero mode control bit:

Source

pub fn dn(&self) -> DN_R

Bit 25 - Default NaN mode control bit

Source

pub fn ahp(&self) -> AHP_R

Bit 26 - Alternative half-precision control bit

Source

pub fn v(&self) -> V_R

Bit 28 - Overflow condition code flag

Source

pub fn c(&self) -> C_R

Bit 29 - Carry condition code flag

Source

pub fn z(&self) -> Z_R

Bit 30 - Zero condition code flag

Source

pub fn n(&self) -> N_R

Bit 31 - Negative condition code flag

Source§

impl R<u32, Reg<u32, _CTRL>>

Source

pub fn enable(&self) -> ENABLE_R

Bit 0 - Counter enable

Source

pub fn tickint(&self) -> TICKINT_R

Bit 1 - SysTick exception request enable

Source

pub fn clksource(&self) -> CLKSOURCE_R

Bit 2 - Clock source selection

Source

pub fn countflag(&self) -> COUNTFLAG_R

Bit 16 - COUNTFLAG

Source§

impl R<u32, Reg<u32, _LOAD>>

Source

pub fn reload(&self) -> RELOAD_R

Bits 0:23 - RELOAD value

Source§

impl R<u32, Reg<u32, _VAL>>

Source

pub fn current(&self) -> CURRENT_R

Bits 0:23 - Current counter value

Source§

impl R<u32, Reg<u32, _CALIB>>

Source

pub fn tenms(&self) -> TENMS_R

Bits 0:23 - Calibration value

Source

pub fn skew(&self) -> SKEW_R

Bit 30 - SKEW flag: Indicates whether the TENMS value is exact

Source

pub fn noref(&self) -> NOREF_R

Bit 31 - NOREF flag. Reads as zero

Source§

impl R<u32, Reg<u32, _STIR>>

Source

pub fn intid(&self) -> INTID_R

Bits 0:8 - Software generated interrupt ID

Source§

impl R<u32, Reg<u32, _CPACR>>

Source

pub fn cp(&self) -> CP_R

Bits 20:23 - CP

Source§

impl R<u32, Reg<u32, _ACTRL>>

Source

pub fn dismcycint(&self) -> DISMCYCINT_R

Bit 0 - DISMCYCINT

Source

pub fn disdefwbuf(&self) -> DISDEFWBUF_R

Bit 1 - DISDEFWBUF

Source

pub fn disfold(&self) -> DISFOLD_R

Bit 2 - DISFOLD

Source

pub fn disfpca(&self) -> DISFPCA_R

Bit 8 - DISFPCA

Source

pub fn disoofp(&self) -> DISOOFP_R

Bit 9 - DISOOFP

Source§

impl R<u8, CKD_A>

Source

pub fn variant(&self) -> Variant<u8, CKD_A>

Get enumerated values variant

Source

pub fn is_div1(&self) -> bool

Checks if the value of the field is DIV1

Source

pub fn is_div2(&self) -> bool

Checks if the value of the field is DIV2

Source

pub fn is_div4(&self) -> bool

Checks if the value of the field is DIV4

Source§

impl R<bool, ARPE_A>

Source

pub fn variant(&self) -> ARPE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<u8, CMS_A>

Source

pub fn variant(&self) -> CMS_A

Get enumerated values variant

Source

pub fn is_edge_aligned(&self) -> bool

Checks if the value of the field is EDGEALIGNED

Source

pub fn is_center_aligned1(&self) -> bool

Checks if the value of the field is CENTERALIGNED1

Source

pub fn is_center_aligned2(&self) -> bool

Checks if the value of the field is CENTERALIGNED2

Source

pub fn is_center_aligned3(&self) -> bool

Checks if the value of the field is CENTERALIGNED3

Source§

impl R<bool, DIR_A>

Source

pub fn variant(&self) -> DIR_A

Get enumerated values variant

Source

pub fn is_up(&self) -> bool

Checks if the value of the field is UP

Source

pub fn is_down(&self) -> bool

Checks if the value of the field is DOWN

Source§

impl R<bool, OPM_A>

Source

pub fn variant(&self) -> OPM_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, URS_A>

Source

pub fn variant(&self) -> URS_A

Get enumerated values variant

Source

pub fn is_any_event(&self) -> bool

Checks if the value of the field is ANYEVENT

Source

pub fn is_counter_only(&self) -> bool

Checks if the value of the field is COUNTERONLY

Source§

impl R<bool, UDIS_A>

Source

pub fn variant(&self) -> UDIS_A

Get enumerated values variant

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source§

impl R<bool, CEN_A>

Source

pub fn variant(&self) -> CEN_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<u32, Reg<u32, _CR1>>

Source

pub fn ckd(&self) -> CKD_R

Bits 8:9 - Clock division

Source

pub fn arpe(&self) -> ARPE_R

Bit 7 - Auto-reload preload enable

Source

pub fn cms(&self) -> CMS_R

Bits 5:6 - Center-aligned mode selection

Source

pub fn dir(&self) -> DIR_R

Bit 4 - Direction

Source

pub fn opm(&self) -> OPM_R

Bit 3 - One-pulse mode

Source

pub fn urs(&self) -> URS_R

Bit 2 - Update request source

Source

pub fn udis(&self) -> UDIS_R

Bit 1 - Update disable

Source

pub fn cen(&self) -> CEN_R

Bit 0 - Counter enable

Source§

impl R<bool, TI1S_A>

Source

pub fn variant(&self) -> TI1S_A

Get enumerated values variant

Source

pub fn is_normal(&self) -> bool

Checks if the value of the field is NORMAL

Source

pub fn is_xor(&self) -> bool

Checks if the value of the field is XOR

Source§

impl R<u8, MMS_A>

Source

pub fn variant(&self) -> MMS_A

Get enumerated values variant

Source

pub fn is_reset(&self) -> bool

Checks if the value of the field is RESET

Source

pub fn is_enable(&self) -> bool

Checks if the value of the field is ENABLE

Source

pub fn is_update(&self) -> bool

Checks if the value of the field is UPDATE

Source

pub fn is_compare_pulse(&self) -> bool

Checks if the value of the field is COMPAREPULSE

Source

pub fn is_compare_oc1(&self) -> bool

Checks if the value of the field is COMPAREOC1

Source

pub fn is_compare_oc2(&self) -> bool

Checks if the value of the field is COMPAREOC2

Source

pub fn is_compare_oc3(&self) -> bool

Checks if the value of the field is COMPAREOC3

Source

pub fn is_compare_oc4(&self) -> bool

Checks if the value of the field is COMPAREOC4

Source§

impl R<bool, CCDS_A>

Source

pub fn variant(&self) -> CCDS_A

Get enumerated values variant

Source

pub fn is_on_compare(&self) -> bool

Checks if the value of the field is ONCOMPARE

Source

pub fn is_on_update(&self) -> bool

Checks if the value of the field is ONUPDATE

Source§

impl R<u32, Reg<u32, _CR2>>

Source

pub fn ti1s(&self) -> TI1S_R

Bit 7 - TI1 selection

Source

pub fn mms(&self) -> MMS_R

Bits 4:6 - Master mode selection

Source

pub fn ccds(&self) -> CCDS_R

Bit 3 - Capture/compare DMA selection

Source§

impl R<bool, ETP_A>

Source

pub fn variant(&self) -> ETP_A

Get enumerated values variant

Source

pub fn is_not_inverted(&self) -> bool

Checks if the value of the field is NOTINVERTED

Source

pub fn is_inverted(&self) -> bool

Checks if the value of the field is INVERTED

Source§

impl R<bool, ECE_A>

Source

pub fn variant(&self) -> ECE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<u8, ETPS_A>

Source

pub fn variant(&self) -> ETPS_A

Get enumerated values variant

Source

pub fn is_div1(&self) -> bool

Checks if the value of the field is DIV1

Source

pub fn is_div2(&self) -> bool

Checks if the value of the field is DIV2

Source

pub fn is_div4(&self) -> bool

Checks if the value of the field is DIV4

Source

pub fn is_div8(&self) -> bool

Checks if the value of the field is DIV8

Source§

impl R<u8, ETF_A>

Source

pub fn variant(&self) -> ETF_A

Get enumerated values variant

Source

pub fn is_no_filter(&self) -> bool

Checks if the value of the field is NOFILTER

Source

pub fn is_fck_int_n2(&self) -> bool

Checks if the value of the field is FCK_INT_N2

Source

pub fn is_fck_int_n4(&self) -> bool

Checks if the value of the field is FCK_INT_N4

Source

pub fn is_fck_int_n8(&self) -> bool

Checks if the value of the field is FCK_INT_N8

Source

pub fn is_fdts_div2_n6(&self) -> bool

Checks if the value of the field is FDTS_DIV2_N6

Source

pub fn is_fdts_div2_n8(&self) -> bool

Checks if the value of the field is FDTS_DIV2_N8

Source

pub fn is_fdts_div4_n6(&self) -> bool

Checks if the value of the field is FDTS_DIV4_N6

Source

pub fn is_fdts_div4_n8(&self) -> bool

Checks if the value of the field is FDTS_DIV4_N8

Source

pub fn is_fdts_div8_n6(&self) -> bool

Checks if the value of the field is FDTS_DIV8_N6

Source

pub fn is_fdts_div8_n8(&self) -> bool

Checks if the value of the field is FDTS_DIV8_N8

Source

pub fn is_fdts_div16_n5(&self) -> bool

Checks if the value of the field is FDTS_DIV16_N5

Source

pub fn is_fdts_div16_n6(&self) -> bool

Checks if the value of the field is FDTS_DIV16_N6

Source

pub fn is_fdts_div16_n8(&self) -> bool

Checks if the value of the field is FDTS_DIV16_N8

Source

pub fn is_fdts_div32_n5(&self) -> bool

Checks if the value of the field is FDTS_DIV32_N5

Source

pub fn is_fdts_div32_n6(&self) -> bool

Checks if the value of the field is FDTS_DIV32_N6

Source

pub fn is_fdts_div32_n8(&self) -> bool

Checks if the value of the field is FDTS_DIV32_N8

Source§

impl R<bool, MSM_A>

Source

pub fn variant(&self) -> MSM_A

Get enumerated values variant

Source

pub fn is_no_sync(&self) -> bool

Checks if the value of the field is NOSYNC

Source

pub fn is_sync(&self) -> bool

Checks if the value of the field is SYNC

Source§

impl R<u8, TS_A>

Source

pub fn variant(&self) -> Variant<u8, TS_A>

Get enumerated values variant

Source

pub fn is_itr0(&self) -> bool

Checks if the value of the field is ITR0

Source

pub fn is_itr1(&self) -> bool

Checks if the value of the field is ITR1

Source

pub fn is_itr2(&self) -> bool

Checks if the value of the field is ITR2

Source

pub fn is_ti1f_ed(&self) -> bool

Checks if the value of the field is TI1F_ED

Source

pub fn is_ti1fp1(&self) -> bool

Checks if the value of the field is TI1FP1

Source

pub fn is_ti2fp2(&self) -> bool

Checks if the value of the field is TI2FP2

Source

pub fn is_etrf(&self) -> bool

Checks if the value of the field is ETRF

Source§

impl R<u8, SMS_A>

Source

pub fn variant(&self) -> SMS_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_encoder_mode_1(&self) -> bool

Checks if the value of the field is ENCODER_MODE_1

Source

pub fn is_encoder_mode_2(&self) -> bool

Checks if the value of the field is ENCODER_MODE_2

Source

pub fn is_encoder_mode_3(&self) -> bool

Checks if the value of the field is ENCODER_MODE_3

Source

pub fn is_reset_mode(&self) -> bool

Checks if the value of the field is RESET_MODE

Source

pub fn is_gated_mode(&self) -> bool

Checks if the value of the field is GATED_MODE

Source

pub fn is_trigger_mode(&self) -> bool

Checks if the value of the field is TRIGGER_MODE

Source

pub fn is_ext_clock_mode(&self) -> bool

Checks if the value of the field is EXT_CLOCK_MODE

Source§

impl R<u32, Reg<u32, _SMCR>>

Source

pub fn etp(&self) -> ETP_R

Bit 15 - External trigger polarity

Source

pub fn ece(&self) -> ECE_R

Bit 14 - External clock enable

Source

pub fn etps(&self) -> ETPS_R

Bits 12:13 - External trigger prescaler

Source

pub fn etf(&self) -> ETF_R

Bits 8:11 - External trigger filter

Source

pub fn msm(&self) -> MSM_R

Bit 7 - Master/Slave mode

Source

pub fn ts(&self) -> TS_R

Bits 4:6 - Trigger selection

Source

pub fn sms(&self) -> SMS_R

Bits 0:2 - Slave mode selection

Source§

impl R<bool, TDE_A>

Source

pub fn variant(&self) -> TDE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, CC4DE_A>

Source

pub fn variant(&self) -> CC4DE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, UDE_A>

Source

pub fn variant(&self) -> UDE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, TIE_A>

Source

pub fn variant(&self) -> TIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, CC4IE_A>

Source

pub fn variant(&self) -> CC4IE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, UIE_A>

Source

pub fn variant(&self) -> UIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<u32, Reg<u32, _DIER>>

Source

pub fn tde(&self) -> TDE_R

Bit 14 - Trigger DMA request enable

Source

pub fn comde(&self) -> COMDE_R

Bit 13 - COM DMA request enable

Source

pub fn cc4de(&self) -> CC4DE_R

Bit 12 - Capture/Compare 4 DMA request enable

Source

pub fn cc3de(&self) -> CC3DE_R

Bit 11 - Capture/Compare 3 DMA request enable

Source

pub fn cc2de(&self) -> CC2DE_R

Bit 10 - Capture/Compare 2 DMA request enable

Source

pub fn cc1de(&self) -> CC1DE_R

Bit 9 - Capture/Compare 1 DMA request enable

Source

pub fn ude(&self) -> UDE_R

Bit 8 - Update DMA request enable

Source

pub fn tie(&self) -> TIE_R

Bit 6 - Trigger interrupt enable

Source

pub fn cc4ie(&self) -> CC4IE_R

Bit 4 - Capture/Compare 4 interrupt enable

Source

pub fn cc3ie(&self) -> CC3IE_R

Bit 3 - Capture/Compare 3 interrupt enable

Source

pub fn cc2ie(&self) -> CC2IE_R

Bit 2 - Capture/Compare 2 interrupt enable

Source

pub fn cc1ie(&self) -> CC1IE_R

Bit 1 - Capture/Compare 1 interrupt enable

Source

pub fn uie(&self) -> UIE_R

Bit 0 - Update interrupt enable

Source§

impl R<bool, CC4OF_A>

Source

pub fn variant(&self) -> Variant<bool, CC4OF_A>

Get enumerated values variant

Source

pub fn is_overcapture(&self) -> bool

Checks if the value of the field is OVERCAPTURE

Source§

impl R<bool, TIF_A>

Source

pub fn variant(&self) -> TIF_A

Get enumerated values variant

Source

pub fn is_no_trigger(&self) -> bool

Checks if the value of the field is NOTRIGGER

Source

pub fn is_trigger(&self) -> bool

Checks if the value of the field is TRIGGER

Source§

impl R<bool, CC4IF_A>

Source

pub fn variant(&self) -> Variant<bool, CC4IF_A>

Get enumerated values variant

Source

pub fn is_match_(&self) -> bool

Checks if the value of the field is MATCH

Source§

impl R<bool, UIF_A>

Source

pub fn variant(&self) -> UIF_A

Get enumerated values variant

Source

pub fn is_clear(&self) -> bool

Checks if the value of the field is CLEAR

Source

pub fn is_update_pending(&self) -> bool

Checks if the value of the field is UPDATEPENDING

Source§

impl R<u32, Reg<u32, _SR>>

Source

pub fn cc4of(&self) -> CC4OF_R

Bit 12 - Capture/Compare 4 overcapture flag

Source

pub fn cc3of(&self) -> CC3OF_R

Bit 11 - Capture/Compare 3 overcapture flag

Source

pub fn cc2of(&self) -> CC2OF_R

Bit 10 - Capture/compare 2 overcapture flag

Source

pub fn cc1of(&self) -> CC1OF_R

Bit 9 - Capture/Compare 1 overcapture flag

Source

pub fn tif(&self) -> TIF_R

Bit 6 - Trigger interrupt flag

Source

pub fn cc4if(&self) -> CC4IF_R

Bit 4 - Capture/Compare 4 interrupt flag

Source

pub fn cc3if(&self) -> CC3IF_R

Bit 3 - Capture/Compare 3 interrupt flag

Source

pub fn cc2if(&self) -> CC2IF_R

Bit 2 - Capture/Compare 2 interrupt flag

Source

pub fn cc1if(&self) -> CC1IF_R

Bit 1 - Capture/compare 1 interrupt flag

Source

pub fn uif(&self) -> UIF_R

Bit 0 - Update interrupt flag

Source§

impl R<u8, OC2M_A>

Source

pub fn variant(&self) -> Variant<u8, OC2M_A>

Get enumerated values variant

Source

pub fn is_frozen(&self) -> bool

Checks if the value of the field is FROZEN

Source

pub fn is_active_on_match(&self) -> bool

Checks if the value of the field is ACTIVEONMATCH

Source

pub fn is_inactive_on_match(&self) -> bool

Checks if the value of the field is INACTIVEONMATCH

Source

pub fn is_toggle(&self) -> bool

Checks if the value of the field is TOGGLE

Source

pub fn is_force_inactive(&self) -> bool

Checks if the value of the field is FORCEINACTIVE

Source

pub fn is_force_active(&self) -> bool

Checks if the value of the field is FORCEACTIVE

Source

pub fn is_pwm_mode1(&self) -> bool

Checks if the value of the field is PWMMODE1

Source

pub fn is_pwm_mode2(&self) -> bool

Checks if the value of the field is PWMMODE2

Source

pub fn is_opm_mode1(&self) -> bool

Checks if the value of the field is OPMMODE1

Source

pub fn is_opm_mode2(&self) -> bool

Checks if the value of the field is OPMMODE2

Source

pub fn is_combined_pwm_mode1(&self) -> bool

Checks if the value of the field is COMBINEDPWMMODE1

Source

pub fn is_combined_pwm_mode2(&self) -> bool

Checks if the value of the field is COMBINEDPWMMODE2

Source

pub fn is_asymmetric_pwm_mode1(&self) -> bool

Checks if the value of the field is ASYMMETRICPWMMODE1

Source

pub fn is_asymmetric_pwm_mode2(&self) -> bool

Checks if the value of the field is ASYMMETRICPWMMODE2

Source§

impl R<bool, OC2PE_A>

Source

pub fn variant(&self) -> OC2PE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<u8, CC2S_A>

Source

pub fn variant(&self) -> Variant<u8, CC2S_A>

Get enumerated values variant

Source

pub fn is_output(&self) -> bool

Checks if the value of the field is OUTPUT

Source§

impl R<bool, OC1PE_A>

Source

pub fn variant(&self) -> OC1PE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<u8, CC1S_A>

Source

pub fn variant(&self) -> Variant<u8, CC1S_A>

Get enumerated values variant

Source

pub fn is_output(&self) -> bool

Checks if the value of the field is OUTPUT

Source§

impl R<u32, Reg<u32, _CCMR1_OUTPUT>>

Source

pub fn oc2ce(&self) -> OC2CE_R

Bit 15 - Output compare 2 clear enable

Source

pub fn oc2m(&self) -> OC2M_R

Bits 12:14 - Output compare 2 mode

Source

pub fn oc2pe(&self) -> OC2PE_R

Bit 11 - Output compare 2 preload enable

Source

pub fn oc2fe(&self) -> OC2FE_R

Bit 10 - Output compare 2 fast enable

Source

pub fn cc2s(&self) -> CC2S_R

Bits 8:9 - Capture/Compare 2 selection

Source

pub fn oc1ce(&self) -> OC1CE_R

Bit 7 - Output compare 1 clear enable

Source

pub fn oc1m(&self) -> OC1M_R

Bits 4:6 - Output compare 1 mode

Source

pub fn oc1pe(&self) -> OC1PE_R

Bit 3 - Output compare 1 preload enable

Source

pub fn oc1fe(&self) -> OC1FE_R

Bit 2 - Output compare 1 fast enable

Source

pub fn cc1s(&self) -> CC1S_R

Bits 0:1 - Capture/Compare 1 selection

Source§

impl R<u8, CC2S_A>

Source

pub fn variant(&self) -> Variant<u8, CC2S_A>

Get enumerated values variant

Source

pub fn is_ti2(&self) -> bool

Checks if the value of the field is TI2

Source

pub fn is_ti1(&self) -> bool

Checks if the value of the field is TI1

Source

pub fn is_trc(&self) -> bool

Checks if the value of the field is TRC

Source§

impl R<u8, IC1F_A>

Source

pub fn variant(&self) -> IC1F_A

Get enumerated values variant

Source

pub fn is_no_filter(&self) -> bool

Checks if the value of the field is NOFILTER

Source

pub fn is_fck_int_n2(&self) -> bool

Checks if the value of the field is FCK_INT_N2

Source

pub fn is_fck_int_n4(&self) -> bool

Checks if the value of the field is FCK_INT_N4

Source

pub fn is_fck_int_n8(&self) -> bool

Checks if the value of the field is FCK_INT_N8

Source

pub fn is_fdts_div2_n6(&self) -> bool

Checks if the value of the field is FDTS_DIV2_N6

Source

pub fn is_fdts_div2_n8(&self) -> bool

Checks if the value of the field is FDTS_DIV2_N8

Source

pub fn is_fdts_div4_n6(&self) -> bool

Checks if the value of the field is FDTS_DIV4_N6

Source

pub fn is_fdts_div4_n8(&self) -> bool

Checks if the value of the field is FDTS_DIV4_N8

Source

pub fn is_fdts_div8_n6(&self) -> bool

Checks if the value of the field is FDTS_DIV8_N6

Source

pub fn is_fdts_div8_n8(&self) -> bool

Checks if the value of the field is FDTS_DIV8_N8

Source

pub fn is_fdts_div16_n5(&self) -> bool

Checks if the value of the field is FDTS_DIV16_N5

Source

pub fn is_fdts_div16_n6(&self) -> bool

Checks if the value of the field is FDTS_DIV16_N6

Source

pub fn is_fdts_div16_n8(&self) -> bool

Checks if the value of the field is FDTS_DIV16_N8

Source

pub fn is_fdts_div32_n5(&self) -> bool

Checks if the value of the field is FDTS_DIV32_N5

Source

pub fn is_fdts_div32_n6(&self) -> bool

Checks if the value of the field is FDTS_DIV32_N6

Source

pub fn is_fdts_div32_n8(&self) -> bool

Checks if the value of the field is FDTS_DIV32_N8

Source§

impl R<u8, CC1S_A>

Source

pub fn variant(&self) -> Variant<u8, CC1S_A>

Get enumerated values variant

Source

pub fn is_ti1(&self) -> bool

Checks if the value of the field is TI1

Source

pub fn is_ti2(&self) -> bool

Checks if the value of the field is TI2

Source

pub fn is_trc(&self) -> bool

Checks if the value of the field is TRC

Source§

impl R<u32, Reg<u32, _CCMR1_INPUT>>

Source

pub fn ic2f(&self) -> IC2F_R

Bits 12:15 - Input capture 2 filter

Source

pub fn ic2psc(&self) -> IC2PSC_R

Bits 10:11 - Input capture 2 prescaler

Source

pub fn cc2s(&self) -> CC2S_R

Bits 8:9 - Capture/compare 2 selection

Source

pub fn ic1f(&self) -> IC1F_R

Bits 4:7 - Input capture 1 filter

Source

pub fn ic1psc(&self) -> IC1PSC_R

Bits 2:3 - Input capture 1 prescaler

Source

pub fn cc1s(&self) -> CC1S_R

Bits 0:1 - Capture/Compare 1 selection

Source§

impl R<u8, OC4M_A>

Source

pub fn variant(&self) -> Variant<u8, OC4M_A>

Get enumerated values variant

Source

pub fn is_frozen(&self) -> bool

Checks if the value of the field is FROZEN

Source

pub fn is_active_on_match(&self) -> bool

Checks if the value of the field is ACTIVEONMATCH

Source

pub fn is_inactive_on_match(&self) -> bool

Checks if the value of the field is INACTIVEONMATCH

Source

pub fn is_toggle(&self) -> bool

Checks if the value of the field is TOGGLE

Source

pub fn is_force_inactive(&self) -> bool

Checks if the value of the field is FORCEINACTIVE

Source

pub fn is_force_active(&self) -> bool

Checks if the value of the field is FORCEACTIVE

Source

pub fn is_pwm_mode1(&self) -> bool

Checks if the value of the field is PWMMODE1

Source

pub fn is_pwm_mode2(&self) -> bool

Checks if the value of the field is PWMMODE2

Source

pub fn is_opm_mode1(&self) -> bool

Checks if the value of the field is OPMMODE1

Source

pub fn is_opm_mode2(&self) -> bool

Checks if the value of the field is OPMMODE2

Source

pub fn is_combined_pwm_mode1(&self) -> bool

Checks if the value of the field is COMBINEDPWMMODE1

Source

pub fn is_combined_pwm_mode2(&self) -> bool

Checks if the value of the field is COMBINEDPWMMODE2

Source

pub fn is_asymmetric_pwm_mode1(&self) -> bool

Checks if the value of the field is ASYMMETRICPWMMODE1

Source

pub fn is_asymmetric_pwm_mode2(&self) -> bool

Checks if the value of the field is ASYMMETRICPWMMODE2

Source§

impl R<bool, OC4PE_A>

Source

pub fn variant(&self) -> OC4PE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<u8, CC4S_A>

Source

pub fn variant(&self) -> Variant<u8, CC4S_A>

Get enumerated values variant

Source

pub fn is_output(&self) -> bool

Checks if the value of the field is OUTPUT

Source§

impl R<bool, OC3PE_A>

Source

pub fn variant(&self) -> OC3PE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<u8, CC3S_A>

Source

pub fn variant(&self) -> Variant<u8, CC3S_A>

Get enumerated values variant

Source

pub fn is_output(&self) -> bool

Checks if the value of the field is OUTPUT

Source§

impl R<u32, Reg<u32, _CCMR2_OUTPUT>>

Source

pub fn oc4ce(&self) -> OC4CE_R

Bit 15 - Output compare 4 clear enable

Source

pub fn oc4m(&self) -> OC4M_R

Bits 12:14 - Output compare 4 mode

Source

pub fn oc4pe(&self) -> OC4PE_R

Bit 11 - Output compare 4 preload enable

Source

pub fn oc4fe(&self) -> OC4FE_R

Bit 10 - Output compare 4 fast enable

Source

pub fn cc4s(&self) -> CC4S_R

Bits 8:9 - Capture/Compare 4 selection

Source

pub fn oc3ce(&self) -> OC3CE_R

Bit 7 - Output compare 3 clear enable

Source

pub fn oc3m(&self) -> OC3M_R

Bits 4:6 - Output compare 3 mode

Source

pub fn oc3pe(&self) -> OC3PE_R

Bit 3 - Output compare 3 preload enable

Source

pub fn oc3fe(&self) -> OC3FE_R

Bit 2 - Output compare 3 fast enable

Source

pub fn cc3s(&self) -> CC3S_R

Bits 0:1 - Capture/Compare 3 selection

Source§

impl R<u8, CC4S_A>

Source

pub fn variant(&self) -> Variant<u8, CC4S_A>

Get enumerated values variant

Source

pub fn is_ti4(&self) -> bool

Checks if the value of the field is TI4

Source

pub fn is_ti3(&self) -> bool

Checks if the value of the field is TI3

Source

pub fn is_trc(&self) -> bool

Checks if the value of the field is TRC

Source§

impl R<u8, CC3S_A>

Source

pub fn variant(&self) -> Variant<u8, CC3S_A>

Get enumerated values variant

Source

pub fn is_ti3(&self) -> bool

Checks if the value of the field is TI3

Source

pub fn is_ti4(&self) -> bool

Checks if the value of the field is TI4

Source

pub fn is_trc(&self) -> bool

Checks if the value of the field is TRC

Source§

impl R<u32, Reg<u32, _CCMR2_INPUT>>

Source

pub fn ic4f(&self) -> IC4F_R

Bits 12:15 - Input capture 4 filter

Source

pub fn ic4psc(&self) -> IC4PSC_R

Bits 10:11 - Input capture 4 prescaler

Source

pub fn cc4s(&self) -> CC4S_R

Bits 8:9 - Capture/Compare 4 selection

Source

pub fn ic3f(&self) -> IC3F_R

Bits 4:7 - Input capture 3 filter

Source

pub fn ic3psc(&self) -> IC3PSC_R

Bits 2:3 - Input capture 3 prescaler

Source

pub fn cc3s(&self) -> CC3S_R

Bits 0:1 - Capture/Compare 3 selection

Source§

impl R<u32, Reg<u32, _CCER>>

Source

pub fn cc4np(&self) -> CC4NP_R

Bit 15 - Capture/Compare 4 output Polarity

Source

pub fn cc4p(&self) -> CC4P_R

Bit 13 - Capture/Compare 3 output Polarity

Source

pub fn cc4e(&self) -> CC4E_R

Bit 12 - Capture/Compare 4 output enable

Source

pub fn cc3np(&self) -> CC3NP_R

Bit 11 - Capture/Compare 3 output Polarity

Source

pub fn cc3p(&self) -> CC3P_R

Bit 9 - Capture/Compare 3 output Polarity

Source

pub fn cc3e(&self) -> CC3E_R

Bit 8 - Capture/Compare 3 output enable

Source

pub fn cc2np(&self) -> CC2NP_R

Bit 7 - Capture/Compare 2 output Polarity

Source

pub fn cc2p(&self) -> CC2P_R

Bit 5 - Capture/Compare 2 output Polarity

Source

pub fn cc2e(&self) -> CC2E_R

Bit 4 - Capture/Compare 2 output enable

Source

pub fn cc1np(&self) -> CC1NP_R

Bit 3 - Capture/Compare 1 output Polarity

Source

pub fn cc1p(&self) -> CC1P_R

Bit 1 - Capture/Compare 1 output Polarity

Source

pub fn cc1e(&self) -> CC1E_R

Bit 0 - Capture/Compare 1 output enable

Source§

impl R<u32, Reg<u32, _CNT>>

Source

pub fn cnt_h(&self) -> CNT_H_R

Bits 16:31 - High counter value (TIM2 only)

Source

pub fn cnt(&self) -> CNT_R

Bits 0:15 - Counter value

Source§

impl R<u32, Reg<u32, _PSC>>

Source

pub fn psc(&self) -> PSC_R

Bits 0:15 - Prescaler value

Source§

impl R<u32, Reg<u32, _ARR>>

Source

pub fn arr_h(&self) -> ARR_H_R

Bits 16:31 - High Auto-reload value (TIM2 only)

Source

pub fn arr(&self) -> ARR_R

Bits 0:15 - Auto-reload value

Source§

impl R<u32, Reg<u32, _CCR>>

Source

pub fn ccr1_h(&self) -> CCR1_H_R

Bits 16:31 - High Capture/Compare 1 value (TIM2 only)

Source

pub fn ccr(&self) -> CCR_R

Bits 0:15 - Capture/Compare 1 value

Source§

impl R<u32, Reg<u32, _DCR>>

Source

pub fn dbl(&self) -> DBL_R

Bits 8:12 - DMA burst length

Source

pub fn dba(&self) -> DBA_R

Bits 0:4 - DMA base address

Source§

impl R<u32, Reg<u32, _DMAR>>

Source

pub fn dmab(&self) -> DMAB_R

Bits 0:15 - DMA register for burst accesses

Source§

impl R<u32, Reg<u32, _OR>>

Source

pub fn etr_rmp(&self) -> ETR_RMP_R

Bits 0:2 - Timer2 ETR remap

Source

pub fn ti4_rmp(&self) -> TI4_RMP_R

Bits 3:4 - Internal trigger

Source§

impl R<u32, Reg<u32, _CSR>>

Source

pub fn jqovf_slv(&self) -> JQOVF_SLV_R

Bit 26 - Injected Context Queue Overflow flag of the slave ADC

Source

pub fn awd3_slv(&self) -> AWD3_SLV_R

Bit 25 - Analog watchdog 3 flag of the slave ADC

Source

pub fn awd2_slv(&self) -> AWD2_SLV_R

Bit 24 - Analog watchdog 2 flag of the slave ADC

Source

pub fn awd1_slv(&self) -> AWD1_SLV_R

Bit 23 - Analog watchdog 1 flag of the slave ADC

Source

pub fn jeos_slv(&self) -> JEOS_SLV_R

Bit 22 - End of injected sequence flag of the slave ADC

Source

pub fn jeoc_slv(&self) -> JEOC_SLV_R

Bit 21 - End of injected conversion flag of the slave ADC

Source

pub fn ovr_slv(&self) -> OVR_SLV_R

Bit 20 - Overrun flag of the slave ADC

Source

pub fn eos_slv(&self) -> EOS_SLV_R

Bit 19 - End of regular sequence flag of the slave ADC

Source

pub fn eoc_slv(&self) -> EOC_SLV_R

Bit 18 - End of regular conversion flag of the slave ADC

Source

pub fn eosmp_slv(&self) -> EOSMP_SLV_R

Bit 17 - End of Sampling phase flag of the slave ADC

Source

pub fn adrdy_slv(&self) -> ADRDY_SLV_R

Bit 16 - Slave ADC ready

Source

pub fn jqovf_mst(&self) -> JQOVF_MST_R

Bit 10 - Injected Context Queue Overflow flag of the master ADC

Source

pub fn awd3_mst(&self) -> AWD3_MST_R

Bit 9 - Analog watchdog 3 flag of the master ADC

Source

pub fn awd2_mst(&self) -> AWD2_MST_R

Bit 8 - Analog watchdog 2 flag of the master ADC

Source

pub fn awd1_mst(&self) -> AWD1_MST_R

Bit 7 - Analog watchdog 1 flag of the master ADC

Source

pub fn jeos_mst(&self) -> JEOS_MST_R

Bit 6 - End of injected sequence flag of the master ADC

Source

pub fn jeoc_mst(&self) -> JEOC_MST_R

Bit 5 - End of injected conversion flag of the master ADC

Source

pub fn ovr_mst(&self) -> OVR_MST_R

Bit 4 - Overrun flag of the master ADC

Source

pub fn eos_mst(&self) -> EOS_MST_R

Bit 3 - End of regular sequence flag of the master ADC

Source

pub fn eoc_mst(&self) -> EOC_MST_R

Bit 2 - End of regular conversion flag of the master ADC

Source

pub fn eosmp_mst(&self) -> EOSMP_MST_R

Bit 1 - End of Sampling phase flag of the master ADC

Source

pub fn adrdy_mst(&self) -> ADRDY_MST_R

Bit 0 - master ADC ready

Source§

impl R<u32, Reg<u32, _CCR>>

Source

pub fn ch18sel(&self) -> CH18SEL_R

Bit 24 - CH18 selection (Vbat)

Source

pub fn ch17sel(&self) -> CH17SEL_R

Bit 23 - CH17 selection (temperature)

Source

pub fn vrefen(&self) -> VREFEN_R

Bit 22 - Vrefint enable

Source

pub fn presc(&self) -> PRESC_R

Bits 18:21 - ADC prescaler

Source

pub fn ckmode(&self) -> CKMODE_R

Bits 16:17 - ADC clock mode

Source

pub fn mdma(&self) -> MDMA_R

Bits 14:15 - Direct memory access mode for dual ADC mode

Source

pub fn dmacfg(&self) -> DMACFG_R

Bit 13 - DMA configuration (for dual ADC mode)

Source

pub fn delay(&self) -> DELAY_R

Bits 8:11 - Delay between 2 sampling phases

Source

pub fn dual(&self) -> DUAL_R

Bits 0:4 - Dual ADC mode selection

Source§

impl R<u32, Reg<u32, _CDR>>

Source

pub fn rdata_slv(&self) -> RDATA_SLV_R

Bits 16:31 - Regular data of the slave ADC

Source

pub fn rdata_mst(&self) -> RDATA_MST_R

Bits 0:15 - Regular data of the master ADC

Source§

impl R<u32, Reg<u32, _CR>>

Source

pub fn en1(&self) -> EN1_R

Bit 0 - DAC channel1 enable

Source

pub fn ten1(&self) -> TEN1_R

Bit 2 - DAC channel1 trigger enable

Source

pub fn tsel1(&self) -> TSEL1_R

Bits 3:5 - DAC channel1 trigger selection

Source

pub fn wave1(&self) -> WAVE1_R

Bits 6:7 - DAC channel1 noise/triangle wave generation enable

Source

pub fn mamp1(&self) -> MAMP1_R

Bits 8:11 - DAC channel1 mask/amplitude selector

Source

pub fn dmaen1(&self) -> DMAEN1_R

Bit 12 - DAC channel1 DMA enable

Source

pub fn dmaudrie1(&self) -> DMAUDRIE1_R

Bit 13 - DAC channel1 DMA Underrun Interrupt enable

Source

pub fn cen1(&self) -> CEN1_R

Bit 14 - DAC Channel 1 calibration enable

Source

pub fn en2(&self) -> EN2_R

Bit 16 - DAC channel2 enable

Source

pub fn ten2(&self) -> TEN2_R

Bit 18 - DAC channel2 trigger enable

Source

pub fn tsel2(&self) -> TSEL2_R

Bits 19:21 - DAC channel2 trigger selection

Source

pub fn wave2(&self) -> WAVE2_R

Bits 22:23 - DAC channel2 noise/triangle wave generation enable

Source

pub fn mamp2(&self) -> MAMP2_R

Bits 24:27 - DAC channel2 mask/amplitude selector

Source

pub fn dmaen2(&self) -> DMAEN2_R

Bit 28 - DAC channel2 DMA enable

Source

pub fn dmaudrie2(&self) -> DMAUDRIE2_R

Bit 29 - DAC channel2 DMA underrun interrupt enable

Source

pub fn cen2(&self) -> CEN2_R

Bit 30 - DAC Channel 2 calibration enable

Source§

impl R<u32, Reg<u32, _DHR12R1>>

Source

pub fn dacc1dhr(&self) -> DACC1DHR_R

Bits 0:11 - DAC channel1 12-bit right-aligned data

Source§

impl R<u32, Reg<u32, _DHR12L1>>

Source

pub fn dacc1dhr(&self) -> DACC1DHR_R

Bits 4:15 - DAC channel1 12-bit left-aligned data

Source§

impl R<u32, Reg<u32, _DHR8R1>>

Source

pub fn dacc1dhr(&self) -> DACC1DHR_R

Bits 0:7 - DAC channel1 8-bit right-aligned data

Source§

impl R<u32, Reg<u32, _DHR12R2>>

Source

pub fn dacc2dhr(&self) -> DACC2DHR_R

Bits 0:11 - DAC channel2 12-bit right-aligned data

Source§

impl R<u32, Reg<u32, _DHR12L2>>

Source

pub fn dacc2dhr(&self) -> DACC2DHR_R

Bits 4:15 - DAC channel2 12-bit left-aligned data

Source§

impl R<u32, Reg<u32, _DHR8R2>>

Source

pub fn dacc2dhr(&self) -> DACC2DHR_R

Bits 0:7 - DAC channel2 8-bit right-aligned data

Source§

impl R<u32, Reg<u32, _DHR12RD>>

Source

pub fn dacc1dhr(&self) -> DACC1DHR_R

Bits 0:11 - DAC channel1 12-bit right-aligned data

Source

pub fn dacc2dhr(&self) -> DACC2DHR_R

Bits 16:27 - DAC channel2 12-bit right-aligned data

Source§

impl R<u32, Reg<u32, _DHR12LD>>

Source

pub fn dacc1dhr(&self) -> DACC1DHR_R

Bits 4:15 - DAC channel1 12-bit left-aligned data

Source

pub fn dacc2dhr(&self) -> DACC2DHR_R

Bits 20:31 - DAC channel2 12-bit left-aligned data

Source§

impl R<u32, Reg<u32, _DHR8RD>>

Source

pub fn dacc1dhr(&self) -> DACC1DHR_R

Bits 0:7 - DAC channel1 8-bit right-aligned data

Source

pub fn dacc2dhr(&self) -> DACC2DHR_R

Bits 8:15 - DAC channel2 8-bit right-aligned data

Source§

impl R<u32, Reg<u32, _DOR1>>

Source

pub fn dacc1dor(&self) -> DACC1DOR_R

Bits 0:11 - DAC channel1 data output

Source§

impl R<u32, Reg<u32, _DOR2>>

Source

pub fn dacc2dor(&self) -> DACC2DOR_R

Bits 0:11 - DAC channel2 data output

Source§

impl R<u32, Reg<u32, _SR>>

Source

pub fn dmaudr1(&self) -> DMAUDR1_R

Bit 13 - DAC channel1 DMA underrun flag

Source

pub fn cal_flag1(&self) -> CAL_FLAG1_R

Bit 14 - DAC Channel 1 calibration offset status

Source

pub fn bwst1(&self) -> BWST1_R

Bit 15 - DAC Channel 1 busy writing sample time flag

Source

pub fn dmaudr2(&self) -> DMAUDR2_R

Bit 29 - DAC channel2 DMA underrun flag

Source

pub fn cal_flag2(&self) -> CAL_FLAG2_R

Bit 30 - DAC Channel 2 calibration offset status

Source

pub fn bwst2(&self) -> BWST2_R

Bit 31 - DAC Channel 2 busy writing sample time flag

Source§

impl R<u32, Reg<u32, _CCR>>

Source

pub fn otrim1(&self) -> OTRIM1_R

Bits 0:4 - DAC Channel 1 offset trimming value

Source

pub fn otrim2(&self) -> OTRIM2_R

Bits 16:20 - DAC Channel 2 offset trimming value

Source§

impl R<u32, Reg<u32, _MCR>>

Source

pub fn mode1(&self) -> MODE1_R

Bits 0:2 - DAC Channel 1 mode

Source

pub fn mode2(&self) -> MODE2_R

Bits 16:18 - DAC Channel 2 mode

Source§

impl R<u32, Reg<u32, _SHSR1>>

Source

pub fn tsample1(&self) -> TSAMPLE1_R

Bits 0:9 - DAC Channel 1 sample Time

Source§

impl R<u32, Reg<u32, _SHSR2>>

Source

pub fn tsample2(&self) -> TSAMPLE2_R

Bits 0:9 - DAC Channel 2 sample Time

Source§

impl R<u32, Reg<u32, _SHHR>>

Source

pub fn thold1(&self) -> THOLD1_R

Bits 0:9 - DAC Channel 1 hold Time

Source

pub fn thold2(&self) -> THOLD2_R

Bits 16:25 - DAC Channel 2 hold time

Source§

impl R<u32, Reg<u32, _SHRR>>

Source

pub fn trefresh1(&self) -> TREFRESH1_R

Bits 0:7 - DAC Channel 1 refresh Time

Source

pub fn trefresh2(&self) -> TREFRESH2_R

Bits 16:23 - DAC Channel 2 refresh Time

Source§

impl R<bool, TEIF7_A>

Source

pub fn variant(&self) -> TEIF7_A

Get enumerated values variant

Source

pub fn is_no_error(&self) -> bool

Checks if the value of the field is NOERROR

Source

pub fn is_error(&self) -> bool

Checks if the value of the field is ERROR

Source§

impl R<bool, HTIF7_A>

Source

pub fn variant(&self) -> HTIF7_A

Get enumerated values variant

Source

pub fn is_not_half(&self) -> bool

Checks if the value of the field is NOTHALF

Source

pub fn is_half(&self) -> bool

Checks if the value of the field is HALF

Source§

impl R<bool, TCIF7_A>

Source

pub fn variant(&self) -> TCIF7_A

Get enumerated values variant

Source

pub fn is_not_complete(&self) -> bool

Checks if the value of the field is NOTCOMPLETE

Source

pub fn is_complete(&self) -> bool

Checks if the value of the field is COMPLETE

Source§

impl R<bool, GIF7_A>

Source

pub fn variant(&self) -> GIF7_A

Get enumerated values variant

Source

pub fn is_no_event(&self) -> bool

Checks if the value of the field is NOEVENT

Source

pub fn is_event(&self) -> bool

Checks if the value of the field is EVENT

Source§

impl R<u32, Reg<u32, _ISR>>

Source

pub fn teif7(&self) -> TEIF7_R

Bit 27 - Channel x transfer error flag (x = 1 ..7)

Source

pub fn htif7(&self) -> HTIF7_R

Bit 26 - Channel x half transfer flag (x = 1 ..7)

Source

pub fn tcif7(&self) -> TCIF7_R

Bit 25 - Channel x transfer complete flag (x = 1 ..7)

Source

pub fn gif7(&self) -> GIF7_R

Bit 24 - Channel x global interrupt flag (x = 1 ..7)

Source

pub fn teif6(&self) -> TEIF6_R

Bit 23 - Channel x transfer error flag (x = 1 ..7)

Source

pub fn htif6(&self) -> HTIF6_R

Bit 22 - Channel x half transfer flag (x = 1 ..7)

Source

pub fn tcif6(&self) -> TCIF6_R

Bit 21 - Channel x transfer complete flag (x = 1 ..7)

Source

pub fn gif6(&self) -> GIF6_R

Bit 20 - Channel x global interrupt flag (x = 1 ..7)

Source

pub fn teif5(&self) -> TEIF5_R

Bit 19 - Channel x transfer error flag (x = 1 ..7)

Source

pub fn htif5(&self) -> HTIF5_R

Bit 18 - Channel x half transfer flag (x = 1 ..7)

Source

pub fn tcif5(&self) -> TCIF5_R

Bit 17 - Channel x transfer complete flag (x = 1 ..7)

Source

pub fn gif5(&self) -> GIF5_R

Bit 16 - Channel x global interrupt flag (x = 1 ..7)

Source

pub fn teif4(&self) -> TEIF4_R

Bit 15 - Channel x transfer error flag (x = 1 ..7)

Source

pub fn htif4(&self) -> HTIF4_R

Bit 14 - Channel x half transfer flag (x = 1 ..7)

Source

pub fn tcif4(&self) -> TCIF4_R

Bit 13 - Channel x transfer complete flag (x = 1 ..7)

Source

pub fn gif4(&self) -> GIF4_R

Bit 12 - Channel x global interrupt flag (x = 1 ..7)

Source

pub fn teif3(&self) -> TEIF3_R

Bit 11 - Channel x transfer error flag (x = 1 ..7)

Source

pub fn htif3(&self) -> HTIF3_R

Bit 10 - Channel x half transfer flag (x = 1 ..7)

Source

pub fn tcif3(&self) -> TCIF3_R

Bit 9 - Channel x transfer complete flag (x = 1 ..7)

Source

pub fn gif3(&self) -> GIF3_R

Bit 8 - Channel x global interrupt flag (x = 1 ..7)

Source

pub fn teif2(&self) -> TEIF2_R

Bit 7 - Channel x transfer error flag (x = 1 ..7)

Source

pub fn htif2(&self) -> HTIF2_R

Bit 6 - Channel x half transfer flag (x = 1 ..7)

Source

pub fn tcif2(&self) -> TCIF2_R

Bit 5 - Channel x transfer complete flag (x = 1 ..7)

Source

pub fn gif2(&self) -> GIF2_R

Bit 4 - Channel x global interrupt flag (x = 1 ..7)

Source

pub fn teif1(&self) -> TEIF1_R

Bit 3 - Channel x transfer error flag (x = 1 ..7)

Source

pub fn htif1(&self) -> HTIF1_R

Bit 2 - Channel x half transfer flag (x = 1 ..7)

Source

pub fn tcif1(&self) -> TCIF1_R

Bit 1 - Channel x transfer complete flag (x = 1 ..7)

Source

pub fn gif1(&self) -> GIF1_R

Bit 0 - Channel x global interrupt flag (x = 1 ..7)

Source§

impl R<bool, MEM2MEM_A>

Source

pub fn variant(&self) -> MEM2MEM_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<u8, PL_A>

Source

pub fn variant(&self) -> PL_A

Get enumerated values variant

Source

pub fn is_low(&self) -> bool

Checks if the value of the field is LOW

Source

pub fn is_medium(&self) -> bool

Checks if the value of the field is MEDIUM

Source

pub fn is_high(&self) -> bool

Checks if the value of the field is HIGH

Source

pub fn is_very_high(&self) -> bool

Checks if the value of the field is VERYHIGH

Source§

impl R<u8, MSIZE_A>

Source

pub fn variant(&self) -> Variant<u8, MSIZE_A>

Get enumerated values variant

Source

pub fn is_bits8(&self) -> bool

Checks if the value of the field is BITS8

Source

pub fn is_bits16(&self) -> bool

Checks if the value of the field is BITS16

Source

pub fn is_bits32(&self) -> bool

Checks if the value of the field is BITS32

Source§

impl R<bool, MINC_A>

Source

pub fn variant(&self) -> MINC_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, CIRC_A>

Source

pub fn variant(&self) -> CIRC_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, DIR_A>

Source

pub fn variant(&self) -> DIR_A

Get enumerated values variant

Source

pub fn is_from_peripheral(&self) -> bool

Checks if the value of the field is FROMPERIPHERAL

Source

pub fn is_from_memory(&self) -> bool

Checks if the value of the field is FROMMEMORY

Source§

impl R<bool, TEIE_A>

Source

pub fn variant(&self) -> TEIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, HTIE_A>

Source

pub fn variant(&self) -> HTIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, TCIE_A>

Source

pub fn variant(&self) -> TCIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, EN_A>

Source

pub fn variant(&self) -> EN_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<u32, Reg<u32, _CCR1>>

Source

pub fn mem2mem(&self) -> MEM2MEM_R

Bit 14 - Memory to memory mode

Source

pub fn pl(&self) -> PL_R

Bits 12:13 - Channel priority level

Source

pub fn msize(&self) -> MSIZE_R

Bits 10:11 - Memory size

Source

pub fn psize(&self) -> PSIZE_R

Bits 8:9 - Peripheral size

Source

pub fn minc(&self) -> MINC_R

Bit 7 - Memory increment mode

Source

pub fn pinc(&self) -> PINC_R

Bit 6 - Peripheral increment mode

Source

pub fn circ(&self) -> CIRC_R

Bit 5 - Circular mode

Source

pub fn dir(&self) -> DIR_R

Bit 4 - Data transfer direction

Source

pub fn teie(&self) -> TEIE_R

Bit 3 - Transfer error interrupt enable

Source

pub fn htie(&self) -> HTIE_R

Bit 2 - Half transfer interrupt enable

Source

pub fn tcie(&self) -> TCIE_R

Bit 1 - Transfer complete interrupt enable

Source

pub fn en(&self) -> EN_R

Bit 0 - Channel enable

Source§

impl R<u32, Reg<u32, _CNDTR1>>

Source

pub fn ndt(&self) -> NDT_R

Bits 0:15 - Number of data to transfer

Source§

impl R<u32, Reg<u32, _CPAR1>>

Source

pub fn pa(&self) -> PA_R

Bits 0:31 - Peripheral address

Source§

impl R<u32, Reg<u32, _CMAR1>>

Source

pub fn ma(&self) -> MA_R

Bits 0:31 - Memory address

Source§

impl R<bool, MEM2MEM_A>

Source

pub fn variant(&self) -> MEM2MEM_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<u8, PL_A>

Source

pub fn variant(&self) -> PL_A

Get enumerated values variant

Source

pub fn is_low(&self) -> bool

Checks if the value of the field is LOW

Source

pub fn is_medium(&self) -> bool

Checks if the value of the field is MEDIUM

Source

pub fn is_high(&self) -> bool

Checks if the value of the field is HIGH

Source

pub fn is_very_high(&self) -> bool

Checks if the value of the field is VERYHIGH

Source§

impl R<u8, MSIZE_A>

Source

pub fn variant(&self) -> Variant<u8, MSIZE_A>

Get enumerated values variant

Source

pub fn is_bits8(&self) -> bool

Checks if the value of the field is BITS8

Source

pub fn is_bits16(&self) -> bool

Checks if the value of the field is BITS16

Source

pub fn is_bits32(&self) -> bool

Checks if the value of the field is BITS32

Source§

impl R<bool, MINC_A>

Source

pub fn variant(&self) -> MINC_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, CIRC_A>

Source

pub fn variant(&self) -> CIRC_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, DIR_A>

Source

pub fn variant(&self) -> DIR_A

Get enumerated values variant

Source

pub fn is_from_peripheral(&self) -> bool

Checks if the value of the field is FROMPERIPHERAL

Source

pub fn is_from_memory(&self) -> bool

Checks if the value of the field is FROMMEMORY

Source§

impl R<bool, TEIE_A>

Source

pub fn variant(&self) -> TEIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, HTIE_A>

Source

pub fn variant(&self) -> HTIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, TCIE_A>

Source

pub fn variant(&self) -> TCIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, EN_A>

Source

pub fn variant(&self) -> EN_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<u32, Reg<u32, _CCR2>>

Source

pub fn mem2mem(&self) -> MEM2MEM_R

Bit 14 - Memory to memory mode

Source

pub fn pl(&self) -> PL_R

Bits 12:13 - Channel priority level

Source

pub fn msize(&self) -> MSIZE_R

Bits 10:11 - Memory size

Source

pub fn psize(&self) -> PSIZE_R

Bits 8:9 - Peripheral size

Source

pub fn minc(&self) -> MINC_R

Bit 7 - Memory increment mode

Source

pub fn pinc(&self) -> PINC_R

Bit 6 - Peripheral increment mode

Source

pub fn circ(&self) -> CIRC_R

Bit 5 - Circular mode

Source

pub fn dir(&self) -> DIR_R

Bit 4 - Data transfer direction

Source

pub fn teie(&self) -> TEIE_R

Bit 3 - Transfer error interrupt enable

Source

pub fn htie(&self) -> HTIE_R

Bit 2 - Half transfer interrupt enable

Source

pub fn tcie(&self) -> TCIE_R

Bit 1 - Transfer complete interrupt enable

Source

pub fn en(&self) -> EN_R

Bit 0 - Channel enable

Source§

impl R<u32, Reg<u32, _CNDTR2>>

Source

pub fn ndt(&self) -> NDT_R

Bits 0:15 - Number of data to transfer

Source§

impl R<u32, Reg<u32, _CPAR2>>

Source

pub fn pa(&self) -> PA_R

Bits 0:31 - Peripheral address

Source§

impl R<u32, Reg<u32, _CMAR2>>

Source

pub fn ma(&self) -> MA_R

Bits 0:31 - Memory address

Source§

impl R<bool, MEM2MEM_A>

Source

pub fn variant(&self) -> MEM2MEM_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<u8, PL_A>

Source

pub fn variant(&self) -> PL_A

Get enumerated values variant

Source

pub fn is_low(&self) -> bool

Checks if the value of the field is LOW

Source

pub fn is_medium(&self) -> bool

Checks if the value of the field is MEDIUM

Source

pub fn is_high(&self) -> bool

Checks if the value of the field is HIGH

Source

pub fn is_very_high(&self) -> bool

Checks if the value of the field is VERYHIGH

Source§

impl R<u8, MSIZE_A>

Source

pub fn variant(&self) -> Variant<u8, MSIZE_A>

Get enumerated values variant

Source

pub fn is_bits8(&self) -> bool

Checks if the value of the field is BITS8

Source

pub fn is_bits16(&self) -> bool

Checks if the value of the field is BITS16

Source

pub fn is_bits32(&self) -> bool

Checks if the value of the field is BITS32

Source§

impl R<bool, MINC_A>

Source

pub fn variant(&self) -> MINC_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, CIRC_A>

Source

pub fn variant(&self) -> CIRC_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, DIR_A>

Source

pub fn variant(&self) -> DIR_A

Get enumerated values variant

Source

pub fn is_from_peripheral(&self) -> bool

Checks if the value of the field is FROMPERIPHERAL

Source

pub fn is_from_memory(&self) -> bool

Checks if the value of the field is FROMMEMORY

Source§

impl R<bool, TEIE_A>

Source

pub fn variant(&self) -> TEIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, HTIE_A>

Source

pub fn variant(&self) -> HTIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, TCIE_A>

Source

pub fn variant(&self) -> TCIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, EN_A>

Source

pub fn variant(&self) -> EN_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<u32, Reg<u32, _CCR3>>

Source

pub fn mem2mem(&self) -> MEM2MEM_R

Bit 14 - Memory to memory mode

Source

pub fn pl(&self) -> PL_R

Bits 12:13 - Channel priority level

Source

pub fn msize(&self) -> MSIZE_R

Bits 10:11 - Memory size

Source

pub fn psize(&self) -> PSIZE_R

Bits 8:9 - Peripheral size

Source

pub fn minc(&self) -> MINC_R

Bit 7 - Memory increment mode

Source

pub fn pinc(&self) -> PINC_R

Bit 6 - Peripheral increment mode

Source

pub fn circ(&self) -> CIRC_R

Bit 5 - Circular mode

Source

pub fn dir(&self) -> DIR_R

Bit 4 - Data transfer direction

Source

pub fn teie(&self) -> TEIE_R

Bit 3 - Transfer error interrupt enable

Source

pub fn htie(&self) -> HTIE_R

Bit 2 - Half transfer interrupt enable

Source

pub fn tcie(&self) -> TCIE_R

Bit 1 - Transfer complete interrupt enable

Source

pub fn en(&self) -> EN_R

Bit 0 - Channel enable

Source§

impl R<u32, Reg<u32, _CNDTR3>>

Source

pub fn ndt(&self) -> NDT_R

Bits 0:15 - Number of data to transfer

Source§

impl R<u32, Reg<u32, _CPAR3>>

Source

pub fn pa(&self) -> PA_R

Bits 0:31 - Peripheral address

Source§

impl R<u32, Reg<u32, _CMAR3>>

Source

pub fn ma(&self) -> MA_R

Bits 0:31 - Memory address

Source§

impl R<bool, MEM2MEM_A>

Source

pub fn variant(&self) -> MEM2MEM_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<u8, PL_A>

Source

pub fn variant(&self) -> PL_A

Get enumerated values variant

Source

pub fn is_low(&self) -> bool

Checks if the value of the field is LOW

Source

pub fn is_medium(&self) -> bool

Checks if the value of the field is MEDIUM

Source

pub fn is_high(&self) -> bool

Checks if the value of the field is HIGH

Source

pub fn is_very_high(&self) -> bool

Checks if the value of the field is VERYHIGH

Source§

impl R<u8, MSIZE_A>

Source

pub fn variant(&self) -> Variant<u8, MSIZE_A>

Get enumerated values variant

Source

pub fn is_bits8(&self) -> bool

Checks if the value of the field is BITS8

Source

pub fn is_bits16(&self) -> bool

Checks if the value of the field is BITS16

Source

pub fn is_bits32(&self) -> bool

Checks if the value of the field is BITS32

Source§

impl R<bool, MINC_A>

Source

pub fn variant(&self) -> MINC_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, CIRC_A>

Source

pub fn variant(&self) -> CIRC_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, DIR_A>

Source

pub fn variant(&self) -> DIR_A

Get enumerated values variant

Source

pub fn is_from_peripheral(&self) -> bool

Checks if the value of the field is FROMPERIPHERAL

Source

pub fn is_from_memory(&self) -> bool

Checks if the value of the field is FROMMEMORY

Source§

impl R<bool, TEIE_A>

Source

pub fn variant(&self) -> TEIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, HTIE_A>

Source

pub fn variant(&self) -> HTIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, TCIE_A>

Source

pub fn variant(&self) -> TCIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, EN_A>

Source

pub fn variant(&self) -> EN_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<u32, Reg<u32, _CCR4>>

Source

pub fn mem2mem(&self) -> MEM2MEM_R

Bit 14 - Memory to memory mode

Source

pub fn pl(&self) -> PL_R

Bits 12:13 - Channel priority level

Source

pub fn msize(&self) -> MSIZE_R

Bits 10:11 - Memory size

Source

pub fn psize(&self) -> PSIZE_R

Bits 8:9 - Peripheral size

Source

pub fn minc(&self) -> MINC_R

Bit 7 - Memory increment mode

Source

pub fn pinc(&self) -> PINC_R

Bit 6 - Peripheral increment mode

Source

pub fn circ(&self) -> CIRC_R

Bit 5 - Circular mode

Source

pub fn dir(&self) -> DIR_R

Bit 4 - Data transfer direction

Source

pub fn teie(&self) -> TEIE_R

Bit 3 - Transfer error interrupt enable

Source

pub fn htie(&self) -> HTIE_R

Bit 2 - Half transfer interrupt enable

Source

pub fn tcie(&self) -> TCIE_R

Bit 1 - Transfer complete interrupt enable

Source

pub fn en(&self) -> EN_R

Bit 0 - Channel enable

Source§

impl R<u32, Reg<u32, _CNDTR4>>

Source

pub fn ndt(&self) -> NDT_R

Bits 0:15 - Number of data to transfer

Source§

impl R<u32, Reg<u32, _CPAR4>>

Source

pub fn pa(&self) -> PA_R

Bits 0:31 - Peripheral address

Source§

impl R<u32, Reg<u32, _CMAR4>>

Source

pub fn ma(&self) -> MA_R

Bits 0:31 - Memory address

Source§

impl R<bool, MEM2MEM_A>

Source

pub fn variant(&self) -> MEM2MEM_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<u8, PL_A>

Source

pub fn variant(&self) -> PL_A

Get enumerated values variant

Source

pub fn is_low(&self) -> bool

Checks if the value of the field is LOW

Source

pub fn is_medium(&self) -> bool

Checks if the value of the field is MEDIUM

Source

pub fn is_high(&self) -> bool

Checks if the value of the field is HIGH

Source

pub fn is_very_high(&self) -> bool

Checks if the value of the field is VERYHIGH

Source§

impl R<u8, MSIZE_A>

Source

pub fn variant(&self) -> Variant<u8, MSIZE_A>

Get enumerated values variant

Source

pub fn is_bits8(&self) -> bool

Checks if the value of the field is BITS8

Source

pub fn is_bits16(&self) -> bool

Checks if the value of the field is BITS16

Source

pub fn is_bits32(&self) -> bool

Checks if the value of the field is BITS32

Source§

impl R<bool, MINC_A>

Source

pub fn variant(&self) -> MINC_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, CIRC_A>

Source

pub fn variant(&self) -> CIRC_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, DIR_A>

Source

pub fn variant(&self) -> DIR_A

Get enumerated values variant

Source

pub fn is_from_peripheral(&self) -> bool

Checks if the value of the field is FROMPERIPHERAL

Source

pub fn is_from_memory(&self) -> bool

Checks if the value of the field is FROMMEMORY

Source§

impl R<bool, TEIE_A>

Source

pub fn variant(&self) -> TEIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, HTIE_A>

Source

pub fn variant(&self) -> HTIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, TCIE_A>

Source

pub fn variant(&self) -> TCIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, EN_A>

Source

pub fn variant(&self) -> EN_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<u32, Reg<u32, _CCR5>>

Source

pub fn mem2mem(&self) -> MEM2MEM_R

Bit 14 - Memory to memory mode

Source

pub fn pl(&self) -> PL_R

Bits 12:13 - Channel priority level

Source

pub fn msize(&self) -> MSIZE_R

Bits 10:11 - Memory size

Source

pub fn psize(&self) -> PSIZE_R

Bits 8:9 - Peripheral size

Source

pub fn minc(&self) -> MINC_R

Bit 7 - Memory increment mode

Source

pub fn pinc(&self) -> PINC_R

Bit 6 - Peripheral increment mode

Source

pub fn circ(&self) -> CIRC_R

Bit 5 - Circular mode

Source

pub fn dir(&self) -> DIR_R

Bit 4 - Data transfer direction

Source

pub fn teie(&self) -> TEIE_R

Bit 3 - Transfer error interrupt enable

Source

pub fn htie(&self) -> HTIE_R

Bit 2 - Half transfer interrupt enable

Source

pub fn tcie(&self) -> TCIE_R

Bit 1 - Transfer complete interrupt enable

Source

pub fn en(&self) -> EN_R

Bit 0 - Channel enable

Source§

impl R<u32, Reg<u32, _CNDTR5>>

Source

pub fn ndt(&self) -> NDT_R

Bits 0:15 - Number of data to transfer

Source§

impl R<u32, Reg<u32, _CPAR5>>

Source

pub fn pa(&self) -> PA_R

Bits 0:31 - Peripheral address

Source§

impl R<u32, Reg<u32, _CMAR5>>

Source

pub fn ma(&self) -> MA_R

Bits 0:31 - Memory address

Source§

impl R<bool, MEM2MEM_A>

Source

pub fn variant(&self) -> MEM2MEM_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<u8, PL_A>

Source

pub fn variant(&self) -> PL_A

Get enumerated values variant

Source

pub fn is_low(&self) -> bool

Checks if the value of the field is LOW

Source

pub fn is_medium(&self) -> bool

Checks if the value of the field is MEDIUM

Source

pub fn is_high(&self) -> bool

Checks if the value of the field is HIGH

Source

pub fn is_very_high(&self) -> bool

Checks if the value of the field is VERYHIGH

Source§

impl R<u8, MSIZE_A>

Source

pub fn variant(&self) -> Variant<u8, MSIZE_A>

Get enumerated values variant

Source

pub fn is_bits8(&self) -> bool

Checks if the value of the field is BITS8

Source

pub fn is_bits16(&self) -> bool

Checks if the value of the field is BITS16

Source

pub fn is_bits32(&self) -> bool

Checks if the value of the field is BITS32

Source§

impl R<bool, MINC_A>

Source

pub fn variant(&self) -> MINC_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, CIRC_A>

Source

pub fn variant(&self) -> CIRC_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, DIR_A>

Source

pub fn variant(&self) -> DIR_A

Get enumerated values variant

Source

pub fn is_from_peripheral(&self) -> bool

Checks if the value of the field is FROMPERIPHERAL

Source

pub fn is_from_memory(&self) -> bool

Checks if the value of the field is FROMMEMORY

Source§

impl R<bool, TEIE_A>

Source

pub fn variant(&self) -> TEIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, HTIE_A>

Source

pub fn variant(&self) -> HTIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, TCIE_A>

Source

pub fn variant(&self) -> TCIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, EN_A>

Source

pub fn variant(&self) -> EN_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<u32, Reg<u32, _CCR6>>

Source

pub fn mem2mem(&self) -> MEM2MEM_R

Bit 14 - Memory to memory mode

Source

pub fn pl(&self) -> PL_R

Bits 12:13 - Channel priority level

Source

pub fn msize(&self) -> MSIZE_R

Bits 10:11 - Memory size

Source

pub fn psize(&self) -> PSIZE_R

Bits 8:9 - Peripheral size

Source

pub fn minc(&self) -> MINC_R

Bit 7 - Memory increment mode

Source

pub fn pinc(&self) -> PINC_R

Bit 6 - Peripheral increment mode

Source

pub fn circ(&self) -> CIRC_R

Bit 5 - Circular mode

Source

pub fn dir(&self) -> DIR_R

Bit 4 - Data transfer direction

Source

pub fn teie(&self) -> TEIE_R

Bit 3 - Transfer error interrupt enable

Source

pub fn htie(&self) -> HTIE_R

Bit 2 - Half transfer interrupt enable

Source

pub fn tcie(&self) -> TCIE_R

Bit 1 - Transfer complete interrupt enable

Source

pub fn en(&self) -> EN_R

Bit 0 - Channel enable

Source§

impl R<u32, Reg<u32, _CNDTR6>>

Source

pub fn ndt(&self) -> NDT_R

Bits 0:15 - Number of data to transfer

Source§

impl R<u32, Reg<u32, _CPAR6>>

Source

pub fn pa(&self) -> PA_R

Bits 0:31 - Peripheral address

Source§

impl R<u32, Reg<u32, _CMAR6>>

Source

pub fn ma(&self) -> MA_R

Bits 0:31 - Memory address

Source§

impl R<bool, MEM2MEM_A>

Source

pub fn variant(&self) -> MEM2MEM_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<u8, PL_A>

Source

pub fn variant(&self) -> PL_A

Get enumerated values variant

Source

pub fn is_low(&self) -> bool

Checks if the value of the field is LOW

Source

pub fn is_medium(&self) -> bool

Checks if the value of the field is MEDIUM

Source

pub fn is_high(&self) -> bool

Checks if the value of the field is HIGH

Source

pub fn is_very_high(&self) -> bool

Checks if the value of the field is VERYHIGH

Source§

impl R<u8, MSIZE_A>

Source

pub fn variant(&self) -> Variant<u8, MSIZE_A>

Get enumerated values variant

Source

pub fn is_bits8(&self) -> bool

Checks if the value of the field is BITS8

Source

pub fn is_bits16(&self) -> bool

Checks if the value of the field is BITS16

Source

pub fn is_bits32(&self) -> bool

Checks if the value of the field is BITS32

Source§

impl R<bool, MINC_A>

Source

pub fn variant(&self) -> MINC_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, CIRC_A>

Source

pub fn variant(&self) -> CIRC_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, DIR_A>

Source

pub fn variant(&self) -> DIR_A

Get enumerated values variant

Source

pub fn is_from_peripheral(&self) -> bool

Checks if the value of the field is FROMPERIPHERAL

Source

pub fn is_from_memory(&self) -> bool

Checks if the value of the field is FROMMEMORY

Source§

impl R<bool, TEIE_A>

Source

pub fn variant(&self) -> TEIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, HTIE_A>

Source

pub fn variant(&self) -> HTIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, TCIE_A>

Source

pub fn variant(&self) -> TCIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, EN_A>

Source

pub fn variant(&self) -> EN_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<u32, Reg<u32, _CCR7>>

Source

pub fn mem2mem(&self) -> MEM2MEM_R

Bit 14 - Memory to memory mode

Source

pub fn pl(&self) -> PL_R

Bits 12:13 - Channel priority level

Source

pub fn msize(&self) -> MSIZE_R

Bits 10:11 - Memory size

Source

pub fn psize(&self) -> PSIZE_R

Bits 8:9 - Peripheral size

Source

pub fn minc(&self) -> MINC_R

Bit 7 - Memory increment mode

Source

pub fn pinc(&self) -> PINC_R

Bit 6 - Peripheral increment mode

Source

pub fn circ(&self) -> CIRC_R

Bit 5 - Circular mode

Source

pub fn dir(&self) -> DIR_R

Bit 4 - Data transfer direction

Source

pub fn teie(&self) -> TEIE_R

Bit 3 - Transfer error interrupt enable

Source

pub fn htie(&self) -> HTIE_R

Bit 2 - Half transfer interrupt enable

Source

pub fn tcie(&self) -> TCIE_R

Bit 1 - Transfer complete interrupt enable

Source

pub fn en(&self) -> EN_R

Bit 0 - Channel enable

Source§

impl R<u32, Reg<u32, _CNDTR7>>

Source

pub fn ndt(&self) -> NDT_R

Bits 0:15 - Number of data to transfer

Source§

impl R<u32, Reg<u32, _CPAR7>>

Source

pub fn pa(&self) -> PA_R

Bits 0:31 - Peripheral address

Source§

impl R<u32, Reg<u32, _CMAR7>>

Source

pub fn ma(&self) -> MA_R

Bits 0:31 - Memory address

Source§

impl R<u8, C7S_A>

Source

pub fn variant(&self) -> C7S_A

Get enumerated values variant

Source

pub fn is_no_mapping(&self) -> bool

Checks if the value of the field is NOMAPPING

Source

pub fn is_map1(&self) -> bool

Checks if the value of the field is MAP1

Source

pub fn is_map2(&self) -> bool

Checks if the value of the field is MAP2

Source

pub fn is_map3(&self) -> bool

Checks if the value of the field is MAP3

Source

pub fn is_map4(&self) -> bool

Checks if the value of the field is MAP4

Source

pub fn is_map5(&self) -> bool

Checks if the value of the field is MAP5

Source

pub fn is_map6(&self) -> bool

Checks if the value of the field is MAP6

Source

pub fn is_map7(&self) -> bool

Checks if the value of the field is MAP7

Source

pub fn is_map8(&self) -> bool

Checks if the value of the field is MAP8

Source

pub fn is_map9(&self) -> bool

Checks if the value of the field is MAP9

Source

pub fn is_map10(&self) -> bool

Checks if the value of the field is MAP10

Source

pub fn is_map11(&self) -> bool

Checks if the value of the field is MAP11

Source

pub fn is_map12(&self) -> bool

Checks if the value of the field is MAP12

Source

pub fn is_map13(&self) -> bool

Checks if the value of the field is MAP13

Source

pub fn is_map14(&self) -> bool

Checks if the value of the field is MAP14

Source

pub fn is_map15(&self) -> bool

Checks if the value of the field is MAP15

Source§

impl R<u32, Reg<u32, _CSELR>>

Source

pub fn c7s(&self) -> C7S_R

Bits 24:27 - DMA channel 7 selection

Source

pub fn c6s(&self) -> C6S_R

Bits 20:23 - DMA channel 6 selection

Source

pub fn c5s(&self) -> C5S_R

Bits 16:19 - DMA channel 5 selection

Source

pub fn c4s(&self) -> C4S_R

Bits 12:15 - DMA channel 4 selection

Source

pub fn c3s(&self) -> C3S_R

Bits 8:11 - DMA channel 3 selection

Source

pub fn c2s(&self) -> C2S_R

Bits 4:7 - DMA channel 2 selection

Source

pub fn c1s(&self) -> C1S_R

Bits 0:3 - DMA channel 1 selection

Source§

impl R<u32, Reg<u32, _DR>>

Source

pub fn dr(&self) -> DR_R

Bits 0:31 - Data register bits

Source§

impl R<u32, Reg<u32, _IDR>>

Source

pub fn idr(&self) -> IDR_R

Bits 0:7 - General-purpose 8-bit data register bits

Source§

impl R<bool, REV_OUT_A>

Source

pub fn variant(&self) -> REV_OUT_A

Get enumerated values variant

Source

pub fn is_normal(&self) -> bool

Checks if the value of the field is NORMAL

Source

pub fn is_reversed(&self) -> bool

Checks if the value of the field is REVERSED

Source§

impl R<u8, REV_IN_A>

Source

pub fn variant(&self) -> REV_IN_A

Get enumerated values variant

Source

pub fn is_normal(&self) -> bool

Checks if the value of the field is NORMAL

Source

pub fn is_byte(&self) -> bool

Checks if the value of the field is BYTE

Source

pub fn is_half_word(&self) -> bool

Checks if the value of the field is HALFWORD

Source

pub fn is_word(&self) -> bool

Checks if the value of the field is WORD

Source§

impl R<u8, POLYSIZE_A>

Source

pub fn variant(&self) -> POLYSIZE_A

Get enumerated values variant

Source

pub fn is_polysize32(&self) -> bool

Checks if the value of the field is POLYSIZE32

Source

pub fn is_polysize16(&self) -> bool

Checks if the value of the field is POLYSIZE16

Source

pub fn is_polysize8(&self) -> bool

Checks if the value of the field is POLYSIZE8

Source

pub fn is_polysize7(&self) -> bool

Checks if the value of the field is POLYSIZE7

Source§

impl R<u32, Reg<u32, _CR>>

Source

pub fn rev_out(&self) -> REV_OUT_R

Bit 7 - Reverse output data

Source

pub fn rev_in(&self) -> REV_IN_R

Bits 5:6 - Reverse input data

Source

pub fn polysize(&self) -> POLYSIZE_R

Bits 3:4 - Polynomial size

Source§

impl R<u32, Reg<u32, _INIT>>

Source

pub fn init(&self) -> INIT_R

Bits 0:31 - Programmable initial CRC value

Source§

impl R<u32, Reg<u32, _POL>>

Source

pub fn polynomialcoefficients(&self) -> POLYNOMIALCOEFFICIENTS_R

Bits 0:31 - Programmable polynomial

Source§

impl R<u8, Reg<u8, _DR8>>

Source

pub fn dr8(&self) -> DR8_R

Bits 0:7 - Data register bits

Source§

impl R<u16, Reg<u16, _DR16>>

Source

pub fn dr16(&self) -> DR16_R

Bits 0:15 - Data register bits

Source§

impl R<u32, Reg<u32, _CR>>

Source

pub fn bias(&self) -> BIAS_R

Bits 5:6 - Bias selector

Source

pub fn duty(&self) -> DUTY_R

Bits 2:4 - Duty selection

Source

pub fn vsel(&self) -> VSEL_R

Bit 1 - Voltage source selection

Source

pub fn lcden(&self) -> LCDEN_R

Bit 0 - LCD controller enable

Source

pub fn mux_seg(&self) -> MUX_SEG_R

Bit 7 - Mux segment enable

Source

pub fn bufen(&self) -> BUFEN_R

Bit 8 - Voltage output buffer enable

Source§

impl R<u32, Reg<u32, _FCR>>

Source

pub fn ps(&self) -> PS_R

Bits 22:25 - PS 16-bit prescaler

Source

pub fn div(&self) -> DIV_R

Bits 18:21 - DIV clock divider

Bits 16:17 - Blink mode selection

Source

pub fn blinkf(&self) -> BLINKF_R

Bits 13:15 - Blink frequency selection

Source

pub fn cc(&self) -> CC_R

Bits 10:12 - Contrast control

Source

pub fn dead(&self) -> DEAD_R

Bits 7:9 - Dead time duration

Source

pub fn pon(&self) -> PON_R

Bits 4:6 - Pulse ON duration

Source

pub fn uddie(&self) -> UDDIE_R

Bit 3 - Update display done interrupt enable

Source

pub fn sofie(&self) -> SOFIE_R

Bit 1 - Start of frame interrupt enable

Source

pub fn hd(&self) -> HD_R

Bit 0 - High drive enable

Source§

impl R<u32, Reg<u32, _SR>>

Source

pub fn fcrsf(&self) -> FCRSF_R

Bit 5 - LCD Frame Control Register Synchronization flag

Source

pub fn rdy(&self) -> RDY_R

Bit 4 - Ready flag

Source

pub fn udd(&self) -> UDD_R

Bit 3 - Update Display Done

Source

pub fn sof(&self) -> SOF_R

Bit 1 - Start of frame flag

Source

pub fn ens(&self) -> ENS_R

Bit 0 - ENS

Source§

impl R<u32, Reg<u32, _RAM_COM0>>

Source

pub fn s30(&self) -> S30_R

Bit 30 - S30

Source

pub fn s29(&self) -> S29_R

Bit 29 - S29

Source

pub fn s28(&self) -> S28_R

Bit 28 - S28

Source

pub fn s27(&self) -> S27_R

Bit 27 - S27

Source

pub fn s26(&self) -> S26_R

Bit 26 - S26

Source

pub fn s25(&self) -> S25_R

Bit 25 - S25

Source

pub fn s24(&self) -> S24_R

Bit 24 - S24

Source

pub fn s23(&self) -> S23_R

Bit 23 - S23

Source

pub fn s22(&self) -> S22_R

Bit 22 - S22

Source

pub fn s21(&self) -> S21_R

Bit 21 - S21

Source

pub fn s20(&self) -> S20_R

Bit 20 - S20

Source

pub fn s19(&self) -> S19_R

Bit 19 - S19

Source

pub fn s18(&self) -> S18_R

Bit 18 - S18

Source

pub fn s17(&self) -> S17_R

Bit 17 - S17

Source

pub fn s16(&self) -> S16_R

Bit 16 - S16

Source

pub fn s15(&self) -> S15_R

Bit 15 - S15

Source

pub fn s14(&self) -> S14_R

Bit 14 - S14

Source

pub fn s13(&self) -> S13_R

Bit 13 - S13

Source

pub fn s12(&self) -> S12_R

Bit 12 - S12

Source

pub fn s11(&self) -> S11_R

Bit 11 - S11

Source

pub fn s10(&self) -> S10_R

Bit 10 - S10

Source

pub fn s09(&self) -> S09_R

Bit 9 - S09

Source

pub fn s08(&self) -> S08_R

Bit 8 - S08

Source

pub fn s07(&self) -> S07_R

Bit 7 - S07

Source

pub fn s06(&self) -> S06_R

Bit 6 - S06

Source

pub fn s05(&self) -> S05_R

Bit 5 - S05

Source

pub fn s04(&self) -> S04_R

Bit 4 - S04

Source

pub fn s03(&self) -> S03_R

Bit 3 - S03

Source

pub fn s02(&self) -> S02_R

Bit 2 - S02

Source

pub fn s01(&self) -> S01_R

Bit 1 - S01

Source

pub fn s00(&self) -> S00_R

Bit 0 - S00

Source§

impl R<u32, Reg<u32, _RAM_COM1>>

Source

pub fn s31(&self) -> S31_R

Bit 31 - S31

Source

pub fn s30(&self) -> S30_R

Bit 30 - S30

Source

pub fn s29(&self) -> S29_R

Bit 29 - S29

Source

pub fn s28(&self) -> S28_R

Bit 28 - S28

Source

pub fn s27(&self) -> S27_R

Bit 27 - S27

Source

pub fn s26(&self) -> S26_R

Bit 26 - S26

Source

pub fn s25(&self) -> S25_R

Bit 25 - S25

Source

pub fn s24(&self) -> S24_R

Bit 24 - S24

Source

pub fn s23(&self) -> S23_R

Bit 23 - S23

Source

pub fn s22(&self) -> S22_R

Bit 22 - S22

Source

pub fn s21(&self) -> S21_R

Bit 21 - S21

Source

pub fn s20(&self) -> S20_R

Bit 20 - S20

Source

pub fn s19(&self) -> S19_R

Bit 19 - S19

Source

pub fn s18(&self) -> S18_R

Bit 18 - S18

Source

pub fn s17(&self) -> S17_R

Bit 17 - S17

Source

pub fn s16(&self) -> S16_R

Bit 16 - S16

Source

pub fn s15(&self) -> S15_R

Bit 15 - S15

Source

pub fn s14(&self) -> S14_R

Bit 14 - S14

Source

pub fn s13(&self) -> S13_R

Bit 13 - S13

Source

pub fn s12(&self) -> S12_R

Bit 12 - S12

Source

pub fn s11(&self) -> S11_R

Bit 11 - S11

Source

pub fn s10(&self) -> S10_R

Bit 10 - S10

Source

pub fn s09(&self) -> S09_R

Bit 9 - S09

Source

pub fn s08(&self) -> S08_R

Bit 8 - S08

Source

pub fn s07(&self) -> S07_R

Bit 7 - S07

Source

pub fn s06(&self) -> S06_R

Bit 6 - S06

Source

pub fn s05(&self) -> S05_R

Bit 5 - S05

Source

pub fn s04(&self) -> S04_R

Bit 4 - S04

Source

pub fn s03(&self) -> S03_R

Bit 3 - S03

Source

pub fn s02(&self) -> S02_R

Bit 2 - S02

Source

pub fn s01(&self) -> S01_R

Bit 1 - S01

Source

pub fn s00(&self) -> S00_R

Bit 0 - S00

Source§

impl R<u32, Reg<u32, _RAM_COM2>>

Source

pub fn s31(&self) -> S31_R

Bit 31 - S31

Source

pub fn s30(&self) -> S30_R

Bit 30 - S30

Source

pub fn s29(&self) -> S29_R

Bit 29 - S29

Source

pub fn s28(&self) -> S28_R

Bit 28 - S28

Source

pub fn s27(&self) -> S27_R

Bit 27 - S27

Source

pub fn s26(&self) -> S26_R

Bit 26 - S26

Source

pub fn s25(&self) -> S25_R

Bit 25 - S25

Source

pub fn s24(&self) -> S24_R

Bit 24 - S24

Source

pub fn s23(&self) -> S23_R

Bit 23 - S23

Source

pub fn s22(&self) -> S22_R

Bit 22 - S22

Source

pub fn s21(&self) -> S21_R

Bit 21 - S21

Source

pub fn s20(&self) -> S20_R

Bit 20 - S20

Source

pub fn s19(&self) -> S19_R

Bit 19 - S19

Source

pub fn s18(&self) -> S18_R

Bit 18 - S18

Source

pub fn s17(&self) -> S17_R

Bit 17 - S17

Source

pub fn s16(&self) -> S16_R

Bit 16 - S16

Source

pub fn s15(&self) -> S15_R

Bit 15 - S15

Source

pub fn s14(&self) -> S14_R

Bit 14 - S14

Source

pub fn s13(&self) -> S13_R

Bit 13 - S13

Source

pub fn s12(&self) -> S12_R

Bit 12 - S12

Source

pub fn s11(&self) -> S11_R

Bit 11 - S11

Source

pub fn s10(&self) -> S10_R

Bit 10 - S10

Source

pub fn s09(&self) -> S09_R

Bit 9 - S09

Source

pub fn s08(&self) -> S08_R

Bit 8 - S08

Source

pub fn s07(&self) -> S07_R

Bit 7 - S07

Source

pub fn s06(&self) -> S06_R

Bit 6 - S06

Source

pub fn s05(&self) -> S05_R

Bit 5 - S05

Source

pub fn s04(&self) -> S04_R

Bit 4 - S04

Source

pub fn s03(&self) -> S03_R

Bit 3 - S03

Source

pub fn s02(&self) -> S02_R

Bit 2 - S02

Source

pub fn s01(&self) -> S01_R

Bit 1 - S01

Source

pub fn s00(&self) -> S00_R

Bit 0 - S00

Source§

impl R<u32, Reg<u32, _RAM_COM3>>

Source

pub fn s31(&self) -> S31_R

Bit 31 - S31

Source

pub fn s30(&self) -> S30_R

Bit 30 - S30

Source

pub fn s29(&self) -> S29_R

Bit 29 - S29

Source

pub fn s28(&self) -> S28_R

Bit 28 - S28

Source

pub fn s27(&self) -> S27_R

Bit 27 - S27

Source

pub fn s26(&self) -> S26_R

Bit 26 - S26

Source

pub fn s25(&self) -> S25_R

Bit 25 - S25

Source

pub fn s24(&self) -> S24_R

Bit 24 - S24

Source

pub fn s23(&self) -> S23_R

Bit 23 - S23

Source

pub fn s22(&self) -> S22_R

Bit 22 - S22

Source

pub fn s21(&self) -> S21_R

Bit 21 - S21

Source

pub fn s20(&self) -> S20_R

Bit 20 - S20

Source

pub fn s19(&self) -> S19_R

Bit 19 - S19

Source

pub fn s18(&self) -> S18_R

Bit 18 - S18

Source

pub fn s17(&self) -> S17_R

Bit 17 - S17

Source

pub fn s16(&self) -> S16_R

Bit 16 - S16

Source

pub fn s15(&self) -> S15_R

Bit 15 - S15

Source

pub fn s14(&self) -> S14_R

Bit 14 - S14

Source

pub fn s13(&self) -> S13_R

Bit 13 - S13

Source

pub fn s12(&self) -> S12_R

Bit 12 - S12

Source

pub fn s11(&self) -> S11_R

Bit 11 - S11

Source

pub fn s10(&self) -> S10_R

Bit 10 - S10

Source

pub fn s09(&self) -> S09_R

Bit 9 - S09

Source

pub fn s08(&self) -> S08_R

Bit 8 - S08

Source

pub fn s07(&self) -> S07_R

Bit 7 - S07

Source

pub fn s06(&self) -> S06_R

Bit 6 - S06

Source

pub fn s05(&self) -> S05_R

Bit 5 - S05

Source

pub fn s04(&self) -> S04_R

Bit 4 - S04

Source

pub fn s03(&self) -> S03_R

Bit 3 - S03

Source

pub fn s02(&self) -> S02_R

Bit 2 - S02

Source

pub fn s01(&self) -> S01_R

Bit 1 - S01

Source

pub fn s00(&self) -> S00_R

Bit 0 - S00

Source§

impl R<u32, Reg<u32, _RAM_COM4>>

Source

pub fn s31(&self) -> S31_R

Bit 31 - S31

Source

pub fn s30(&self) -> S30_R

Bit 30 - S30

Source

pub fn s29(&self) -> S29_R

Bit 29 - S29

Source

pub fn s28(&self) -> S28_R

Bit 28 - S28

Source

pub fn s27(&self) -> S27_R

Bit 27 - S27

Source

pub fn s26(&self) -> S26_R

Bit 26 - S26

Source

pub fn s25(&self) -> S25_R

Bit 25 - S25

Source

pub fn s24(&self) -> S24_R

Bit 24 - S24

Source

pub fn s23(&self) -> S23_R

Bit 23 - S23

Source

pub fn s22(&self) -> S22_R

Bit 22 - S22

Source

pub fn s21(&self) -> S21_R

Bit 21 - S21

Source

pub fn s20(&self) -> S20_R

Bit 20 - S20

Source

pub fn s19(&self) -> S19_R

Bit 19 - S19

Source

pub fn s18(&self) -> S18_R

Bit 18 - S18

Source

pub fn s17(&self) -> S17_R

Bit 17 - S17

Source

pub fn s16(&self) -> S16_R

Bit 16 - S16

Source

pub fn s15(&self) -> S15_R

Bit 15 - S15

Source

pub fn s14(&self) -> S14_R

Bit 14 - S14

Source

pub fn s13(&self) -> S13_R

Bit 13 - S13

Source

pub fn s12(&self) -> S12_R

Bit 12 - S12

Source

pub fn s11(&self) -> S11_R

Bit 11 - S11

Source

pub fn s10(&self) -> S10_R

Bit 10 - S10

Source

pub fn s09(&self) -> S09_R

Bit 9 - S09

Source

pub fn s08(&self) -> S08_R

Bit 8 - S08

Source

pub fn s07(&self) -> S07_R

Bit 7 - S07

Source

pub fn s06(&self) -> S06_R

Bit 6 - S06

Source

pub fn s05(&self) -> S05_R

Bit 5 - S05

Source

pub fn s04(&self) -> S04_R

Bit 4 - S04

Source

pub fn s03(&self) -> S03_R

Bit 3 - S03

Source

pub fn s02(&self) -> S02_R

Bit 2 - S02

Source

pub fn s01(&self) -> S01_R

Bit 1 - S01

Source

pub fn s00(&self) -> S00_R

Bit 0 - S00

Source§

impl R<u32, Reg<u32, _RAM_COM5>>

Source

pub fn s31(&self) -> S31_R

Bit 31 - S31

Source

pub fn s30(&self) -> S30_R

Bit 30 - S30

Source

pub fn s29(&self) -> S29_R

Bit 29 - S29

Source

pub fn s28(&self) -> S28_R

Bit 28 - S28

Source

pub fn s27(&self) -> S27_R

Bit 27 - S27

Source

pub fn s26(&self) -> S26_R

Bit 26 - S26

Source

pub fn s25(&self) -> S25_R

Bit 25 - S25

Source

pub fn s24(&self) -> S24_R

Bit 24 - S24

Source

pub fn s23(&self) -> S23_R

Bit 23 - S23

Source

pub fn s22(&self) -> S22_R

Bit 22 - S22

Source

pub fn s21(&self) -> S21_R

Bit 21 - S21

Source

pub fn s20(&self) -> S20_R

Bit 20 - S20

Source

pub fn s19(&self) -> S19_R

Bit 19 - S19

Source

pub fn s18(&self) -> S18_R

Bit 18 - S18

Source

pub fn s17(&self) -> S17_R

Bit 17 - S17

Source

pub fn s16(&self) -> S16_R

Bit 16 - S16

Source

pub fn s15(&self) -> S15_R

Bit 15 - S15

Source

pub fn s14(&self) -> S14_R

Bit 14 - S14

Source

pub fn s13(&self) -> S13_R

Bit 13 - S13

Source

pub fn s12(&self) -> S12_R

Bit 12 - S12

Source

pub fn s11(&self) -> S11_R

Bit 11 - S11

Source

pub fn s10(&self) -> S10_R

Bit 10 - S10

Source

pub fn s09(&self) -> S09_R

Bit 9 - S09

Source

pub fn s08(&self) -> S08_R

Bit 8 - S08

Source

pub fn s07(&self) -> S07_R

Bit 7 - S07

Source

pub fn s06(&self) -> S06_R

Bit 6 - S06

Source

pub fn s05(&self) -> S05_R

Bit 5 - S05

Source

pub fn s04(&self) -> S04_R

Bit 4 - S04

Source

pub fn s03(&self) -> S03_R

Bit 3 - S03

Source

pub fn s02(&self) -> S02_R

Bit 2 - S02

Source

pub fn s01(&self) -> S01_R

Bit 1 - S01

Source

pub fn s00(&self) -> S00_R

Bit 0 - S00

Source§

impl R<u32, Reg<u32, _RAM_COM6>>

Source

pub fn s31(&self) -> S31_R

Bit 31 - S31

Source

pub fn s30(&self) -> S30_R

Bit 30 - S30

Source

pub fn s29(&self) -> S29_R

Bit 29 - S29

Source

pub fn s28(&self) -> S28_R

Bit 28 - S28

Source

pub fn s27(&self) -> S27_R

Bit 27 - S27

Source

pub fn s26(&self) -> S26_R

Bit 26 - S26

Source

pub fn s25(&self) -> S25_R

Bit 25 - S25

Source

pub fn s24(&self) -> S24_R

Bit 24 - S24

Source

pub fn s23(&self) -> S23_R

Bit 23 - S23

Source

pub fn s22(&self) -> S22_R

Bit 22 - S22

Source

pub fn s21(&self) -> S21_R

Bit 21 - S21

Source

pub fn s20(&self) -> S20_R

Bit 20 - S20

Source

pub fn s19(&self) -> S19_R

Bit 19 - S19

Source

pub fn s18(&self) -> S18_R

Bit 18 - S18

Source

pub fn s17(&self) -> S17_R

Bit 17 - S17

Source

pub fn s16(&self) -> S16_R

Bit 16 - S16

Source

pub fn s15(&self) -> S15_R

Bit 15 - S15

Source

pub fn s14(&self) -> S14_R

Bit 14 - S14

Source

pub fn s13(&self) -> S13_R

Bit 13 - S13

Source

pub fn s12(&self) -> S12_R

Bit 12 - S12

Source

pub fn s11(&self) -> S11_R

Bit 11 - S11

Source

pub fn s10(&self) -> S10_R

Bit 10 - S10

Source

pub fn s09(&self) -> S09_R

Bit 9 - S09

Source

pub fn s08(&self) -> S08_R

Bit 8 - S08

Source

pub fn s07(&self) -> S07_R

Bit 7 - S07

Source

pub fn s06(&self) -> S06_R

Bit 6 - S06

Source

pub fn s05(&self) -> S05_R

Bit 5 - S05

Source

pub fn s04(&self) -> S04_R

Bit 4 - S04

Source

pub fn s03(&self) -> S03_R

Bit 3 - S03

Source

pub fn s02(&self) -> S02_R

Bit 2 - S02

Source

pub fn s01(&self) -> S01_R

Bit 1 - S01

Source

pub fn s00(&self) -> S00_R

Bit 0 - S00

Source§

impl R<u32, Reg<u32, _RAM_COM7>>

Source

pub fn s31(&self) -> S31_R

Bit 31 - S31

Source

pub fn s30(&self) -> S30_R

Bit 30 - S30

Source

pub fn s29(&self) -> S29_R

Bit 29 - S29

Source

pub fn s28(&self) -> S28_R

Bit 28 - S28

Source

pub fn s27(&self) -> S27_R

Bit 27 - S27

Source

pub fn s26(&self) -> S26_R

Bit 26 - S26

Source

pub fn s25(&self) -> S25_R

Bit 25 - S25

Source

pub fn s24(&self) -> S24_R

Bit 24 - S24

Source

pub fn s23(&self) -> S23_R

Bit 23 - S23

Source

pub fn s22(&self) -> S22_R

Bit 22 - S22

Source

pub fn s21(&self) -> S21_R

Bit 21 - S21

Source

pub fn s20(&self) -> S20_R

Bit 20 - S20

Source

pub fn s19(&self) -> S19_R

Bit 19 - S19

Source

pub fn s18(&self) -> S18_R

Bit 18 - S18

Source

pub fn s17(&self) -> S17_R

Bit 17 - S17

Source

pub fn s16(&self) -> S16_R

Bit 16 - S16

Source

pub fn s15(&self) -> S15_R

Bit 15 - S15

Source

pub fn s14(&self) -> S14_R

Bit 14 - S14

Source

pub fn s13(&self) -> S13_R

Bit 13 - S13

Source

pub fn s12(&self) -> S12_R

Bit 12 - S12

Source

pub fn s11(&self) -> S11_R

Bit 11 - S11

Source

pub fn s10(&self) -> S10_R

Bit 10 - S10

Source

pub fn s09(&self) -> S09_R

Bit 9 - S09

Source

pub fn s08(&self) -> S08_R

Bit 8 - S08

Source

pub fn s07(&self) -> S07_R

Bit 7 - S07

Source

pub fn s06(&self) -> S06_R

Bit 6 - S06

Source

pub fn s05(&self) -> S05_R

Bit 5 - S05

Source

pub fn s04(&self) -> S04_R

Bit 4 - S04

Source

pub fn s03(&self) -> S03_R

Bit 3 - S03

Source

pub fn s02(&self) -> S02_R

Bit 2 - S02

Source

pub fn s01(&self) -> S01_R

Bit 1 - S01

Source

pub fn s00(&self) -> S00_R

Bit 0 - S00

Source§

impl R<u32, Reg<u32, _CR>>

Source

pub fn ctph(&self) -> CTPH_R

Bits 28:31 - Charge transfer pulse high

Source

pub fn ctpl(&self) -> CTPL_R

Bits 24:27 - Charge transfer pulse low

Source

pub fn ssd(&self) -> SSD_R

Bits 17:23 - Spread spectrum deviation

Source

pub fn sse(&self) -> SSE_R

Bit 16 - Spread spectrum enable

Source

pub fn sspsc(&self) -> SSPSC_R

Bit 15 - Spread spectrum prescaler

Source

pub fn pgpsc(&self) -> PGPSC_R

Bits 12:14 - pulse generator prescaler

Source

pub fn mcv(&self) -> MCV_R

Bits 5:7 - Max count value

Source

pub fn iodef(&self) -> IODEF_R

Bit 4 - I/O Default mode

Source

pub fn syncpol(&self) -> SYNCPOL_R

Bit 3 - Synchronization pin polarity

Source

pub fn am(&self) -> AM_R

Bit 2 - Acquisition mode

Source

pub fn start(&self) -> START_R

Bit 1 - Start a new acquisition

Source

pub fn tsce(&self) -> TSCE_R

Bit 0 - Touch sensing controller enable

Source§

impl R<u32, Reg<u32, _IER>>

Source

pub fn mceie(&self) -> MCEIE_R

Bit 1 - Max count error interrupt enable

Source

pub fn eoaie(&self) -> EOAIE_R

Bit 0 - End of acquisition interrupt enable

Source§

impl R<u32, Reg<u32, _ICR>>

Source

pub fn mceic(&self) -> MCEIC_R

Bit 1 - Max count error interrupt clear

Source

pub fn eoaic(&self) -> EOAIC_R

Bit 0 - End of acquisition interrupt clear

Source§

impl R<u32, Reg<u32, _ISR>>

Source

pub fn mcef(&self) -> MCEF_R

Bit 1 - Max count error flag

Source

pub fn eoaf(&self) -> EOAF_R

Bit 0 - End of acquisition flag

Source§

impl R<u32, Reg<u32, _IOHCR>>

Source

pub fn g8_io4(&self) -> G8_IO4_R

Bit 31 - G8_IO4

Source

pub fn g8_io3(&self) -> G8_IO3_R

Bit 30 - G8_IO3

Source

pub fn g8_io2(&self) -> G8_IO2_R

Bit 29 - G8_IO2

Source

pub fn g8_io1(&self) -> G8_IO1_R

Bit 28 - G8_IO1

Source

pub fn g7_io4(&self) -> G7_IO4_R

Bit 27 - G7_IO4

Source

pub fn g7_io3(&self) -> G7_IO3_R

Bit 26 - G7_IO3

Source

pub fn g7_io2(&self) -> G7_IO2_R

Bit 25 - G7_IO2

Source

pub fn g7_io1(&self) -> G7_IO1_R

Bit 24 - G7_IO1

Source

pub fn g6_io4(&self) -> G6_IO4_R

Bit 23 - G6_IO4

Source

pub fn g6_io3(&self) -> G6_IO3_R

Bit 22 - G6_IO3

Source

pub fn g6_io2(&self) -> G6_IO2_R

Bit 21 - G6_IO2

Source

pub fn g6_io1(&self) -> G6_IO1_R

Bit 20 - G6_IO1

Source

pub fn g5_io4(&self) -> G5_IO4_R

Bit 19 - G5_IO4

Source

pub fn g5_io3(&self) -> G5_IO3_R

Bit 18 - G5_IO3

Source

pub fn g5_io2(&self) -> G5_IO2_R

Bit 17 - G5_IO2

Source

pub fn g5_io1(&self) -> G5_IO1_R

Bit 16 - G5_IO1

Source

pub fn g4_io4(&self) -> G4_IO4_R

Bit 15 - G4_IO4

Source

pub fn g4_io3(&self) -> G4_IO3_R

Bit 14 - G4_IO3

Source

pub fn g4_io2(&self) -> G4_IO2_R

Bit 13 - G4_IO2

Source

pub fn g4_io1(&self) -> G4_IO1_R

Bit 12 - G4_IO1

Source

pub fn g3_io4(&self) -> G3_IO4_R

Bit 11 - G3_IO4

Source

pub fn g3_io3(&self) -> G3_IO3_R

Bit 10 - G3_IO3

Source

pub fn g3_io2(&self) -> G3_IO2_R

Bit 9 - G3_IO2

Source

pub fn g3_io1(&self) -> G3_IO1_R

Bit 8 - G3_IO1

Source

pub fn g2_io4(&self) -> G2_IO4_R

Bit 7 - G2_IO4

Source

pub fn g2_io3(&self) -> G2_IO3_R

Bit 6 - G2_IO3

Source

pub fn g2_io2(&self) -> G2_IO2_R

Bit 5 - G2_IO2

Source

pub fn g2_io1(&self) -> G2_IO1_R

Bit 4 - G2_IO1

Source

pub fn g1_io4(&self) -> G1_IO4_R

Bit 3 - G1_IO4

Source

pub fn g1_io3(&self) -> G1_IO3_R

Bit 2 - G1_IO3

Source

pub fn g1_io2(&self) -> G1_IO2_R

Bit 1 - G1_IO2

Source

pub fn g1_io1(&self) -> G1_IO1_R

Bit 0 - G1_IO1

Source§

impl R<u32, Reg<u32, _IOASCR>>

Source

pub fn g8_io4(&self) -> G8_IO4_R

Bit 31 - G8_IO4

Source

pub fn g8_io3(&self) -> G8_IO3_R

Bit 30 - G8_IO3

Source

pub fn g8_io2(&self) -> G8_IO2_R

Bit 29 - G8_IO2

Source

pub fn g8_io1(&self) -> G8_IO1_R

Bit 28 - G8_IO1

Source

pub fn g7_io4(&self) -> G7_IO4_R

Bit 27 - G7_IO4

Source

pub fn g7_io3(&self) -> G7_IO3_R

Bit 26 - G7_IO3

Source

pub fn g7_io2(&self) -> G7_IO2_R

Bit 25 - G7_IO2

Source

pub fn g7_io1(&self) -> G7_IO1_R

Bit 24 - G7_IO1

Source

pub fn g6_io4(&self) -> G6_IO4_R

Bit 23 - G6_IO4

Source

pub fn g6_io3(&self) -> G6_IO3_R

Bit 22 - G6_IO3

Source

pub fn g6_io2(&self) -> G6_IO2_R

Bit 21 - G6_IO2

Source

pub fn g6_io1(&self) -> G6_IO1_R

Bit 20 - G6_IO1

Source

pub fn g5_io4(&self) -> G5_IO4_R

Bit 19 - G5_IO4

Source

pub fn g5_io3(&self) -> G5_IO3_R

Bit 18 - G5_IO3

Source

pub fn g5_io2(&self) -> G5_IO2_R

Bit 17 - G5_IO2

Source

pub fn g5_io1(&self) -> G5_IO1_R

Bit 16 - G5_IO1

Source

pub fn g4_io4(&self) -> G4_IO4_R

Bit 15 - G4_IO4

Source

pub fn g4_io3(&self) -> G4_IO3_R

Bit 14 - G4_IO3

Source

pub fn g4_io2(&self) -> G4_IO2_R

Bit 13 - G4_IO2

Source

pub fn g4_io1(&self) -> G4_IO1_R

Bit 12 - G4_IO1

Source

pub fn g3_io4(&self) -> G3_IO4_R

Bit 11 - G3_IO4

Source

pub fn g3_io3(&self) -> G3_IO3_R

Bit 10 - G3_IO3

Source

pub fn g3_io2(&self) -> G3_IO2_R

Bit 9 - G3_IO2

Source

pub fn g3_io1(&self) -> G3_IO1_R

Bit 8 - G3_IO1

Source

pub fn g2_io4(&self) -> G2_IO4_R

Bit 7 - G2_IO4

Source

pub fn g2_io3(&self) -> G2_IO3_R

Bit 6 - G2_IO3

Source

pub fn g2_io2(&self) -> G2_IO2_R

Bit 5 - G2_IO2

Source

pub fn g2_io1(&self) -> G2_IO1_R

Bit 4 - G2_IO1

Source

pub fn g1_io4(&self) -> G1_IO4_R

Bit 3 - G1_IO4

Source

pub fn g1_io3(&self) -> G1_IO3_R

Bit 2 - G1_IO3

Source

pub fn g1_io2(&self) -> G1_IO2_R

Bit 1 - G1_IO2

Source

pub fn g1_io1(&self) -> G1_IO1_R

Bit 0 - G1_IO1

Source§

impl R<u32, Reg<u32, _IOSCR>>

Source

pub fn g8_io4(&self) -> G8_IO4_R

Bit 31 - G8_IO4

Source

pub fn g8_io3(&self) -> G8_IO3_R

Bit 30 - G8_IO3

Source

pub fn g8_io2(&self) -> G8_IO2_R

Bit 29 - G8_IO2

Source

pub fn g8_io1(&self) -> G8_IO1_R

Bit 28 - G8_IO1

Source

pub fn g7_io4(&self) -> G7_IO4_R

Bit 27 - G7_IO4

Source

pub fn g7_io3(&self) -> G7_IO3_R

Bit 26 - G7_IO3

Source

pub fn g7_io2(&self) -> G7_IO2_R

Bit 25 - G7_IO2

Source

pub fn g7_io1(&self) -> G7_IO1_R

Bit 24 - G7_IO1

Source

pub fn g6_io4(&self) -> G6_IO4_R

Bit 23 - G6_IO4

Source

pub fn g6_io3(&self) -> G6_IO3_R

Bit 22 - G6_IO3

Source

pub fn g6_io2(&self) -> G6_IO2_R

Bit 21 - G6_IO2

Source

pub fn g6_io1(&self) -> G6_IO1_R

Bit 20 - G6_IO1

Source

pub fn g5_io4(&self) -> G5_IO4_R

Bit 19 - G5_IO4

Source

pub fn g5_io3(&self) -> G5_IO3_R

Bit 18 - G5_IO3

Source

pub fn g5_io2(&self) -> G5_IO2_R

Bit 17 - G5_IO2

Source

pub fn g5_io1(&self) -> G5_IO1_R

Bit 16 - G5_IO1

Source

pub fn g4_io4(&self) -> G4_IO4_R

Bit 15 - G4_IO4

Source

pub fn g4_io3(&self) -> G4_IO3_R

Bit 14 - G4_IO3

Source

pub fn g4_io2(&self) -> G4_IO2_R

Bit 13 - G4_IO2

Source

pub fn g4_io1(&self) -> G4_IO1_R

Bit 12 - G4_IO1

Source

pub fn g3_io4(&self) -> G3_IO4_R

Bit 11 - G3_IO4

Source

pub fn g3_io3(&self) -> G3_IO3_R

Bit 10 - G3_IO3

Source

pub fn g3_io2(&self) -> G3_IO2_R

Bit 9 - G3_IO2

Source

pub fn g3_io1(&self) -> G3_IO1_R

Bit 8 - G3_IO1

Source

pub fn g2_io4(&self) -> G2_IO4_R

Bit 7 - G2_IO4

Source

pub fn g2_io3(&self) -> G2_IO3_R

Bit 6 - G2_IO3

Source

pub fn g2_io2(&self) -> G2_IO2_R

Bit 5 - G2_IO2

Source

pub fn g2_io1(&self) -> G2_IO1_R

Bit 4 - G2_IO1

Source

pub fn g1_io4(&self) -> G1_IO4_R

Bit 3 - G1_IO4

Source

pub fn g1_io3(&self) -> G1_IO3_R

Bit 2 - G1_IO3

Source

pub fn g1_io2(&self) -> G1_IO2_R

Bit 1 - G1_IO2

Source

pub fn g1_io1(&self) -> G1_IO1_R

Bit 0 - G1_IO1

Source§

impl R<u32, Reg<u32, _IOCCR>>

Source

pub fn g8_io4(&self) -> G8_IO4_R

Bit 31 - G8_IO4

Source

pub fn g8_io3(&self) -> G8_IO3_R

Bit 30 - G8_IO3

Source

pub fn g8_io2(&self) -> G8_IO2_R

Bit 29 - G8_IO2

Source

pub fn g8_io1(&self) -> G8_IO1_R

Bit 28 - G8_IO1

Source

pub fn g7_io4(&self) -> G7_IO4_R

Bit 27 - G7_IO4

Source

pub fn g7_io3(&self) -> G7_IO3_R

Bit 26 - G7_IO3

Source

pub fn g7_io2(&self) -> G7_IO2_R

Bit 25 - G7_IO2

Source

pub fn g7_io1(&self) -> G7_IO1_R

Bit 24 - G7_IO1

Source

pub fn g6_io4(&self) -> G6_IO4_R

Bit 23 - G6_IO4

Source

pub fn g6_io3(&self) -> G6_IO3_R

Bit 22 - G6_IO3

Source

pub fn g6_io2(&self) -> G6_IO2_R

Bit 21 - G6_IO2

Source

pub fn g6_io1(&self) -> G6_IO1_R

Bit 20 - G6_IO1

Source

pub fn g5_io4(&self) -> G5_IO4_R

Bit 19 - G5_IO4

Source

pub fn g5_io3(&self) -> G5_IO3_R

Bit 18 - G5_IO3

Source

pub fn g5_io2(&self) -> G5_IO2_R

Bit 17 - G5_IO2

Source

pub fn g5_io1(&self) -> G5_IO1_R

Bit 16 - G5_IO1

Source

pub fn g4_io4(&self) -> G4_IO4_R

Bit 15 - G4_IO4

Source

pub fn g4_io3(&self) -> G4_IO3_R

Bit 14 - G4_IO3

Source

pub fn g4_io2(&self) -> G4_IO2_R

Bit 13 - G4_IO2

Source

pub fn g4_io1(&self) -> G4_IO1_R

Bit 12 - G4_IO1

Source

pub fn g3_io4(&self) -> G3_IO4_R

Bit 11 - G3_IO4

Source

pub fn g3_io3(&self) -> G3_IO3_R

Bit 10 - G3_IO3

Source

pub fn g3_io2(&self) -> G3_IO2_R

Bit 9 - G3_IO2

Source

pub fn g3_io1(&self) -> G3_IO1_R

Bit 8 - G3_IO1

Source

pub fn g2_io4(&self) -> G2_IO4_R

Bit 7 - G2_IO4

Source

pub fn g2_io3(&self) -> G2_IO3_R

Bit 6 - G2_IO3

Source

pub fn g2_io2(&self) -> G2_IO2_R

Bit 5 - G2_IO2

Source

pub fn g2_io1(&self) -> G2_IO1_R

Bit 4 - G2_IO1

Source

pub fn g1_io4(&self) -> G1_IO4_R

Bit 3 - G1_IO4

Source

pub fn g1_io3(&self) -> G1_IO3_R

Bit 2 - G1_IO3

Source

pub fn g1_io2(&self) -> G1_IO2_R

Bit 1 - G1_IO2

Source

pub fn g1_io1(&self) -> G1_IO1_R

Bit 0 - G1_IO1

Source§

impl R<u32, Reg<u32, _IOGCSR>>

Source

pub fn g8s(&self) -> G8S_R

Bit 23 - Analog I/O group x status

Source

pub fn g7s(&self) -> G7S_R

Bit 22 - Analog I/O group x status

Source

pub fn g6s(&self) -> G6S_R

Bit 21 - Analog I/O group x status

Source

pub fn g5s(&self) -> G5S_R

Bit 20 - Analog I/O group x status

Source

pub fn g4s(&self) -> G4S_R

Bit 19 - Analog I/O group x status

Source

pub fn g3s(&self) -> G3S_R

Bit 18 - Analog I/O group x status

Source

pub fn g2s(&self) -> G2S_R

Bit 17 - Analog I/O group x status

Source

pub fn g1s(&self) -> G1S_R

Bit 16 - Analog I/O group x status

Source

pub fn g8e(&self) -> G8E_R

Bit 7 - Analog I/O group x enable

Source

pub fn g7e(&self) -> G7E_R

Bit 6 - Analog I/O group x enable

Source

pub fn g6e(&self) -> G6E_R

Bit 5 - Analog I/O group x enable

Source

pub fn g5e(&self) -> G5E_R

Bit 4 - Analog I/O group x enable

Source

pub fn g4e(&self) -> G4E_R

Bit 3 - Analog I/O group x enable

Source

pub fn g3e(&self) -> G3E_R

Bit 2 - Analog I/O group x enable

Source

pub fn g2e(&self) -> G2E_R

Bit 1 - Analog I/O group x enable

Source

pub fn g1e(&self) -> G1E_R

Bit 0 - Analog I/O group x enable

Source§

impl R<u32, Reg<u32, _IOGCR>>

Source

pub fn cnt(&self) -> CNT_R

Bits 0:13 - Counter value

Source§

impl R<u8, PR_A>

Source

pub fn variant(&self) -> PR_A

Get enumerated values variant

Source

pub fn is_divide_by4(&self) -> bool

Checks if the value of the field is DIVIDEBY4

Source

pub fn is_divide_by8(&self) -> bool

Checks if the value of the field is DIVIDEBY8

Source

pub fn is_divide_by16(&self) -> bool

Checks if the value of the field is DIVIDEBY16

Source

pub fn is_divide_by32(&self) -> bool

Checks if the value of the field is DIVIDEBY32

Source

pub fn is_divide_by64(&self) -> bool

Checks if the value of the field is DIVIDEBY64

Source

pub fn is_divide_by128(&self) -> bool

Checks if the value of the field is DIVIDEBY128

Source

pub fn is_divide_by256(&self) -> bool

Checks if the value of the field is DIVIDEBY256

Source

pub fn is_divide_by256bis(&self) -> bool

Checks if the value of the field is DIVIDEBY256BIS

Source§

impl R<u32, Reg<u32, _PR>>

Source

pub fn pr(&self) -> PR_R

Bits 0:2 - Prescaler divider

Source§

impl R<u32, Reg<u32, _RLR>>

Source

pub fn rl(&self) -> RL_R

Bits 0:11 - Watchdog counter reload value

Source§

impl R<u32, Reg<u32, _SR>>

Source

pub fn wvu(&self) -> WVU_R

Bit 2 - Watchdog counter window value update

Source

pub fn rvu(&self) -> RVU_R

Bit 1 - Watchdog counter reload value update

Source

pub fn pvu(&self) -> PVU_R

Bit 0 - Watchdog prescaler value update

Source§

impl R<u32, Reg<u32, _WINR>>

Source

pub fn win(&self) -> WIN_R

Bits 0:11 - Watchdog counter window value

Source§

impl R<bool, WDGA_A>

Source

pub fn variant(&self) -> WDGA_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<u32, Reg<u32, _CR>>

Source

pub fn wdga(&self) -> WDGA_R

Bit 7 - Activation bit

Source

pub fn t(&self) -> T_R

Bits 0:6 - 7-bit counter (MSB to LSB)

Source§

impl R<bool, EWI_A>

Source

pub fn variant(&self) -> Variant<bool, EWI_A>

Get enumerated values variant

Source

pub fn is_enable(&self) -> bool

Checks if the value of the field is ENABLE

Source§

impl R<u8, WDGTB_A>

Source

pub fn variant(&self) -> WDGTB_A

Get enumerated values variant

Source

pub fn is_div1(&self) -> bool

Checks if the value of the field is DIV1

Source

pub fn is_div2(&self) -> bool

Checks if the value of the field is DIV2

Source

pub fn is_div4(&self) -> bool

Checks if the value of the field is DIV4

Source

pub fn is_div8(&self) -> bool

Checks if the value of the field is DIV8

Source§

impl R<u32, Reg<u32, _CFR>>

Source

pub fn ewi(&self) -> EWI_R

Bit 9 - Early wakeup interrupt

Source

pub fn w(&self) -> W_R

Bits 0:6 - 7-bit window value

Source

pub fn wdgtb(&self) -> WDGTB_R

Bits 7:8 - Timer base

Source§

impl R<bool, EWIF_A>

Source

pub fn variant(&self) -> EWIF_A

Get enumerated values variant

Source

pub fn is_pending(&self) -> bool

Checks if the value of the field is PENDING

Source

pub fn is_finished(&self) -> bool

Checks if the value of the field is FINISHED

Source§

impl R<u32, Reg<u32, _SR>>

Source

pub fn ewif(&self) -> EWIF_R

Bit 0 - Early wakeup interrupt flag

Source§

impl R<u32, Reg<u32, _COMP1_CSR>>

Source

pub fn comp1_en(&self) -> COMP1_EN_R

Bit 0 - Comparator 1 enable bit

Source

pub fn comp1_pwrmode(&self) -> COMP1_PWRMODE_R

Bits 2:3 - Power Mode of the comparator 1

Source

pub fn comp1_inmsel(&self) -> COMP1_INMSEL_R

Bits 4:6 - Comparator 1 Input Minus connection configuration bit

Source

pub fn comp1_inpsel(&self) -> COMP1_INPSEL_R

Bit 7 - Comparator1 input plus selection bit

Source

pub fn comp1_polarity(&self) -> COMP1_POLARITY_R

Bit 15 - Comparator 1 polarity selection bit

Source

pub fn comp1_hyst(&self) -> COMP1_HYST_R

Bits 16:17 - Comparator 1 hysteresis selection bits

Source

pub fn comp1_blanking(&self) -> COMP1_BLANKING_R

Bits 18:20 - Comparator 1 blanking source selection bits

Source

pub fn comp1_brgen(&self) -> COMP1_BRGEN_R

Bit 22 - Scaler bridge enable

Source

pub fn comp1_scalen(&self) -> COMP1_SCALEN_R

Bit 23 - Voltage scaler enable bit

Source

pub fn comp1_value(&self) -> COMP1_VALUE_R

Bit 30 - Comparator 1 output status bit

Source§

impl R<u32, Reg<u32, _COMP2_CSR>>

Source

pub fn comp2_en(&self) -> COMP2_EN_R

Bit 0 - Comparator 2 enable bit

Source

pub fn comp2_pwrmode(&self) -> COMP2_PWRMODE_R

Bits 2:3 - Power Mode of the comparator 2

Source

pub fn comp2_inmsel(&self) -> COMP2_INMSEL_R

Bits 4:6 - Comparator 2 Input Minus connection configuration bit

Source

pub fn comp2_inpsel(&self) -> COMP2_INPSEL_R

Bit 7 - Comparator 2 Input Plus connection configuration bit

Source

pub fn comp2_winmode(&self) -> COMP2_WINMODE_R

Bit 9 - Windows mode selection bit

Source

pub fn comp2_polarity(&self) -> COMP2_POLARITY_R

Bit 15 - Comparator 2 polarity selection bit

Source

pub fn comp2_hyst(&self) -> COMP2_HYST_R

Bits 16:17 - Comparator 2 hysteresis selection bits

Source

pub fn comp2_blanking(&self) -> COMP2_BLANKING_R

Bits 18:20 - Comparator 2 blanking source selection bits

Source

pub fn comp2_brgen(&self) -> COMP2_BRGEN_R

Bit 22 - Scaler bridge enable

Source

pub fn comp2_scalen(&self) -> COMP2_SCALEN_R

Bit 23 - Voltage scaler enable bit

Source

pub fn comp2_value(&self) -> COMP2_VALUE_R

Bit 30 - Comparator 2 output status bit

Source§

impl R<u32, Reg<u32, _CSSA>>

Source

pub fn add(&self) -> ADD_R

Bits 8:23 - code segment start address

Source§

impl R<u32, Reg<u32, _CSL>>

Source

pub fn leng(&self) -> LENG_R

Bits 8:21 - code segment length

Source§

impl R<u32, Reg<u32, _NVDSSA>>

Source

pub fn add(&self) -> ADD_R

Bits 8:23 - Non-volatile data segment start address

Source§

impl R<u32, Reg<u32, _NVDSL>>

Source

pub fn leng(&self) -> LENG_R

Bits 8:21 - Non-volatile data segment length

Source§

impl R<u32, Reg<u32, _VDSSA>>

Source

pub fn add(&self) -> ADD_R

Bits 6:15 - Volatile data segment start address

Source§

impl R<u32, Reg<u32, _VDSL>>

Source

pub fn leng(&self) -> LENG_R

Bits 6:15 - Non-volatile data segment length

Source§

impl R<u32, Reg<u32, _CR>>

Source

pub fn vde(&self) -> VDE_R

Bit 2 - Volatile data execution

Source

pub fn vds(&self) -> VDS_R

Bit 1 - Volatile data shared

Source

pub fn fpa(&self) -> FPA_R

Bit 0 - Firewall pre alarm

Source§

impl R<bool, PE_A>

Source

pub fn variant(&self) -> PE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, TXIE_A>

Source

pub fn variant(&self) -> TXIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, RXIE_A>

Source

pub fn variant(&self) -> RXIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, ADDRIE_A>

Source

pub fn variant(&self) -> ADDRIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, NACKIE_A>

Source

pub fn variant(&self) -> NACKIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, STOPIE_A>

Source

pub fn variant(&self) -> STOPIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, TCIE_A>

Source

pub fn variant(&self) -> TCIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, ERRIE_A>

Source

pub fn variant(&self) -> ERRIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<u8, DNF_A>

Source

pub fn variant(&self) -> DNF_A

Get enumerated values variant

Source

pub fn is_no_filter(&self) -> bool

Checks if the value of the field is NOFILTER

Source

pub fn is_filter1(&self) -> bool

Checks if the value of the field is FILTER1

Source

pub fn is_filter2(&self) -> bool

Checks if the value of the field is FILTER2

Source

pub fn is_filter3(&self) -> bool

Checks if the value of the field is FILTER3

Source

pub fn is_filter4(&self) -> bool

Checks if the value of the field is FILTER4

Source

pub fn is_filter5(&self) -> bool

Checks if the value of the field is FILTER5

Source

pub fn is_filter6(&self) -> bool

Checks if the value of the field is FILTER6

Source

pub fn is_filter7(&self) -> bool

Checks if the value of the field is FILTER7

Source

pub fn is_filter8(&self) -> bool

Checks if the value of the field is FILTER8

Source

pub fn is_filter9(&self) -> bool

Checks if the value of the field is FILTER9

Source

pub fn is_filter10(&self) -> bool

Checks if the value of the field is FILTER10

Source

pub fn is_filter11(&self) -> bool

Checks if the value of the field is FILTER11

Source

pub fn is_filter12(&self) -> bool

Checks if the value of the field is FILTER12

Source

pub fn is_filter13(&self) -> bool

Checks if the value of the field is FILTER13

Source

pub fn is_filter14(&self) -> bool

Checks if the value of the field is FILTER14

Source

pub fn is_filter15(&self) -> bool

Checks if the value of the field is FILTER15

Source§

impl R<bool, ANFOFF_A>

Source

pub fn variant(&self) -> ANFOFF_A

Get enumerated values variant

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source§

impl R<bool, TXDMAEN_A>

Source

pub fn variant(&self) -> TXDMAEN_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, RXDMAEN_A>

Source

pub fn variant(&self) -> RXDMAEN_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, SBC_A>

Source

pub fn variant(&self) -> SBC_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, NOSTRETCH_A>

Source

pub fn variant(&self) -> NOSTRETCH_A

Get enumerated values variant

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source§

impl R<bool, WUPEN_A>

Source

pub fn variant(&self) -> WUPEN_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, GCEN_A>

Source

pub fn variant(&self) -> GCEN_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, SMBHEN_A>

Source

pub fn variant(&self) -> SMBHEN_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, SMBDEN_A>

Source

pub fn variant(&self) -> SMBDEN_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, ALERTEN_A>

Source

pub fn variant(&self) -> ALERTEN_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, PECEN_A>

Source

pub fn variant(&self) -> PECEN_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<u32, Reg<u32, _CR1>>

Source

pub fn pe(&self) -> PE_R

Bit 0 - Peripheral enable

Source

pub fn txie(&self) -> TXIE_R

Bit 1 - TX Interrupt enable

Source

pub fn rxie(&self) -> RXIE_R

Bit 2 - RX Interrupt enable

Source

pub fn addrie(&self) -> ADDRIE_R

Bit 3 - Address match interrupt enable (slave only)

Source

pub fn nackie(&self) -> NACKIE_R

Bit 4 - Not acknowledge received interrupt enable

Source

pub fn stopie(&self) -> STOPIE_R

Bit 5 - STOP detection Interrupt enable

Source

pub fn tcie(&self) -> TCIE_R

Bit 6 - Transfer Complete interrupt enable

Source

pub fn errie(&self) -> ERRIE_R

Bit 7 - Error interrupts enable

Source

pub fn dnf(&self) -> DNF_R

Bits 8:11 - Digital noise filter

Source

pub fn anfoff(&self) -> ANFOFF_R

Bit 12 - Analog noise filter OFF

Source

pub fn txdmaen(&self) -> TXDMAEN_R

Bit 14 - DMA transmission requests enable

Source

pub fn rxdmaen(&self) -> RXDMAEN_R

Bit 15 - DMA reception requests enable

Source

pub fn sbc(&self) -> SBC_R

Bit 16 - Slave byte control

Source

pub fn nostretch(&self) -> NOSTRETCH_R

Bit 17 - Clock stretching disable

Source

pub fn wupen(&self) -> WUPEN_R

Bit 18 - Wakeup from STOP enable

Source

pub fn gcen(&self) -> GCEN_R

Bit 19 - General call enable

Source

pub fn smbhen(&self) -> SMBHEN_R

Bit 20 - SMBus Host address enable

Source

pub fn smbden(&self) -> SMBDEN_R

Bit 21 - SMBus Device Default address enable

Source

pub fn alerten(&self) -> ALERTEN_R

Bit 22 - SMBUS alert enable

Source

pub fn pecen(&self) -> PECEN_R

Bit 23 - PEC enable

Source§

impl R<bool, PECBYTE_A>

Source

pub fn variant(&self) -> PECBYTE_A

Get enumerated values variant

Source

pub fn is_no_pec(&self) -> bool

Checks if the value of the field is NOPEC

Source

pub fn is_pec(&self) -> bool

Checks if the value of the field is PEC

Source§

impl R<bool, AUTOEND_A>

Source

pub fn variant(&self) -> AUTOEND_A

Get enumerated values variant

Source

pub fn is_software(&self) -> bool

Checks if the value of the field is SOFTWARE

Source

pub fn is_automatic(&self) -> bool

Checks if the value of the field is AUTOMATIC

Source§

impl R<bool, RELOAD_A>

Source

pub fn variant(&self) -> RELOAD_A

Get enumerated values variant

Source

pub fn is_completed(&self) -> bool

Checks if the value of the field is COMPLETED

Source

pub fn is_not_completed(&self) -> bool

Checks if the value of the field is NOTCOMPLETED

Source§

impl R<bool, NACK_A>

Source

pub fn variant(&self) -> NACK_A

Get enumerated values variant

Source

pub fn is_ack(&self) -> bool

Checks if the value of the field is ACK

Source

pub fn is_nack(&self) -> bool

Checks if the value of the field is NACK

Source§

impl R<bool, STOP_A>

Source

pub fn variant(&self) -> STOP_A

Get enumerated values variant

Source

pub fn is_no_stop(&self) -> bool

Checks if the value of the field is NOSTOP

Source

pub fn is_stop(&self) -> bool

Checks if the value of the field is STOP

Source§

impl R<bool, START_A>

Source

pub fn variant(&self) -> START_A

Get enumerated values variant

Source

pub fn is_no_start(&self) -> bool

Checks if the value of the field is NOSTART

Source

pub fn is_start(&self) -> bool

Checks if the value of the field is START

Source§

impl R<bool, HEAD10R_A>

Source

pub fn variant(&self) -> HEAD10R_A

Get enumerated values variant

Source

pub fn is_complete(&self) -> bool

Checks if the value of the field is COMPLETE

Source

pub fn is_partial(&self) -> bool

Checks if the value of the field is PARTIAL

Source§

impl R<bool, ADD10_A>

Source

pub fn variant(&self) -> ADD10_A

Get enumerated values variant

Source

pub fn is_bit7(&self) -> bool

Checks if the value of the field is BIT7

Source

pub fn is_bit10(&self) -> bool

Checks if the value of the field is BIT10

Source§

impl R<bool, RD_WRN_A>

Source

pub fn variant(&self) -> RD_WRN_A

Get enumerated values variant

Source

pub fn is_write(&self) -> bool

Checks if the value of the field is WRITE

Source

pub fn is_read(&self) -> bool

Checks if the value of the field is READ

Source§

impl R<u32, Reg<u32, _CR2>>

Source

pub fn pecbyte(&self) -> PECBYTE_R

Bit 26 - Packet error checking byte

Source

pub fn autoend(&self) -> AUTOEND_R

Bit 25 - Automatic end mode (master mode)

Source

pub fn reload(&self) -> RELOAD_R

Bit 24 - NBYTES reload mode

Source

pub fn nbytes(&self) -> NBYTES_R

Bits 16:23 - Number of bytes

Source

pub fn nack(&self) -> NACK_R

Bit 15 - NACK generation (slave mode)

Source

pub fn stop(&self) -> STOP_R

Bit 14 - Stop generation (master mode)

Source

pub fn start(&self) -> START_R

Bit 13 - Start generation

Source

pub fn head10r(&self) -> HEAD10R_R

Bit 12 - 10-bit address header only read direction (master receiver mode)

Source

pub fn add10(&self) -> ADD10_R

Bit 11 - 10-bit addressing mode (master mode)

Source

pub fn rd_wrn(&self) -> RD_WRN_R

Bit 10 - Transfer direction (master mode)

Source

pub fn sadd(&self) -> SADD_R

Bits 0:9 - Slave address bit (master mode)

Source§

impl R<bool, OA1MODE_A>

Source

pub fn variant(&self) -> OA1MODE_A

Get enumerated values variant

Source

pub fn is_bit7(&self) -> bool

Checks if the value of the field is BIT7

Source

pub fn is_bit10(&self) -> bool

Checks if the value of the field is BIT10

Source§

impl R<bool, OA1EN_A>

Source

pub fn variant(&self) -> OA1EN_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<u32, Reg<u32, _OAR1>>

Source

pub fn oa1(&self) -> OA1_R

Bits 0:9 - Interface address

Source

pub fn oa1mode(&self) -> OA1MODE_R

Bit 10 - Own Address 1 10-bit mode

Source

pub fn oa1en(&self) -> OA1EN_R

Bit 15 - Own Address 1 enable

Source§

impl R<u8, OA2MSK_A>

Source

pub fn variant(&self) -> OA2MSK_A

Get enumerated values variant

Source

pub fn is_no_mask(&self) -> bool

Checks if the value of the field is NOMASK

Source

pub fn is_mask1(&self) -> bool

Checks if the value of the field is MASK1

Source

pub fn is_mask2(&self) -> bool

Checks if the value of the field is MASK2

Source

pub fn is_mask3(&self) -> bool

Checks if the value of the field is MASK3

Source

pub fn is_mask4(&self) -> bool

Checks if the value of the field is MASK4

Source

pub fn is_mask5(&self) -> bool

Checks if the value of the field is MASK5

Source

pub fn is_mask6(&self) -> bool

Checks if the value of the field is MASK6

Source

pub fn is_mask7(&self) -> bool

Checks if the value of the field is MASK7

Source§

impl R<bool, OA2EN_A>

Source

pub fn variant(&self) -> OA2EN_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<u32, Reg<u32, _OAR2>>

Source

pub fn oa2(&self) -> OA2_R

Bits 1:7 - Interface address

Source

pub fn oa2msk(&self) -> OA2MSK_R

Bits 8:10 - Own Address 2 masks

Source

pub fn oa2en(&self) -> OA2EN_R

Bit 15 - Own Address 2 enable

Source§

impl R<u32, Reg<u32, _TIMINGR>>

Source

pub fn scll(&self) -> SCLL_R

Bits 0:7 - SCL low period (master mode)

Source

pub fn sclh(&self) -> SCLH_R

Bits 8:15 - SCL high period (master mode)

Source

pub fn sdadel(&self) -> SDADEL_R

Bits 16:19 - Data hold time

Source

pub fn scldel(&self) -> SCLDEL_R

Bits 20:23 - Data setup time

Source

pub fn presc(&self) -> PRESC_R

Bits 28:31 - Timing prescaler

Source§

impl R<bool, TIDLE_A>

Source

pub fn variant(&self) -> TIDLE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, TIMOUTEN_A>

Source

pub fn variant(&self) -> TIMOUTEN_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, TEXTEN_A>

Source

pub fn variant(&self) -> TEXTEN_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<u32, Reg<u32, _TIMEOUTR>>

Source

pub fn timeouta(&self) -> TIMEOUTA_R

Bits 0:11 - Bus timeout A

Source

pub fn tidle(&self) -> TIDLE_R

Bit 12 - Idle clock timeout detection

Source

pub fn timouten(&self) -> TIMOUTEN_R

Bit 15 - Clock timeout enable

Source

pub fn timeoutb(&self) -> TIMEOUTB_R

Bits 16:27 - Bus timeout B

Source

pub fn texten(&self) -> TEXTEN_R

Bit 31 - Extended clock timeout enable

Source§

impl R<bool, DIR_A>

Source

pub fn variant(&self) -> DIR_A

Get enumerated values variant

Source

pub fn is_write(&self) -> bool

Checks if the value of the field is WRITE

Source

pub fn is_read(&self) -> bool

Checks if the value of the field is READ

Source§

impl R<bool, BUSY_A>

Source

pub fn variant(&self) -> BUSY_A

Get enumerated values variant

Source

pub fn is_not_busy(&self) -> bool

Checks if the value of the field is NOTBUSY

Source

pub fn is_busy(&self) -> bool

Checks if the value of the field is BUSY

Source§

impl R<bool, ALERT_A>

Source

pub fn variant(&self) -> ALERT_A

Get enumerated values variant

Source

pub fn is_no_alert(&self) -> bool

Checks if the value of the field is NOALERT

Source

pub fn is_alert(&self) -> bool

Checks if the value of the field is ALERT

Source§

impl R<bool, TIMEOUT_A>

Source

pub fn variant(&self) -> TIMEOUT_A

Get enumerated values variant

Source

pub fn is_no_timeout(&self) -> bool

Checks if the value of the field is NOTIMEOUT

Source

pub fn is_timeout(&self) -> bool

Checks if the value of the field is TIMEOUT

Source§

impl R<bool, PECERR_A>

Source

pub fn variant(&self) -> PECERR_A

Get enumerated values variant

Source

pub fn is_match_(&self) -> bool

Checks if the value of the field is MATCH

Source

pub fn is_no_match(&self) -> bool

Checks if the value of the field is NOMATCH

Source§

impl R<bool, OVR_A>

Source

pub fn variant(&self) -> OVR_A

Get enumerated values variant

Source

pub fn is_no_overrun(&self) -> bool

Checks if the value of the field is NOOVERRUN

Source

pub fn is_overrun(&self) -> bool

Checks if the value of the field is OVERRUN

Source§

impl R<bool, ARLO_A>

Source

pub fn variant(&self) -> ARLO_A

Get enumerated values variant

Source

pub fn is_not_lost(&self) -> bool

Checks if the value of the field is NOTLOST

Source

pub fn is_lost(&self) -> bool

Checks if the value of the field is LOST

Source§

impl R<bool, BERR_A>

Source

pub fn variant(&self) -> BERR_A

Get enumerated values variant

Source

pub fn is_no_error(&self) -> bool

Checks if the value of the field is NOERROR

Source

pub fn is_error(&self) -> bool

Checks if the value of the field is ERROR

Source§

impl R<bool, TCR_A>

Source

pub fn variant(&self) -> TCR_A

Get enumerated values variant

Source

pub fn is_not_complete(&self) -> bool

Checks if the value of the field is NOTCOMPLETE

Source

pub fn is_complete(&self) -> bool

Checks if the value of the field is COMPLETE

Source§

impl R<bool, TC_A>

Source

pub fn variant(&self) -> TC_A

Get enumerated values variant

Source

pub fn is_not_complete(&self) -> bool

Checks if the value of the field is NOTCOMPLETE

Source

pub fn is_complete(&self) -> bool

Checks if the value of the field is COMPLETE

Source§

impl R<bool, STOPF_A>

Source

pub fn variant(&self) -> STOPF_A

Get enumerated values variant

Source

pub fn is_no_stop(&self) -> bool

Checks if the value of the field is NOSTOP

Source

pub fn is_stop(&self) -> bool

Checks if the value of the field is STOP

Source§

impl R<bool, NACKF_A>

Source

pub fn variant(&self) -> NACKF_A

Get enumerated values variant

Source

pub fn is_no_nack(&self) -> bool

Checks if the value of the field is NONACK

Source

pub fn is_nack(&self) -> bool

Checks if the value of the field is NACK

Source§

impl R<bool, ADDR_A>

Source

pub fn variant(&self) -> ADDR_A

Get enumerated values variant

Source

pub fn is_not_match(&self) -> bool

Checks if the value of the field is NOTMATCH

Source

pub fn is_match_(&self) -> bool

Checks if the value of the field is MATCH

Source§

impl R<bool, RXNE_A>

Source

pub fn variant(&self) -> RXNE_A

Get enumerated values variant

Source

pub fn is_empty(&self) -> bool

Checks if the value of the field is EMPTY

Source

pub fn is_not_empty(&self) -> bool

Checks if the value of the field is NOTEMPTY

Source§

impl R<bool, TXIS_A>

Source

pub fn variant(&self) -> TXIS_A

Get enumerated values variant

Source

pub fn is_not_empty(&self) -> bool

Checks if the value of the field is NOTEMPTY

Source

pub fn is_empty(&self) -> bool

Checks if the value of the field is EMPTY

Source§

impl R<bool, TXE_A>

Source

pub fn variant(&self) -> TXE_A

Get enumerated values variant

Source

pub fn is_not_empty(&self) -> bool

Checks if the value of the field is NOTEMPTY

Source

pub fn is_empty(&self) -> bool

Checks if the value of the field is EMPTY

Source§

impl R<u32, Reg<u32, _ISR>>

Source

pub fn addcode(&self) -> ADDCODE_R

Bits 17:23 - Address match code (Slave mode)

Source

pub fn dir(&self) -> DIR_R

Bit 16 - Transfer direction (Slave mode)

Source

pub fn busy(&self) -> BUSY_R

Bit 15 - Bus busy

Source

pub fn alert(&self) -> ALERT_R

Bit 13 - SMBus alert

Source

pub fn timeout(&self) -> TIMEOUT_R

Bit 12 - Timeout or t_low detection flag

Source

pub fn pecerr(&self) -> PECERR_R

Bit 11 - PEC Error in reception

Source

pub fn ovr(&self) -> OVR_R

Bit 10 - Overrun/Underrun (slave mode)

Source

pub fn arlo(&self) -> ARLO_R

Bit 9 - Arbitration lost

Source

pub fn berr(&self) -> BERR_R

Bit 8 - Bus error

Source

pub fn tcr(&self) -> TCR_R

Bit 7 - Transfer Complete Reload

Source

pub fn tc(&self) -> TC_R

Bit 6 - Transfer Complete (master mode)

Source

pub fn stopf(&self) -> STOPF_R

Bit 5 - Stop detection flag

Source

pub fn nackf(&self) -> NACKF_R

Bit 4 - Not acknowledge received flag

Source

pub fn addr(&self) -> ADDR_R

Bit 3 - Address matched (slave mode)

Source

pub fn rxne(&self) -> RXNE_R

Bit 2 - Receive data register not empty (receivers)

Source

pub fn txis(&self) -> TXIS_R

Bit 1 - Transmit interrupt status (transmitters)

Source

pub fn txe(&self) -> TXE_R

Bit 0 - Transmit data register empty (transmitters)

Source§

impl R<u32, Reg<u32, _PECR>>

Source

pub fn pec(&self) -> PEC_R

Bits 0:7 - Packet error checking register

Source§

impl R<u32, Reg<u32, _RXDR>>

Source

pub fn rxdata(&self) -> RXDATA_R

Bits 0:7 - 8-bit receive data

Source§

impl R<u32, Reg<u32, _TXDR>>

Source

pub fn txdata(&self) -> TXDATA_R

Bits 0:7 - 8-bit transmit data

Source§

impl R<u32, Reg<u32, _ACR>>

Source

pub fn latency(&self) -> LATENCY_R

Bits 0:2 - Latency

Source

pub fn prften(&self) -> PRFTEN_R

Bit 8 - Prefetch enable

Source

pub fn icen(&self) -> ICEN_R

Bit 9 - Instruction cache enable

Source

pub fn dcen(&self) -> DCEN_R

Bit 10 - Data cache enable

Source

pub fn icrst(&self) -> ICRST_R

Bit 11 - Instruction cache reset

Source

pub fn dcrst(&self) -> DCRST_R

Bit 12 - Data cache reset

Source

pub fn run_pd(&self) -> RUN_PD_R

Bit 13 - Flash Power-down mode during Low-power run mode

Source

pub fn sleep_pd(&self) -> SLEEP_PD_R

Bit 14 - Flash Power-down mode during Low-power sleep mode

Source§

impl R<u32, Reg<u32, _SR>>

Source

pub fn eop(&self) -> EOP_R

Bit 0 - End of operation

Source

pub fn operr(&self) -> OPERR_R

Bit 1 - Operation error

Source

pub fn progerr(&self) -> PROGERR_R

Bit 3 - Programming error

Source

pub fn wrperr(&self) -> WRPERR_R

Bit 4 - Write protected error

Source

pub fn pgaerr(&self) -> PGAERR_R

Bit 5 - Programming alignment error

Source

pub fn sizerr(&self) -> SIZERR_R

Bit 6 - Size error

Source

pub fn pgserr(&self) -> PGSERR_R

Bit 7 - Programming sequence error

Source

pub fn miserr(&self) -> MISERR_R

Bit 8 - Fast programming data miss error

Source

pub fn fasterr(&self) -> FASTERR_R

Bit 9 - Fast programming error

Source

pub fn rderr(&self) -> RDERR_R

Bit 14 - PCROP read error

Source

pub fn optverr(&self) -> OPTVERR_R

Bit 15 - Option validity error

Source

pub fn bsy(&self) -> BSY_R

Bit 16 - Busy

Source§

impl R<u32, Reg<u32, _CR>>

Source

pub fn pg(&self) -> PG_R

Bit 0 - Programming

Source

pub fn per(&self) -> PER_R

Bit 1 - Page erase

Source

pub fn mer1(&self) -> MER1_R

Bit 2 - Bank 1 Mass erase

Source

pub fn pnb(&self) -> PNB_R

Bits 3:10 - Page number

Source

pub fn bker(&self) -> BKER_R

Bit 11 - Bank erase

Source

pub fn mer2(&self) -> MER2_R

Bit 15 - Bank 2 Mass erase

Source

pub fn start(&self) -> START_R

Bit 16 - Start

Source

pub fn optstrt(&self) -> OPTSTRT_R

Bit 17 - Options modification start

Source

pub fn fstpg(&self) -> FSTPG_R

Bit 18 - Fast programming

Source

pub fn eopie(&self) -> EOPIE_R

Bit 24 - End of operation interrupt enable

Source

pub fn errie(&self) -> ERRIE_R

Bit 25 - Error interrupt enable

Source

pub fn rderrie(&self) -> RDERRIE_R

Bit 26 - PCROP read error interrupt enable

Source

pub fn obl_launch(&self) -> OBL_LAUNCH_R

Bit 27 - Force the option byte loading

Source

pub fn optlock(&self) -> OPTLOCK_R

Bit 30 - Options Lock

Source

pub fn lock(&self) -> LOCK_R

Bit 31 - FLASH_CR Lock

Source§

impl R<u32, Reg<u32, _ECCR>>

Source

pub fn addr_ecc(&self) -> ADDR_ECC_R

Bits 0:18 - ECC fail address

Source

pub fn bk_ecc(&self) -> BK_ECC_R

Bit 19 - ECC fail bank

Source

pub fn sysf_ecc(&self) -> SYSF_ECC_R

Bit 20 - System Flash ECC fail

Source

pub fn eccie(&self) -> ECCIE_R

Bit 24 - ECC correction interrupt enable

Source

pub fn eccc(&self) -> ECCC_R

Bit 30 - ECC correction

Source

pub fn eccd(&self) -> ECCD_R

Bit 31 - ECC detection

Source§

impl R<u32, Reg<u32, _OPTR>>

Source

pub fn rdp(&self) -> RDP_R

Bits 0:7 - Read protection level

Source

pub fn bor_lev(&self) -> BOR_LEV_R

Bits 8:10 - BOR reset Level

Source

pub fn n_rst_stop(&self) -> NRST_STOP_R

Bit 12 - nRST_STOP

Source

pub fn n_rst_stdby(&self) -> NRST_STDBY_R

Bit 13 - nRST_STDBY

Source

pub fn idwg_sw(&self) -> IDWG_SW_R

Bit 16 - Independent watchdog selection

Source

pub fn iwdg_stop(&self) -> IWDG_STOP_R

Bit 17 - Independent watchdog counter freeze in Stop mode

Source

pub fn iwdg_stdby(&self) -> IWDG_STDBY_R

Bit 18 - Independent watchdog counter freeze in Standby mode

Source

pub fn wwdg_sw(&self) -> WWDG_SW_R

Bit 19 - Window watchdog selection

Source

pub fn bfb2(&self) -> BFB2_R

Bit 20 - Dual-bank boot

Source

pub fn dualbank(&self) -> DUALBANK_R

Bit 21 - Dual-Bank on 512 KB or 256 KB Flash memory devices

Source

pub fn n_boot1(&self) -> NBOOT1_R

Bit 23 - Boot configuration

Source

pub fn sram2_pe(&self) -> SRAM2_PE_R

Bit 24 - SRAM2 parity check enable

Source

pub fn sram2_rst(&self) -> SRAM2_RST_R

Bit 25 - SRAM2 Erase when system reset

Source

pub fn n_swboot0(&self) -> NSWBOOT0_R

Bit 26 - Software BOOT0

Source

pub fn n_boot0(&self) -> NBOOT0_R

Bit 27 - nBOOT0 option bit

Source§

impl R<u32, Reg<u32, _PCROP1SR>>

Source

pub fn pcrop1_strt(&self) -> PCROP1_STRT_R

Bits 0:15 - Bank 1 PCROP area start offset

Source§

impl R<u32, Reg<u32, _PCROP1ER>>

Source

pub fn pcrop1_end(&self) -> PCROP1_END_R

Bits 0:15 - Bank 1 PCROP area end offset

Source

pub fn pcrop_rdp(&self) -> PCROP_RDP_R

Bit 31 - PCROP area preserved when RDP level decreased

Source§

impl R<u32, Reg<u32, _WRP1AR>>

Source

pub fn wrp1a_strt(&self) -> WRP1A_STRT_R

Bits 0:7 - Bank 1 WRP first area start offset

Source

pub fn wrp1a_end(&self) -> WRP1A_END_R

Bits 16:23 - Bank 1 WRP first area A end offset

Source§

impl R<u32, Reg<u32, _WRP1BR>>

Source

pub fn wrp1b_strt(&self) -> WRP1B_STRT_R

Bits 16:23 - Bank 1 WRP second area B end offset

Source

pub fn wrp1b_end(&self) -> WRP1B_END_R

Bits 0:7 - Bank 1 WRP second area B start offset

Source§

impl R<u32, Reg<u32, _PCROP2SR>>

Source

pub fn pcrop2_strt(&self) -> PCROP2_STRT_R

Bits 0:15 - Bank 2 PCROP area start offset

Source§

impl R<u32, Reg<u32, _PCROP2ER>>

Source

pub fn pcrop2_end(&self) -> PCROP2_END_R

Bits 0:15 - Bank 2 PCROP area end offset

Source§

impl R<u32, Reg<u32, _WRP2AR>>

Source

pub fn wrp2a_strt(&self) -> WRP2A_STRT_R

Bits 0:7 - Bank 2 WRP first area A start offset

Source

pub fn wrp2a_end(&self) -> WRP2A_END_R

Bits 16:23 - Bank 2 WRP first area A end offset

Source§

impl R<u32, Reg<u32, _WRP2BR>>

Source

pub fn wrp2b_strt(&self) -> WRP2B_STRT_R

Bits 0:7 - Bank 2 WRP second area B start offset

Source

pub fn wrp2b_end(&self) -> WRP2B_END_R

Bits 16:23 - Bank 2 WRP second area B end offset

Source§

impl R<u32, Reg<u32, _CR1>>

Source

pub fn lpr(&self) -> LPR_R

Bit 14 - Low-power run

Source

pub fn vos(&self) -> VOS_R

Bits 9:10 - Voltage scaling range selection

Source

pub fn dbp(&self) -> DBP_R

Bit 8 - Disable backup domain write protection

Source

pub fn lpms(&self) -> LPMS_R

Bits 0:2 - Low-power mode selection

Source§

impl R<u32, Reg<u32, _CR2>>

Source

pub fn usv(&self) -> USV_R

Bit 10 - VDDUSB USB supply valid

Source

pub fn iosv(&self) -> IOSV_R

Bit 9 - VDDIO2 Independent I/Os supply valid

Source

pub fn pvme4(&self) -> PVME4_R

Bit 7 - Peripheral voltage monitoring 4 enable: VDDA vs. 2.2V

Source

pub fn pvme3(&self) -> PVME3_R

Bit 6 - Peripheral voltage monitoring 3 enable: VDDA vs. 1.62V

Source

pub fn pvme2(&self) -> PVME2_R

Bit 5 - Peripheral voltage monitoring 2 enable: VDDIO2 vs. 0.9V

Source

pub fn pvme1(&self) -> PVME1_R

Bit 4 - Peripheral voltage monitoring 1 enable: VDDUSB vs. 1.2V

Source

pub fn pls(&self) -> PLS_R

Bits 1:3 - Power voltage detector level selection

Source

pub fn pvde(&self) -> PVDE_R

Bit 0 - Power voltage detector enable

Source§

impl R<u32, Reg<u32, _CR3>>

Source

pub fn ewf(&self) -> EWF_R

Bit 15 - Enable internal wakeup line

Source

pub fn apc(&self) -> APC_R

Bit 10 - Apply pull-up and pull-down configuration

Source

pub fn rrs(&self) -> RRS_R

Bit 8 - SRAM2 retention in Standby mode

Source

pub fn ewup5(&self) -> EWUP5_R

Bit 4 - Enable Wakeup pin WKUP5

Source

pub fn ewup4(&self) -> EWUP4_R

Bit 3 - Enable Wakeup pin WKUP4

Source

pub fn ewup3(&self) -> EWUP3_R

Bit 2 - Enable Wakeup pin WKUP3

Source

pub fn ewup2(&self) -> EWUP2_R

Bit 1 - Enable Wakeup pin WKUP2

Source

pub fn ewup1(&self) -> EWUP1_R

Bit 0 - Enable Wakeup pin WKUP1

Source§

impl R<u32, Reg<u32, _CR4>>

Source

pub fn vbrs(&self) -> VBRS_R

Bit 9 - VBAT battery charging resistor selection

Source

pub fn vbe(&self) -> VBE_R

Bit 8 - VBAT battery charging enable

Source

pub fn wp5(&self) -> WP5_R

Bit 4 - Wakeup pin WKUP5 polarity

Source

pub fn wp4(&self) -> WP4_R

Bit 3 - Wakeup pin WKUP4 polarity

Source

pub fn wp3(&self) -> WP3_R

Bit 2 - Wakeup pin WKUP3 polarity

Source

pub fn wp2(&self) -> WP2_R

Bit 1 - Wakeup pin WKUP2 polarity

Source

pub fn wp1(&self) -> WP1_R

Bit 0 - Wakeup pin WKUP1 polarity

Source§

impl R<u32, Reg<u32, _SR1>>

Source

pub fn wufi(&self) -> WUFI_R

Bit 15 - Wakeup flag internal

Source

pub fn csbf(&self) -> CSBF_R

Bit 8 - Standby flag

Source

pub fn cwuf5(&self) -> CWUF5_R

Bit 4 - Wakeup flag 5

Source

pub fn cwuf4(&self) -> CWUF4_R

Bit 3 - Wakeup flag 4

Source

pub fn cwuf3(&self) -> CWUF3_R

Bit 2 - Wakeup flag 3

Source

pub fn cwuf2(&self) -> CWUF2_R

Bit 1 - Wakeup flag 2

Source

pub fn cwuf1(&self) -> CWUF1_R

Bit 0 - Wakeup flag 1

Source§

impl R<u32, Reg<u32, _SR2>>

Source

pub fn pvmo4(&self) -> PVMO4_R

Bit 15 - Peripheral voltage monitoring output: VDDA vs. 2.2 V

Source

pub fn pvmo3(&self) -> PVMO3_R

Bit 14 - Peripheral voltage monitoring output: VDDA vs. 1.62 V

Source

pub fn pvmo2(&self) -> PVMO2_R

Bit 13 - Peripheral voltage monitoring output: VDDIO2 vs. 0.9 V

Source

pub fn pvmo1(&self) -> PVMO1_R

Bit 12 - Peripheral voltage monitoring output: VDDUSB vs. 1.2 V

Source

pub fn pvdo(&self) -> PVDO_R

Bit 11 - Power voltage detector output

Source

pub fn vosf(&self) -> VOSF_R

Bit 10 - Voltage scaling flag

Source

pub fn reglpf(&self) -> REGLPF_R

Bit 9 - Low-power regulator flag

Source

pub fn reglps(&self) -> REGLPS_R

Bit 8 - Low-power regulator started

Source§

impl R<u32, Reg<u32, _PUCRA>>

Source

pub fn pu15(&self) -> PU15_R

Bit 15 - Port A pull-up bit y (y=0..15)

Source

pub fn pu14(&self) -> PU14_R

Bit 14 - Port A pull-up bit y (y=0..15)

Source

pub fn pu13(&self) -> PU13_R

Bit 13 - Port A pull-up bit y (y=0..15)

Source

pub fn pu12(&self) -> PU12_R

Bit 12 - Port A pull-up bit y (y=0..15)

Source

pub fn pu11(&self) -> PU11_R

Bit 11 - Port A pull-up bit y (y=0..15)

Source

pub fn pu10(&self) -> PU10_R

Bit 10 - Port A pull-up bit y (y=0..15)

Source

pub fn pu9(&self) -> PU9_R

Bit 9 - Port A pull-up bit y (y=0..15)

Source

pub fn pu8(&self) -> PU8_R

Bit 8 - Port A pull-up bit y (y=0..15)

Source

pub fn pu7(&self) -> PU7_R

Bit 7 - Port A pull-up bit y (y=0..15)

Source

pub fn pu6(&self) -> PU6_R

Bit 6 - Port A pull-up bit y (y=0..15)

Source

pub fn pu5(&self) -> PU5_R

Bit 5 - Port A pull-up bit y (y=0..15)

Source

pub fn pu4(&self) -> PU4_R

Bit 4 - Port A pull-up bit y (y=0..15)

Source

pub fn pu3(&self) -> PU3_R

Bit 3 - Port A pull-up bit y (y=0..15)

Source

pub fn pu2(&self) -> PU2_R

Bit 2 - Port A pull-up bit y (y=0..15)

Source

pub fn pu1(&self) -> PU1_R

Bit 1 - Port A pull-up bit y (y=0..15)

Source

pub fn pu0(&self) -> PU0_R

Bit 0 - Port A pull-up bit y (y=0..15)

Source§

impl R<u32, Reg<u32, _PDCRA>>

Source

pub fn pd15(&self) -> PD15_R

Bit 15 - Port A pull-down bit y (y=0..15)

Source

pub fn pd14(&self) -> PD14_R

Bit 14 - Port A pull-down bit y (y=0..15)

Source

pub fn pd13(&self) -> PD13_R

Bit 13 - Port A pull-down bit y (y=0..15)

Source

pub fn pd12(&self) -> PD12_R

Bit 12 - Port A pull-down bit y (y=0..15)

Source

pub fn pd11(&self) -> PD11_R

Bit 11 - Port A pull-down bit y (y=0..15)

Source

pub fn pd10(&self) -> PD10_R

Bit 10 - Port A pull-down bit y (y=0..15)

Source

pub fn pd9(&self) -> PD9_R

Bit 9 - Port A pull-down bit y (y=0..15)

Source

pub fn pd8(&self) -> PD8_R

Bit 8 - Port A pull-down bit y (y=0..15)

Source

pub fn pd7(&self) -> PD7_R

Bit 7 - Port A pull-down bit y (y=0..15)

Source

pub fn pd6(&self) -> PD6_R

Bit 6 - Port A pull-down bit y (y=0..15)

Source

pub fn pd5(&self) -> PD5_R

Bit 5 - Port A pull-down bit y (y=0..15)

Source

pub fn pd4(&self) -> PD4_R

Bit 4 - Port A pull-down bit y (y=0..15)

Source

pub fn pd3(&self) -> PD3_R

Bit 3 - Port A pull-down bit y (y=0..15)

Source

pub fn pd2(&self) -> PD2_R

Bit 2 - Port A pull-down bit y (y=0..15)

Source

pub fn pd1(&self) -> PD1_R

Bit 1 - Port A pull-down bit y (y=0..15)

Source

pub fn pd0(&self) -> PD0_R

Bit 0 - Port A pull-down bit y (y=0..15)

Source§

impl R<u32, Reg<u32, _PUCRB>>

Source

pub fn pu15(&self) -> PU15_R

Bit 15 - Port B pull-up bit y (y=0..15)

Source

pub fn pu14(&self) -> PU14_R

Bit 14 - Port B pull-up bit y (y=0..15)

Source

pub fn pu13(&self) -> PU13_R

Bit 13 - Port B pull-up bit y (y=0..15)

Source

pub fn pu12(&self) -> PU12_R

Bit 12 - Port B pull-up bit y (y=0..15)

Source

pub fn pu11(&self) -> PU11_R

Bit 11 - Port B pull-up bit y (y=0..15)

Source

pub fn pu10(&self) -> PU10_R

Bit 10 - Port B pull-up bit y (y=0..15)

Source

pub fn pu9(&self) -> PU9_R

Bit 9 - Port B pull-up bit y (y=0..15)

Source

pub fn pu8(&self) -> PU8_R

Bit 8 - Port B pull-up bit y (y=0..15)

Source

pub fn pu7(&self) -> PU7_R

Bit 7 - Port B pull-up bit y (y=0..15)

Source

pub fn pu6(&self) -> PU6_R

Bit 6 - Port B pull-up bit y (y=0..15)

Source

pub fn pu5(&self) -> PU5_R

Bit 5 - Port B pull-up bit y (y=0..15)

Source

pub fn pu4(&self) -> PU4_R

Bit 4 - Port B pull-up bit y (y=0..15)

Source

pub fn pu3(&self) -> PU3_R

Bit 3 - Port B pull-up bit y (y=0..15)

Source

pub fn pu2(&self) -> PU2_R

Bit 2 - Port B pull-up bit y (y=0..15)

Source

pub fn pu1(&self) -> PU1_R

Bit 1 - Port B pull-up bit y (y=0..15)

Source

pub fn pu0(&self) -> PU0_R

Bit 0 - Port B pull-up bit y (y=0..15)

Source§

impl R<u32, Reg<u32, _PDCRB>>

Source

pub fn pd15(&self) -> PD15_R

Bit 15 - Port B pull-down bit y (y=0..15)

Source

pub fn pd14(&self) -> PD14_R

Bit 14 - Port B pull-down bit y (y=0..15)

Source

pub fn pd13(&self) -> PD13_R

Bit 13 - Port B pull-down bit y (y=0..15)

Source

pub fn pd12(&self) -> PD12_R

Bit 12 - Port B pull-down bit y (y=0..15)

Source

pub fn pd11(&self) -> PD11_R

Bit 11 - Port B pull-down bit y (y=0..15)

Source

pub fn pd10(&self) -> PD10_R

Bit 10 - Port B pull-down bit y (y=0..15)

Source

pub fn pd9(&self) -> PD9_R

Bit 9 - Port B pull-down bit y (y=0..15)

Source

pub fn pd8(&self) -> PD8_R

Bit 8 - Port B pull-down bit y (y=0..15)

Source

pub fn pd7(&self) -> PD7_R

Bit 7 - Port B pull-down bit y (y=0..15)

Source

pub fn pd6(&self) -> PD6_R

Bit 6 - Port B pull-down bit y (y=0..15)

Source

pub fn pd5(&self) -> PD5_R

Bit 5 - Port B pull-down bit y (y=0..15)

Source

pub fn pd4(&self) -> PD4_R

Bit 4 - Port B pull-down bit y (y=0..15)

Source

pub fn pd3(&self) -> PD3_R

Bit 3 - Port B pull-down bit y (y=0..15)

Source

pub fn pd2(&self) -> PD2_R

Bit 2 - Port B pull-down bit y (y=0..15)

Source

pub fn pd1(&self) -> PD1_R

Bit 1 - Port B pull-down bit y (y=0..15)

Source

pub fn pd0(&self) -> PD0_R

Bit 0 - Port B pull-down bit y (y=0..15)

Source§

impl R<u32, Reg<u32, _PUCRC>>

Source

pub fn pu15(&self) -> PU15_R

Bit 15 - Port C pull-up bit y (y=0..15)

Source

pub fn pu14(&self) -> PU14_R

Bit 14 - Port C pull-up bit y (y=0..15)

Source

pub fn pu13(&self) -> PU13_R

Bit 13 - Port C pull-up bit y (y=0..15)

Source

pub fn pu12(&self) -> PU12_R

Bit 12 - Port C pull-up bit y (y=0..15)

Source

pub fn pu11(&self) -> PU11_R

Bit 11 - Port C pull-up bit y (y=0..15)

Source

pub fn pu10(&self) -> PU10_R

Bit 10 - Port C pull-up bit y (y=0..15)

Source

pub fn pu9(&self) -> PU9_R

Bit 9 - Port C pull-up bit y (y=0..15)

Source

pub fn pu8(&self) -> PU8_R

Bit 8 - Port C pull-up bit y (y=0..15)

Source

pub fn pu7(&self) -> PU7_R

Bit 7 - Port C pull-up bit y (y=0..15)

Source

pub fn pu6(&self) -> PU6_R

Bit 6 - Port C pull-up bit y (y=0..15)

Source

pub fn pu5(&self) -> PU5_R

Bit 5 - Port C pull-up bit y (y=0..15)

Source

pub fn pu4(&self) -> PU4_R

Bit 4 - Port C pull-up bit y (y=0..15)

Source

pub fn pu3(&self) -> PU3_R

Bit 3 - Port C pull-up bit y (y=0..15)

Source

pub fn pu2(&self) -> PU2_R

Bit 2 - Port C pull-up bit y (y=0..15)

Source

pub fn pu1(&self) -> PU1_R

Bit 1 - Port C pull-up bit y (y=0..15)

Source

pub fn pu0(&self) -> PU0_R

Bit 0 - Port C pull-up bit y (y=0..15)

Source§

impl R<u32, Reg<u32, _PDCRC>>

Source

pub fn pd15(&self) -> PD15_R

Bit 15 - Port C pull-down bit y (y=0..15)

Source

pub fn pd14(&self) -> PD14_R

Bit 14 - Port C pull-down bit y (y=0..15)

Source

pub fn pd13(&self) -> PD13_R

Bit 13 - Port C pull-down bit y (y=0..15)

Source

pub fn pd12(&self) -> PD12_R

Bit 12 - Port C pull-down bit y (y=0..15)

Source

pub fn pd11(&self) -> PD11_R

Bit 11 - Port C pull-down bit y (y=0..15)

Source

pub fn pd10(&self) -> PD10_R

Bit 10 - Port C pull-down bit y (y=0..15)

Source

pub fn pd9(&self) -> PD9_R

Bit 9 - Port C pull-down bit y (y=0..15)

Source

pub fn pd8(&self) -> PD8_R

Bit 8 - Port C pull-down bit y (y=0..15)

Source

pub fn pd7(&self) -> PD7_R

Bit 7 - Port C pull-down bit y (y=0..15)

Source

pub fn pd6(&self) -> PD6_R

Bit 6 - Port C pull-down bit y (y=0..15)

Source

pub fn pd5(&self) -> PD5_R

Bit 5 - Port C pull-down bit y (y=0..15)

Source

pub fn pd4(&self) -> PD4_R

Bit 4 - Port C pull-down bit y (y=0..15)

Source

pub fn pd3(&self) -> PD3_R

Bit 3 - Port C pull-down bit y (y=0..15)

Source

pub fn pd2(&self) -> PD2_R

Bit 2 - Port C pull-down bit y (y=0..15)

Source

pub fn pd1(&self) -> PD1_R

Bit 1 - Port C pull-down bit y (y=0..15)

Source

pub fn pd0(&self) -> PD0_R

Bit 0 - Port C pull-down bit y (y=0..15)

Source§

impl R<u32, Reg<u32, _PUCRD>>

Source

pub fn pu15(&self) -> PU15_R

Bit 15 - Port D pull-up bit y (y=0..15)

Source

pub fn pu14(&self) -> PU14_R

Bit 14 - Port D pull-up bit y (y=0..15)

Source

pub fn pu13(&self) -> PU13_R

Bit 13 - Port D pull-up bit y (y=0..15)

Source

pub fn pu12(&self) -> PU12_R

Bit 12 - Port D pull-up bit y (y=0..15)

Source

pub fn pu11(&self) -> PU11_R

Bit 11 - Port D pull-up bit y (y=0..15)

Source

pub fn pu10(&self) -> PU10_R

Bit 10 - Port D pull-up bit y (y=0..15)

Source

pub fn pu9(&self) -> PU9_R

Bit 9 - Port D pull-up bit y (y=0..15)

Source

pub fn pu8(&self) -> PU8_R

Bit 8 - Port D pull-up bit y (y=0..15)

Source

pub fn pu7(&self) -> PU7_R

Bit 7 - Port D pull-up bit y (y=0..15)

Source

pub fn pu6(&self) -> PU6_R

Bit 6 - Port D pull-up bit y (y=0..15)

Source

pub fn pu5(&self) -> PU5_R

Bit 5 - Port D pull-up bit y (y=0..15)

Source

pub fn pu4(&self) -> PU4_R

Bit 4 - Port D pull-up bit y (y=0..15)

Source

pub fn pu3(&self) -> PU3_R

Bit 3 - Port D pull-up bit y (y=0..15)

Source

pub fn pu2(&self) -> PU2_R

Bit 2 - Port D pull-up bit y (y=0..15)

Source

pub fn pu1(&self) -> PU1_R

Bit 1 - Port D pull-up bit y (y=0..15)

Source

pub fn pu0(&self) -> PU0_R

Bit 0 - Port D pull-up bit y (y=0..15)

Source§

impl R<u32, Reg<u32, _PDCRD>>

Source

pub fn pd15(&self) -> PD15_R

Bit 15 - Port D pull-down bit y (y=0..15)

Source

pub fn pd14(&self) -> PD14_R

Bit 14 - Port D pull-down bit y (y=0..15)

Source

pub fn pd13(&self) -> PD13_R

Bit 13 - Port D pull-down bit y (y=0..15)

Source

pub fn pd12(&self) -> PD12_R

Bit 12 - Port D pull-down bit y (y=0..15)

Source

pub fn pd11(&self) -> PD11_R

Bit 11 - Port D pull-down bit y (y=0..15)

Source

pub fn pd10(&self) -> PD10_R

Bit 10 - Port D pull-down bit y (y=0..15)

Source

pub fn pd9(&self) -> PD9_R

Bit 9 - Port D pull-down bit y (y=0..15)

Source

pub fn pd8(&self) -> PD8_R

Bit 8 - Port D pull-down bit y (y=0..15)

Source

pub fn pd7(&self) -> PD7_R

Bit 7 - Port D pull-down bit y (y=0..15)

Source

pub fn pd6(&self) -> PD6_R

Bit 6 - Port D pull-down bit y (y=0..15)

Source

pub fn pd5(&self) -> PD5_R

Bit 5 - Port D pull-down bit y (y=0..15)

Source

pub fn pd4(&self) -> PD4_R

Bit 4 - Port D pull-down bit y (y=0..15)

Source

pub fn pd3(&self) -> PD3_R

Bit 3 - Port D pull-down bit y (y=0..15)

Source

pub fn pd2(&self) -> PD2_R

Bit 2 - Port D pull-down bit y (y=0..15)

Source

pub fn pd1(&self) -> PD1_R

Bit 1 - Port D pull-down bit y (y=0..15)

Source

pub fn pd0(&self) -> PD0_R

Bit 0 - Port D pull-down bit y (y=0..15)

Source§

impl R<u32, Reg<u32, _PUCRE>>

Source

pub fn pu15(&self) -> PU15_R

Bit 15 - Port E pull-up bit y (y=0..15)

Source

pub fn pu14(&self) -> PU14_R

Bit 14 - Port E pull-up bit y (y=0..15)

Source

pub fn pu13(&self) -> PU13_R

Bit 13 - Port E pull-up bit y (y=0..15)

Source

pub fn pu12(&self) -> PU12_R

Bit 12 - Port E pull-up bit y (y=0..15)

Source

pub fn pu11(&self) -> PU11_R

Bit 11 - Port E pull-up bit y (y=0..15)

Source

pub fn pu10(&self) -> PU10_R

Bit 10 - Port E pull-up bit y (y=0..15)

Source

pub fn pu9(&self) -> PU9_R

Bit 9 - Port E pull-up bit y (y=0..15)

Source

pub fn pu8(&self) -> PU8_R

Bit 8 - Port E pull-up bit y (y=0..15)

Source

pub fn pu7(&self) -> PU7_R

Bit 7 - Port E pull-up bit y (y=0..15)

Source

pub fn pu6(&self) -> PU6_R

Bit 6 - Port E pull-up bit y (y=0..15)

Source

pub fn pu5(&self) -> PU5_R

Bit 5 - Port E pull-up bit y (y=0..15)

Source

pub fn pu4(&self) -> PU4_R

Bit 4 - Port E pull-up bit y (y=0..15)

Source

pub fn pu3(&self) -> PU3_R

Bit 3 - Port E pull-up bit y (y=0..15)

Source

pub fn pu2(&self) -> PU2_R

Bit 2 - Port E pull-up bit y (y=0..15)

Source

pub fn pu1(&self) -> PU1_R

Bit 1 - Port E pull-up bit y (y=0..15)

Source

pub fn pu0(&self) -> PU0_R

Bit 0 - Port E pull-up bit y (y=0..15)

Source§

impl R<u32, Reg<u32, _PDCRE>>

Source

pub fn pd15(&self) -> PD15_R

Bit 15 - Port E pull-down bit y (y=0..15)

Source

pub fn pd14(&self) -> PD14_R

Bit 14 - Port E pull-down bit y (y=0..15)

Source

pub fn pd13(&self) -> PD13_R

Bit 13 - Port E pull-down bit y (y=0..15)

Source

pub fn pd12(&self) -> PD12_R

Bit 12 - Port E pull-down bit y (y=0..15)

Source

pub fn pd11(&self) -> PD11_R

Bit 11 - Port E pull-down bit y (y=0..15)

Source

pub fn pd10(&self) -> PD10_R

Bit 10 - Port E pull-down bit y (y=0..15)

Source

pub fn pd9(&self) -> PD9_R

Bit 9 - Port E pull-down bit y (y=0..15)

Source

pub fn pd8(&self) -> PD8_R

Bit 8 - Port E pull-down bit y (y=0..15)

Source

pub fn pd7(&self) -> PD7_R

Bit 7 - Port E pull-down bit y (y=0..15)

Source

pub fn pd6(&self) -> PD6_R

Bit 6 - Port E pull-down bit y (y=0..15)

Source

pub fn pd5(&self) -> PD5_R

Bit 5 - Port E pull-down bit y (y=0..15)

Source

pub fn pd4(&self) -> PD4_R

Bit 4 - Port E pull-down bit y (y=0..15)

Source

pub fn pd3(&self) -> PD3_R

Bit 3 - Port E pull-down bit y (y=0..15)

Source

pub fn pd2(&self) -> PD2_R

Bit 2 - Port E pull-down bit y (y=0..15)

Source

pub fn pd1(&self) -> PD1_R

Bit 1 - Port E pull-down bit y (y=0..15)

Source

pub fn pd0(&self) -> PD0_R

Bit 0 - Port E pull-down bit y (y=0..15)

Source§

impl R<u32, Reg<u32, _PUCRF>>

Source

pub fn pu15(&self) -> PU15_R

Bit 15 - Port F pull-up bit y (y=0..15)

Source

pub fn pu14(&self) -> PU14_R

Bit 14 - Port F pull-up bit y (y=0..15)

Source

pub fn pu13(&self) -> PU13_R

Bit 13 - Port F pull-up bit y (y=0..15)

Source

pub fn pu12(&self) -> PU12_R

Bit 12 - Port F pull-up bit y (y=0..15)

Source

pub fn pu11(&self) -> PU11_R

Bit 11 - Port F pull-up bit y (y=0..15)

Source

pub fn pu10(&self) -> PU10_R

Bit 10 - Port F pull-up bit y (y=0..15)

Source

pub fn pu9(&self) -> PU9_R

Bit 9 - Port F pull-up bit y (y=0..15)

Source

pub fn pu8(&self) -> PU8_R

Bit 8 - Port F pull-up bit y (y=0..15)

Source

pub fn pu7(&self) -> PU7_R

Bit 7 - Port F pull-up bit y (y=0..15)

Source

pub fn pu6(&self) -> PU6_R

Bit 6 - Port F pull-up bit y (y=0..15)

Source

pub fn pu5(&self) -> PU5_R

Bit 5 - Port F pull-up bit y (y=0..15)

Source

pub fn pu4(&self) -> PU4_R

Bit 4 - Port F pull-up bit y (y=0..15)

Source

pub fn pu3(&self) -> PU3_R

Bit 3 - Port F pull-up bit y (y=0..15)

Source

pub fn pu2(&self) -> PU2_R

Bit 2 - Port F pull-up bit y (y=0..15)

Source

pub fn pu1(&self) -> PU1_R

Bit 1 - Port F pull-up bit y (y=0..15)

Source

pub fn pu0(&self) -> PU0_R

Bit 0 - Port F pull-up bit y (y=0..15)

Source§

impl R<u32, Reg<u32, _PDCRF>>

Source

pub fn pd15(&self) -> PD15_R

Bit 15 - Port F pull-down bit y (y=0..15)

Source

pub fn pd14(&self) -> PD14_R

Bit 14 - Port F pull-down bit y (y=0..15)

Source

pub fn pd13(&self) -> PD13_R

Bit 13 - Port F pull-down bit y (y=0..15)

Source

pub fn pd12(&self) -> PD12_R

Bit 12 - Port F pull-down bit y (y=0..15)

Source

pub fn pd11(&self) -> PD11_R

Bit 11 - Port F pull-down bit y (y=0..15)

Source

pub fn pd10(&self) -> PD10_R

Bit 10 - Port F pull-down bit y (y=0..15)

Source

pub fn pd9(&self) -> PD9_R

Bit 9 - Port F pull-down bit y (y=0..15)

Source

pub fn pd8(&self) -> PD8_R

Bit 8 - Port F pull-down bit y (y=0..15)

Source

pub fn pd7(&self) -> PD7_R

Bit 7 - Port F pull-down bit y (y=0..15)

Source

pub fn pd6(&self) -> PD6_R

Bit 6 - Port F pull-down bit y (y=0..15)

Source

pub fn pd5(&self) -> PD5_R

Bit 5 - Port F pull-down bit y (y=0..15)

Source

pub fn pd4(&self) -> PD4_R

Bit 4 - Port F pull-down bit y (y=0..15)

Source

pub fn pd3(&self) -> PD3_R

Bit 3 - Port F pull-down bit y (y=0..15)

Source

pub fn pd2(&self) -> PD2_R

Bit 2 - Port F pull-down bit y (y=0..15)

Source

pub fn pd1(&self) -> PD1_R

Bit 1 - Port F pull-down bit y (y=0..15)

Source

pub fn pd0(&self) -> PD0_R

Bit 0 - Port F pull-down bit y (y=0..15)

Source§

impl R<u32, Reg<u32, _PUCRG>>

Source

pub fn pu15(&self) -> PU15_R

Bit 15 - Port G pull-up bit y (y=0..15)

Source

pub fn pu14(&self) -> PU14_R

Bit 14 - Port G pull-up bit y (y=0..15)

Source

pub fn pu13(&self) -> PU13_R

Bit 13 - Port G pull-up bit y (y=0..15)

Source

pub fn pu12(&self) -> PU12_R

Bit 12 - Port G pull-up bit y (y=0..15)

Source

pub fn pu11(&self) -> PU11_R

Bit 11 - Port G pull-up bit y (y=0..15)

Source

pub fn pu10(&self) -> PU10_R

Bit 10 - Port G pull-up bit y (y=0..15)

Source

pub fn pu9(&self) -> PU9_R

Bit 9 - Port G pull-up bit y (y=0..15)

Source

pub fn pu8(&self) -> PU8_R

Bit 8 - Port G pull-up bit y (y=0..15)

Source

pub fn pu7(&self) -> PU7_R

Bit 7 - Port G pull-up bit y (y=0..15)

Source

pub fn pu6(&self) -> PU6_R

Bit 6 - Port G pull-up bit y (y=0..15)

Source

pub fn pu5(&self) -> PU5_R

Bit 5 - Port G pull-up bit y (y=0..15)

Source

pub fn pu4(&self) -> PU4_R

Bit 4 - Port G pull-up bit y (y=0..15)

Source

pub fn pu3(&self) -> PU3_R

Bit 3 - Port G pull-up bit y (y=0..15)

Source

pub fn pu2(&self) -> PU2_R

Bit 2 - Port G pull-up bit y (y=0..15)

Source

pub fn pu1(&self) -> PU1_R

Bit 1 - Port G pull-up bit y (y=0..15)

Source

pub fn pu0(&self) -> PU0_R

Bit 0 - Port G pull-up bit y (y=0..15)

Source§

impl R<u32, Reg<u32, _PDCRG>>

Source

pub fn pd15(&self) -> PD15_R

Bit 15 - Port G pull-down bit y (y=0..15)

Source

pub fn pd14(&self) -> PD14_R

Bit 14 - Port G pull-down bit y (y=0..15)

Source

pub fn pd13(&self) -> PD13_R

Bit 13 - Port G pull-down bit y (y=0..15)

Source

pub fn pd12(&self) -> PD12_R

Bit 12 - Port G pull-down bit y (y=0..15)

Source

pub fn pd11(&self) -> PD11_R

Bit 11 - Port G pull-down bit y (y=0..15)

Source

pub fn pd10(&self) -> PD10_R

Bit 10 - Port G pull-down bit y (y=0..15)

Source

pub fn pd9(&self) -> PD9_R

Bit 9 - Port G pull-down bit y (y=0..15)

Source

pub fn pd8(&self) -> PD8_R

Bit 8 - Port G pull-down bit y (y=0..15)

Source

pub fn pd7(&self) -> PD7_R

Bit 7 - Port G pull-down bit y (y=0..15)

Source

pub fn pd6(&self) -> PD6_R

Bit 6 - Port G pull-down bit y (y=0..15)

Source

pub fn pd5(&self) -> PD5_R

Bit 5 - Port G pull-down bit y (y=0..15)

Source

pub fn pd4(&self) -> PD4_R

Bit 4 - Port G pull-down bit y (y=0..15)

Source

pub fn pd3(&self) -> PD3_R

Bit 3 - Port G pull-down bit y (y=0..15)

Source

pub fn pd2(&self) -> PD2_R

Bit 2 - Port G pull-down bit y (y=0..15)

Source

pub fn pd1(&self) -> PD1_R

Bit 1 - Port G pull-down bit y (y=0..15)

Source

pub fn pd0(&self) -> PD0_R

Bit 0 - Port G pull-down bit y (y=0..15)

Source§

impl R<u32, Reg<u32, _PUCRH>>

Source

pub fn pu1(&self) -> PU1_R

Bit 1 - Port H pull-up bit y (y=0..1)

Source

pub fn pu0(&self) -> PU0_R

Bit 0 - Port H pull-up bit y (y=0..1)

Source§

impl R<u32, Reg<u32, _PDCRH>>

Source

pub fn pd1(&self) -> PD1_R

Bit 1 - Port H pull-down bit y (y=0..1)

Source

pub fn pd0(&self) -> PD0_R

Bit 0 - Port H pull-down bit y (y=0..1)

Source§

impl R<u32, Reg<u32, _MEMRMP>>

Source

pub fn fb_mode(&self) -> FB_MODE_R

Bit 8 - Flash Bank mode selection

Source

pub fn qfs(&self) -> QFS_R

Bit 3 - QUADSPI memory mapping swap

Source

pub fn mem_mode(&self) -> MEM_MODE_R

Bits 0:2 - Memory mapping selection

Source§

impl R<u32, Reg<u32, _CFGR1>>

Source

pub fn fpu_ie(&self) -> FPU_IE_R

Bits 26:31 - Floating Point Unit interrupts enable bits

Source

pub fn i2c3_fmp(&self) -> I2C3_FMP_R

Bit 22 - I2C3 Fast-mode Plus driving capability activation

Source

pub fn i2c2_fmp(&self) -> I2C2_FMP_R

Bit 21 - I2C2 Fast-mode Plus driving capability activation

Source

pub fn i2c1_fmp(&self) -> I2C1_FMP_R

Bit 20 - I2C1 Fast-mode Plus driving capability activation

Source

pub fn i2c_pb9_fmp(&self) -> I2C_PB9_FMP_R

Bit 19 - Fast-mode Plus (Fm+) driving capability activation on PB9

Source

pub fn i2c_pb8_fmp(&self) -> I2C_PB8_FMP_R

Bit 18 - Fast-mode Plus (Fm+) driving capability activation on PB8

Source

pub fn i2c_pb7_fmp(&self) -> I2C_PB7_FMP_R

Bit 17 - Fast-mode Plus (Fm+) driving capability activation on PB7

Source

pub fn i2c_pb6_fmp(&self) -> I2C_PB6_FMP_R

Bit 16 - Fast-mode Plus (Fm+) driving capability activation on PB6

Source

pub fn boosten(&self) -> BOOSTEN_R

Bit 8 - I/O analog switch voltage booster enable

Source

pub fn fwdis(&self) -> FWDIS_R

Bit 0 - Firewall disable

Source§

impl R<u32, Reg<u32, _EXTICR1>>

Source

pub fn exti3(&self) -> EXTI3_R

Bits 12:14 - EXTI 3 configuration bits

Source

pub fn exti2(&self) -> EXTI2_R

Bits 8:10 - EXTI 2 configuration bits

Source

pub fn exti1(&self) -> EXTI1_R

Bits 4:6 - EXTI 1 configuration bits

Source

pub fn exti0(&self) -> EXTI0_R

Bits 0:2 - EXTI 0 configuration bits

Source§

impl R<u32, Reg<u32, _EXTICR2>>

Source

pub fn exti7(&self) -> EXTI7_R

Bits 12:14 - EXTI 7 configuration bits

Source

pub fn exti6(&self) -> EXTI6_R

Bits 8:10 - EXTI 6 configuration bits

Source

pub fn exti5(&self) -> EXTI5_R

Bits 4:6 - EXTI 5 configuration bits

Source

pub fn exti4(&self) -> EXTI4_R

Bits 0:2 - EXTI 4 configuration bits

Source§

impl R<u32, Reg<u32, _EXTICR3>>

Source

pub fn exti11(&self) -> EXTI11_R

Bits 12:14 - EXTI 11 configuration bits

Source

pub fn exti10(&self) -> EXTI10_R

Bits 8:10 - EXTI 10 configuration bits

Source

pub fn exti9(&self) -> EXTI9_R

Bits 4:6 - EXTI 9 configuration bits

Source

pub fn exti8(&self) -> EXTI8_R

Bits 0:2 - EXTI 8 configuration bits

Source§

impl R<u32, Reg<u32, _EXTICR4>>

Source

pub fn exti15(&self) -> EXTI15_R

Bits 12:14 - EXTI15 configuration bits

Source

pub fn exti14(&self) -> EXTI14_R

Bits 8:10 - EXTI14 configuration bits

Source

pub fn exti13(&self) -> EXTI13_R

Bits 4:6 - EXTI13 configuration bits

Source

pub fn exti12(&self) -> EXTI12_R

Bits 0:2 - EXTI12 configuration bits

Source§

impl R<u32, Reg<u32, _SCSR>>

Source

pub fn sram2bsy(&self) -> SRAM2BSY_R

Bit 1 - SRAM2 busy by erase operation

Source

pub fn sram2er(&self) -> SRAM2ER_R

Bit 0 - SRAM2 Erase

Source§

impl R<u32, Reg<u32, _CFGR2>>

Source

pub fn spf(&self) -> SPF_R

Bit 8 - SRAM2 parity error flag

Source§

impl R<u32, Reg<u32, _CR>>

Source

pub fn ie(&self) -> IE_R

Bit 3 - Interrupt enable

Source

pub fn rngen(&self) -> RNGEN_R

Bit 2 - Random number generator enable

Source§

impl R<u32, Reg<u32, _SR>>

Source

pub fn seis(&self) -> SEIS_R

Bit 6 - Seed error interrupt status

Source

pub fn ceis(&self) -> CEIS_R

Bit 5 - Clock error interrupt status

Source

pub fn secs(&self) -> SECS_R

Bit 2 - Seed error current status

Source

pub fn cecs(&self) -> CECS_R

Bit 1 - Clock error current status

Source

pub fn drdy(&self) -> DRDY_R

Bit 0 - Data ready

Source§

impl R<u32, Reg<u32, _DR>>

Source

pub fn rndata(&self) -> RNDATA_R

Bits 0:31 - Random data

Source§

impl R<u32, Reg<u32, _CR>>

Source

pub fn dmaouten(&self) -> DMAOUTEN_R

Bit 12 - Enable DMA management of data output phase

Source

pub fn dmainen(&self) -> DMAINEN_R

Bit 11 - Enable DMA management of data input phase

Source

pub fn errie(&self) -> ERRIE_R

Bit 10 - Error interrupt enable

Source

pub fn ccfie(&self) -> CCFIE_R

Bit 9 - CCF flag interrupt enable

Source

pub fn errc(&self) -> ERRC_R

Bit 8 - Error clear

Source

pub fn ccfc(&self) -> CCFC_R

Bit 7 - Computation Complete Flag Clear

Source

pub fn chmod(&self) -> CHMOD_R

Bits 5:6 - AES chaining mode

Source

pub fn mode(&self) -> MODE_R

Bits 3:4 - AES operating mode

Source

pub fn datatype(&self) -> DATATYPE_R

Bits 1:2 - Data type selection (for data in and data out to/from the cryptographic block)

Source

pub fn en(&self) -> EN_R

Bit 0 - AES enable

Source§

impl R<u32, Reg<u32, _SR>>

Source

pub fn wrerr(&self) -> WRERR_R

Bit 2 - Write error flag

Source

pub fn rderr(&self) -> RDERR_R

Bit 1 - Read error flag

Source

pub fn ccf(&self) -> CCF_R

Bit 0 - Computation complete flag

Source§

impl R<u32, Reg<u32, _DINR>>

Source

pub fn aes_dinr(&self) -> AES_DINR_R

Bits 0:31 - Data Input Register

Source§

impl R<u32, Reg<u32, _DOUTR>>

Source

pub fn aes_doutr(&self) -> AES_DOUTR_R

Bits 0:31 - Data output register

Source§

impl R<u32, Reg<u32, _KEYR0>>

Source

pub fn aes_keyr0(&self) -> AES_KEYR0_R

Bits 0:31 - Data Output Register (LSB key [31:0])

Source§

impl R<u32, Reg<u32, _KEYR1>>

Source

pub fn aes_keyr1(&self) -> AES_KEYR1_R

Bits 0:31 - AES key register (key [63:32])

Source§

impl R<u32, Reg<u32, _KEYR2>>

Source

pub fn aes_keyr2(&self) -> AES_KEYR2_R

Bits 0:31 - AES key register (key [95:64])

Source§

impl R<u32, Reg<u32, _KEYR3>>

Source

pub fn aes_keyr3(&self) -> AES_KEYR3_R

Bits 0:31 - AES key register (MSB key [127:96])

Source§

impl R<u32, Reg<u32, _IVR0>>

Source

pub fn aes_ivr0(&self) -> AES_IVR0_R

Bits 0:31 - initialization vector register (LSB IVR [31:0])

Source§

impl R<u32, Reg<u32, _IVR1>>

Source

pub fn aes_ivr1(&self) -> AES_IVR1_R

Bits 0:31 - Initialization Vector Register (IVR [63:32])

Source§

impl R<u32, Reg<u32, _IVR2>>

Source

pub fn aes_ivr2(&self) -> AES_IVR2_R

Bits 0:31 - Initialization Vector Register (IVR [95:64])

Source§

impl R<u32, Reg<u32, _IVR3>>

Source

pub fn aes_ivr3(&self) -> AES_IVR3_R

Bits 0:31 - Initialization Vector Register (MSB IVR [127:96])

Source§

impl R<u32, Reg<u32, _ISR>>

Source

pub fn jqovf(&self) -> JQOVF_R

Bit 10 - JQOVF

Source

pub fn awd3(&self) -> AWD3_R

Bit 9 - AWD3

Source

pub fn awd2(&self) -> AWD2_R

Bit 8 - AWD2

Source

pub fn awd1(&self) -> AWD1_R

Bit 7 - AWD1

Source

pub fn jeos(&self) -> JEOS_R

Bit 6 - JEOS

Source

pub fn jeoc(&self) -> JEOC_R

Bit 5 - JEOC

Source

pub fn ovr(&self) -> OVR_R

Bit 4 - OVR

Source

pub fn eos(&self) -> EOS_R

Bit 3 - EOS

Source

pub fn eoc(&self) -> EOC_R

Bit 2 - EOC

Source

pub fn eosmp(&self) -> EOSMP_R

Bit 1 - EOSMP

Source

pub fn adrdy(&self) -> ADRDY_R

Bit 0 - ADRDY

Source§

impl R<u32, Reg<u32, _IER>>

Source

pub fn jqovfie(&self) -> JQOVFIE_R

Bit 10 - JQOVFIE

Source

pub fn awd3ie(&self) -> AWD3IE_R

Bit 9 - AWD3IE

Source

pub fn awd2ie(&self) -> AWD2IE_R

Bit 8 - AWD2IE

Source

pub fn awd1ie(&self) -> AWD1IE_R

Bit 7 - AWD1IE

Source

pub fn jeosie(&self) -> JEOSIE_R

Bit 6 - JEOSIE

Source

pub fn jeocie(&self) -> JEOCIE_R

Bit 5 - JEOCIE

Source

pub fn ovrie(&self) -> OVRIE_R

Bit 4 - OVRIE

Source

pub fn eosie(&self) -> EOSIE_R

Bit 3 - EOSIE

Source

pub fn eocie(&self) -> EOCIE_R

Bit 2 - EOCIE

Source

pub fn eosmpie(&self) -> EOSMPIE_R

Bit 1 - EOSMPIE

Source

pub fn adrdyie(&self) -> ADRDYIE_R

Bit 0 - ADRDYIE

Source§

impl R<u32, Reg<u32, _CR>>

Source

pub fn adcal(&self) -> ADCAL_R

Bit 31 - ADCAL

Source

pub fn adcaldif(&self) -> ADCALDIF_R

Bit 30 - ADCALDIF

Source

pub fn deeppwd(&self) -> DEEPPWD_R

Bit 29 - DEEPPWD

Source

pub fn advregen(&self) -> ADVREGEN_R

Bit 28 - ADVREGEN

Source

pub fn jadstp(&self) -> JADSTP_R

Bit 5 - JADSTP

Source

pub fn adstp(&self) -> ADSTP_R

Bit 4 - ADSTP

Source

pub fn jadstart(&self) -> JADSTART_R

Bit 3 - JADSTART

Source

pub fn adstart(&self) -> ADSTART_R

Bit 2 - ADSTART

Source

pub fn addis(&self) -> ADDIS_R

Bit 1 - ADDIS

Source

pub fn aden(&self) -> ADEN_R

Bit 0 - ADEN

Source§

impl R<u32, Reg<u32, _CFGR>>

Source

pub fn awdch1ch(&self) -> AWDCH1CH_R

Bits 26:30 - AWDCH1CH

Source

pub fn jauto(&self) -> JAUTO_R

Bit 25 - JAUTO

Source

pub fn jawd1en(&self) -> JAWD1EN_R

Bit 24 - JAWD1EN

Source

pub fn awd1en(&self) -> AWD1EN_R

Bit 23 - AWD1EN

Source

pub fn awd1sgl(&self) -> AWD1SGL_R

Bit 22 - AWD1SGL

Source

pub fn jqm(&self) -> JQM_R

Bit 21 - JQM

Source

pub fn jdiscen(&self) -> JDISCEN_R

Bit 20 - JDISCEN

Source

pub fn discnum(&self) -> DISCNUM_R

Bits 17:19 - DISCNUM

Source

pub fn discen(&self) -> DISCEN_R

Bit 16 - DISCEN

Source

pub fn autoff(&self) -> AUTOFF_R

Bit 15 - AUTOFF

Source

pub fn autdly(&self) -> AUTDLY_R

Bit 14 - AUTDLY

Source

pub fn cont(&self) -> CONT_R

Bit 13 - CONT

Source

pub fn ovrmod(&self) -> OVRMOD_R

Bit 12 - OVRMOD

Source

pub fn exten(&self) -> EXTEN_R

Bits 10:11 - EXTEN

Source

pub fn extsel(&self) -> EXTSEL_R

Bits 6:9 - EXTSEL

Source

pub fn align(&self) -> ALIGN_R

Bit 5 - ALIGN

Source

pub fn res(&self) -> RES_R

Bits 3:4 - RES

Source

pub fn dmacfg(&self) -> DMACFG_R

Bit 1 - DMACFG

Source

pub fn dmaen(&self) -> DMAEN_R

Bit 0 - DMAEN

Source§

impl R<u32, Reg<u32, _CFGR2>>

Source

pub fn rovsm(&self) -> ROVSM_R

Bit 10 - EXTEN

Source

pub fn tovs(&self) -> TOVS_R

Bit 9 - EXTSEL

Source

pub fn ovss(&self) -> OVSS_R

Bits 5:8 - ALIGN

Source

pub fn ovsr(&self) -> OVSR_R

Bits 2:4 - RES

Source

pub fn jovse(&self) -> JOVSE_R

Bit 1 - DMACFG

Source

pub fn rovse(&self) -> ROVSE_R

Bit 0 - DMAEN

Source§

impl R<u32, Reg<u32, _SMPR1>>

Source

pub fn smp9(&self) -> SMP9_R

Bits 27:29 - Channel 9 sampling time selection

Source

pub fn smp8(&self) -> SMP8_R

Bits 24:26 - Channel 8 sampling time selection

Source

pub fn smp7(&self) -> SMP7_R

Bits 21:23 - Channel 7 sampling time selection

Source

pub fn smp6(&self) -> SMP6_R

Bits 18:20 - Channel 6 sampling time selection

Source

pub fn smp5(&self) -> SMP5_R

Bits 15:17 - Channel 5 sampling time selection

Source

pub fn smp4(&self) -> SMP4_R

Bits 12:14 - Channel 4 sampling time selection

Source

pub fn smp3(&self) -> SMP3_R

Bits 9:11 - Channel 3 sampling time selection

Source

pub fn smp2(&self) -> SMP2_R

Bits 6:8 - Channel 2 sampling time selection

Source

pub fn smp1(&self) -> SMP1_R

Bits 3:5 - Channel 1 sampling time selection

Source

pub fn smp0(&self) -> SMP0_R

Bits 0:2 - Channel 0 sampling time selection

Source§

impl R<u32, Reg<u32, _SMPR2>>

Source

pub fn smp18(&self) -> SMP18_R

Bits 24:26 - Channel 18 sampling time selection

Source

pub fn smp17(&self) -> SMP17_R

Bits 21:23 - Channel 17 sampling time selection

Source

pub fn smp16(&self) -> SMP16_R

Bits 18:20 - Channel 16 sampling time selection

Source

pub fn smp15(&self) -> SMP15_R

Bits 15:17 - Channel 15 sampling time selection

Source

pub fn smp14(&self) -> SMP14_R

Bits 12:14 - Channel 14 sampling time selection

Source

pub fn smp13(&self) -> SMP13_R

Bits 9:11 - Channel 13 sampling time selection

Source

pub fn smp12(&self) -> SMP12_R

Bits 6:8 - Channel 12 sampling time selection

Source

pub fn smp11(&self) -> SMP11_R

Bits 3:5 - Channel 11 sampling time selection

Source

pub fn smp10(&self) -> SMP10_R

Bits 0:2 - Channel 10 sampling time selection

Source§

impl R<u32, Reg<u32, _TR1>>

Source

pub fn ht1(&self) -> HT1_R

Bits 16:27 - HT1

Source

pub fn lt1(&self) -> LT1_R

Bits 0:11 - LT1

Source§

impl R<u32, Reg<u32, _TR2>>

Source

pub fn ht2(&self) -> HT2_R

Bits 16:23 - HT2

Source

pub fn lt2(&self) -> LT2_R

Bits 0:7 - LT2

Source§

impl R<u32, Reg<u32, _TR3>>

Source

pub fn ht3(&self) -> HT3_R

Bits 16:23 - HT3

Source

pub fn lt3(&self) -> LT3_R

Bits 0:7 - LT3

Source§

impl R<u32, Reg<u32, _SQR1>>

Source

pub fn sq4(&self) -> SQ4_R

Bits 24:28 - SQ4

Source

pub fn sq3(&self) -> SQ3_R

Bits 18:22 - SQ3

Source

pub fn sq2(&self) -> SQ2_R

Bits 12:16 - SQ2

Source

pub fn sq1(&self) -> SQ1_R

Bits 6:10 - SQ1

Source

pub fn l(&self) -> L_R

Bits 0:3 - Regular channel sequence length

Source§

impl R<u32, Reg<u32, _SQR2>>

Source

pub fn sq9(&self) -> SQ9_R

Bits 24:28 - SQ9

Source

pub fn sq8(&self) -> SQ8_R

Bits 18:22 - SQ8

Source

pub fn sq7(&self) -> SQ7_R

Bits 12:16 - SQ7

Source

pub fn sq6(&self) -> SQ6_R

Bits 6:10 - SQ6

Source

pub fn sq5(&self) -> SQ5_R

Bits 0:4 - SQ5

Source§

impl R<u32, Reg<u32, _SQR3>>

Source

pub fn sq14(&self) -> SQ14_R

Bits 24:28 - SQ14

Source

pub fn sq13(&self) -> SQ13_R

Bits 18:22 - SQ13

Source

pub fn sq12(&self) -> SQ12_R

Bits 12:16 - SQ12

Source

pub fn sq11(&self) -> SQ11_R

Bits 6:10 - SQ11

Source

pub fn sq10(&self) -> SQ10_R

Bits 0:4 - SQ10

Source§

impl R<u32, Reg<u32, _SQR4>>

Source

pub fn sq16(&self) -> SQ16_R

Bits 6:10 - SQ16

Source

pub fn sq15(&self) -> SQ15_R

Bits 0:4 - SQ15

Source§

impl R<u32, Reg<u32, _DR>>

Source

pub fn regular_data(&self) -> REGULARDATA_R

Bits 0:15 - regularDATA

Source§

impl R<u32, Reg<u32, _JSQR>>

Source

pub fn jsq4(&self) -> JSQ4_R

Bits 26:30 - JSQ4

Source

pub fn jsq3(&self) -> JSQ3_R

Bits 20:24 - JSQ3

Source

pub fn jsq2(&self) -> JSQ2_R

Bits 14:18 - JSQ2

Source

pub fn jsq1(&self) -> JSQ1_R

Bits 8:12 - JSQ1

Source

pub fn jexten(&self) -> JEXTEN_R

Bits 6:7 - JEXTEN

Source

pub fn jextsel(&self) -> JEXTSEL_R

Bits 2:5 - JEXTSEL

Source

pub fn jl(&self) -> JL_R

Bits 0:1 - JL

Source§

impl R<u32, Reg<u32, _OFR1>>

Source

pub fn offset1_en(&self) -> OFFSET1_EN_R

Bit 31 - OFFSET1_EN

Source

pub fn offset1_ch(&self) -> OFFSET1_CH_R

Bits 26:30 - OFFSET1_CH

Source

pub fn offset1(&self) -> OFFSET1_R

Bits 0:11 - OFFSET1

Source§

impl R<u32, Reg<u32, _OFR2>>

Source

pub fn offset2_en(&self) -> OFFSET2_EN_R

Bit 31 - OFFSET2_EN

Source

pub fn offset2_ch(&self) -> OFFSET2_CH_R

Bits 26:30 - OFFSET2_CH

Source

pub fn offset2(&self) -> OFFSET2_R

Bits 0:11 - OFFSET2

Source§

impl R<u32, Reg<u32, _OFR3>>

Source

pub fn offset3_en(&self) -> OFFSET3_EN_R

Bit 31 - OFFSET3_EN

Source

pub fn offset3_ch(&self) -> OFFSET3_CH_R

Bits 26:30 - OFFSET3_CH

Source

pub fn offset3(&self) -> OFFSET3_R

Bits 0:11 - OFFSET3

Source§

impl R<u32, Reg<u32, _OFR4>>

Source

pub fn offset4_en(&self) -> OFFSET4_EN_R

Bit 31 - OFFSET4_EN

Source

pub fn offset4_ch(&self) -> OFFSET4_CH_R

Bits 26:30 - OFFSET4_CH

Source

pub fn offset4(&self) -> OFFSET4_R

Bits 0:11 - OFFSET4

Source§

impl R<u32, Reg<u32, _JDR1>>

Source

pub fn jdata1(&self) -> JDATA1_R

Bits 0:15 - JDATA1

Source§

impl R<u32, Reg<u32, _JDR2>>

Source

pub fn jdata2(&self) -> JDATA2_R

Bits 0:15 - JDATA2

Source§

impl R<u32, Reg<u32, _JDR3>>

Source

pub fn jdata3(&self) -> JDATA3_R

Bits 0:15 - JDATA3

Source§

impl R<u32, Reg<u32, _JDR4>>

Source

pub fn jdata4(&self) -> JDATA4_R

Bits 0:15 - JDATA4

Source§

impl R<u32, Reg<u32, _AWD2CR>>

Source

pub fn awd2ch(&self) -> AWD2CH_R

Bits 1:18 - AWD2CH

Source§

impl R<u32, Reg<u32, _AWD3CR>>

Source

pub fn awd3ch(&self) -> AWD3CH_R

Bits 1:18 - AWD3CH

Source§

impl R<u32, Reg<u32, _DIFSEL>>

Source

pub fn difsel_1_15(&self) -> DIFSEL_1_15_R

Bits 1:15 - Differential mode for channels 15 to 1

Source

pub fn difsel_16_18(&self) -> DIFSEL_16_18_R

Bits 16:18 - Differential mode for channels 18 to 16

Source§

impl R<u32, Reg<u32, _CALFACT>>

Source

pub fn calfact_d(&self) -> CALFACT_D_R

Bits 16:22 - CALFACT_D

Source

pub fn calfact_s(&self) -> CALFACT_S_R

Bits 0:6 - CALFACT_S

Source§

impl R<u8, MODER15_A>

Source

pub fn variant(&self) -> MODER15_A

Get enumerated values variant

Source

pub fn is_input(&self) -> bool

Checks if the value of the field is INPUT

Source

pub fn is_output(&self) -> bool

Checks if the value of the field is OUTPUT

Source

pub fn is_alternate(&self) -> bool

Checks if the value of the field is ALTERNATE

Source

pub fn is_analog(&self) -> bool

Checks if the value of the field is ANALOG

Source§

impl R<u32, Reg<u32, _MODER>>

Source

pub fn moder15(&self) -> MODER15_R

Bits 30:31 - Port x configuration bits (y = 0..15)

Source

pub fn moder14(&self) -> MODER14_R

Bits 28:29 - Port x configuration bits (y = 0..15)

Source

pub fn moder13(&self) -> MODER13_R

Bits 26:27 - Port x configuration bits (y = 0..15)

Source

pub fn moder12(&self) -> MODER12_R

Bits 24:25 - Port x configuration bits (y = 0..15)

Source

pub fn moder11(&self) -> MODER11_R

Bits 22:23 - Port x configuration bits (y = 0..15)

Source

pub fn moder10(&self) -> MODER10_R

Bits 20:21 - Port x configuration bits (y = 0..15)

Source

pub fn moder9(&self) -> MODER9_R

Bits 18:19 - Port x configuration bits (y = 0..15)

Source

pub fn moder8(&self) -> MODER8_R

Bits 16:17 - Port x configuration bits (y = 0..15)

Source

pub fn moder7(&self) -> MODER7_R

Bits 14:15 - Port x configuration bits (y = 0..15)

Source

pub fn moder6(&self) -> MODER6_R

Bits 12:13 - Port x configuration bits (y = 0..15)

Source

pub fn moder5(&self) -> MODER5_R

Bits 10:11 - Port x configuration bits (y = 0..15)

Source

pub fn moder4(&self) -> MODER4_R

Bits 8:9 - Port x configuration bits (y = 0..15)

Source

pub fn moder3(&self) -> MODER3_R

Bits 6:7 - Port x configuration bits (y = 0..15)

Source

pub fn moder2(&self) -> MODER2_R

Bits 4:5 - Port x configuration bits (y = 0..15)

Source

pub fn moder1(&self) -> MODER1_R

Bits 2:3 - Port x configuration bits (y = 0..15)

Source

pub fn moder0(&self) -> MODER0_R

Bits 0:1 - Port x configuration bits (y = 0..15)

Source§

impl R<bool, OT15_A>

Source

pub fn variant(&self) -> OT15_A

Get enumerated values variant

Source

pub fn is_push_pull(&self) -> bool

Checks if the value of the field is PUSHPULL

Source

pub fn is_open_drain(&self) -> bool

Checks if the value of the field is OPENDRAIN

Source§

impl R<u32, Reg<u32, _OTYPER>>

Source

pub fn ot15(&self) -> OT15_R

Bit 15 - Port x configuration bits (y = 0..15)

Source

pub fn ot14(&self) -> OT14_R

Bit 14 - Port x configuration bits (y = 0..15)

Source

pub fn ot13(&self) -> OT13_R

Bit 13 - Port x configuration bits (y = 0..15)

Source

pub fn ot12(&self) -> OT12_R

Bit 12 - Port x configuration bits (y = 0..15)

Source

pub fn ot11(&self) -> OT11_R

Bit 11 - Port x configuration bits (y = 0..15)

Source

pub fn ot10(&self) -> OT10_R

Bit 10 - Port x configuration bits (y = 0..15)

Source

pub fn ot9(&self) -> OT9_R

Bit 9 - Port x configuration bits (y = 0..15)

Source

pub fn ot8(&self) -> OT8_R

Bit 8 - Port x configuration bits (y = 0..15)

Source

pub fn ot7(&self) -> OT7_R

Bit 7 - Port x configuration bits (y = 0..15)

Source

pub fn ot6(&self) -> OT6_R

Bit 6 - Port x configuration bits (y = 0..15)

Source

pub fn ot5(&self) -> OT5_R

Bit 5 - Port x configuration bits (y = 0..15)

Source

pub fn ot4(&self) -> OT4_R

Bit 4 - Port x configuration bits (y = 0..15)

Source

pub fn ot3(&self) -> OT3_R

Bit 3 - Port x configuration bits (y = 0..15)

Source

pub fn ot2(&self) -> OT2_R

Bit 2 - Port x configuration bits (y = 0..15)

Source

pub fn ot1(&self) -> OT1_R

Bit 1 - Port x configuration bits (y = 0..15)

Source

pub fn ot0(&self) -> OT0_R

Bit 0 - Port x configuration bits (y = 0..15)

Source§

impl R<u8, OSPEEDR15_A>

Source

pub fn variant(&self) -> OSPEEDR15_A

Get enumerated values variant

Source

pub fn is_low_speed(&self) -> bool

Checks if the value of the field is LOWSPEED

Source

pub fn is_medium_speed(&self) -> bool

Checks if the value of the field is MEDIUMSPEED

Source

pub fn is_high_speed(&self) -> bool

Checks if the value of the field is HIGHSPEED

Source

pub fn is_very_high_speed(&self) -> bool

Checks if the value of the field is VERYHIGHSPEED

Source§

impl R<u32, Reg<u32, _OSPEEDR>>

Source

pub fn ospeedr15(&self) -> OSPEEDR15_R

Bits 30:31 - Port x configuration bits (y = 0..15)

Source

pub fn ospeedr14(&self) -> OSPEEDR14_R

Bits 28:29 - Port x configuration bits (y = 0..15)

Source

pub fn ospeedr13(&self) -> OSPEEDR13_R

Bits 26:27 - Port x configuration bits (y = 0..15)

Source

pub fn ospeedr12(&self) -> OSPEEDR12_R

Bits 24:25 - Port x configuration bits (y = 0..15)

Source

pub fn ospeedr11(&self) -> OSPEEDR11_R

Bits 22:23 - Port x configuration bits (y = 0..15)

Source

pub fn ospeedr10(&self) -> OSPEEDR10_R

Bits 20:21 - Port x configuration bits (y = 0..15)

Source

pub fn ospeedr9(&self) -> OSPEEDR9_R

Bits 18:19 - Port x configuration bits (y = 0..15)

Source

pub fn ospeedr8(&self) -> OSPEEDR8_R

Bits 16:17 - Port x configuration bits (y = 0..15)

Source

pub fn ospeedr7(&self) -> OSPEEDR7_R

Bits 14:15 - Port x configuration bits (y = 0..15)

Source

pub fn ospeedr6(&self) -> OSPEEDR6_R

Bits 12:13 - Port x configuration bits (y = 0..15)

Source

pub fn ospeedr5(&self) -> OSPEEDR5_R

Bits 10:11 - Port x configuration bits (y = 0..15)

Source

pub fn ospeedr4(&self) -> OSPEEDR4_R

Bits 8:9 - Port x configuration bits (y = 0..15)

Source

pub fn ospeedr3(&self) -> OSPEEDR3_R

Bits 6:7 - Port x configuration bits (y = 0..15)

Source

pub fn ospeedr2(&self) -> OSPEEDR2_R

Bits 4:5 - Port x configuration bits (y = 0..15)

Source

pub fn ospeedr1(&self) -> OSPEEDR1_R

Bits 2:3 - Port x configuration bits (y = 0..15)

Source

pub fn ospeedr0(&self) -> OSPEEDR0_R

Bits 0:1 - Port x configuration bits (y = 0..15)

Source§

impl R<u8, PUPDR15_A>

Source

pub fn variant(&self) -> Variant<u8, PUPDR15_A>

Get enumerated values variant

Source

pub fn is_floating(&self) -> bool

Checks if the value of the field is FLOATING

Source

pub fn is_pull_up(&self) -> bool

Checks if the value of the field is PULLUP

Source

pub fn is_pull_down(&self) -> bool

Checks if the value of the field is PULLDOWN

Source§

impl R<u32, Reg<u32, _PUPDR>>

Source

pub fn pupdr15(&self) -> PUPDR15_R

Bits 30:31 - Port x configuration bits (y = 0..15)

Source

pub fn pupdr14(&self) -> PUPDR14_R

Bits 28:29 - Port x configuration bits (y = 0..15)

Source

pub fn pupdr13(&self) -> PUPDR13_R

Bits 26:27 - Port x configuration bits (y = 0..15)

Source

pub fn pupdr12(&self) -> PUPDR12_R

Bits 24:25 - Port x configuration bits (y = 0..15)

Source

pub fn pupdr11(&self) -> PUPDR11_R

Bits 22:23 - Port x configuration bits (y = 0..15)

Source

pub fn pupdr10(&self) -> PUPDR10_R

Bits 20:21 - Port x configuration bits (y = 0..15)

Source

pub fn pupdr9(&self) -> PUPDR9_R

Bits 18:19 - Port x configuration bits (y = 0..15)

Source

pub fn pupdr8(&self) -> PUPDR8_R

Bits 16:17 - Port x configuration bits (y = 0..15)

Source

pub fn pupdr7(&self) -> PUPDR7_R

Bits 14:15 - Port x configuration bits (y = 0..15)

Source

pub fn pupdr6(&self) -> PUPDR6_R

Bits 12:13 - Port x configuration bits (y = 0..15)

Source

pub fn pupdr5(&self) -> PUPDR5_R

Bits 10:11 - Port x configuration bits (y = 0..15)

Source

pub fn pupdr4(&self) -> PUPDR4_R

Bits 8:9 - Port x configuration bits (y = 0..15)

Source

pub fn pupdr3(&self) -> PUPDR3_R

Bits 6:7 - Port x configuration bits (y = 0..15)

Source

pub fn pupdr2(&self) -> PUPDR2_R

Bits 4:5 - Port x configuration bits (y = 0..15)

Source

pub fn pupdr1(&self) -> PUPDR1_R

Bits 2:3 - Port x configuration bits (y = 0..15)

Source

pub fn pupdr0(&self) -> PUPDR0_R

Bits 0:1 - Port x configuration bits (y = 0..15)

Source§

impl R<bool, IDR15_A>

Source

pub fn variant(&self) -> IDR15_A

Get enumerated values variant

Source

pub fn is_high(&self) -> bool

Checks if the value of the field is HIGH

Source

pub fn is_low(&self) -> bool

Checks if the value of the field is LOW

Source§

impl R<u32, Reg<u32, _IDR>>

Source

pub fn idr15(&self) -> IDR15_R

Bit 15 - Port input data (y = 0..15)

Source

pub fn idr14(&self) -> IDR14_R

Bit 14 - Port input data (y = 0..15)

Source

pub fn idr13(&self) -> IDR13_R

Bit 13 - Port input data (y = 0..15)

Source

pub fn idr12(&self) -> IDR12_R

Bit 12 - Port input data (y = 0..15)

Source

pub fn idr11(&self) -> IDR11_R

Bit 11 - Port input data (y = 0..15)

Source

pub fn idr10(&self) -> IDR10_R

Bit 10 - Port input data (y = 0..15)

Source

pub fn idr9(&self) -> IDR9_R

Bit 9 - Port input data (y = 0..15)

Source

pub fn idr8(&self) -> IDR8_R

Bit 8 - Port input data (y = 0..15)

Source

pub fn idr7(&self) -> IDR7_R

Bit 7 - Port input data (y = 0..15)

Source

pub fn idr6(&self) -> IDR6_R

Bit 6 - Port input data (y = 0..15)

Source

pub fn idr5(&self) -> IDR5_R

Bit 5 - Port input data (y = 0..15)

Source

pub fn idr4(&self) -> IDR4_R

Bit 4 - Port input data (y = 0..15)

Source

pub fn idr3(&self) -> IDR3_R

Bit 3 - Port input data (y = 0..15)

Source

pub fn idr2(&self) -> IDR2_R

Bit 2 - Port input data (y = 0..15)

Source

pub fn idr1(&self) -> IDR1_R

Bit 1 - Port input data (y = 0..15)

Source

pub fn idr0(&self) -> IDR0_R

Bit 0 - Port input data (y = 0..15)

Source§

impl R<bool, ODR15_A>

Source

pub fn variant(&self) -> ODR15_A

Get enumerated values variant

Source

pub fn is_high(&self) -> bool

Checks if the value of the field is HIGH

Source

pub fn is_low(&self) -> bool

Checks if the value of the field is LOW

Source§

impl R<u32, Reg<u32, _ODR>>

Source

pub fn odr15(&self) -> ODR15_R

Bit 15 - Port output data (y = 0..15)

Source

pub fn odr14(&self) -> ODR14_R

Bit 14 - Port output data (y = 0..15)

Source

pub fn odr13(&self) -> ODR13_R

Bit 13 - Port output data (y = 0..15)

Source

pub fn odr12(&self) -> ODR12_R

Bit 12 - Port output data (y = 0..15)

Source

pub fn odr11(&self) -> ODR11_R

Bit 11 - Port output data (y = 0..15)

Source

pub fn odr10(&self) -> ODR10_R

Bit 10 - Port output data (y = 0..15)

Source

pub fn odr9(&self) -> ODR9_R

Bit 9 - Port output data (y = 0..15)

Source

pub fn odr8(&self) -> ODR8_R

Bit 8 - Port output data (y = 0..15)

Source

pub fn odr7(&self) -> ODR7_R

Bit 7 - Port output data (y = 0..15)

Source

pub fn odr6(&self) -> ODR6_R

Bit 6 - Port output data (y = 0..15)

Source

pub fn odr5(&self) -> ODR5_R

Bit 5 - Port output data (y = 0..15)

Source

pub fn odr4(&self) -> ODR4_R

Bit 4 - Port output data (y = 0..15)

Source

pub fn odr3(&self) -> ODR3_R

Bit 3 - Port output data (y = 0..15)

Source

pub fn odr2(&self) -> ODR2_R

Bit 2 - Port output data (y = 0..15)

Source

pub fn odr1(&self) -> ODR1_R

Bit 1 - Port output data (y = 0..15)

Source

pub fn odr0(&self) -> ODR0_R

Bit 0 - Port output data (y = 0..15)

Source§

impl R<bool, LCKK_A>

Source

pub fn variant(&self) -> LCKK_A

Get enumerated values variant

Source

pub fn is_not_active(&self) -> bool

Checks if the value of the field is NOTACTIVE

Source

pub fn is_active(&self) -> bool

Checks if the value of the field is ACTIVE

Source§

impl R<bool, LCK15_A>

Source

pub fn variant(&self) -> LCK15_A

Get enumerated values variant

Source

pub fn is_unlocked(&self) -> bool

Checks if the value of the field is UNLOCKED

Source

pub fn is_locked(&self) -> bool

Checks if the value of the field is LOCKED

Source§

impl R<bool, LCK9_A>

Source

pub fn variant(&self) -> LCK9_A

Get enumerated values variant

Source

pub fn is_unlocked(&self) -> bool

Checks if the value of the field is UNLOCKED

Source

pub fn is_locked(&self) -> bool

Checks if the value of the field is LOCKED

Source§

impl R<u32, Reg<u32, _LCKR>>

Source

pub fn lckk(&self) -> LCKK_R

Bit 16 - Port x lock bit y (y= 0..15)

Source

pub fn lck15(&self) -> LCK15_R

Bit 15 - Port x lock bit y (y= 0..15)

Source

pub fn lck14(&self) -> LCK14_R

Bit 14 - Port x lock bit y (y= 0..15)

Source

pub fn lck13(&self) -> LCK13_R

Bit 13 - Port x lock bit y (y= 0..15)

Source

pub fn lck12(&self) -> LCK12_R

Bit 12 - Port x lock bit y (y= 0..15)

Source

pub fn lck11(&self) -> LCK11_R

Bit 11 - Port x lock bit y (y= 0..15)

Source

pub fn lck10(&self) -> LCK10_R

Bit 10 - Port x lock bit y (y= 0..15)

Source

pub fn lck9(&self) -> LCK9_R

Bit 9 - Port x lock bit y (y= 0..15)

Source

pub fn lck8(&self) -> LCK8_R

Bit 8 - Port x lock bit y (y= 0..15)

Source

pub fn lck7(&self) -> LCK7_R

Bit 7 - Port x lock bit y (y= 0..15)

Source

pub fn lck6(&self) -> LCK6_R

Bit 6 - Port x lock bit y (y= 0..15)

Source

pub fn lck5(&self) -> LCK5_R

Bit 5 - Port x lock bit y (y= 0..15)

Source

pub fn lck4(&self) -> LCK4_R

Bit 4 - Port x lock bit y (y= 0..15)

Source

pub fn lck3(&self) -> LCK3_R

Bit 3 - Port x lock bit y (y= 0..15)

Source

pub fn lck2(&self) -> LCK2_R

Bit 2 - Port x lock bit y (y= 0..15)

Source

pub fn lck1(&self) -> LCK1_R

Bit 1 - Port x lock bit y (y= 0..15)

Source

pub fn lck0(&self) -> LCK0_R

Bit 0 - Port x lock bit y (y= 0..15)

Source§

impl R<u8, AFRL7_A>

Source

pub fn variant(&self) -> AFRL7_A

Get enumerated values variant

Source

pub fn is_af0(&self) -> bool

Checks if the value of the field is AF0

Source

pub fn is_af1(&self) -> bool

Checks if the value of the field is AF1

Source

pub fn is_af2(&self) -> bool

Checks if the value of the field is AF2

Source

pub fn is_af3(&self) -> bool

Checks if the value of the field is AF3

Source

pub fn is_af4(&self) -> bool

Checks if the value of the field is AF4

Source

pub fn is_af5(&self) -> bool

Checks if the value of the field is AF5

Source

pub fn is_af6(&self) -> bool

Checks if the value of the field is AF6

Source

pub fn is_af7(&self) -> bool

Checks if the value of the field is AF7

Source

pub fn is_af8(&self) -> bool

Checks if the value of the field is AF8

Source

pub fn is_af9(&self) -> bool

Checks if the value of the field is AF9

Source

pub fn is_af10(&self) -> bool

Checks if the value of the field is AF10

Source

pub fn is_af11(&self) -> bool

Checks if the value of the field is AF11

Source

pub fn is_af12(&self) -> bool

Checks if the value of the field is AF12

Source

pub fn is_af13(&self) -> bool

Checks if the value of the field is AF13

Source

pub fn is_af14(&self) -> bool

Checks if the value of the field is AF14

Source

pub fn is_af15(&self) -> bool

Checks if the value of the field is AF15

Source§

impl R<u32, Reg<u32, _AFRL>>

Source

pub fn afrl7(&self) -> AFRL7_R

Bits 28:31 - Alternate function selection for port x bit y (y = 0..7)

Source

pub fn afrl6(&self) -> AFRL6_R

Bits 24:27 - Alternate function selection for port x bit y (y = 0..7)

Source

pub fn afrl5(&self) -> AFRL5_R

Bits 20:23 - Alternate function selection for port x bit y (y = 0..7)

Source

pub fn afrl4(&self) -> AFRL4_R

Bits 16:19 - Alternate function selection for port x bit y (y = 0..7)

Source

pub fn afrl3(&self) -> AFRL3_R

Bits 12:15 - Alternate function selection for port x bit y (y = 0..7)

Source

pub fn afrl2(&self) -> AFRL2_R

Bits 8:11 - Alternate function selection for port x bit y (y = 0..7)

Source

pub fn afrl1(&self) -> AFRL1_R

Bits 4:7 - Alternate function selection for port x bit y (y = 0..7)

Source

pub fn afrl0(&self) -> AFRL0_R

Bits 0:3 - Alternate function selection for port x bit y (y = 0..7)

Source§

impl R<u8, AFRH15_A>

Source

pub fn variant(&self) -> AFRH15_A

Get enumerated values variant

Source

pub fn is_af0(&self) -> bool

Checks if the value of the field is AF0

Source

pub fn is_af1(&self) -> bool

Checks if the value of the field is AF1

Source

pub fn is_af2(&self) -> bool

Checks if the value of the field is AF2

Source

pub fn is_af3(&self) -> bool

Checks if the value of the field is AF3

Source

pub fn is_af4(&self) -> bool

Checks if the value of the field is AF4

Source

pub fn is_af5(&self) -> bool

Checks if the value of the field is AF5

Source

pub fn is_af6(&self) -> bool

Checks if the value of the field is AF6

Source

pub fn is_af7(&self) -> bool

Checks if the value of the field is AF7

Source

pub fn is_af8(&self) -> bool

Checks if the value of the field is AF8

Source

pub fn is_af9(&self) -> bool

Checks if the value of the field is AF9

Source

pub fn is_af10(&self) -> bool

Checks if the value of the field is AF10

Source

pub fn is_af11(&self) -> bool

Checks if the value of the field is AF11

Source

pub fn is_af12(&self) -> bool

Checks if the value of the field is AF12

Source

pub fn is_af13(&self) -> bool

Checks if the value of the field is AF13

Source

pub fn is_af14(&self) -> bool

Checks if the value of the field is AF14

Source

pub fn is_af15(&self) -> bool

Checks if the value of the field is AF15

Source§

impl R<u32, Reg<u32, _AFRH>>

Source

pub fn afrh15(&self) -> AFRH15_R

Bits 28:31 - Alternate function selection for port x bit y (y = 8..15)

Source

pub fn afrh14(&self) -> AFRH14_R

Bits 24:27 - Alternate function selection for port x bit y (y = 8..15)

Source

pub fn afrh13(&self) -> AFRH13_R

Bits 20:23 - Alternate function selection for port x bit y (y = 8..15)

Source

pub fn afrh12(&self) -> AFRH12_R

Bits 16:19 - Alternate function selection for port x bit y (y = 8..15)

Source

pub fn afrh11(&self) -> AFRH11_R

Bits 12:15 - Alternate function selection for port x bit y (y = 8..15)

Source

pub fn afrh10(&self) -> AFRH10_R

Bits 8:11 - Alternate function selection for port x bit y (y = 8..15)

Source

pub fn afrh9(&self) -> AFRH9_R

Bits 4:7 - Alternate function selection for port x bit y (y = 8..15)

Source

pub fn afrh8(&self) -> AFRH8_R

Bits 0:3 - Alternate function selection for port x bit y (y = 8..15)

Source§

impl R<u8, MODER15_A>

Source

pub fn variant(&self) -> MODER15_A

Get enumerated values variant

Source

pub fn is_input(&self) -> bool

Checks if the value of the field is INPUT

Source

pub fn is_output(&self) -> bool

Checks if the value of the field is OUTPUT

Source

pub fn is_alternate(&self) -> bool

Checks if the value of the field is ALTERNATE

Source

pub fn is_analog(&self) -> bool

Checks if the value of the field is ANALOG

Source§

impl R<u32, Reg<u32, _MODER>>

Source

pub fn moder15(&self) -> MODER15_R

Bits 30:31 - Port x configuration bits (y = 0..15)

Source

pub fn moder14(&self) -> MODER14_R

Bits 28:29 - Port x configuration bits (y = 0..15)

Source

pub fn moder13(&self) -> MODER13_R

Bits 26:27 - Port x configuration bits (y = 0..15)

Source

pub fn moder12(&self) -> MODER12_R

Bits 24:25 - Port x configuration bits (y = 0..15)

Source

pub fn moder11(&self) -> MODER11_R

Bits 22:23 - Port x configuration bits (y = 0..15)

Source

pub fn moder10(&self) -> MODER10_R

Bits 20:21 - Port x configuration bits (y = 0..15)

Source

pub fn moder9(&self) -> MODER9_R

Bits 18:19 - Port x configuration bits (y = 0..15)

Source

pub fn moder8(&self) -> MODER8_R

Bits 16:17 - Port x configuration bits (y = 0..15)

Source

pub fn moder7(&self) -> MODER7_R

Bits 14:15 - Port x configuration bits (y = 0..15)

Source

pub fn moder6(&self) -> MODER6_R

Bits 12:13 - Port x configuration bits (y = 0..15)

Source

pub fn moder5(&self) -> MODER5_R

Bits 10:11 - Port x configuration bits (y = 0..15)

Source

pub fn moder4(&self) -> MODER4_R

Bits 8:9 - Port x configuration bits (y = 0..15)

Source

pub fn moder3(&self) -> MODER3_R

Bits 6:7 - Port x configuration bits (y = 0..15)

Source

pub fn moder2(&self) -> MODER2_R

Bits 4:5 - Port x configuration bits (y = 0..15)

Source

pub fn moder1(&self) -> MODER1_R

Bits 2:3 - Port x configuration bits (y = 0..15)

Source

pub fn moder0(&self) -> MODER0_R

Bits 0:1 - Port x configuration bits (y = 0..15)

Source§

impl R<bool, OT15_A>

Source

pub fn variant(&self) -> OT15_A

Get enumerated values variant

Source

pub fn is_push_pull(&self) -> bool

Checks if the value of the field is PUSHPULL

Source

pub fn is_open_drain(&self) -> bool

Checks if the value of the field is OPENDRAIN

Source§

impl R<u32, Reg<u32, _OTYPER>>

Source

pub fn ot15(&self) -> OT15_R

Bit 15 - Port x configuration bits (y = 0..15)

Source

pub fn ot14(&self) -> OT14_R

Bit 14 - Port x configuration bits (y = 0..15)

Source

pub fn ot13(&self) -> OT13_R

Bit 13 - Port x configuration bits (y = 0..15)

Source

pub fn ot12(&self) -> OT12_R

Bit 12 - Port x configuration bits (y = 0..15)

Source

pub fn ot11(&self) -> OT11_R

Bit 11 - Port x configuration bits (y = 0..15)

Source

pub fn ot10(&self) -> OT10_R

Bit 10 - Port x configuration bits (y = 0..15)

Source

pub fn ot9(&self) -> OT9_R

Bit 9 - Port x configuration bits (y = 0..15)

Source

pub fn ot8(&self) -> OT8_R

Bit 8 - Port x configuration bits (y = 0..15)

Source

pub fn ot7(&self) -> OT7_R

Bit 7 - Port x configuration bits (y = 0..15)

Source

pub fn ot6(&self) -> OT6_R

Bit 6 - Port x configuration bits (y = 0..15)

Source

pub fn ot5(&self) -> OT5_R

Bit 5 - Port x configuration bits (y = 0..15)

Source

pub fn ot4(&self) -> OT4_R

Bit 4 - Port x configuration bits (y = 0..15)

Source

pub fn ot3(&self) -> OT3_R

Bit 3 - Port x configuration bits (y = 0..15)

Source

pub fn ot2(&self) -> OT2_R

Bit 2 - Port x configuration bits (y = 0..15)

Source

pub fn ot1(&self) -> OT1_R

Bit 1 - Port x configuration bits (y = 0..15)

Source

pub fn ot0(&self) -> OT0_R

Bit 0 - Port x configuration bits (y = 0..15)

Source§

impl R<u8, OSPEEDR15_A>

Source

pub fn variant(&self) -> OSPEEDR15_A

Get enumerated values variant

Source

pub fn is_low_speed(&self) -> bool

Checks if the value of the field is LOWSPEED

Source

pub fn is_medium_speed(&self) -> bool

Checks if the value of the field is MEDIUMSPEED

Source

pub fn is_high_speed(&self) -> bool

Checks if the value of the field is HIGHSPEED

Source

pub fn is_very_high_speed(&self) -> bool

Checks if the value of the field is VERYHIGHSPEED

Source§

impl R<u32, Reg<u32, _OSPEEDR>>

Source

pub fn ospeedr15(&self) -> OSPEEDR15_R

Bits 30:31 - Port x configuration bits (y = 0..15)

Source

pub fn ospeedr14(&self) -> OSPEEDR14_R

Bits 28:29 - Port x configuration bits (y = 0..15)

Source

pub fn ospeedr13(&self) -> OSPEEDR13_R

Bits 26:27 - Port x configuration bits (y = 0..15)

Source

pub fn ospeedr12(&self) -> OSPEEDR12_R

Bits 24:25 - Port x configuration bits (y = 0..15)

Source

pub fn ospeedr11(&self) -> OSPEEDR11_R

Bits 22:23 - Port x configuration bits (y = 0..15)

Source

pub fn ospeedr10(&self) -> OSPEEDR10_R

Bits 20:21 - Port x configuration bits (y = 0..15)

Source

pub fn ospeedr9(&self) -> OSPEEDR9_R

Bits 18:19 - Port x configuration bits (y = 0..15)

Source

pub fn ospeedr8(&self) -> OSPEEDR8_R

Bits 16:17 - Port x configuration bits (y = 0..15)

Source

pub fn ospeedr7(&self) -> OSPEEDR7_R

Bits 14:15 - Port x configuration bits (y = 0..15)

Source

pub fn ospeedr6(&self) -> OSPEEDR6_R

Bits 12:13 - Port x configuration bits (y = 0..15)

Source

pub fn ospeedr5(&self) -> OSPEEDR5_R

Bits 10:11 - Port x configuration bits (y = 0..15)

Source

pub fn ospeedr4(&self) -> OSPEEDR4_R

Bits 8:9 - Port x configuration bits (y = 0..15)

Source

pub fn ospeedr3(&self) -> OSPEEDR3_R

Bits 6:7 - Port x configuration bits (y = 0..15)

Source

pub fn ospeedr2(&self) -> OSPEEDR2_R

Bits 4:5 - Port x configuration bits (y = 0..15)

Source

pub fn ospeedr1(&self) -> OSPEEDR1_R

Bits 2:3 - Port x configuration bits (y = 0..15)

Source

pub fn ospeedr0(&self) -> OSPEEDR0_R

Bits 0:1 - Port x configuration bits (y = 0..15)

Source§

impl R<u8, PUPDR15_A>

Source

pub fn variant(&self) -> Variant<u8, PUPDR15_A>

Get enumerated values variant

Source

pub fn is_floating(&self) -> bool

Checks if the value of the field is FLOATING

Source

pub fn is_pull_up(&self) -> bool

Checks if the value of the field is PULLUP

Source

pub fn is_pull_down(&self) -> bool

Checks if the value of the field is PULLDOWN

Source§

impl R<u32, Reg<u32, _PUPDR>>

Source

pub fn pupdr15(&self) -> PUPDR15_R

Bits 30:31 - Port x configuration bits (y = 0..15)

Source

pub fn pupdr14(&self) -> PUPDR14_R

Bits 28:29 - Port x configuration bits (y = 0..15)

Source

pub fn pupdr13(&self) -> PUPDR13_R

Bits 26:27 - Port x configuration bits (y = 0..15)

Source

pub fn pupdr12(&self) -> PUPDR12_R

Bits 24:25 - Port x configuration bits (y = 0..15)

Source

pub fn pupdr11(&self) -> PUPDR11_R

Bits 22:23 - Port x configuration bits (y = 0..15)

Source

pub fn pupdr10(&self) -> PUPDR10_R

Bits 20:21 - Port x configuration bits (y = 0..15)

Source

pub fn pupdr9(&self) -> PUPDR9_R

Bits 18:19 - Port x configuration bits (y = 0..15)

Source

pub fn pupdr8(&self) -> PUPDR8_R

Bits 16:17 - Port x configuration bits (y = 0..15)

Source

pub fn pupdr7(&self) -> PUPDR7_R

Bits 14:15 - Port x configuration bits (y = 0..15)

Source

pub fn pupdr6(&self) -> PUPDR6_R

Bits 12:13 - Port x configuration bits (y = 0..15)

Source

pub fn pupdr5(&self) -> PUPDR5_R

Bits 10:11 - Port x configuration bits (y = 0..15)

Source

pub fn pupdr4(&self) -> PUPDR4_R

Bits 8:9 - Port x configuration bits (y = 0..15)

Source

pub fn pupdr3(&self) -> PUPDR3_R

Bits 6:7 - Port x configuration bits (y = 0..15)

Source

pub fn pupdr2(&self) -> PUPDR2_R

Bits 4:5 - Port x configuration bits (y = 0..15)

Source

pub fn pupdr1(&self) -> PUPDR1_R

Bits 2:3 - Port x configuration bits (y = 0..15)

Source

pub fn pupdr0(&self) -> PUPDR0_R

Bits 0:1 - Port x configuration bits (y = 0..15)

Source§

impl R<bool, IDR15_A>

Source

pub fn variant(&self) -> IDR15_A

Get enumerated values variant

Source

pub fn is_high(&self) -> bool

Checks if the value of the field is HIGH

Source

pub fn is_low(&self) -> bool

Checks if the value of the field is LOW

Source§

impl R<u32, Reg<u32, _IDR>>

Source

pub fn idr15(&self) -> IDR15_R

Bit 15 - Port input data (y = 0..15)

Source

pub fn idr14(&self) -> IDR14_R

Bit 14 - Port input data (y = 0..15)

Source

pub fn idr13(&self) -> IDR13_R

Bit 13 - Port input data (y = 0..15)

Source

pub fn idr12(&self) -> IDR12_R

Bit 12 - Port input data (y = 0..15)

Source

pub fn idr11(&self) -> IDR11_R

Bit 11 - Port input data (y = 0..15)

Source

pub fn idr10(&self) -> IDR10_R

Bit 10 - Port input data (y = 0..15)

Source

pub fn idr9(&self) -> IDR9_R

Bit 9 - Port input data (y = 0..15)

Source

pub fn idr8(&self) -> IDR8_R

Bit 8 - Port input data (y = 0..15)

Source

pub fn idr7(&self) -> IDR7_R

Bit 7 - Port input data (y = 0..15)

Source

pub fn idr6(&self) -> IDR6_R

Bit 6 - Port input data (y = 0..15)

Source

pub fn idr5(&self) -> IDR5_R

Bit 5 - Port input data (y = 0..15)

Source

pub fn idr4(&self) -> IDR4_R

Bit 4 - Port input data (y = 0..15)

Source

pub fn idr3(&self) -> IDR3_R

Bit 3 - Port input data (y = 0..15)

Source

pub fn idr2(&self) -> IDR2_R

Bit 2 - Port input data (y = 0..15)

Source

pub fn idr1(&self) -> IDR1_R

Bit 1 - Port input data (y = 0..15)

Source

pub fn idr0(&self) -> IDR0_R

Bit 0 - Port input data (y = 0..15)

Source§

impl R<bool, ODR15_A>

Source

pub fn variant(&self) -> ODR15_A

Get enumerated values variant

Source

pub fn is_high(&self) -> bool

Checks if the value of the field is HIGH

Source

pub fn is_low(&self) -> bool

Checks if the value of the field is LOW

Source§

impl R<u32, Reg<u32, _ODR>>

Source

pub fn odr15(&self) -> ODR15_R

Bit 15 - Port output data (y = 0..15)

Source

pub fn odr14(&self) -> ODR14_R

Bit 14 - Port output data (y = 0..15)

Source

pub fn odr13(&self) -> ODR13_R

Bit 13 - Port output data (y = 0..15)

Source

pub fn odr12(&self) -> ODR12_R

Bit 12 - Port output data (y = 0..15)

Source

pub fn odr11(&self) -> ODR11_R

Bit 11 - Port output data (y = 0..15)

Source

pub fn odr10(&self) -> ODR10_R

Bit 10 - Port output data (y = 0..15)

Source

pub fn odr9(&self) -> ODR9_R

Bit 9 - Port output data (y = 0..15)

Source

pub fn odr8(&self) -> ODR8_R

Bit 8 - Port output data (y = 0..15)

Source

pub fn odr7(&self) -> ODR7_R

Bit 7 - Port output data (y = 0..15)

Source

pub fn odr6(&self) -> ODR6_R

Bit 6 - Port output data (y = 0..15)

Source

pub fn odr5(&self) -> ODR5_R

Bit 5 - Port output data (y = 0..15)

Source

pub fn odr4(&self) -> ODR4_R

Bit 4 - Port output data (y = 0..15)

Source

pub fn odr3(&self) -> ODR3_R

Bit 3 - Port output data (y = 0..15)

Source

pub fn odr2(&self) -> ODR2_R

Bit 2 - Port output data (y = 0..15)

Source

pub fn odr1(&self) -> ODR1_R

Bit 1 - Port output data (y = 0..15)

Source

pub fn odr0(&self) -> ODR0_R

Bit 0 - Port output data (y = 0..15)

Source§

impl R<bool, LCKK_A>

Source

pub fn variant(&self) -> LCKK_A

Get enumerated values variant

Source

pub fn is_not_active(&self) -> bool

Checks if the value of the field is NOTACTIVE

Source

pub fn is_active(&self) -> bool

Checks if the value of the field is ACTIVE

Source§

impl R<bool, LCK15_A>

Source

pub fn variant(&self) -> LCK15_A

Get enumerated values variant

Source

pub fn is_unlocked(&self) -> bool

Checks if the value of the field is UNLOCKED

Source

pub fn is_locked(&self) -> bool

Checks if the value of the field is LOCKED

Source§

impl R<bool, LCK9_A>

Source

pub fn variant(&self) -> LCK9_A

Get enumerated values variant

Source

pub fn is_unlocked(&self) -> bool

Checks if the value of the field is UNLOCKED

Source

pub fn is_locked(&self) -> bool

Checks if the value of the field is LOCKED

Source§

impl R<u32, Reg<u32, _LCKR>>

Source

pub fn lckk(&self) -> LCKK_R

Bit 16 - Port x lock bit y (y= 0..15)

Source

pub fn lck15(&self) -> LCK15_R

Bit 15 - Port x lock bit y (y= 0..15)

Source

pub fn lck14(&self) -> LCK14_R

Bit 14 - Port x lock bit y (y= 0..15)

Source

pub fn lck13(&self) -> LCK13_R

Bit 13 - Port x lock bit y (y= 0..15)

Source

pub fn lck12(&self) -> LCK12_R

Bit 12 - Port x lock bit y (y= 0..15)

Source

pub fn lck11(&self) -> LCK11_R

Bit 11 - Port x lock bit y (y= 0..15)

Source

pub fn lck10(&self) -> LCK10_R

Bit 10 - Port x lock bit y (y= 0..15)

Source

pub fn lck9(&self) -> LCK9_R

Bit 9 - Port x lock bit y (y= 0..15)

Source

pub fn lck8(&self) -> LCK8_R

Bit 8 - Port x lock bit y (y= 0..15)

Source

pub fn lck7(&self) -> LCK7_R

Bit 7 - Port x lock bit y (y= 0..15)

Source

pub fn lck6(&self) -> LCK6_R

Bit 6 - Port x lock bit y (y= 0..15)

Source

pub fn lck5(&self) -> LCK5_R

Bit 5 - Port x lock bit y (y= 0..15)

Source

pub fn lck4(&self) -> LCK4_R

Bit 4 - Port x lock bit y (y= 0..15)

Source

pub fn lck3(&self) -> LCK3_R

Bit 3 - Port x lock bit y (y= 0..15)

Source

pub fn lck2(&self) -> LCK2_R

Bit 2 - Port x lock bit y (y= 0..15)

Source

pub fn lck1(&self) -> LCK1_R

Bit 1 - Port x lock bit y (y= 0..15)

Source

pub fn lck0(&self) -> LCK0_R

Bit 0 - Port x lock bit y (y= 0..15)

Source§

impl R<u8, AFRL7_A>

Source

pub fn variant(&self) -> AFRL7_A

Get enumerated values variant

Source

pub fn is_af0(&self) -> bool

Checks if the value of the field is AF0

Source

pub fn is_af1(&self) -> bool

Checks if the value of the field is AF1

Source

pub fn is_af2(&self) -> bool

Checks if the value of the field is AF2

Source

pub fn is_af3(&self) -> bool

Checks if the value of the field is AF3

Source

pub fn is_af4(&self) -> bool

Checks if the value of the field is AF4

Source

pub fn is_af5(&self) -> bool

Checks if the value of the field is AF5

Source

pub fn is_af6(&self) -> bool

Checks if the value of the field is AF6

Source

pub fn is_af7(&self) -> bool

Checks if the value of the field is AF7

Source

pub fn is_af8(&self) -> bool

Checks if the value of the field is AF8

Source

pub fn is_af9(&self) -> bool

Checks if the value of the field is AF9

Source

pub fn is_af10(&self) -> bool

Checks if the value of the field is AF10

Source

pub fn is_af11(&self) -> bool

Checks if the value of the field is AF11

Source

pub fn is_af12(&self) -> bool

Checks if the value of the field is AF12

Source

pub fn is_af13(&self) -> bool

Checks if the value of the field is AF13

Source

pub fn is_af14(&self) -> bool

Checks if the value of the field is AF14

Source

pub fn is_af15(&self) -> bool

Checks if the value of the field is AF15

Source§

impl R<u32, Reg<u32, _AFRL>>

Source

pub fn afrl7(&self) -> AFRL7_R

Bits 28:31 - Alternate function selection for port x bit y (y = 0..7)

Source

pub fn afrl6(&self) -> AFRL6_R

Bits 24:27 - Alternate function selection for port x bit y (y = 0..7)

Source

pub fn afrl5(&self) -> AFRL5_R

Bits 20:23 - Alternate function selection for port x bit y (y = 0..7)

Source

pub fn afrl4(&self) -> AFRL4_R

Bits 16:19 - Alternate function selection for port x bit y (y = 0..7)

Source

pub fn afrl3(&self) -> AFRL3_R

Bits 12:15 - Alternate function selection for port x bit y (y = 0..7)

Source

pub fn afrl2(&self) -> AFRL2_R

Bits 8:11 - Alternate function selection for port x bit y (y = 0..7)

Source

pub fn afrl1(&self) -> AFRL1_R

Bits 4:7 - Alternate function selection for port x bit y (y = 0..7)

Source

pub fn afrl0(&self) -> AFRL0_R

Bits 0:3 - Alternate function selection for port x bit y (y = 0..7)

Source§

impl R<u8, AFRH15_A>

Source

pub fn variant(&self) -> AFRH15_A

Get enumerated values variant

Source

pub fn is_af0(&self) -> bool

Checks if the value of the field is AF0

Source

pub fn is_af1(&self) -> bool

Checks if the value of the field is AF1

Source

pub fn is_af2(&self) -> bool

Checks if the value of the field is AF2

Source

pub fn is_af3(&self) -> bool

Checks if the value of the field is AF3

Source

pub fn is_af4(&self) -> bool

Checks if the value of the field is AF4

Source

pub fn is_af5(&self) -> bool

Checks if the value of the field is AF5

Source

pub fn is_af6(&self) -> bool

Checks if the value of the field is AF6

Source

pub fn is_af7(&self) -> bool

Checks if the value of the field is AF7

Source

pub fn is_af8(&self) -> bool

Checks if the value of the field is AF8

Source

pub fn is_af9(&self) -> bool

Checks if the value of the field is AF9

Source

pub fn is_af10(&self) -> bool

Checks if the value of the field is AF10

Source

pub fn is_af11(&self) -> bool

Checks if the value of the field is AF11

Source

pub fn is_af12(&self) -> bool

Checks if the value of the field is AF12

Source

pub fn is_af13(&self) -> bool

Checks if the value of the field is AF13

Source

pub fn is_af14(&self) -> bool

Checks if the value of the field is AF14

Source

pub fn is_af15(&self) -> bool

Checks if the value of the field is AF15

Source§

impl R<u32, Reg<u32, _AFRH>>

Source

pub fn afrh15(&self) -> AFRH15_R

Bits 28:31 - Alternate function selection for port x bit y (y = 8..15)

Source

pub fn afrh14(&self) -> AFRH14_R

Bits 24:27 - Alternate function selection for port x bit y (y = 8..15)

Source

pub fn afrh13(&self) -> AFRH13_R

Bits 20:23 - Alternate function selection for port x bit y (y = 8..15)

Source

pub fn afrh12(&self) -> AFRH12_R

Bits 16:19 - Alternate function selection for port x bit y (y = 8..15)

Source

pub fn afrh11(&self) -> AFRH11_R

Bits 12:15 - Alternate function selection for port x bit y (y = 8..15)

Source

pub fn afrh10(&self) -> AFRH10_R

Bits 8:11 - Alternate function selection for port x bit y (y = 8..15)

Source

pub fn afrh9(&self) -> AFRH9_R

Bits 4:7 - Alternate function selection for port x bit y (y = 8..15)

Source

pub fn afrh8(&self) -> AFRH8_R

Bits 0:3 - Alternate function selection for port x bit y (y = 8..15)

Source§

impl R<u8, MODER15_A>

Source

pub fn variant(&self) -> MODER15_A

Get enumerated values variant

Source

pub fn is_input(&self) -> bool

Checks if the value of the field is INPUT

Source

pub fn is_output(&self) -> bool

Checks if the value of the field is OUTPUT

Source

pub fn is_alternate(&self) -> bool

Checks if the value of the field is ALTERNATE

Source

pub fn is_analog(&self) -> bool

Checks if the value of the field is ANALOG

Source§

impl R<u32, Reg<u32, _MODER>>

Source

pub fn moder15(&self) -> MODER15_R

Bits 30:31 - Port x configuration bits (y = 0..15)

Source

pub fn moder14(&self) -> MODER14_R

Bits 28:29 - Port x configuration bits (y = 0..15)

Source

pub fn moder13(&self) -> MODER13_R

Bits 26:27 - Port x configuration bits (y = 0..15)

Source

pub fn moder12(&self) -> MODER12_R

Bits 24:25 - Port x configuration bits (y = 0..15)

Source

pub fn moder11(&self) -> MODER11_R

Bits 22:23 - Port x configuration bits (y = 0..15)

Source

pub fn moder10(&self) -> MODER10_R

Bits 20:21 - Port x configuration bits (y = 0..15)

Source

pub fn moder9(&self) -> MODER9_R

Bits 18:19 - Port x configuration bits (y = 0..15)

Source

pub fn moder8(&self) -> MODER8_R

Bits 16:17 - Port x configuration bits (y = 0..15)

Source

pub fn moder7(&self) -> MODER7_R

Bits 14:15 - Port x configuration bits (y = 0..15)

Source

pub fn moder6(&self) -> MODER6_R

Bits 12:13 - Port x configuration bits (y = 0..15)

Source

pub fn moder5(&self) -> MODER5_R

Bits 10:11 - Port x configuration bits (y = 0..15)

Source

pub fn moder4(&self) -> MODER4_R

Bits 8:9 - Port x configuration bits (y = 0..15)

Source

pub fn moder3(&self) -> MODER3_R

Bits 6:7 - Port x configuration bits (y = 0..15)

Source

pub fn moder2(&self) -> MODER2_R

Bits 4:5 - Port x configuration bits (y = 0..15)

Source

pub fn moder1(&self) -> MODER1_R

Bits 2:3 - Port x configuration bits (y = 0..15)

Source

pub fn moder0(&self) -> MODER0_R

Bits 0:1 - Port x configuration bits (y = 0..15)

Source§

impl R<bool, OT15_A>

Source

pub fn variant(&self) -> OT15_A

Get enumerated values variant

Source

pub fn is_push_pull(&self) -> bool

Checks if the value of the field is PUSHPULL

Source

pub fn is_open_drain(&self) -> bool

Checks if the value of the field is OPENDRAIN

Source§

impl R<u32, Reg<u32, _OTYPER>>

Source

pub fn ot15(&self) -> OT15_R

Bit 15 - Port x configuration bits (y = 0..15)

Source

pub fn ot14(&self) -> OT14_R

Bit 14 - Port x configuration bits (y = 0..15)

Source

pub fn ot13(&self) -> OT13_R

Bit 13 - Port x configuration bits (y = 0..15)

Source

pub fn ot12(&self) -> OT12_R

Bit 12 - Port x configuration bits (y = 0..15)

Source

pub fn ot11(&self) -> OT11_R

Bit 11 - Port x configuration bits (y = 0..15)

Source

pub fn ot10(&self) -> OT10_R

Bit 10 - Port x configuration bits (y = 0..15)

Source

pub fn ot9(&self) -> OT9_R

Bit 9 - Port x configuration bits (y = 0..15)

Source

pub fn ot8(&self) -> OT8_R

Bit 8 - Port x configuration bits (y = 0..15)

Source

pub fn ot7(&self) -> OT7_R

Bit 7 - Port x configuration bits (y = 0..15)

Source

pub fn ot6(&self) -> OT6_R

Bit 6 - Port x configuration bits (y = 0..15)

Source

pub fn ot5(&self) -> OT5_R

Bit 5 - Port x configuration bits (y = 0..15)

Source

pub fn ot4(&self) -> OT4_R

Bit 4 - Port x configuration bits (y = 0..15)

Source

pub fn ot3(&self) -> OT3_R

Bit 3 - Port x configuration bits (y = 0..15)

Source

pub fn ot2(&self) -> OT2_R

Bit 2 - Port x configuration bits (y = 0..15)

Source

pub fn ot1(&self) -> OT1_R

Bit 1 - Port x configuration bits (y = 0..15)

Source

pub fn ot0(&self) -> OT0_R

Bit 0 - Port x configuration bits (y = 0..15)

Source§

impl R<u8, OSPEEDR15_A>

Source

pub fn variant(&self) -> OSPEEDR15_A

Get enumerated values variant

Source

pub fn is_low_speed(&self) -> bool

Checks if the value of the field is LOWSPEED

Source

pub fn is_medium_speed(&self) -> bool

Checks if the value of the field is MEDIUMSPEED

Source

pub fn is_high_speed(&self) -> bool

Checks if the value of the field is HIGHSPEED

Source

pub fn is_very_high_speed(&self) -> bool

Checks if the value of the field is VERYHIGHSPEED

Source§

impl R<u32, Reg<u32, _OSPEEDR>>

Source

pub fn ospeedr15(&self) -> OSPEEDR15_R

Bits 30:31 - Port x configuration bits (y = 0..15)

Source

pub fn ospeedr14(&self) -> OSPEEDR14_R

Bits 28:29 - Port x configuration bits (y = 0..15)

Source

pub fn ospeedr13(&self) -> OSPEEDR13_R

Bits 26:27 - Port x configuration bits (y = 0..15)

Source

pub fn ospeedr12(&self) -> OSPEEDR12_R

Bits 24:25 - Port x configuration bits (y = 0..15)

Source

pub fn ospeedr11(&self) -> OSPEEDR11_R

Bits 22:23 - Port x configuration bits (y = 0..15)

Source

pub fn ospeedr10(&self) -> OSPEEDR10_R

Bits 20:21 - Port x configuration bits (y = 0..15)

Source

pub fn ospeedr9(&self) -> OSPEEDR9_R

Bits 18:19 - Port x configuration bits (y = 0..15)

Source

pub fn ospeedr8(&self) -> OSPEEDR8_R

Bits 16:17 - Port x configuration bits (y = 0..15)

Source

pub fn ospeedr7(&self) -> OSPEEDR7_R

Bits 14:15 - Port x configuration bits (y = 0..15)

Source

pub fn ospeedr6(&self) -> OSPEEDR6_R

Bits 12:13 - Port x configuration bits (y = 0..15)

Source

pub fn ospeedr5(&self) -> OSPEEDR5_R

Bits 10:11 - Port x configuration bits (y = 0..15)

Source

pub fn ospeedr4(&self) -> OSPEEDR4_R

Bits 8:9 - Port x configuration bits (y = 0..15)

Source

pub fn ospeedr3(&self) -> OSPEEDR3_R

Bits 6:7 - Port x configuration bits (y = 0..15)

Source

pub fn ospeedr2(&self) -> OSPEEDR2_R

Bits 4:5 - Port x configuration bits (y = 0..15)

Source

pub fn ospeedr1(&self) -> OSPEEDR1_R

Bits 2:3 - Port x configuration bits (y = 0..15)

Source

pub fn ospeedr0(&self) -> OSPEEDR0_R

Bits 0:1 - Port x configuration bits (y = 0..15)

Source§

impl R<u8, PUPDR15_A>

Source

pub fn variant(&self) -> Variant<u8, PUPDR15_A>

Get enumerated values variant

Source

pub fn is_floating(&self) -> bool

Checks if the value of the field is FLOATING

Source

pub fn is_pull_up(&self) -> bool

Checks if the value of the field is PULLUP

Source

pub fn is_pull_down(&self) -> bool

Checks if the value of the field is PULLDOWN

Source§

impl R<u32, Reg<u32, _PUPDR>>

Source

pub fn pupdr15(&self) -> PUPDR15_R

Bits 30:31 - Port x configuration bits (y = 0..15)

Source

pub fn pupdr14(&self) -> PUPDR14_R

Bits 28:29 - Port x configuration bits (y = 0..15)

Source

pub fn pupdr13(&self) -> PUPDR13_R

Bits 26:27 - Port x configuration bits (y = 0..15)

Source

pub fn pupdr12(&self) -> PUPDR12_R

Bits 24:25 - Port x configuration bits (y = 0..15)

Source

pub fn pupdr11(&self) -> PUPDR11_R

Bits 22:23 - Port x configuration bits (y = 0..15)

Source

pub fn pupdr10(&self) -> PUPDR10_R

Bits 20:21 - Port x configuration bits (y = 0..15)

Source

pub fn pupdr9(&self) -> PUPDR9_R

Bits 18:19 - Port x configuration bits (y = 0..15)

Source

pub fn pupdr8(&self) -> PUPDR8_R

Bits 16:17 - Port x configuration bits (y = 0..15)

Source

pub fn pupdr7(&self) -> PUPDR7_R

Bits 14:15 - Port x configuration bits (y = 0..15)

Source

pub fn pupdr6(&self) -> PUPDR6_R

Bits 12:13 - Port x configuration bits (y = 0..15)

Source

pub fn pupdr5(&self) -> PUPDR5_R

Bits 10:11 - Port x configuration bits (y = 0..15)

Source

pub fn pupdr4(&self) -> PUPDR4_R

Bits 8:9 - Port x configuration bits (y = 0..15)

Source

pub fn pupdr3(&self) -> PUPDR3_R

Bits 6:7 - Port x configuration bits (y = 0..15)

Source

pub fn pupdr2(&self) -> PUPDR2_R

Bits 4:5 - Port x configuration bits (y = 0..15)

Source

pub fn pupdr1(&self) -> PUPDR1_R

Bits 2:3 - Port x configuration bits (y = 0..15)

Source

pub fn pupdr0(&self) -> PUPDR0_R

Bits 0:1 - Port x configuration bits (y = 0..15)

Source§

impl R<bool, IDR15_A>

Source

pub fn variant(&self) -> IDR15_A

Get enumerated values variant

Source

pub fn is_high(&self) -> bool

Checks if the value of the field is HIGH

Source

pub fn is_low(&self) -> bool

Checks if the value of the field is LOW

Source§

impl R<u32, Reg<u32, _IDR>>

Source

pub fn idr15(&self) -> IDR15_R

Bit 15 - Port input data (y = 0..15)

Source

pub fn idr14(&self) -> IDR14_R

Bit 14 - Port input data (y = 0..15)

Source

pub fn idr13(&self) -> IDR13_R

Bit 13 - Port input data (y = 0..15)

Source

pub fn idr12(&self) -> IDR12_R

Bit 12 - Port input data (y = 0..15)

Source

pub fn idr11(&self) -> IDR11_R

Bit 11 - Port input data (y = 0..15)

Source

pub fn idr10(&self) -> IDR10_R

Bit 10 - Port input data (y = 0..15)

Source

pub fn idr9(&self) -> IDR9_R

Bit 9 - Port input data (y = 0..15)

Source

pub fn idr8(&self) -> IDR8_R

Bit 8 - Port input data (y = 0..15)

Source

pub fn idr7(&self) -> IDR7_R

Bit 7 - Port input data (y = 0..15)

Source

pub fn idr6(&self) -> IDR6_R

Bit 6 - Port input data (y = 0..15)

Source

pub fn idr5(&self) -> IDR5_R

Bit 5 - Port input data (y = 0..15)

Source

pub fn idr4(&self) -> IDR4_R

Bit 4 - Port input data (y = 0..15)

Source

pub fn idr3(&self) -> IDR3_R

Bit 3 - Port input data (y = 0..15)

Source

pub fn idr2(&self) -> IDR2_R

Bit 2 - Port input data (y = 0..15)

Source

pub fn idr1(&self) -> IDR1_R

Bit 1 - Port input data (y = 0..15)

Source

pub fn idr0(&self) -> IDR0_R

Bit 0 - Port input data (y = 0..15)

Source§

impl R<bool, ODR15_A>

Source

pub fn variant(&self) -> ODR15_A

Get enumerated values variant

Source

pub fn is_high(&self) -> bool

Checks if the value of the field is HIGH

Source

pub fn is_low(&self) -> bool

Checks if the value of the field is LOW

Source§

impl R<u32, Reg<u32, _ODR>>

Source

pub fn odr15(&self) -> ODR15_R

Bit 15 - Port output data (y = 0..15)

Source

pub fn odr14(&self) -> ODR14_R

Bit 14 - Port output data (y = 0..15)

Source

pub fn odr13(&self) -> ODR13_R

Bit 13 - Port output data (y = 0..15)

Source

pub fn odr12(&self) -> ODR12_R

Bit 12 - Port output data (y = 0..15)

Source

pub fn odr11(&self) -> ODR11_R

Bit 11 - Port output data (y = 0..15)

Source

pub fn odr10(&self) -> ODR10_R

Bit 10 - Port output data (y = 0..15)

Source

pub fn odr9(&self) -> ODR9_R

Bit 9 - Port output data (y = 0..15)

Source

pub fn odr8(&self) -> ODR8_R

Bit 8 - Port output data (y = 0..15)

Source

pub fn odr7(&self) -> ODR7_R

Bit 7 - Port output data (y = 0..15)

Source

pub fn odr6(&self) -> ODR6_R

Bit 6 - Port output data (y = 0..15)

Source

pub fn odr5(&self) -> ODR5_R

Bit 5 - Port output data (y = 0..15)

Source

pub fn odr4(&self) -> ODR4_R

Bit 4 - Port output data (y = 0..15)

Source

pub fn odr3(&self) -> ODR3_R

Bit 3 - Port output data (y = 0..15)

Source

pub fn odr2(&self) -> ODR2_R

Bit 2 - Port output data (y = 0..15)

Source

pub fn odr1(&self) -> ODR1_R

Bit 1 - Port output data (y = 0..15)

Source

pub fn odr0(&self) -> ODR0_R

Bit 0 - Port output data (y = 0..15)

Source§

impl R<bool, LCKK_A>

Source

pub fn variant(&self) -> LCKK_A

Get enumerated values variant

Source

pub fn is_not_active(&self) -> bool

Checks if the value of the field is NOTACTIVE

Source

pub fn is_active(&self) -> bool

Checks if the value of the field is ACTIVE

Source§

impl R<bool, LCK15_A>

Source

pub fn variant(&self) -> LCK15_A

Get enumerated values variant

Source

pub fn is_unlocked(&self) -> bool

Checks if the value of the field is UNLOCKED

Source

pub fn is_locked(&self) -> bool

Checks if the value of the field is LOCKED

Source§

impl R<bool, LCK9_A>

Source

pub fn variant(&self) -> LCK9_A

Get enumerated values variant

Source

pub fn is_unlocked(&self) -> bool

Checks if the value of the field is UNLOCKED

Source

pub fn is_locked(&self) -> bool

Checks if the value of the field is LOCKED

Source§

impl R<u32, Reg<u32, _LCKR>>

Source

pub fn lckk(&self) -> LCKK_R

Bit 16 - Port x lock bit y (y= 0..15)

Source

pub fn lck15(&self) -> LCK15_R

Bit 15 - Port x lock bit y (y= 0..15)

Source

pub fn lck14(&self) -> LCK14_R

Bit 14 - Port x lock bit y (y= 0..15)

Source

pub fn lck13(&self) -> LCK13_R

Bit 13 - Port x lock bit y (y= 0..15)

Source

pub fn lck12(&self) -> LCK12_R

Bit 12 - Port x lock bit y (y= 0..15)

Source

pub fn lck11(&self) -> LCK11_R

Bit 11 - Port x lock bit y (y= 0..15)

Source

pub fn lck10(&self) -> LCK10_R

Bit 10 - Port x lock bit y (y= 0..15)

Source

pub fn lck9(&self) -> LCK9_R

Bit 9 - Port x lock bit y (y= 0..15)

Source

pub fn lck8(&self) -> LCK8_R

Bit 8 - Port x lock bit y (y= 0..15)

Source

pub fn lck7(&self) -> LCK7_R

Bit 7 - Port x lock bit y (y= 0..15)

Source

pub fn lck6(&self) -> LCK6_R

Bit 6 - Port x lock bit y (y= 0..15)

Source

pub fn lck5(&self) -> LCK5_R

Bit 5 - Port x lock bit y (y= 0..15)

Source

pub fn lck4(&self) -> LCK4_R

Bit 4 - Port x lock bit y (y= 0..15)

Source

pub fn lck3(&self) -> LCK3_R

Bit 3 - Port x lock bit y (y= 0..15)

Source

pub fn lck2(&self) -> LCK2_R

Bit 2 - Port x lock bit y (y= 0..15)

Source

pub fn lck1(&self) -> LCK1_R

Bit 1 - Port x lock bit y (y= 0..15)

Source

pub fn lck0(&self) -> LCK0_R

Bit 0 - Port x lock bit y (y= 0..15)

Source§

impl R<u8, AFRL7_A>

Source

pub fn variant(&self) -> AFRL7_A

Get enumerated values variant

Source

pub fn is_af0(&self) -> bool

Checks if the value of the field is AF0

Source

pub fn is_af1(&self) -> bool

Checks if the value of the field is AF1

Source

pub fn is_af2(&self) -> bool

Checks if the value of the field is AF2

Source

pub fn is_af3(&self) -> bool

Checks if the value of the field is AF3

Source

pub fn is_af4(&self) -> bool

Checks if the value of the field is AF4

Source

pub fn is_af5(&self) -> bool

Checks if the value of the field is AF5

Source

pub fn is_af6(&self) -> bool

Checks if the value of the field is AF6

Source

pub fn is_af7(&self) -> bool

Checks if the value of the field is AF7

Source

pub fn is_af8(&self) -> bool

Checks if the value of the field is AF8

Source

pub fn is_af9(&self) -> bool

Checks if the value of the field is AF9

Source

pub fn is_af10(&self) -> bool

Checks if the value of the field is AF10

Source

pub fn is_af11(&self) -> bool

Checks if the value of the field is AF11

Source

pub fn is_af12(&self) -> bool

Checks if the value of the field is AF12

Source

pub fn is_af13(&self) -> bool

Checks if the value of the field is AF13

Source

pub fn is_af14(&self) -> bool

Checks if the value of the field is AF14

Source

pub fn is_af15(&self) -> bool

Checks if the value of the field is AF15

Source§

impl R<u32, Reg<u32, _AFRL>>

Source

pub fn afrl7(&self) -> AFRL7_R

Bits 28:31 - Alternate function selection for port x bit y (y = 0..7)

Source

pub fn afrl6(&self) -> AFRL6_R

Bits 24:27 - Alternate function selection for port x bit y (y = 0..7)

Source

pub fn afrl5(&self) -> AFRL5_R

Bits 20:23 - Alternate function selection for port x bit y (y = 0..7)

Source

pub fn afrl4(&self) -> AFRL4_R

Bits 16:19 - Alternate function selection for port x bit y (y = 0..7)

Source

pub fn afrl3(&self) -> AFRL3_R

Bits 12:15 - Alternate function selection for port x bit y (y = 0..7)

Source

pub fn afrl2(&self) -> AFRL2_R

Bits 8:11 - Alternate function selection for port x bit y (y = 0..7)

Source

pub fn afrl1(&self) -> AFRL1_R

Bits 4:7 - Alternate function selection for port x bit y (y = 0..7)

Source

pub fn afrl0(&self) -> AFRL0_R

Bits 0:3 - Alternate function selection for port x bit y (y = 0..7)

Source§

impl R<u8, AFRH15_A>

Source

pub fn variant(&self) -> AFRH15_A

Get enumerated values variant

Source

pub fn is_af0(&self) -> bool

Checks if the value of the field is AF0

Source

pub fn is_af1(&self) -> bool

Checks if the value of the field is AF1

Source

pub fn is_af2(&self) -> bool

Checks if the value of the field is AF2

Source

pub fn is_af3(&self) -> bool

Checks if the value of the field is AF3

Source

pub fn is_af4(&self) -> bool

Checks if the value of the field is AF4

Source

pub fn is_af5(&self) -> bool

Checks if the value of the field is AF5

Source

pub fn is_af6(&self) -> bool

Checks if the value of the field is AF6

Source

pub fn is_af7(&self) -> bool

Checks if the value of the field is AF7

Source

pub fn is_af8(&self) -> bool

Checks if the value of the field is AF8

Source

pub fn is_af9(&self) -> bool

Checks if the value of the field is AF9

Source

pub fn is_af10(&self) -> bool

Checks if the value of the field is AF10

Source

pub fn is_af11(&self) -> bool

Checks if the value of the field is AF11

Source

pub fn is_af12(&self) -> bool

Checks if the value of the field is AF12

Source

pub fn is_af13(&self) -> bool

Checks if the value of the field is AF13

Source

pub fn is_af14(&self) -> bool

Checks if the value of the field is AF14

Source

pub fn is_af15(&self) -> bool

Checks if the value of the field is AF15

Source§

impl R<u32, Reg<u32, _AFRH>>

Source

pub fn afrh15(&self) -> AFRH15_R

Bits 28:31 - Alternate function selection for port x bit y (y = 8..15)

Source

pub fn afrh14(&self) -> AFRH14_R

Bits 24:27 - Alternate function selection for port x bit y (y = 8..15)

Source

pub fn afrh13(&self) -> AFRH13_R

Bits 20:23 - Alternate function selection for port x bit y (y = 8..15)

Source

pub fn afrh12(&self) -> AFRH12_R

Bits 16:19 - Alternate function selection for port x bit y (y = 8..15)

Source

pub fn afrh11(&self) -> AFRH11_R

Bits 12:15 - Alternate function selection for port x bit y (y = 8..15)

Source

pub fn afrh10(&self) -> AFRH10_R

Bits 8:11 - Alternate function selection for port x bit y (y = 8..15)

Source

pub fn afrh9(&self) -> AFRH9_R

Bits 4:7 - Alternate function selection for port x bit y (y = 8..15)

Source

pub fn afrh8(&self) -> AFRH8_R

Bits 0:3 - Alternate function selection for port x bit y (y = 8..15)

Source§

impl R<bool, NODIV_A>

Source

pub fn variant(&self) -> NODIV_A

Get enumerated values variant

Source

pub fn is_master_clock(&self) -> bool

Checks if the value of the field is MASTERCLOCK

Source

pub fn is_no_div(&self) -> bool

Checks if the value of the field is NODIV

Source§

impl R<bool, DMAEN_A>

Source

pub fn variant(&self) -> DMAEN_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, SAIEN_A>

Source

pub fn variant(&self) -> SAIEN_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, OUTDRIV_A>

Source

pub fn variant(&self) -> OUTDRIV_A

Get enumerated values variant

Source

pub fn is_on_start(&self) -> bool

Checks if the value of the field is ONSTART

Source

pub fn is_immediately(&self) -> bool

Checks if the value of the field is IMMEDIATELY

Source§

impl R<bool, MONO_A>

Source

pub fn variant(&self) -> MONO_A

Get enumerated values variant

Source

pub fn is_stereo(&self) -> bool

Checks if the value of the field is STEREO

Source

pub fn is_mono(&self) -> bool

Checks if the value of the field is MONO

Source§

impl R<u8, SYNCEN_A>

Source

pub fn variant(&self) -> Variant<u8, SYNCEN_A>

Get enumerated values variant

Source

pub fn is_asynchronous(&self) -> bool

Checks if the value of the field is ASYNCHRONOUS

Source

pub fn is_internal(&self) -> bool

Checks if the value of the field is INTERNAL

Source

pub fn is_external(&self) -> bool

Checks if the value of the field is EXTERNAL

Source§

impl R<bool, CKSTR_A>

Source

pub fn variant(&self) -> CKSTR_A

Get enumerated values variant

Source

pub fn is_falling_edge(&self) -> bool

Checks if the value of the field is FALLINGEDGE

Source

pub fn is_rising_edge(&self) -> bool

Checks if the value of the field is RISINGEDGE

Source§

impl R<bool, LSBFIRST_A>

Source

pub fn variant(&self) -> LSBFIRST_A

Get enumerated values variant

Source

pub fn is_msb_first(&self) -> bool

Checks if the value of the field is MSBFIRST

Source

pub fn is_lsb_first(&self) -> bool

Checks if the value of the field is LSBFIRST

Source§

impl R<u8, DS_A>

Source

pub fn variant(&self) -> Variant<u8, DS_A>

Get enumerated values variant

Source

pub fn is_bit8(&self) -> bool

Checks if the value of the field is BIT8

Source

pub fn is_bit10(&self) -> bool

Checks if the value of the field is BIT10

Source

pub fn is_bit16(&self) -> bool

Checks if the value of the field is BIT16

Source

pub fn is_bit20(&self) -> bool

Checks if the value of the field is BIT20

Source

pub fn is_bit24(&self) -> bool

Checks if the value of the field is BIT24

Source

pub fn is_bit32(&self) -> bool

Checks if the value of the field is BIT32

Source§

impl R<u8, PRTCFG_A>

Source

pub fn variant(&self) -> Variant<u8, PRTCFG_A>

Get enumerated values variant

Source

pub fn is_free(&self) -> bool

Checks if the value of the field is FREE

Source

pub fn is_spdif(&self) -> bool

Checks if the value of the field is SPDIF

Source

pub fn is_ac97(&self) -> bool

Checks if the value of the field is AC97

Source§

impl R<u8, MODE_A>

Source

pub fn variant(&self) -> MODE_A

Get enumerated values variant

Source

pub fn is_master_tx(&self) -> bool

Checks if the value of the field is MASTERTX

Source

pub fn is_master_rx(&self) -> bool

Checks if the value of the field is MASTERRX

Source

pub fn is_slave_tx(&self) -> bool

Checks if the value of the field is SLAVETX

Source

pub fn is_slave_rx(&self) -> bool

Checks if the value of the field is SLAVERX

Source§

impl R<u32, Reg<u32, _CR1>>

Source

pub fn mckdiv(&self) -> MCKDIV_R

Bits 20:23 - Master clock divider

Source

pub fn nodiv(&self) -> NODIV_R

Bit 19 - No divider

Source

pub fn dmaen(&self) -> DMAEN_R

Bit 17 - DMA enable

Source

pub fn saien(&self) -> SAIEN_R

Bit 16 - Audio block A enable

Source

pub fn outdriv(&self) -> OUTDRIV_R

Bit 13 - Output drive

Source

pub fn mono(&self) -> MONO_R

Bit 12 - Mono mode

Source

pub fn syncen(&self) -> SYNCEN_R

Bits 10:11 - Synchronization enable

Source

pub fn ckstr(&self) -> CKSTR_R

Bit 9 - Clock strobing edge

Source

pub fn lsbfirst(&self) -> LSBFIRST_R

Bit 8 - Least significant bit first

Source

pub fn ds(&self) -> DS_R

Bits 5:7 - Data size

Source

pub fn prtcfg(&self) -> PRTCFG_R

Bits 2:3 - Protocol configuration

Source

pub fn mode(&self) -> MODE_R

Bits 0:1 - Audio block mode

Source§

impl R<u8, COMP_A>

Source

pub fn variant(&self) -> Variant<u8, COMP_A>

Get enumerated values variant

Source

pub fn is_no_companding(&self) -> bool

Checks if the value of the field is NOCOMPANDING

Source

pub fn is_mu_law(&self) -> bool

Checks if the value of the field is MULAW

Source

pub fn is_alaw(&self) -> bool

Checks if the value of the field is ALAW

Source§

impl R<bool, CPL_A>

Source

pub fn variant(&self) -> CPL_A

Get enumerated values variant

Source

pub fn is_ones_complement(&self) -> bool

Checks if the value of the field is ONESCOMPLEMENT

Source

pub fn is_twos_complement(&self) -> bool

Checks if the value of the field is TWOSCOMPLEMENT

Source§

impl R<bool, MUTEVAL_A>

Source

pub fn variant(&self) -> MUTEVAL_A

Get enumerated values variant

Source

pub fn is_send_zero(&self) -> bool

Checks if the value of the field is SENDZERO

Source

pub fn is_send_last(&self) -> bool

Checks if the value of the field is SENDLAST

Source§

impl R<bool, MUTE_A>

Source

pub fn variant(&self) -> MUTE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, FFLUSH_A>

Source

pub fn variant(&self) -> FFLUSH_A

Get enumerated values variant

Source

pub fn is_no_flush(&self) -> bool

Checks if the value of the field is NOFLUSH

Source

pub fn is_flush(&self) -> bool

Checks if the value of the field is FLUSH

Source§

impl R<u8, FTH_A>

Source

pub fn variant(&self) -> Variant<u8, FTH_A>

Get enumerated values variant

Source

pub fn is_empty(&self) -> bool

Checks if the value of the field is EMPTY

Source

pub fn is_quarter1(&self) -> bool

Checks if the value of the field is QUARTER1

Source

pub fn is_quarter2(&self) -> bool

Checks if the value of the field is QUARTER2

Source

pub fn is_quarter3(&self) -> bool

Checks if the value of the field is QUARTER3

Source

pub fn is_full(&self) -> bool

Checks if the value of the field is FULL

Source§

impl R<u32, Reg<u32, _CR2>>

Source

pub fn comp(&self) -> COMP_R

Bits 14:15 - Companding mode

Source

pub fn cpl(&self) -> CPL_R

Bit 13 - Complement bit

Source

pub fn mutecn(&self) -> MUTECN_R

Bits 7:12 - Mute counter

Source

pub fn muteval(&self) -> MUTEVAL_R

Bit 6 - Mute value

Source

pub fn mute(&self) -> MUTE_R

Bit 5 - Mute

Source

pub fn tris(&self) -> TRIS_R

Bit 4 - Tristate management on data line

Source

pub fn fflush(&self) -> FFLUSH_R

Bit 3 - FIFO flush

Source

pub fn fth(&self) -> FTH_R

Bits 0:2 - FIFO threshold

Source§

impl R<bool, FSOFF_A>

Source

pub fn variant(&self) -> FSOFF_A

Get enumerated values variant

Source

pub fn is_on_first(&self) -> bool

Checks if the value of the field is ONFIRST

Source

pub fn is_before_first(&self) -> bool

Checks if the value of the field is BEFOREFIRST

Source§

impl R<bool, FSPOL_A>

Source

pub fn variant(&self) -> FSPOL_A

Get enumerated values variant

Source

pub fn is_falling_edge(&self) -> bool

Checks if the value of the field is FALLINGEDGE

Source

pub fn is_rising_edge(&self) -> bool

Checks if the value of the field is RISINGEDGE

Source§

impl R<u32, Reg<u32, _FRCR>>

Source

pub fn fsoff(&self) -> FSOFF_R

Bit 18 - Frame synchronization offset

Source

pub fn fspol(&self) -> FSPOL_R

Bit 17 - Frame synchronization polarity

Source

pub fn fsdef(&self) -> FSDEF_R

Bit 16 - Frame synchronization definition

Source

pub fn fsall(&self) -> FSALL_R

Bits 8:14 - Frame synchronization active level length

Source

pub fn frl(&self) -> FRL_R

Bits 0:7 - Frame length

Source§

impl R<u16, SLOTEN_A>

Source

pub fn variant(&self) -> Variant<u16, SLOTEN_A>

Get enumerated values variant

Source

pub fn is_inactive(&self) -> bool

Checks if the value of the field is INACTIVE

Source

pub fn is_active(&self) -> bool

Checks if the value of the field is ACTIVE

Source§

impl R<u8, SLOTSZ_A>

Source

pub fn variant(&self) -> Variant<u8, SLOTSZ_A>

Get enumerated values variant

Source

pub fn is_data_size(&self) -> bool

Checks if the value of the field is DATASIZE

Source

pub fn is_bit16(&self) -> bool

Checks if the value of the field is BIT16

Source

pub fn is_bit32(&self) -> bool

Checks if the value of the field is BIT32

Source§

impl R<u32, Reg<u32, _SLOTR>>

Source

pub fn sloten(&self) -> SLOTEN_R

Bits 16:31 - Slot enable

Source

pub fn nbslot(&self) -> NBSLOT_R

Bits 8:11 - Number of slots in an audio frame

Source

pub fn slotsz(&self) -> SLOTSZ_R

Bits 6:7 - Slot size

Source

pub fn fboff(&self) -> FBOFF_R

Bits 0:4 - First bit offset

Source§

impl R<bool, LFSDETIE_A>

Source

pub fn variant(&self) -> LFSDETIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, AFSDETIE_A>

Source

pub fn variant(&self) -> AFSDETIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, CNRDYIE_A>

Source

pub fn variant(&self) -> CNRDYIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, FREQIE_A>

Source

pub fn variant(&self) -> FREQIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, WCKCFGIE_A>

Source

pub fn variant(&self) -> WCKCFGIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, MUTEDETIE_A>

Source

pub fn variant(&self) -> MUTEDETIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, OVRUDRIE_A>

Source

pub fn variant(&self) -> OVRUDRIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<u32, Reg<u32, _IM>>

Source

pub fn lfsdetie(&self) -> LFSDETIE_R

Bit 6 - Late frame synchronization detection interrupt enable

Source

pub fn afsdetie(&self) -> AFSDETIE_R

Bit 5 - Anticipated frame synchronization detection interrupt enable

Source

pub fn cnrdyie(&self) -> CNRDYIE_R

Bit 4 - Codec not ready interrupt enable

Source

pub fn freqie(&self) -> FREQIE_R

Bit 3 - FIFO request interrupt enable

Source

pub fn wckcfgie(&self) -> WCKCFGIE_R

Bit 2 - Wrong clock configuration interrupt enable

Source

pub fn mutedetie(&self) -> MUTEDETIE_R

Bit 1 - Mute detection interrupt enable

Source

pub fn ovrudrie(&self) -> OVRUDRIE_R

Bit 0 - Overrun/underrun interrupt enable

Source§

impl R<u8, FLVL_A>

Source

pub fn variant(&self) -> Variant<u8, FLVL_A>

Get enumerated values variant

Source

pub fn is_empty(&self) -> bool

Checks if the value of the field is EMPTY

Source

pub fn is_quarter1(&self) -> bool

Checks if the value of the field is QUARTER1

Source

pub fn is_quarter2(&self) -> bool

Checks if the value of the field is QUARTER2

Source

pub fn is_quarter3(&self) -> bool

Checks if the value of the field is QUARTER3

Source

pub fn is_quarter4(&self) -> bool

Checks if the value of the field is QUARTER4

Source

pub fn is_full(&self) -> bool

Checks if the value of the field is FULL

Source§

impl R<bool, LFSDET_A>

Source

pub fn variant(&self) -> LFSDET_A

Get enumerated values variant

Source

pub fn is_no_error(&self) -> bool

Checks if the value of the field is NOERROR

Source

pub fn is_no_sync(&self) -> bool

Checks if the value of the field is NOSYNC

Source§

impl R<bool, AFSDET_A>

Source

pub fn variant(&self) -> AFSDET_A

Get enumerated values variant

Source

pub fn is_no_error(&self) -> bool

Checks if the value of the field is NOERROR

Source

pub fn is_early_sync(&self) -> bool

Checks if the value of the field is EARLYSYNC

Source§

impl R<bool, CNRDY_A>

Source

pub fn variant(&self) -> CNRDY_A

Get enumerated values variant

Source

pub fn is_ready(&self) -> bool

Checks if the value of the field is READY

Source

pub fn is_not_ready(&self) -> bool

Checks if the value of the field is NOTREADY

Source§

impl R<bool, FREQ_A>

Source

pub fn variant(&self) -> FREQ_A

Get enumerated values variant

Source

pub fn is_no_request(&self) -> bool

Checks if the value of the field is NOREQUEST

Source

pub fn is_request(&self) -> bool

Checks if the value of the field is REQUEST

Source§

impl R<bool, WCKCFG_A>

Source

pub fn variant(&self) -> WCKCFG_A

Get enumerated values variant

Source

pub fn is_correct(&self) -> bool

Checks if the value of the field is CORRECT

Source

pub fn is_wrong(&self) -> bool

Checks if the value of the field is WRONG

Source§

impl R<bool, MUTEDET_A>

Source

pub fn variant(&self) -> MUTEDET_A

Get enumerated values variant

Source

pub fn is_no_mute(&self) -> bool

Checks if the value of the field is NOMUTE

Source

pub fn is_mute(&self) -> bool

Checks if the value of the field is MUTE

Source§

impl R<bool, OVRUDR_A>

Source

pub fn variant(&self) -> OVRUDR_A

Get enumerated values variant

Source

pub fn is_no_error(&self) -> bool

Checks if the value of the field is NOERROR

Source

pub fn is_overrun(&self) -> bool

Checks if the value of the field is OVERRUN

Source§

impl R<u32, Reg<u32, _SR>>

Source

pub fn flvl(&self) -> FLVL_R

Bits 16:18 - FIFO level threshold

Source

pub fn lfsdet(&self) -> LFSDET_R

Bit 6 - Late frame synchronization detection

Source

pub fn afsdet(&self) -> AFSDET_R

Bit 5 - Anticipated frame synchronization detection

Source

pub fn cnrdy(&self) -> CNRDY_R

Bit 4 - Codec not ready

Source

pub fn freq(&self) -> FREQ_R

Bit 3 - FIFO request

Source

pub fn wckcfg(&self) -> WCKCFG_R

Bit 2 - Wrong clock configuration flag. This bit is read only

Source

pub fn mutedet(&self) -> MUTEDET_R

Bit 1 - Mute detection

Source

pub fn ovrudr(&self) -> OVRUDR_R

Bit 0 - Overrun / underrun

Source§

impl R<bool, CLFSDET_A>

Source

pub fn variant(&self) -> Variant<bool, CLFSDET_A>

Get enumerated values variant

Source

pub fn is_clear(&self) -> bool

Checks if the value of the field is CLEAR

Source§

impl R<bool, CAFSDET_A>

Source

pub fn variant(&self) -> Variant<bool, CAFSDET_A>

Get enumerated values variant

Source

pub fn is_clear(&self) -> bool

Checks if the value of the field is CLEAR

Source§

impl R<bool, CCNRDY_A>

Source

pub fn variant(&self) -> Variant<bool, CCNRDY_A>

Get enumerated values variant

Source

pub fn is_clear(&self) -> bool

Checks if the value of the field is CLEAR

Source§

impl R<bool, CWCKCFG_A>

Source

pub fn variant(&self) -> Variant<bool, CWCKCFG_A>

Get enumerated values variant

Source

pub fn is_clear(&self) -> bool

Checks if the value of the field is CLEAR

Source§

impl R<bool, CMUTEDET_A>

Source

pub fn variant(&self) -> Variant<bool, CMUTEDET_A>

Get enumerated values variant

Source

pub fn is_clear(&self) -> bool

Checks if the value of the field is CLEAR

Source§

impl R<bool, COVRUDR_A>

Source

pub fn variant(&self) -> Variant<bool, COVRUDR_A>

Get enumerated values variant

Source

pub fn is_clear(&self) -> bool

Checks if the value of the field is CLEAR

Source§

impl R<u32, Reg<u32, _CLRFR>>

Source

pub fn clfsdet(&self) -> CLFSDET_R

Bit 6 - Clear late frame synchronization detection flag

Source

pub fn cafsdet(&self) -> CAFSDET_R

Bit 5 - Clear anticipated frame synchronization detection flag

Source

pub fn ccnrdy(&self) -> CCNRDY_R

Bit 4 - Clear codec not ready flag

Source

pub fn cwckcfg(&self) -> CWCKCFG_R

Bit 2 - Clear wrong clock configuration flag

Source

pub fn cmutedet(&self) -> CMUTEDET_R

Bit 1 - Mute detection flag

Source

pub fn covrudr(&self) -> COVRUDR_R

Bit 0 - Clear overrun / underrun

Source§

impl R<u32, Reg<u32, _DR>>

Source

pub fn data(&self) -> DATA_R

Bits 0:31 - Data

Source§

impl R<u8, CKD_A>

Source

pub fn variant(&self) -> Variant<u8, CKD_A>

Get enumerated values variant

Source

pub fn is_div1(&self) -> bool

Checks if the value of the field is DIV1

Source

pub fn is_div2(&self) -> bool

Checks if the value of the field is DIV2

Source

pub fn is_div4(&self) -> bool

Checks if the value of the field is DIV4

Source§

impl R<bool, ARPE_A>

Source

pub fn variant(&self) -> ARPE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<u8, CMS_A>

Source

pub fn variant(&self) -> CMS_A

Get enumerated values variant

Source

pub fn is_edge_aligned(&self) -> bool

Checks if the value of the field is EDGEALIGNED

Source

pub fn is_center_aligned1(&self) -> bool

Checks if the value of the field is CENTERALIGNED1

Source

pub fn is_center_aligned2(&self) -> bool

Checks if the value of the field is CENTERALIGNED2

Source

pub fn is_center_aligned3(&self) -> bool

Checks if the value of the field is CENTERALIGNED3

Source§

impl R<bool, DIR_A>

Source

pub fn variant(&self) -> DIR_A

Get enumerated values variant

Source

pub fn is_up(&self) -> bool

Checks if the value of the field is UP

Source

pub fn is_down(&self) -> bool

Checks if the value of the field is DOWN

Source§

impl R<bool, OPM_A>

Source

pub fn variant(&self) -> OPM_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, URS_A>

Source

pub fn variant(&self) -> URS_A

Get enumerated values variant

Source

pub fn is_any_event(&self) -> bool

Checks if the value of the field is ANYEVENT

Source

pub fn is_counter_only(&self) -> bool

Checks if the value of the field is COUNTERONLY

Source§

impl R<bool, UDIS_A>

Source

pub fn variant(&self) -> UDIS_A

Get enumerated values variant

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source§

impl R<bool, CEN_A>

Source

pub fn variant(&self) -> CEN_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<u32, Reg<u32, _CR1>>

Source

pub fn ckd(&self) -> CKD_R

Bits 8:9 - Clock division

Source

pub fn arpe(&self) -> ARPE_R

Bit 7 - Auto-reload preload enable

Source

pub fn cms(&self) -> CMS_R

Bits 5:6 - Center-aligned mode selection

Source

pub fn dir(&self) -> DIR_R

Bit 4 - Direction

Source

pub fn opm(&self) -> OPM_R

Bit 3 - One-pulse mode

Source

pub fn urs(&self) -> URS_R

Bit 2 - Update request source

Source

pub fn udis(&self) -> UDIS_R

Bit 1 - Update disable

Source

pub fn cen(&self) -> CEN_R

Bit 0 - Counter enable

Source§

impl R<bool, TI1S_A>

Source

pub fn variant(&self) -> TI1S_A

Get enumerated values variant

Source

pub fn is_normal(&self) -> bool

Checks if the value of the field is NORMAL

Source

pub fn is_xor(&self) -> bool

Checks if the value of the field is XOR

Source§

impl R<u8, MMS_A>

Source

pub fn variant(&self) -> MMS_A

Get enumerated values variant

Source

pub fn is_reset(&self) -> bool

Checks if the value of the field is RESET

Source

pub fn is_enable(&self) -> bool

Checks if the value of the field is ENABLE

Source

pub fn is_update(&self) -> bool

Checks if the value of the field is UPDATE

Source

pub fn is_compare_pulse(&self) -> bool

Checks if the value of the field is COMPAREPULSE

Source

pub fn is_compare_oc1(&self) -> bool

Checks if the value of the field is COMPAREOC1

Source

pub fn is_compare_oc2(&self) -> bool

Checks if the value of the field is COMPAREOC2

Source

pub fn is_compare_oc3(&self) -> bool

Checks if the value of the field is COMPAREOC3

Source

pub fn is_compare_oc4(&self) -> bool

Checks if the value of the field is COMPAREOC4

Source§

impl R<bool, CCDS_A>

Source

pub fn variant(&self) -> CCDS_A

Get enumerated values variant

Source

pub fn is_on_compare(&self) -> bool

Checks if the value of the field is ONCOMPARE

Source

pub fn is_on_update(&self) -> bool

Checks if the value of the field is ONUPDATE

Source§

impl R<u32, Reg<u32, _CR2>>

Source

pub fn ti1s(&self) -> TI1S_R

Bit 7 - TI1 selection

Source

pub fn mms(&self) -> MMS_R

Bits 4:6 - Master mode selection

Source

pub fn ccds(&self) -> CCDS_R

Bit 3 - Capture/compare DMA selection

Source§

impl R<bool, ETP_A>

Source

pub fn variant(&self) -> ETP_A

Get enumerated values variant

Source

pub fn is_not_inverted(&self) -> bool

Checks if the value of the field is NOTINVERTED

Source

pub fn is_inverted(&self) -> bool

Checks if the value of the field is INVERTED

Source§

impl R<bool, ECE_A>

Source

pub fn variant(&self) -> ECE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<u8, ETPS_A>

Source

pub fn variant(&self) -> ETPS_A

Get enumerated values variant

Source

pub fn is_div1(&self) -> bool

Checks if the value of the field is DIV1

Source

pub fn is_div2(&self) -> bool

Checks if the value of the field is DIV2

Source

pub fn is_div4(&self) -> bool

Checks if the value of the field is DIV4

Source

pub fn is_div8(&self) -> bool

Checks if the value of the field is DIV8

Source§

impl R<u8, ETF_A>

Source

pub fn variant(&self) -> ETF_A

Get enumerated values variant

Source

pub fn is_no_filter(&self) -> bool

Checks if the value of the field is NOFILTER

Source

pub fn is_fck_int_n2(&self) -> bool

Checks if the value of the field is FCK_INT_N2

Source

pub fn is_fck_int_n4(&self) -> bool

Checks if the value of the field is FCK_INT_N4

Source

pub fn is_fck_int_n8(&self) -> bool

Checks if the value of the field is FCK_INT_N8

Source

pub fn is_fdts_div2_n6(&self) -> bool

Checks if the value of the field is FDTS_DIV2_N6

Source

pub fn is_fdts_div2_n8(&self) -> bool

Checks if the value of the field is FDTS_DIV2_N8

Source

pub fn is_fdts_div4_n6(&self) -> bool

Checks if the value of the field is FDTS_DIV4_N6

Source

pub fn is_fdts_div4_n8(&self) -> bool

Checks if the value of the field is FDTS_DIV4_N8

Source

pub fn is_fdts_div8_n6(&self) -> bool

Checks if the value of the field is FDTS_DIV8_N6

Source

pub fn is_fdts_div8_n8(&self) -> bool

Checks if the value of the field is FDTS_DIV8_N8

Source

pub fn is_fdts_div16_n5(&self) -> bool

Checks if the value of the field is FDTS_DIV16_N5

Source

pub fn is_fdts_div16_n6(&self) -> bool

Checks if the value of the field is FDTS_DIV16_N6

Source

pub fn is_fdts_div16_n8(&self) -> bool

Checks if the value of the field is FDTS_DIV16_N8

Source

pub fn is_fdts_div32_n5(&self) -> bool

Checks if the value of the field is FDTS_DIV32_N5

Source

pub fn is_fdts_div32_n6(&self) -> bool

Checks if the value of the field is FDTS_DIV32_N6

Source

pub fn is_fdts_div32_n8(&self) -> bool

Checks if the value of the field is FDTS_DIV32_N8

Source§

impl R<bool, MSM_A>

Source

pub fn variant(&self) -> MSM_A

Get enumerated values variant

Source

pub fn is_no_sync(&self) -> bool

Checks if the value of the field is NOSYNC

Source

pub fn is_sync(&self) -> bool

Checks if the value of the field is SYNC

Source§

impl R<u8, TS_A>

Source

pub fn variant(&self) -> Variant<u8, TS_A>

Get enumerated values variant

Source

pub fn is_itr0(&self) -> bool

Checks if the value of the field is ITR0

Source

pub fn is_itr1(&self) -> bool

Checks if the value of the field is ITR1

Source

pub fn is_itr2(&self) -> bool

Checks if the value of the field is ITR2

Source

pub fn is_ti1f_ed(&self) -> bool

Checks if the value of the field is TI1F_ED

Source

pub fn is_ti1fp1(&self) -> bool

Checks if the value of the field is TI1FP1

Source

pub fn is_ti2fp2(&self) -> bool

Checks if the value of the field is TI2FP2

Source

pub fn is_etrf(&self) -> bool

Checks if the value of the field is ETRF

Source§

impl R<u8, SMS_A>

Source

pub fn variant(&self) -> SMS_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_encoder_mode_1(&self) -> bool

Checks if the value of the field is ENCODER_MODE_1

Source

pub fn is_encoder_mode_2(&self) -> bool

Checks if the value of the field is ENCODER_MODE_2

Source

pub fn is_encoder_mode_3(&self) -> bool

Checks if the value of the field is ENCODER_MODE_3

Source

pub fn is_reset_mode(&self) -> bool

Checks if the value of the field is RESET_MODE

Source

pub fn is_gated_mode(&self) -> bool

Checks if the value of the field is GATED_MODE

Source

pub fn is_trigger_mode(&self) -> bool

Checks if the value of the field is TRIGGER_MODE

Source

pub fn is_ext_clock_mode(&self) -> bool

Checks if the value of the field is EXT_CLOCK_MODE

Source§

impl R<u32, Reg<u32, _SMCR>>

Source

pub fn etp(&self) -> ETP_R

Bit 15 - External trigger polarity

Source

pub fn ece(&self) -> ECE_R

Bit 14 - External clock enable

Source

pub fn etps(&self) -> ETPS_R

Bits 12:13 - External trigger prescaler

Source

pub fn etf(&self) -> ETF_R

Bits 8:11 - External trigger filter

Source

pub fn msm(&self) -> MSM_R

Bit 7 - Master/Slave mode

Source

pub fn ts(&self) -> TS_R

Bits 4:6 - Trigger selection

Source

pub fn sms(&self) -> SMS_R

Bits 0:2 - Slave mode selection

Source§

impl R<bool, TDE_A>

Source

pub fn variant(&self) -> TDE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, CC4DE_A>

Source

pub fn variant(&self) -> CC4DE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, UDE_A>

Source

pub fn variant(&self) -> UDE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, TIE_A>

Source

pub fn variant(&self) -> TIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, CC4IE_A>

Source

pub fn variant(&self) -> CC4IE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, UIE_A>

Source

pub fn variant(&self) -> UIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<u32, Reg<u32, _DIER>>

Source

pub fn tde(&self) -> TDE_R

Bit 14 - Trigger DMA request enable

Source

pub fn comde(&self) -> COMDE_R

Bit 13 - COM DMA request enable

Source

pub fn cc4de(&self) -> CC4DE_R

Bit 12 - Capture/Compare 4 DMA request enable

Source

pub fn cc3de(&self) -> CC3DE_R

Bit 11 - Capture/Compare 3 DMA request enable

Source

pub fn cc2de(&self) -> CC2DE_R

Bit 10 - Capture/Compare 2 DMA request enable

Source

pub fn cc1de(&self) -> CC1DE_R

Bit 9 - Capture/Compare 1 DMA request enable

Source

pub fn ude(&self) -> UDE_R

Bit 8 - Update DMA request enable

Source

pub fn tie(&self) -> TIE_R

Bit 6 - Trigger interrupt enable

Source

pub fn cc4ie(&self) -> CC4IE_R

Bit 4 - Capture/Compare 4 interrupt enable

Source

pub fn cc3ie(&self) -> CC3IE_R

Bit 3 - Capture/Compare 3 interrupt enable

Source

pub fn cc2ie(&self) -> CC2IE_R

Bit 2 - Capture/Compare 2 interrupt enable

Source

pub fn cc1ie(&self) -> CC1IE_R

Bit 1 - Capture/Compare 1 interrupt enable

Source

pub fn uie(&self) -> UIE_R

Bit 0 - Update interrupt enable

Source§

impl R<bool, CC4OF_A>

Source

pub fn variant(&self) -> Variant<bool, CC4OF_A>

Get enumerated values variant

Source

pub fn is_overcapture(&self) -> bool

Checks if the value of the field is OVERCAPTURE

Source§

impl R<bool, TIF_A>

Source

pub fn variant(&self) -> TIF_A

Get enumerated values variant

Source

pub fn is_no_trigger(&self) -> bool

Checks if the value of the field is NOTRIGGER

Source

pub fn is_trigger(&self) -> bool

Checks if the value of the field is TRIGGER

Source§

impl R<bool, CC4IF_A>

Source

pub fn variant(&self) -> Variant<bool, CC4IF_A>

Get enumerated values variant

Source

pub fn is_match_(&self) -> bool

Checks if the value of the field is MATCH

Source§

impl R<bool, UIF_A>

Source

pub fn variant(&self) -> UIF_A

Get enumerated values variant

Source

pub fn is_clear(&self) -> bool

Checks if the value of the field is CLEAR

Source

pub fn is_update_pending(&self) -> bool

Checks if the value of the field is UPDATEPENDING

Source§

impl R<u32, Reg<u32, _SR>>

Source

pub fn cc4of(&self) -> CC4OF_R

Bit 12 - Capture/Compare 4 overcapture flag

Source

pub fn cc3of(&self) -> CC3OF_R

Bit 11 - Capture/Compare 3 overcapture flag

Source

pub fn cc2of(&self) -> CC2OF_R

Bit 10 - Capture/compare 2 overcapture flag

Source

pub fn cc1of(&self) -> CC1OF_R

Bit 9 - Capture/Compare 1 overcapture flag

Source

pub fn tif(&self) -> TIF_R

Bit 6 - Trigger interrupt flag

Source

pub fn cc4if(&self) -> CC4IF_R

Bit 4 - Capture/Compare 4 interrupt flag

Source

pub fn cc3if(&self) -> CC3IF_R

Bit 3 - Capture/Compare 3 interrupt flag

Source

pub fn cc2if(&self) -> CC2IF_R

Bit 2 - Capture/Compare 2 interrupt flag

Source

pub fn cc1if(&self) -> CC1IF_R

Bit 1 - Capture/compare 1 interrupt flag

Source

pub fn uif(&self) -> UIF_R

Bit 0 - Update interrupt flag

Source§

impl R<u8, OC2M_A>

Source

pub fn variant(&self) -> Variant<u8, OC2M_A>

Get enumerated values variant

Source

pub fn is_frozen(&self) -> bool

Checks if the value of the field is FROZEN

Source

pub fn is_active_on_match(&self) -> bool

Checks if the value of the field is ACTIVEONMATCH

Source

pub fn is_inactive_on_match(&self) -> bool

Checks if the value of the field is INACTIVEONMATCH

Source

pub fn is_toggle(&self) -> bool

Checks if the value of the field is TOGGLE

Source

pub fn is_force_inactive(&self) -> bool

Checks if the value of the field is FORCEINACTIVE

Source

pub fn is_force_active(&self) -> bool

Checks if the value of the field is FORCEACTIVE

Source

pub fn is_pwm_mode1(&self) -> bool

Checks if the value of the field is PWMMODE1

Source

pub fn is_pwm_mode2(&self) -> bool

Checks if the value of the field is PWMMODE2

Source

pub fn is_opm_mode1(&self) -> bool

Checks if the value of the field is OPMMODE1

Source

pub fn is_opm_mode2(&self) -> bool

Checks if the value of the field is OPMMODE2

Source

pub fn is_combined_pwm_mode1(&self) -> bool

Checks if the value of the field is COMBINEDPWMMODE1

Source

pub fn is_combined_pwm_mode2(&self) -> bool

Checks if the value of the field is COMBINEDPWMMODE2

Source

pub fn is_asymmetric_pwm_mode1(&self) -> bool

Checks if the value of the field is ASYMMETRICPWMMODE1

Source

pub fn is_asymmetric_pwm_mode2(&self) -> bool

Checks if the value of the field is ASYMMETRICPWMMODE2

Source§

impl R<bool, OC2PE_A>

Source

pub fn variant(&self) -> OC2PE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<u8, CC2S_A>

Source

pub fn variant(&self) -> Variant<u8, CC2S_A>

Get enumerated values variant

Source

pub fn is_output(&self) -> bool

Checks if the value of the field is OUTPUT

Source§

impl R<bool, OC1PE_A>

Source

pub fn variant(&self) -> OC1PE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<u8, CC1S_A>

Source

pub fn variant(&self) -> Variant<u8, CC1S_A>

Get enumerated values variant

Source

pub fn is_output(&self) -> bool

Checks if the value of the field is OUTPUT

Source§

impl R<u32, Reg<u32, _CCMR1_OUTPUT>>

Source

pub fn oc2ce(&self) -> OC2CE_R

Bit 15 - Output compare 2 clear enable

Source

pub fn oc2m(&self) -> OC2M_R

Bits 12:14 - Output compare 2 mode

Source

pub fn oc2pe(&self) -> OC2PE_R

Bit 11 - Output compare 2 preload enable

Source

pub fn oc2fe(&self) -> OC2FE_R

Bit 10 - Output compare 2 fast enable

Source

pub fn cc2s(&self) -> CC2S_R

Bits 8:9 - Capture/Compare 2 selection

Source

pub fn oc1ce(&self) -> OC1CE_R

Bit 7 - Output compare 1 clear enable

Source

pub fn oc1m(&self) -> OC1M_R

Bits 4:6 - Output compare 1 mode

Source

pub fn oc1pe(&self) -> OC1PE_R

Bit 3 - Output compare 1 preload enable

Source

pub fn oc1fe(&self) -> OC1FE_R

Bit 2 - Output compare 1 fast enable

Source

pub fn cc1s(&self) -> CC1S_R

Bits 0:1 - Capture/Compare 1 selection

Source§

impl R<u8, CC2S_A>

Source

pub fn variant(&self) -> Variant<u8, CC2S_A>

Get enumerated values variant

Source

pub fn is_ti2(&self) -> bool

Checks if the value of the field is TI2

Source

pub fn is_ti1(&self) -> bool

Checks if the value of the field is TI1

Source

pub fn is_trc(&self) -> bool

Checks if the value of the field is TRC

Source§

impl R<u8, IC1F_A>

Source

pub fn variant(&self) -> IC1F_A

Get enumerated values variant

Source

pub fn is_no_filter(&self) -> bool

Checks if the value of the field is NOFILTER

Source

pub fn is_fck_int_n2(&self) -> bool

Checks if the value of the field is FCK_INT_N2

Source

pub fn is_fck_int_n4(&self) -> bool

Checks if the value of the field is FCK_INT_N4

Source

pub fn is_fck_int_n8(&self) -> bool

Checks if the value of the field is FCK_INT_N8

Source

pub fn is_fdts_div2_n6(&self) -> bool

Checks if the value of the field is FDTS_DIV2_N6

Source

pub fn is_fdts_div2_n8(&self) -> bool

Checks if the value of the field is FDTS_DIV2_N8

Source

pub fn is_fdts_div4_n6(&self) -> bool

Checks if the value of the field is FDTS_DIV4_N6

Source

pub fn is_fdts_div4_n8(&self) -> bool

Checks if the value of the field is FDTS_DIV4_N8

Source

pub fn is_fdts_div8_n6(&self) -> bool

Checks if the value of the field is FDTS_DIV8_N6

Source

pub fn is_fdts_div8_n8(&self) -> bool

Checks if the value of the field is FDTS_DIV8_N8

Source

pub fn is_fdts_div16_n5(&self) -> bool

Checks if the value of the field is FDTS_DIV16_N5

Source

pub fn is_fdts_div16_n6(&self) -> bool

Checks if the value of the field is FDTS_DIV16_N6

Source

pub fn is_fdts_div16_n8(&self) -> bool

Checks if the value of the field is FDTS_DIV16_N8

Source

pub fn is_fdts_div32_n5(&self) -> bool

Checks if the value of the field is FDTS_DIV32_N5

Source

pub fn is_fdts_div32_n6(&self) -> bool

Checks if the value of the field is FDTS_DIV32_N6

Source

pub fn is_fdts_div32_n8(&self) -> bool

Checks if the value of the field is FDTS_DIV32_N8

Source§

impl R<u8, CC1S_A>

Source

pub fn variant(&self) -> Variant<u8, CC1S_A>

Get enumerated values variant

Source

pub fn is_ti1(&self) -> bool

Checks if the value of the field is TI1

Source

pub fn is_ti2(&self) -> bool

Checks if the value of the field is TI2

Source

pub fn is_trc(&self) -> bool

Checks if the value of the field is TRC

Source§

impl R<u32, Reg<u32, _CCMR1_INPUT>>

Source

pub fn ic2f(&self) -> IC2F_R

Bits 12:15 - Input capture 2 filter

Source

pub fn ic2psc(&self) -> IC2PSC_R

Bits 10:11 - Input capture 2 prescaler

Source

pub fn cc2s(&self) -> CC2S_R

Bits 8:9 - Capture/compare 2 selection

Source

pub fn ic1f(&self) -> IC1F_R

Bits 4:7 - Input capture 1 filter

Source

pub fn ic1psc(&self) -> IC1PSC_R

Bits 2:3 - Input capture 1 prescaler

Source

pub fn cc1s(&self) -> CC1S_R

Bits 0:1 - Capture/Compare 1 selection

Source§

impl R<u8, OC4M_A>

Source

pub fn variant(&self) -> Variant<u8, OC4M_A>

Get enumerated values variant

Source

pub fn is_frozen(&self) -> bool

Checks if the value of the field is FROZEN

Source

pub fn is_active_on_match(&self) -> bool

Checks if the value of the field is ACTIVEONMATCH

Source

pub fn is_inactive_on_match(&self) -> bool

Checks if the value of the field is INACTIVEONMATCH

Source

pub fn is_toggle(&self) -> bool

Checks if the value of the field is TOGGLE

Source

pub fn is_force_inactive(&self) -> bool

Checks if the value of the field is FORCEINACTIVE

Source

pub fn is_force_active(&self) -> bool

Checks if the value of the field is FORCEACTIVE

Source

pub fn is_pwm_mode1(&self) -> bool

Checks if the value of the field is PWMMODE1

Source

pub fn is_pwm_mode2(&self) -> bool

Checks if the value of the field is PWMMODE2

Source

pub fn is_opm_mode1(&self) -> bool

Checks if the value of the field is OPMMODE1

Source

pub fn is_opm_mode2(&self) -> bool

Checks if the value of the field is OPMMODE2

Source

pub fn is_combined_pwm_mode1(&self) -> bool

Checks if the value of the field is COMBINEDPWMMODE1

Source

pub fn is_combined_pwm_mode2(&self) -> bool

Checks if the value of the field is COMBINEDPWMMODE2

Source

pub fn is_asymmetric_pwm_mode1(&self) -> bool

Checks if the value of the field is ASYMMETRICPWMMODE1

Source

pub fn is_asymmetric_pwm_mode2(&self) -> bool

Checks if the value of the field is ASYMMETRICPWMMODE2

Source§

impl R<bool, OC4PE_A>

Source

pub fn variant(&self) -> OC4PE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<u8, CC4S_A>

Source

pub fn variant(&self) -> Variant<u8, CC4S_A>

Get enumerated values variant

Source

pub fn is_output(&self) -> bool

Checks if the value of the field is OUTPUT

Source§

impl R<bool, OC3PE_A>

Source

pub fn variant(&self) -> OC3PE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<u8, CC3S_A>

Source

pub fn variant(&self) -> Variant<u8, CC3S_A>

Get enumerated values variant

Source

pub fn is_output(&self) -> bool

Checks if the value of the field is OUTPUT

Source§

impl R<u32, Reg<u32, _CCMR2_OUTPUT>>

Source

pub fn oc4ce(&self) -> OC4CE_R

Bit 15 - Output compare 4 clear enable

Source

pub fn oc4m(&self) -> OC4M_R

Bits 12:14 - Output compare 4 mode

Source

pub fn oc4pe(&self) -> OC4PE_R

Bit 11 - Output compare 4 preload enable

Source

pub fn oc4fe(&self) -> OC4FE_R

Bit 10 - Output compare 4 fast enable

Source

pub fn cc4s(&self) -> CC4S_R

Bits 8:9 - Capture/Compare 4 selection

Source

pub fn oc3ce(&self) -> OC3CE_R

Bit 7 - Output compare 3 clear enable

Source

pub fn oc3m(&self) -> OC3M_R

Bits 4:6 - Output compare 3 mode

Source

pub fn oc3pe(&self) -> OC3PE_R

Bit 3 - Output compare 3 preload enable

Source

pub fn oc3fe(&self) -> OC3FE_R

Bit 2 - Output compare 3 fast enable

Source

pub fn cc3s(&self) -> CC3S_R

Bits 0:1 - Capture/Compare 3 selection

Source§

impl R<u8, CC4S_A>

Source

pub fn variant(&self) -> Variant<u8, CC4S_A>

Get enumerated values variant

Source

pub fn is_ti4(&self) -> bool

Checks if the value of the field is TI4

Source

pub fn is_ti3(&self) -> bool

Checks if the value of the field is TI3

Source

pub fn is_trc(&self) -> bool

Checks if the value of the field is TRC

Source§

impl R<u8, CC3S_A>

Source

pub fn variant(&self) -> Variant<u8, CC3S_A>

Get enumerated values variant

Source

pub fn is_ti3(&self) -> bool

Checks if the value of the field is TI3

Source

pub fn is_ti4(&self) -> bool

Checks if the value of the field is TI4

Source

pub fn is_trc(&self) -> bool

Checks if the value of the field is TRC

Source§

impl R<u32, Reg<u32, _CCMR2_INPUT>>

Source

pub fn ic4f(&self) -> IC4F_R

Bits 12:15 - Input capture 4 filter

Source

pub fn ic4psc(&self) -> IC4PSC_R

Bits 10:11 - Input capture 4 prescaler

Source

pub fn cc4s(&self) -> CC4S_R

Bits 8:9 - Capture/Compare 4 selection

Source

pub fn ic3f(&self) -> IC3F_R

Bits 4:7 - Input capture 3 filter

Source

pub fn ic3psc(&self) -> IC3PSC_R

Bits 2:3 - Input capture 3 prescaler

Source

pub fn cc3s(&self) -> CC3S_R

Bits 0:1 - Capture/Compare 3 selection

Source§

impl R<u32, Reg<u32, _CCER>>

Source

pub fn cc4np(&self) -> CC4NP_R

Bit 15 - Capture/Compare 4 output Polarity

Source

pub fn cc4p(&self) -> CC4P_R

Bit 13 - Capture/Compare 3 output Polarity

Source

pub fn cc4e(&self) -> CC4E_R

Bit 12 - Capture/Compare 4 output enable

Source

pub fn cc3np(&self) -> CC3NP_R

Bit 11 - Capture/Compare 3 output Polarity

Source

pub fn cc3p(&self) -> CC3P_R

Bit 9 - Capture/Compare 3 output Polarity

Source

pub fn cc3e(&self) -> CC3E_R

Bit 8 - Capture/Compare 3 output enable

Source

pub fn cc2np(&self) -> CC2NP_R

Bit 7 - Capture/Compare 2 output Polarity

Source

pub fn cc2p(&self) -> CC2P_R

Bit 5 - Capture/Compare 2 output Polarity

Source

pub fn cc2e(&self) -> CC2E_R

Bit 4 - Capture/Compare 2 output enable

Source

pub fn cc1np(&self) -> CC1NP_R

Bit 3 - Capture/Compare 1 output Polarity

Source

pub fn cc1p(&self) -> CC1P_R

Bit 1 - Capture/Compare 1 output Polarity

Source

pub fn cc1e(&self) -> CC1E_R

Bit 0 - Capture/Compare 1 output enable

Source§

impl R<u32, Reg<u32, _CNT>>

Source

pub fn cnt(&self) -> CNT_R

Bits 0:31 - Counter value

Source§

impl R<u32, Reg<u32, _PSC>>

Source

pub fn psc(&self) -> PSC_R

Bits 0:15 - Prescaler value

Source§

impl R<u32, Reg<u32, _ARR>>

Source

pub fn arr(&self) -> ARR_R

Bits 0:31 - Auto-reload value

Source§

impl R<u32, Reg<u32, _CCR>>

Source

pub fn ccr(&self) -> CCR_R

Bits 0:31 - Capture/Compare 1 value

Source§

impl R<u32, Reg<u32, _DCR>>

Source

pub fn dbl(&self) -> DBL_R

Bits 8:12 - DMA burst length

Source

pub fn dba(&self) -> DBA_R

Bits 0:4 - DMA base address

Source§

impl R<u32, Reg<u32, _DMAR>>

Source

pub fn dmab(&self) -> DMAB_R

Bits 0:15 - DMA register for burst accesses

Source§

impl R<u32, Reg<u32, _OR>>

Source

pub fn etr_rmp(&self) -> ETR_RMP_R

Bits 0:2 - Timer2 ETR remap

Source

pub fn ti4_rmp(&self) -> TI4_RMP_R

Bits 3:4 - Internal trigger

Source§

impl R<bool, CEN_A>

Source

pub fn variant(&self) -> CEN_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, UDIS_A>

Source

pub fn variant(&self) -> UDIS_A

Get enumerated values variant

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source§

impl R<bool, URS_A>

Source

pub fn variant(&self) -> URS_A

Get enumerated values variant

Source

pub fn is_any_event(&self) -> bool

Checks if the value of the field is ANYEVENT

Source

pub fn is_counter_only(&self) -> bool

Checks if the value of the field is COUNTERONLY

Source§

impl R<bool, ARPE_A>

Source

pub fn variant(&self) -> ARPE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<u8, CKD_A>

Source

pub fn variant(&self) -> Variant<u8, CKD_A>

Get enumerated values variant

Source

pub fn is_div1(&self) -> bool

Checks if the value of the field is DIV1

Source

pub fn is_div2(&self) -> bool

Checks if the value of the field is DIV2

Source

pub fn is_div4(&self) -> bool

Checks if the value of the field is DIV4

Source§

impl R<u32, Reg<u32, _CR1>>

Source

pub fn cen(&self) -> CEN_R

Bit 0 - Counter enable

Source

pub fn udis(&self) -> UDIS_R

Bit 1 - Update disable

Source

pub fn urs(&self) -> URS_R

Bit 2 - Update request source

Source

pub fn opm(&self) -> OPM_R

Bit 3 - One-pulse mode

Source

pub fn arpe(&self) -> ARPE_R

Bit 7 - Auto-reload preload enable

Source

pub fn ckd(&self) -> CKD_R

Bits 8:9 - Clock division

Source

pub fn uifremap(&self) -> UIFREMAP_R

Bit 11 - UIF status bit remapping

Source§

impl R<u32, Reg<u32, _CR2>>

Source

pub fn ois1n(&self) -> OIS1N_R

Bit 9 - Output Idle state 1

Source

pub fn ois1(&self) -> OIS1_R

Bit 8 - Output Idle state 1

Source

pub fn ccds(&self) -> CCDS_R

Bit 3 - Capture/compare DMA selection

Source

pub fn ccus(&self) -> CCUS_R

Bit 2 - Capture/compare control update selection

Source

pub fn ccpc(&self) -> CCPC_R

Bit 0 - Capture/compare preloaded control

Source§

impl R<bool, UIE_A>

Source

pub fn variant(&self) -> UIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<u32, Reg<u32, _DIER>>

Source

pub fn tde(&self) -> TDE_R

Bit 14 - Trigger DMA request enable

Source

pub fn comde(&self) -> COMDE_R

Bit 13 - COM DMA request enable

Source

pub fn cc1de(&self) -> CC1DE_R

Bit 9 - Capture/Compare 1 DMA request enable

Source

pub fn ude(&self) -> UDE_R

Bit 8 - Update DMA request enable

Source

pub fn bie(&self) -> BIE_R

Bit 7 - Break interrupt enable

Source

pub fn tie(&self) -> TIE_R

Bit 6 - Trigger interrupt enable

Source

pub fn comie(&self) -> COMIE_R

Bit 5 - COM interrupt enable

Source

pub fn cc1ie(&self) -> CC1IE_R

Bit 1 - Capture/Compare 1 interrupt enable

Source

pub fn uie(&self) -> UIE_R

Bit 0 - Update interrupt enable

Source§

impl R<bool, UIF_A>

Source

pub fn variant(&self) -> UIF_A

Get enumerated values variant

Source

pub fn is_clear(&self) -> bool

Checks if the value of the field is CLEAR

Source

pub fn is_update_pending(&self) -> bool

Checks if the value of the field is UPDATEPENDING

Source§

impl R<u32, Reg<u32, _SR>>

Source

pub fn cc1of(&self) -> CC1OF_R

Bit 9 - Capture/Compare 1 overcapture flag

Source

pub fn bif(&self) -> BIF_R

Bit 7 - Break interrupt flag

Source

pub fn tif(&self) -> TIF_R

Bit 6 - Trigger interrupt flag

Source

pub fn comif(&self) -> COMIF_R

Bit 5 - COM interrupt flag

Source

pub fn cc1if(&self) -> CC1IF_R

Bit 1 - Capture/compare 1 interrupt flag

Source

pub fn uif(&self) -> UIF_R

Bit 0 - Update interrupt flag

Source§

impl R<u32, Reg<u32, _CCMR1_OUTPUT>>

Source

pub fn oc1m_2(&self) -> OC1M_2_R

Bit 16 - Output Compare 1 mode

Source

pub fn oc1m(&self) -> OC1M_R

Bits 4:6 - Output Compare 1 mode

Source

pub fn oc1pe(&self) -> OC1PE_R

Bit 3 - Output Compare 1 preload enable

Source

pub fn oc1fe(&self) -> OC1FE_R

Bit 2 - Output Compare 1 fast enable

Source

pub fn cc1s(&self) -> CC1S_R

Bits 0:1 - Capture/Compare 1 selection

Source§

impl R<u32, Reg<u32, _CCMR1_INPUT>>

Source

pub fn ic1f(&self) -> IC1F_R

Bits 4:7 - Input capture 1 filter

Source

pub fn ic1psc(&self) -> IC1PSC_R

Bits 2:3 - Input capture 1 prescaler

Source

pub fn cc1s(&self) -> CC1S_R

Bits 0:1 - Capture/Compare 1 selection

Source§

impl R<u32, Reg<u32, _CCER>>

Source

pub fn cc1np(&self) -> CC1NP_R

Bit 3 - Capture/Compare 1 output Polarity

Source

pub fn cc1ne(&self) -> CC1NE_R

Bit 2 - Capture/Compare 1 complementary output enable

Source

pub fn cc1p(&self) -> CC1P_R

Bit 1 - Capture/Compare 1 output Polarity

Source

pub fn cc1e(&self) -> CC1E_R

Bit 0 - Capture/Compare 1 output enable

Source§

impl R<u32, Reg<u32, _CNT>>

Source

pub fn cnt(&self) -> CNT_R

Bits 0:15 - counter value

Source

pub fn uifcpy(&self) -> UIFCPY_R

Bit 31 - UIF Copy

Source§

impl R<u32, Reg<u32, _PSC>>

Source

pub fn psc(&self) -> PSC_R

Bits 0:15 - Prescaler value

Source§

impl R<u32, Reg<u32, _ARR>>

Source

pub fn arr(&self) -> ARR_R

Bits 0:15 - Auto-reload value

Source§

impl R<u32, Reg<u32, _RCR>>

Source

pub fn rep(&self) -> REP_R

Bits 0:7 - Repetition counter value

Source§

impl R<u32, Reg<u32, _CCR1>>

Source

pub fn ccr1(&self) -> CCR1_R

Bits 0:15 - Capture/Compare 1 value

Source§

impl R<u32, Reg<u32, _BDTR>>

Source

pub fn dtg(&self) -> DTG_R

Bits 0:7 - Dead-time generator setup

Source

pub fn lock(&self) -> LOCK_R

Bits 8:9 - Lock configuration

Source

pub fn ossi(&self) -> OSSI_R

Bit 10 - Off-state selection for Idle mode

Source

pub fn ossr(&self) -> OSSR_R

Bit 11 - Off-state selection for Run mode

Source

pub fn bke(&self) -> BKE_R

Bit 12 - Break enable

Source

pub fn bkp(&self) -> BKP_R

Bit 13 - Break polarity

Source

pub fn aoe(&self) -> AOE_R

Bit 14 - Automatic output enable

Source

pub fn moe(&self) -> MOE_R

Bit 15 - Main output enable

Source

pub fn bkf(&self) -> BKF_R

Bits 16:19 - Break filter

Source§

impl R<u32, Reg<u32, _DCR>>

Source

pub fn dbl(&self) -> DBL_R

Bits 8:12 - DMA burst length

Source

pub fn dba(&self) -> DBA_R

Bits 0:4 - DMA base address

Source§

impl R<u32, Reg<u32, _DMAR>>

Source

pub fn dmab(&self) -> DMAB_R

Bits 0:15 - DMA register for burst accesses

Source§

impl R<bool, CEN_A>

Source

pub fn variant(&self) -> CEN_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, UDIS_A>

Source

pub fn variant(&self) -> UDIS_A

Get enumerated values variant

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source§

impl R<bool, URS_A>

Source

pub fn variant(&self) -> URS_A

Get enumerated values variant

Source

pub fn is_any_event(&self) -> bool

Checks if the value of the field is ANYEVENT

Source

pub fn is_counter_only(&self) -> bool

Checks if the value of the field is COUNTERONLY

Source§

impl R<bool, OPM_A>

Source

pub fn variant(&self) -> OPM_A

Get enumerated values variant

Source

pub fn is_not_stopped(&self) -> bool

Checks if the value of the field is NOTSTOPPED

Source

pub fn is_stopped(&self) -> bool

Checks if the value of the field is STOPPED

Source§

impl R<bool, ARPE_A>

Source

pub fn variant(&self) -> ARPE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<u8, CKD_A>

Source

pub fn variant(&self) -> Variant<u8, CKD_A>

Get enumerated values variant

Source

pub fn is_div1(&self) -> bool

Checks if the value of the field is DIV1

Source

pub fn is_div2(&self) -> bool

Checks if the value of the field is DIV2

Source

pub fn is_div4(&self) -> bool

Checks if the value of the field is DIV4

Source§

impl R<u32, Reg<u32, _CR1>>

Source

pub fn cen(&self) -> CEN_R

Bit 0 - Counter enable

Source

pub fn udis(&self) -> UDIS_R

Bit 1 - Update disable

Source

pub fn urs(&self) -> URS_R

Bit 2 - Update request source

Source

pub fn opm(&self) -> OPM_R

Bit 3 - One-pulse mode

Source

pub fn arpe(&self) -> ARPE_R

Bit 7 - Auto-reload preload enable

Source

pub fn ckd(&self) -> CKD_R

Bits 8:9 - Clock division

Source

pub fn uifremap(&self) -> UIFREMAP_R

Bit 11 - UIF status bit remapping

Source§

impl R<bool, OIS1N_A>

Source

pub fn variant(&self) -> OIS1N_A

Get enumerated values variant

Source

pub fn is_low(&self) -> bool

Checks if the value of the field is LOW

Source

pub fn is_high(&self) -> bool

Checks if the value of the field is HIGH

Source§

impl R<bool, OIS1_A>

Source

pub fn variant(&self) -> OIS1_A

Get enumerated values variant

Source

pub fn is_low(&self) -> bool

Checks if the value of the field is LOW

Source

pub fn is_high(&self) -> bool

Checks if the value of the field is HIGH

Source§

impl R<bool, CCDS_A>

Source

pub fn variant(&self) -> CCDS_A

Get enumerated values variant

Source

pub fn is_on_compare(&self) -> bool

Checks if the value of the field is ONCOMPARE

Source

pub fn is_on_update(&self) -> bool

Checks if the value of the field is ONUPDATE

Source§

impl R<bool, CCUS_A>

Source

pub fn variant(&self) -> CCUS_A

Get enumerated values variant

Source

pub fn is_default(&self) -> bool

Checks if the value of the field is DEFAULT

Source

pub fn is_with_rising_edge(&self) -> bool

Checks if the value of the field is WITHRISINGEDGE

Source§

impl R<bool, CCPC_A>

Source

pub fn variant(&self) -> CCPC_A

Get enumerated values variant

Source

pub fn is_not_preloaded(&self) -> bool

Checks if the value of the field is NOTPRELOADED

Source

pub fn is_preloaded(&self) -> bool

Checks if the value of the field is PRELOADED

Source§

impl R<u32, Reg<u32, _CR2>>

Source

pub fn ois1n(&self) -> OIS1N_R

Bit 9 - Output Idle state 1

Source

pub fn ois1(&self) -> OIS1_R

Bit 8 - Output Idle state 1

Source

pub fn ccds(&self) -> CCDS_R

Bit 3 - Capture/compare DMA selection

Source

pub fn ccus(&self) -> CCUS_R

Bit 2 - Capture/compare control update selection

Source

pub fn ccpc(&self) -> CCPC_R

Bit 0 - Capture/compare preloaded control

Source§

impl R<bool, CC1DE_A>

Source

pub fn variant(&self) -> CC1DE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, BIE_A>

Source

pub fn variant(&self) -> BIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, COMIE_A>

Source

pub fn variant(&self) -> COMIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, CC1IE_A>

Source

pub fn variant(&self) -> CC1IE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, UIE_A>

Source

pub fn variant(&self) -> UIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<u32, Reg<u32, _DIER>>

Source

pub fn tde(&self) -> TDE_R

Bit 14 - Trigger DMA request enable

Source

pub fn comde(&self) -> COMDE_R

Bit 13 - COM DMA request enable

Source

pub fn cc1de(&self) -> CC1DE_R

Bit 9 - Capture/Compare 1 DMA request enable

Source

pub fn ude(&self) -> UDE_R

Bit 8 - Update DMA request enable

Source

pub fn bie(&self) -> BIE_R

Bit 7 - Break interrupt enable

Source

pub fn tie(&self) -> TIE_R

Bit 6 - Trigger interrupt enable

Source

pub fn comie(&self) -> COMIE_R

Bit 5 - COM interrupt enable

Source

pub fn cc1ie(&self) -> CC1IE_R

Bit 1 - Capture/Compare 1 interrupt enable

Source

pub fn uie(&self) -> UIE_R

Bit 0 - Update interrupt enable

Source§

impl R<bool, UIF_A>

Source

pub fn variant(&self) -> UIF_A

Get enumerated values variant

Source

pub fn is_clear(&self) -> bool

Checks if the value of the field is CLEAR

Source

pub fn is_update_pending(&self) -> bool

Checks if the value of the field is UPDATEPENDING

Source§

impl R<u32, Reg<u32, _SR>>

Source

pub fn cc1of(&self) -> CC1OF_R

Bit 9 - Capture/Compare 1 overcapture flag

Source

pub fn bif(&self) -> BIF_R

Bit 7 - Break interrupt flag

Source

pub fn tif(&self) -> TIF_R

Bit 6 - Trigger interrupt flag

Source

pub fn comif(&self) -> COMIF_R

Bit 5 - COM interrupt flag

Source

pub fn cc1if(&self) -> CC1IF_R

Bit 1 - Capture/compare 1 interrupt flag

Source

pub fn uif(&self) -> UIF_R

Bit 0 - Update interrupt flag

Source§

impl R<u32, Reg<u32, _CCMR1_OUTPUT>>

Source

pub fn oc1m_2(&self) -> OC1M_2_R

Bit 16 - Output Compare 1 mode

Source

pub fn oc1m(&self) -> OC1M_R

Bits 4:6 - Output Compare 1 mode

Source

pub fn oc1pe(&self) -> OC1PE_R

Bit 3 - Output Compare 1 preload enable

Source

pub fn oc1fe(&self) -> OC1FE_R

Bit 2 - Output Compare 1 fast enable

Source

pub fn cc1s(&self) -> CC1S_R

Bits 0:1 - Capture/Compare 1 selection

Source§

impl R<u32, Reg<u32, _CCMR1_INPUT>>

Source

pub fn ic1f(&self) -> IC1F_R

Bits 4:7 - Input capture 1 filter

Source

pub fn ic1psc(&self) -> IC1PSC_R

Bits 2:3 - Input capture 1 prescaler

Source

pub fn cc1s(&self) -> CC1S_R

Bits 0:1 - Capture/Compare 1 selection

Source§

impl R<u32, Reg<u32, _CCER>>

Source

pub fn cc1np(&self) -> CC1NP_R

Bit 3 - Capture/Compare 1 output Polarity

Source

pub fn cc1ne(&self) -> CC1NE_R

Bit 2 - Capture/Compare 1 complementary output enable

Source

pub fn cc1p(&self) -> CC1P_R

Bit 1 - Capture/Compare 1 output Polarity

Source

pub fn cc1e(&self) -> CC1E_R

Bit 0 - Capture/Compare 1 output enable

Source§

impl R<u32, Reg<u32, _CNT>>

Source

pub fn cnt(&self) -> CNT_R

Bits 0:15 - counter value

Source

pub fn uifcpy(&self) -> UIFCPY_R

Bit 31 - UIF Copy

Source§

impl R<u32, Reg<u32, _PSC>>

Source

pub fn psc(&self) -> PSC_R

Bits 0:15 - Prescaler value

Source§

impl R<u32, Reg<u32, _ARR>>

Source

pub fn arr(&self) -> ARR_R

Bits 0:15 - Auto-reload value

Source§

impl R<u32, Reg<u32, _RCR>>

Source

pub fn rep(&self) -> REP_R

Bits 0:7 - Repetition counter value

Source§

impl R<u32, Reg<u32, _CCR1>>

Source

pub fn ccr1(&self) -> CCR1_R

Bits 0:15 - Capture/Compare 1 value

Source§

impl R<u32, Reg<u32, _BDTR>>

Source

pub fn dtg(&self) -> DTG_R

Bits 0:7 - Dead-time generator setup

Source

pub fn lock(&self) -> LOCK_R

Bits 8:9 - Lock configuration

Source

pub fn ossi(&self) -> OSSI_R

Bit 10 - Off-state selection for Idle mode

Source

pub fn ossr(&self) -> OSSR_R

Bit 11 - Off-state selection for Run mode

Source

pub fn bke(&self) -> BKE_R

Bit 12 - Break enable

Source

pub fn bkp(&self) -> BKP_R

Bit 13 - Break polarity

Source

pub fn aoe(&self) -> AOE_R

Bit 14 - Automatic output enable

Source

pub fn moe(&self) -> MOE_R

Bit 15 - Main output enable

Source

pub fn bkf(&self) -> BKF_R

Bits 16:19 - Break filter

Source§

impl R<u32, Reg<u32, _DCR>>

Source

pub fn dbl(&self) -> DBL_R

Bits 8:12 - DMA burst length

Source

pub fn dba(&self) -> DBA_R

Bits 0:4 - DMA base address

Source§

impl R<u32, Reg<u32, _DMAR>>

Source

pub fn dmab(&self) -> DMAB_R

Bits 0:15 - DMA register for burst accesses

Source§

impl R<u32, Reg<u32, _OR1>>

Source

pub fn ti1_rmp(&self) -> TI1_RMP_R

Bits 0:1 - Input capture 1 remap

Source§

impl R<u32, Reg<u32, _OR2>>

Source

pub fn bkine(&self) -> BKINE_R

Bit 0 - BRK BKIN input enable

Source

pub fn bkcmp1e(&self) -> BKCMP1E_R

Bit 1 - BRK COMP1 enable

Source

pub fn bkcmp2e(&self) -> BKCMP2E_R

Bit 2 - BRK COMP2 enable

Source

pub fn bkdfbk1e(&self) -> BKDFBK1E_R

Bit 8 - BRK DFSDM_BREAK1 enable

Source

pub fn bkinp(&self) -> BKINP_R

Bit 9 - BRK BKIN input polarity

Source

pub fn bkcmp1p(&self) -> BKCMP1P_R

Bit 10 - BRK COMP1 input polarity

Source

pub fn bkcmp2p(&self) -> BKCMP2P_R

Bit 11 - BRK COMP2 input polarit

Source§

impl R<u8, CKD_A>

Source

pub fn variant(&self) -> Variant<u8, CKD_A>

Get enumerated values variant

Source

pub fn is_div1(&self) -> bool

Checks if the value of the field is DIV1

Source

pub fn is_div2(&self) -> bool

Checks if the value of the field is DIV2

Source

pub fn is_div4(&self) -> bool

Checks if the value of the field is DIV4

Source§

impl R<bool, ARPE_A>

Source

pub fn variant(&self) -> ARPE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<u8, CMS_A>

Source

pub fn variant(&self) -> CMS_A

Get enumerated values variant

Source

pub fn is_edge_aligned(&self) -> bool

Checks if the value of the field is EDGEALIGNED

Source

pub fn is_center_aligned1(&self) -> bool

Checks if the value of the field is CENTERALIGNED1

Source

pub fn is_center_aligned2(&self) -> bool

Checks if the value of the field is CENTERALIGNED2

Source

pub fn is_center_aligned3(&self) -> bool

Checks if the value of the field is CENTERALIGNED3

Source§

impl R<bool, DIR_A>

Source

pub fn variant(&self) -> DIR_A

Get enumerated values variant

Source

pub fn is_up(&self) -> bool

Checks if the value of the field is UP

Source

pub fn is_down(&self) -> bool

Checks if the value of the field is DOWN

Source§

impl R<bool, OPM_A>

Source

pub fn variant(&self) -> OPM_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, URS_A>

Source

pub fn variant(&self) -> URS_A

Get enumerated values variant

Source

pub fn is_any_event(&self) -> bool

Checks if the value of the field is ANYEVENT

Source

pub fn is_counter_only(&self) -> bool

Checks if the value of the field is COUNTERONLY

Source§

impl R<bool, UDIS_A>

Source

pub fn variant(&self) -> UDIS_A

Get enumerated values variant

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source§

impl R<bool, CEN_A>

Source

pub fn variant(&self) -> CEN_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<u32, Reg<u32, _CR1>>

Source

pub fn ckd(&self) -> CKD_R

Bits 8:9 - Clock division

Source

pub fn arpe(&self) -> ARPE_R

Bit 7 - Auto-reload preload enable

Source

pub fn cms(&self) -> CMS_R

Bits 5:6 - Center-aligned mode selection

Source

pub fn dir(&self) -> DIR_R

Bit 4 - Direction

Source

pub fn opm(&self) -> OPM_R

Bit 3 - One-pulse mode

Source

pub fn urs(&self) -> URS_R

Bit 2 - Update request source

Source

pub fn udis(&self) -> UDIS_R

Bit 1 - Update disable

Source

pub fn cen(&self) -> CEN_R

Bit 0 - Counter enable

Source§

impl R<bool, TI1S_A>

Source

pub fn variant(&self) -> TI1S_A

Get enumerated values variant

Source

pub fn is_normal(&self) -> bool

Checks if the value of the field is NORMAL

Source

pub fn is_xor(&self) -> bool

Checks if the value of the field is XOR

Source§

impl R<u8, MMS_A>

Source

pub fn variant(&self) -> MMS_A

Get enumerated values variant

Source

pub fn is_reset(&self) -> bool

Checks if the value of the field is RESET

Source

pub fn is_enable(&self) -> bool

Checks if the value of the field is ENABLE

Source

pub fn is_update(&self) -> bool

Checks if the value of the field is UPDATE

Source

pub fn is_compare_pulse(&self) -> bool

Checks if the value of the field is COMPAREPULSE

Source

pub fn is_compare_oc1(&self) -> bool

Checks if the value of the field is COMPAREOC1

Source

pub fn is_compare_oc2(&self) -> bool

Checks if the value of the field is COMPAREOC2

Source

pub fn is_compare_oc3(&self) -> bool

Checks if the value of the field is COMPAREOC3

Source

pub fn is_compare_oc4(&self) -> bool

Checks if the value of the field is COMPAREOC4

Source§

impl R<bool, CCDS_A>

Source

pub fn variant(&self) -> CCDS_A

Get enumerated values variant

Source

pub fn is_on_compare(&self) -> bool

Checks if the value of the field is ONCOMPARE

Source

pub fn is_on_update(&self) -> bool

Checks if the value of the field is ONUPDATE

Source§

impl R<u32, Reg<u32, _CR2>>

Source

pub fn ois4(&self) -> OIS4_R

Bit 14 - Output Idle state 4

Source

pub fn ois3n(&self) -> OIS3N_R

Bit 13 - Output Idle state 3

Source

pub fn ois3(&self) -> OIS3_R

Bit 12 - Output Idle state 3

Source

pub fn ois2n(&self) -> OIS2N_R

Bit 11 - Output Idle state 2

Source

pub fn ois2(&self) -> OIS2_R

Bit 10 - Output Idle state 2

Source

pub fn ois1n(&self) -> OIS1N_R

Bit 9 - Output Idle state 1

Source

pub fn ois1(&self) -> OIS1_R

Bit 8 - Output Idle state 1

Source

pub fn ti1s(&self) -> TI1S_R

Bit 7 - TI1 selection

Source

pub fn mms(&self) -> MMS_R

Bits 4:6 - Master mode selection

Source

pub fn ccds(&self) -> CCDS_R

Bit 3 - Capture/compare DMA selection

Source

pub fn ccus(&self) -> CCUS_R

Bit 2 - Capture/compare control update selection

Source

pub fn ccpc(&self) -> CCPC_R

Bit 0 - Capture/compare preloaded control

Source§

impl R<bool, ETP_A>

Source

pub fn variant(&self) -> ETP_A

Get enumerated values variant

Source

pub fn is_not_inverted(&self) -> bool

Checks if the value of the field is NOTINVERTED

Source

pub fn is_inverted(&self) -> bool

Checks if the value of the field is INVERTED

Source§

impl R<bool, ECE_A>

Source

pub fn variant(&self) -> ECE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<u8, ETPS_A>

Source

pub fn variant(&self) -> ETPS_A

Get enumerated values variant

Source

pub fn is_div1(&self) -> bool

Checks if the value of the field is DIV1

Source

pub fn is_div2(&self) -> bool

Checks if the value of the field is DIV2

Source

pub fn is_div4(&self) -> bool

Checks if the value of the field is DIV4

Source

pub fn is_div8(&self) -> bool

Checks if the value of the field is DIV8

Source§

impl R<u8, ETF_A>

Source

pub fn variant(&self) -> ETF_A

Get enumerated values variant

Source

pub fn is_no_filter(&self) -> bool

Checks if the value of the field is NOFILTER

Source

pub fn is_fck_int_n2(&self) -> bool

Checks if the value of the field is FCK_INT_N2

Source

pub fn is_fck_int_n4(&self) -> bool

Checks if the value of the field is FCK_INT_N4

Source

pub fn is_fck_int_n8(&self) -> bool

Checks if the value of the field is FCK_INT_N8

Source

pub fn is_fdts_div2_n6(&self) -> bool

Checks if the value of the field is FDTS_DIV2_N6

Source

pub fn is_fdts_div2_n8(&self) -> bool

Checks if the value of the field is FDTS_DIV2_N8

Source

pub fn is_fdts_div4_n6(&self) -> bool

Checks if the value of the field is FDTS_DIV4_N6

Source

pub fn is_fdts_div4_n8(&self) -> bool

Checks if the value of the field is FDTS_DIV4_N8

Source

pub fn is_fdts_div8_n6(&self) -> bool

Checks if the value of the field is FDTS_DIV8_N6

Source

pub fn is_fdts_div8_n8(&self) -> bool

Checks if the value of the field is FDTS_DIV8_N8

Source

pub fn is_fdts_div16_n5(&self) -> bool

Checks if the value of the field is FDTS_DIV16_N5

Source

pub fn is_fdts_div16_n6(&self) -> bool

Checks if the value of the field is FDTS_DIV16_N6

Source

pub fn is_fdts_div16_n8(&self) -> bool

Checks if the value of the field is FDTS_DIV16_N8

Source

pub fn is_fdts_div32_n5(&self) -> bool

Checks if the value of the field is FDTS_DIV32_N5

Source

pub fn is_fdts_div32_n6(&self) -> bool

Checks if the value of the field is FDTS_DIV32_N6

Source

pub fn is_fdts_div32_n8(&self) -> bool

Checks if the value of the field is FDTS_DIV32_N8

Source§

impl R<bool, MSM_A>

Source

pub fn variant(&self) -> MSM_A

Get enumerated values variant

Source

pub fn is_no_sync(&self) -> bool

Checks if the value of the field is NOSYNC

Source

pub fn is_sync(&self) -> bool

Checks if the value of the field is SYNC

Source§

impl R<u8, TS_A>

Source

pub fn variant(&self) -> Variant<u8, TS_A>

Get enumerated values variant

Source

pub fn is_itr0(&self) -> bool

Checks if the value of the field is ITR0

Source

pub fn is_itr1(&self) -> bool

Checks if the value of the field is ITR1

Source

pub fn is_itr2(&self) -> bool

Checks if the value of the field is ITR2

Source

pub fn is_ti1f_ed(&self) -> bool

Checks if the value of the field is TI1F_ED

Source

pub fn is_ti1fp1(&self) -> bool

Checks if the value of the field is TI1FP1

Source

pub fn is_ti2fp2(&self) -> bool

Checks if the value of the field is TI2FP2

Source

pub fn is_etrf(&self) -> bool

Checks if the value of the field is ETRF

Source§

impl R<u8, SMS_A>

Source

pub fn variant(&self) -> SMS_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_encoder_mode_1(&self) -> bool

Checks if the value of the field is ENCODER_MODE_1

Source

pub fn is_encoder_mode_2(&self) -> bool

Checks if the value of the field is ENCODER_MODE_2

Source

pub fn is_encoder_mode_3(&self) -> bool

Checks if the value of the field is ENCODER_MODE_3

Source

pub fn is_reset_mode(&self) -> bool

Checks if the value of the field is RESET_MODE

Source

pub fn is_gated_mode(&self) -> bool

Checks if the value of the field is GATED_MODE

Source

pub fn is_trigger_mode(&self) -> bool

Checks if the value of the field is TRIGGER_MODE

Source

pub fn is_ext_clock_mode(&self) -> bool

Checks if the value of the field is EXT_CLOCK_MODE

Source§

impl R<u32, Reg<u32, _SMCR>>

Source

pub fn etp(&self) -> ETP_R

Bit 15 - External trigger polarity

Source

pub fn ece(&self) -> ECE_R

Bit 14 - External clock enable

Source

pub fn etps(&self) -> ETPS_R

Bits 12:13 - External trigger prescaler

Source

pub fn etf(&self) -> ETF_R

Bits 8:11 - External trigger filter

Source

pub fn msm(&self) -> MSM_R

Bit 7 - Master/Slave mode

Source

pub fn ts(&self) -> TS_R

Bits 4:6 - Trigger selection

Source

pub fn sms(&self) -> SMS_R

Bits 0:2 - Slave mode selection

Source§

impl R<bool, TDE_A>

Source

pub fn variant(&self) -> TDE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, CC4DE_A>

Source

pub fn variant(&self) -> CC4DE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, UDE_A>

Source

pub fn variant(&self) -> UDE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, TIE_A>

Source

pub fn variant(&self) -> TIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, CC4IE_A>

Source

pub fn variant(&self) -> CC4IE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, UIE_A>

Source

pub fn variant(&self) -> UIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<u32, Reg<u32, _DIER>>

Source

pub fn tde(&self) -> TDE_R

Bit 14 - Trigger DMA request enable

Source

pub fn comde(&self) -> COMDE_R

Bit 13 - COM DMA request enable

Source

pub fn cc4de(&self) -> CC4DE_R

Bit 12 - Capture/Compare 4 DMA request enable

Source

pub fn cc3de(&self) -> CC3DE_R

Bit 11 - Capture/Compare 3 DMA request enable

Source

pub fn cc2de(&self) -> CC2DE_R

Bit 10 - Capture/Compare 2 DMA request enable

Source

pub fn cc1de(&self) -> CC1DE_R

Bit 9 - Capture/Compare 1 DMA request enable

Source

pub fn ude(&self) -> UDE_R

Bit 8 - Update DMA request enable

Source

pub fn tie(&self) -> TIE_R

Bit 6 - Trigger interrupt enable

Source

pub fn cc4ie(&self) -> CC4IE_R

Bit 4 - Capture/Compare 4 interrupt enable

Source

pub fn cc3ie(&self) -> CC3IE_R

Bit 3 - Capture/Compare 3 interrupt enable

Source

pub fn cc2ie(&self) -> CC2IE_R

Bit 2 - Capture/Compare 2 interrupt enable

Source

pub fn cc1ie(&self) -> CC1IE_R

Bit 1 - Capture/Compare 1 interrupt enable

Source

pub fn uie(&self) -> UIE_R

Bit 0 - Update interrupt enable

Source

pub fn bie(&self) -> BIE_R

Bit 7 - Break interrupt enable

Source

pub fn comie(&self) -> COMIE_R

Bit 5 - COM interrupt enable

Source§

impl R<bool, CC4OF_A>

Source

pub fn variant(&self) -> Variant<bool, CC4OF_A>

Get enumerated values variant

Source

pub fn is_overcapture(&self) -> bool

Checks if the value of the field is OVERCAPTURE

Source§

impl R<bool, TIF_A>

Source

pub fn variant(&self) -> TIF_A

Get enumerated values variant

Source

pub fn is_no_trigger(&self) -> bool

Checks if the value of the field is NOTRIGGER

Source

pub fn is_trigger(&self) -> bool

Checks if the value of the field is TRIGGER

Source§

impl R<bool, CC4IF_A>

Source

pub fn variant(&self) -> Variant<bool, CC4IF_A>

Get enumerated values variant

Source

pub fn is_match_(&self) -> bool

Checks if the value of the field is MATCH

Source§

impl R<bool, UIF_A>

Source

pub fn variant(&self) -> UIF_A

Get enumerated values variant

Source

pub fn is_clear(&self) -> bool

Checks if the value of the field is CLEAR

Source

pub fn is_update_pending(&self) -> bool

Checks if the value of the field is UPDATEPENDING

Source§

impl R<u32, Reg<u32, _SR>>

Source

pub fn cc4of(&self) -> CC4OF_R

Bit 12 - Capture/Compare 4 overcapture flag

Source

pub fn cc3of(&self) -> CC3OF_R

Bit 11 - Capture/Compare 3 overcapture flag

Source

pub fn cc2of(&self) -> CC2OF_R

Bit 10 - Capture/compare 2 overcapture flag

Source

pub fn cc1of(&self) -> CC1OF_R

Bit 9 - Capture/Compare 1 overcapture flag

Source

pub fn bif(&self) -> BIF_R

Bit 7 - Break interrupt flag

Source

pub fn tif(&self) -> TIF_R

Bit 6 - Trigger interrupt flag

Source

pub fn comif(&self) -> COMIF_R

Bit 5 - COM interrupt flag

Source

pub fn cc4if(&self) -> CC4IF_R

Bit 4 - Capture/Compare 4 interrupt flag

Source

pub fn cc3if(&self) -> CC3IF_R

Bit 3 - Capture/Compare 3 interrupt flag

Source

pub fn cc2if(&self) -> CC2IF_R

Bit 2 - Capture/Compare 2 interrupt flag

Source

pub fn cc1if(&self) -> CC1IF_R

Bit 1 - Capture/compare 1 interrupt flag

Source

pub fn uif(&self) -> UIF_R

Bit 0 - Update interrupt flag

Source§

impl R<u8, OC2M_A>

Source

pub fn variant(&self) -> Variant<u8, OC2M_A>

Get enumerated values variant

Source

pub fn is_frozen(&self) -> bool

Checks if the value of the field is FROZEN

Source

pub fn is_active_on_match(&self) -> bool

Checks if the value of the field is ACTIVEONMATCH

Source

pub fn is_inactive_on_match(&self) -> bool

Checks if the value of the field is INACTIVEONMATCH

Source

pub fn is_toggle(&self) -> bool

Checks if the value of the field is TOGGLE

Source

pub fn is_force_inactive(&self) -> bool

Checks if the value of the field is FORCEINACTIVE

Source

pub fn is_force_active(&self) -> bool

Checks if the value of the field is FORCEACTIVE

Source

pub fn is_pwm_mode1(&self) -> bool

Checks if the value of the field is PWMMODE1

Source

pub fn is_pwm_mode2(&self) -> bool

Checks if the value of the field is PWMMODE2

Source

pub fn is_opm_mode1(&self) -> bool

Checks if the value of the field is OPMMODE1

Source

pub fn is_opm_mode2(&self) -> bool

Checks if the value of the field is OPMMODE2

Source

pub fn is_combined_pwm_mode1(&self) -> bool

Checks if the value of the field is COMBINEDPWMMODE1

Source

pub fn is_combined_pwm_mode2(&self) -> bool

Checks if the value of the field is COMBINEDPWMMODE2

Source

pub fn is_asymmetric_pwm_mode1(&self) -> bool

Checks if the value of the field is ASYMMETRICPWMMODE1

Source

pub fn is_asymmetric_pwm_mode2(&self) -> bool

Checks if the value of the field is ASYMMETRICPWMMODE2

Source§

impl R<bool, OC2PE_A>

Source

pub fn variant(&self) -> OC2PE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<u8, CC2S_A>

Source

pub fn variant(&self) -> Variant<u8, CC2S_A>

Get enumerated values variant

Source

pub fn is_output(&self) -> bool

Checks if the value of the field is OUTPUT

Source§

impl R<bool, OC1PE_A>

Source

pub fn variant(&self) -> OC1PE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<u8, CC1S_A>

Source

pub fn variant(&self) -> Variant<u8, CC1S_A>

Get enumerated values variant

Source

pub fn is_output(&self) -> bool

Checks if the value of the field is OUTPUT

Source§

impl R<u32, Reg<u32, _CCMR1_OUTPUT>>

Source

pub fn oc2ce(&self) -> OC2CE_R

Bit 15 - Output Compare 2 clear enable

Source

pub fn oc2m(&self) -> OC2M_R

Bits 12:14 - Output Compare 2 mode

Source

pub fn oc2pe(&self) -> OC2PE_R

Bit 11 - Output Compare 2 preload enable

Source

pub fn oc2fe(&self) -> OC2FE_R

Bit 10 - Output Compare 2 fast enable

Source

pub fn cc2s(&self) -> CC2S_R

Bits 8:9 - Capture/Compare 2 selection

Source

pub fn oc1ce(&self) -> OC1CE_R

Bit 7 - Output Compare 1 clear enable

Source

pub fn oc1m(&self) -> OC1M_R

Bits 4:6 - Output Compare 1 mode

Source

pub fn oc1pe(&self) -> OC1PE_R

Bit 3 - Output Compare 1 preload enable

Source

pub fn oc1fe(&self) -> OC1FE_R

Bit 2 - Output Compare 1 fast enable

Source

pub fn cc1s(&self) -> CC1S_R

Bits 0:1 - Capture/Compare 1 selection

Source§

impl R<u8, CC2S_A>

Source

pub fn variant(&self) -> Variant<u8, CC2S_A>

Get enumerated values variant

Source

pub fn is_ti2(&self) -> bool

Checks if the value of the field is TI2

Source

pub fn is_ti1(&self) -> bool

Checks if the value of the field is TI1

Source

pub fn is_trc(&self) -> bool

Checks if the value of the field is TRC

Source§

impl R<u8, IC1F_A>

Source

pub fn variant(&self) -> IC1F_A

Get enumerated values variant

Source

pub fn is_no_filter(&self) -> bool

Checks if the value of the field is NOFILTER

Source

pub fn is_fck_int_n2(&self) -> bool

Checks if the value of the field is FCK_INT_N2

Source

pub fn is_fck_int_n4(&self) -> bool

Checks if the value of the field is FCK_INT_N4

Source

pub fn is_fck_int_n8(&self) -> bool

Checks if the value of the field is FCK_INT_N8

Source

pub fn is_fdts_div2_n6(&self) -> bool

Checks if the value of the field is FDTS_DIV2_N6

Source

pub fn is_fdts_div2_n8(&self) -> bool

Checks if the value of the field is FDTS_DIV2_N8

Source

pub fn is_fdts_div4_n6(&self) -> bool

Checks if the value of the field is FDTS_DIV4_N6

Source

pub fn is_fdts_div4_n8(&self) -> bool

Checks if the value of the field is FDTS_DIV4_N8

Source

pub fn is_fdts_div8_n6(&self) -> bool

Checks if the value of the field is FDTS_DIV8_N6

Source

pub fn is_fdts_div8_n8(&self) -> bool

Checks if the value of the field is FDTS_DIV8_N8

Source

pub fn is_fdts_div16_n5(&self) -> bool

Checks if the value of the field is FDTS_DIV16_N5

Source

pub fn is_fdts_div16_n6(&self) -> bool

Checks if the value of the field is FDTS_DIV16_N6

Source

pub fn is_fdts_div16_n8(&self) -> bool

Checks if the value of the field is FDTS_DIV16_N8

Source

pub fn is_fdts_div32_n5(&self) -> bool

Checks if the value of the field is FDTS_DIV32_N5

Source

pub fn is_fdts_div32_n6(&self) -> bool

Checks if the value of the field is FDTS_DIV32_N6

Source

pub fn is_fdts_div32_n8(&self) -> bool

Checks if the value of the field is FDTS_DIV32_N8

Source§

impl R<u8, CC1S_A>

Source

pub fn variant(&self) -> Variant<u8, CC1S_A>

Get enumerated values variant

Source

pub fn is_ti1(&self) -> bool

Checks if the value of the field is TI1

Source

pub fn is_ti2(&self) -> bool

Checks if the value of the field is TI2

Source

pub fn is_trc(&self) -> bool

Checks if the value of the field is TRC

Source§

impl R<u32, Reg<u32, _CCMR1_INPUT>>

Source

pub fn ic2f(&self) -> IC2F_R

Bits 12:15 - Input capture 2 filter

Source

pub fn ic2psc(&self) -> IC2PSC_R

Bits 10:11 - Input capture 2 prescaler

Source

pub fn cc2s(&self) -> CC2S_R

Bits 8:9 - Capture/Compare 2 selection

Source

pub fn ic1f(&self) -> IC1F_R

Bits 4:7 - Input capture 1 filter

Source

pub fn ic1psc(&self) -> IC1PSC_R

Bits 2:3 - Input capture 1 prescaler

Source

pub fn cc1s(&self) -> CC1S_R

Bits 0:1 - Capture/Compare 1 selection

Source§

impl R<u8, OC4M_A>

Source

pub fn variant(&self) -> Variant<u8, OC4M_A>

Get enumerated values variant

Source

pub fn is_frozen(&self) -> bool

Checks if the value of the field is FROZEN

Source

pub fn is_active_on_match(&self) -> bool

Checks if the value of the field is ACTIVEONMATCH

Source

pub fn is_inactive_on_match(&self) -> bool

Checks if the value of the field is INACTIVEONMATCH

Source

pub fn is_toggle(&self) -> bool

Checks if the value of the field is TOGGLE

Source

pub fn is_force_inactive(&self) -> bool

Checks if the value of the field is FORCEINACTIVE

Source

pub fn is_force_active(&self) -> bool

Checks if the value of the field is FORCEACTIVE

Source

pub fn is_pwm_mode1(&self) -> bool

Checks if the value of the field is PWMMODE1

Source

pub fn is_pwm_mode2(&self) -> bool

Checks if the value of the field is PWMMODE2

Source

pub fn is_opm_mode1(&self) -> bool

Checks if the value of the field is OPMMODE1

Source

pub fn is_opm_mode2(&self) -> bool

Checks if the value of the field is OPMMODE2

Source

pub fn is_combined_pwm_mode1(&self) -> bool

Checks if the value of the field is COMBINEDPWMMODE1

Source

pub fn is_combined_pwm_mode2(&self) -> bool

Checks if the value of the field is COMBINEDPWMMODE2

Source

pub fn is_asymmetric_pwm_mode1(&self) -> bool

Checks if the value of the field is ASYMMETRICPWMMODE1

Source

pub fn is_asymmetric_pwm_mode2(&self) -> bool

Checks if the value of the field is ASYMMETRICPWMMODE2

Source§

impl R<bool, OC4PE_A>

Source

pub fn variant(&self) -> OC4PE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<u8, CC4S_A>

Source

pub fn variant(&self) -> Variant<u8, CC4S_A>

Get enumerated values variant

Source

pub fn is_output(&self) -> bool

Checks if the value of the field is OUTPUT

Source§

impl R<bool, OC3PE_A>

Source

pub fn variant(&self) -> OC3PE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<u8, CC3S_A>

Source

pub fn variant(&self) -> Variant<u8, CC3S_A>

Get enumerated values variant

Source

pub fn is_output(&self) -> bool

Checks if the value of the field is OUTPUT

Source§

impl R<u32, Reg<u32, _CCMR2_OUTPUT>>

Source

pub fn oc4ce(&self) -> OC4CE_R

Bit 15 - Output compare 4 clear enable

Source

pub fn oc4m(&self) -> OC4M_R

Bits 12:14 - Output compare 4 mode

Source

pub fn oc4pe(&self) -> OC4PE_R

Bit 11 - Output compare 4 preload enable

Source

pub fn oc4fe(&self) -> OC4FE_R

Bit 10 - Output compare 4 fast enable

Source

pub fn cc4s(&self) -> CC4S_R

Bits 8:9 - Capture/Compare 4 selection

Source

pub fn oc3ce(&self) -> OC3CE_R

Bit 7 - Output compare 3 clear enable

Source

pub fn oc3m(&self) -> OC3M_R

Bits 4:6 - Output compare 3 mode

Source

pub fn oc3pe(&self) -> OC3PE_R

Bit 3 - Output compare 3 preload enable

Source

pub fn oc3fe(&self) -> OC3FE_R

Bit 2 - Output compare 3 fast enable

Source

pub fn cc3s(&self) -> CC3S_R

Bits 0:1 - Capture/Compare 3 selection

Source§

impl R<u8, CC4S_A>

Source

pub fn variant(&self) -> Variant<u8, CC4S_A>

Get enumerated values variant

Source

pub fn is_ti4(&self) -> bool

Checks if the value of the field is TI4

Source

pub fn is_ti3(&self) -> bool

Checks if the value of the field is TI3

Source

pub fn is_trc(&self) -> bool

Checks if the value of the field is TRC

Source§

impl R<u8, CC3S_A>

Source

pub fn variant(&self) -> Variant<u8, CC3S_A>

Get enumerated values variant

Source

pub fn is_ti3(&self) -> bool

Checks if the value of the field is TI3

Source

pub fn is_ti4(&self) -> bool

Checks if the value of the field is TI4

Source

pub fn is_trc(&self) -> bool

Checks if the value of the field is TRC

Source§

impl R<u32, Reg<u32, _CCMR2_INPUT>>

Source

pub fn ic4f(&self) -> IC4F_R

Bits 12:15 - Input capture 4 filter

Source

pub fn ic4psc(&self) -> IC4PSC_R

Bits 10:11 - Input capture 4 prescaler

Source

pub fn cc4s(&self) -> CC4S_R

Bits 8:9 - Capture/Compare 4 selection

Source

pub fn ic3f(&self) -> IC3F_R

Bits 4:7 - Input capture 3 filter

Source

pub fn ic3psc(&self) -> IC3PSC_R

Bits 2:3 - Input capture 3 prescaler

Source

pub fn cc3s(&self) -> CC3S_R

Bits 0:1 - Capture/compare 3 selection

Source§

impl R<u32, Reg<u32, _CCER>>

Source

pub fn cc4p(&self) -> CC4P_R

Bit 13 - Capture/Compare 3 output Polarity

Source

pub fn cc4e(&self) -> CC4E_R

Bit 12 - Capture/Compare 4 output enable

Source

pub fn cc3np(&self) -> CC3NP_R

Bit 11 - Capture/Compare 3 output Polarity

Source

pub fn cc3ne(&self) -> CC3NE_R

Bit 10 - Capture/Compare 3 complementary output enable

Source

pub fn cc3p(&self) -> CC3P_R

Bit 9 - Capture/Compare 3 output Polarity

Source

pub fn cc3e(&self) -> CC3E_R

Bit 8 - Capture/Compare 3 output enable

Source

pub fn cc2np(&self) -> CC2NP_R

Bit 7 - Capture/Compare 2 output Polarity

Source

pub fn cc2ne(&self) -> CC2NE_R

Bit 6 - Capture/Compare 2 complementary output enable

Source

pub fn cc2p(&self) -> CC2P_R

Bit 5 - Capture/Compare 2 output Polarity

Source

pub fn cc2e(&self) -> CC2E_R

Bit 4 - Capture/Compare 2 output enable

Source

pub fn cc1np(&self) -> CC1NP_R

Bit 3 - Capture/Compare 1 output Polarity

Source

pub fn cc1ne(&self) -> CC1NE_R

Bit 2 - Capture/Compare 1 complementary output enable

Source

pub fn cc1p(&self) -> CC1P_R

Bit 1 - Capture/Compare 1 output Polarity

Source

pub fn cc1e(&self) -> CC1E_R

Bit 0 - Capture/Compare 1 output enable

Source§

impl R<u32, Reg<u32, _CNT>>

Source

pub fn cnt(&self) -> CNT_R

Bits 0:15 - counter value

Source§

impl R<u32, Reg<u32, _PSC>>

Source

pub fn psc(&self) -> PSC_R

Bits 0:15 - Prescaler value

Source§

impl R<u32, Reg<u32, _ARR>>

Source

pub fn arr(&self) -> ARR_R

Bits 0:15 - Auto-reload value

Source§

impl R<u32, Reg<u32, _RCR>>

Source

pub fn rep(&self) -> REP_R

Bits 0:7 - Repetition counter value

Source§

impl R<u32, Reg<u32, _CCR>>

Source

pub fn ccr(&self) -> CCR_R

Bits 0:15 - Capture/Compare 1 value

Source§

impl R<bool, MOE_A>

Source

pub fn variant(&self) -> MOE_A

Get enumerated values variant

Source

pub fn is_disabled_idle(&self) -> bool

Checks if the value of the field is DISABLEDIDLE

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, OSSR_A>

Source

pub fn variant(&self) -> OSSR_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_idle_level(&self) -> bool

Checks if the value of the field is IDLELEVEL

Source§

impl R<bool, OSSI_A>

Source

pub fn variant(&self) -> OSSI_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_idle_level(&self) -> bool

Checks if the value of the field is IDLELEVEL

Source§

impl R<u32, Reg<u32, _BDTR>>

Source

pub fn moe(&self) -> MOE_R

Bit 15 - Main output enable

Source

pub fn aoe(&self) -> AOE_R

Bit 14 - Automatic output enable

Source

pub fn bkp(&self) -> BKP_R

Bit 13 - Break polarity

Source

pub fn bke(&self) -> BKE_R

Bit 12 - Break enable

Source

pub fn ossr(&self) -> OSSR_R

Bit 11 - Off-state selection for Run mode

Source

pub fn ossi(&self) -> OSSI_R

Bit 10 - Off-state selection for Idle mode

Source

pub fn lock(&self) -> LOCK_R

Bits 8:9 - Lock configuration

Source

pub fn dtg(&self) -> DTG_R

Bits 0:7 - Dead-time generator setup

Source§

impl R<u32, Reg<u32, _DCR>>

Source

pub fn dbl(&self) -> DBL_R

Bits 8:12 - DMA burst length

Source

pub fn dba(&self) -> DBA_R

Bits 0:4 - DMA base address

Source§

impl R<u32, Reg<u32, _DMAR>>

Source

pub fn dmab(&self) -> DMAB_R

Bits 0:15 - DMA register for burst accesses

Source§

impl R<u32, Reg<u32, _OR1>>

Source

pub fn etr_adc1_rmp(&self) -> ETR_ADC1_RMP_R

Bits 0:1 - External trigger remap on ADC1 analog watchdog

Source

pub fn etr_adc3_rmp(&self) -> ETR_ADC3_RMP_R

Bits 2:3 - External trigger remap on ADC3 analog watchdog

Source

pub fn ti1_rmp(&self) -> TI1_RMP_R

Bit 4 - Input Capture 1 remap

Source§

impl R<u32, Reg<u32, _CCMR3_OUTPUT>>

Source

pub fn oc6m_bit3(&self) -> OC6M_BIT3_R

Bit 24 - Output Compare 6 mode bit 3

Source

pub fn oc5m_bit3(&self) -> OC5M_BIT3_R

Bits 16:18 - Output Compare 5 mode bit 3

Source

pub fn oc6ce(&self) -> OC6CE_R

Bit 15 - Output compare 6 clear enable

Source

pub fn oc6m(&self) -> OC6M_R

Bits 12:14 - Output compare 6 mode

Source

pub fn oc6pe(&self) -> OC6PE_R

Bit 11 - Output compare 6 preload enable

Source

pub fn oc6fe(&self) -> OC6FE_R

Bit 10 - Output compare 6 fast enable

Source

pub fn oc5ce(&self) -> OC5CE_R

Bit 7 - Output compare 5 clear enable

Source

pub fn oc5m(&self) -> OC5M_R

Bits 4:6 - Output compare 5 mode

Source

pub fn oc5pe(&self) -> OC5PE_R

Bit 3 - Output compare 5 preload enable

Source

pub fn oc5fe(&self) -> OC5FE_R

Bit 2 - Output compare 5 fast enable

Source§

impl R<u32, Reg<u32, _CCR5>>

Source

pub fn ccr(&self) -> CCR_R

Bits 0:15 - Capture/Compare value

Source

pub fn gc5c1(&self) -> GC5C1_R

Bit 29 - Group Channel 5 and Channel 1

Source

pub fn gc5c2(&self) -> GC5C2_R

Bit 30 - Group Channel 5 and Channel 2

Source

pub fn gc5c3(&self) -> GC5C3_R

Bit 31 - Group Channel 5 and Channel 3

Source§

impl R<u32, Reg<u32, _CCR6>>

Source

pub fn ccr(&self) -> CCR_R

Bits 0:15 - Capture/Compare value

Source§

impl R<u32, Reg<u32, _OR2>>

Source

pub fn bkine(&self) -> BKINE_R

Bit 0 - BRK BKIN input enable

Source

pub fn bkcmp1e(&self) -> BKCMP1E_R

Bit 1 - BRK COMP1 enable

Source

pub fn bkcmp2e(&self) -> BKCMP2E_R

Bit 2 - BRK COMP2 enable

Source

pub fn bkdfbk0e(&self) -> BKDFBK0E_R

Bit 8 - BRK DFSDM_BREAK0 enable

Source

pub fn bkinp(&self) -> BKINP_R

Bit 9 - BRK BKIN input polarity

Source

pub fn bkcmp1p(&self) -> BKCMP1P_R

Bit 10 - BRK COMP1 input polarity

Source

pub fn bkcmp2p(&self) -> BKCMP2P_R

Bit 11 - BRK COMP2 input polarity

Source

pub fn etrsel(&self) -> ETRSEL_R

Bits 14:16 - ETR source selection

Source§

impl R<u32, Reg<u32, _OR3>>

Source

pub fn bk2ine(&self) -> BK2INE_R

Bit 0 - BRK2 BKIN input enable

Source

pub fn bk2cmp1e(&self) -> BK2CMP1E_R

Bit 1 - BRK2 COMP1 enable

Source

pub fn bk2cmp2e(&self) -> BK2CMP2E_R

Bit 2 - BRK2 COMP2 enable

Source

pub fn bk2dfbk0e(&self) -> BK2DFBK0E_R

Bit 8 - BRK2 DFSDM_BREAK0 enable

Source

pub fn bk2inp(&self) -> BK2INP_R

Bit 9 - BRK2 BKIN input polarity

Source

pub fn bk2cmp1p(&self) -> BK2CMP1P_R

Bit 10 - BRK2 COMP1 input polarity

Source

pub fn bk2cmp2p(&self) -> BK2CMP2P_R

Bit 11 - BRK2 COMP2 input polarity

Source§

impl R<bool, ARPE_A>

Source

pub fn variant(&self) -> ARPE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, OPM_A>

Source

pub fn variant(&self) -> OPM_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, URS_A>

Source

pub fn variant(&self) -> URS_A

Get enumerated values variant

Source

pub fn is_any_event(&self) -> bool

Checks if the value of the field is ANYEVENT

Source

pub fn is_counter_only(&self) -> bool

Checks if the value of the field is COUNTERONLY

Source§

impl R<bool, UDIS_A>

Source

pub fn variant(&self) -> UDIS_A

Get enumerated values variant

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source§

impl R<bool, CEN_A>

Source

pub fn variant(&self) -> CEN_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<u32, Reg<u32, _CR1>>

Source

pub fn arpe(&self) -> ARPE_R

Bit 7 - Auto-reload preload enable

Source

pub fn opm(&self) -> OPM_R

Bit 3 - One-pulse mode

Source

pub fn urs(&self) -> URS_R

Bit 2 - Update request source

Source

pub fn udis(&self) -> UDIS_R

Bit 1 - Update disable

Source

pub fn cen(&self) -> CEN_R

Bit 0 - Counter enable

Source§

impl R<u8, MMS_A>

Source

pub fn variant(&self) -> Variant<u8, MMS_A>

Get enumerated values variant

Source

pub fn is_reset(&self) -> bool

Checks if the value of the field is RESET

Source

pub fn is_enable(&self) -> bool

Checks if the value of the field is ENABLE

Source

pub fn is_update(&self) -> bool

Checks if the value of the field is UPDATE

Source§

impl R<u32, Reg<u32, _CR2>>

Source

pub fn mms(&self) -> MMS_R

Bits 4:6 - Master mode selection

Source§

impl R<bool, UDE_A>

Source

pub fn variant(&self) -> UDE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, UIE_A>

Source

pub fn variant(&self) -> UIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<u32, Reg<u32, _DIER>>

Source

pub fn ude(&self) -> UDE_R

Bit 8 - Update DMA request enable

Source

pub fn uie(&self) -> UIE_R

Bit 0 - Update interrupt enable

Source§

impl R<bool, UIF_A>

Source

pub fn variant(&self) -> UIF_A

Get enumerated values variant

Source

pub fn is_clear(&self) -> bool

Checks if the value of the field is CLEAR

Source

pub fn is_update_pending(&self) -> bool

Checks if the value of the field is UPDATEPENDING

Source§

impl R<u32, Reg<u32, _SR>>

Source

pub fn uif(&self) -> UIF_R

Bit 0 - Update interrupt flag

Source§

impl R<u32, Reg<u32, _CNT>>

Source

pub fn cnt(&self) -> CNT_R

Bits 0:15 - Low counter value

Source§

impl R<u32, Reg<u32, _PSC>>

Source

pub fn psc(&self) -> PSC_R

Bits 0:15 - Prescaler value

Source§

impl R<u32, Reg<u32, _ARR>>

Source

pub fn arr(&self) -> ARR_R

Bits 0:15 - Low Auto-reload value

Source§

impl R<u32, Reg<u32, _ISR>>

Source

pub fn down(&self) -> DOWN_R

Bit 6 - Counter direction change up to down

Source

pub fn up(&self) -> UP_R

Bit 5 - Counter direction change down to up

Source

pub fn arrok(&self) -> ARROK_R

Bit 4 - Autoreload register update OK

Source

pub fn cmpok(&self) -> CMPOK_R

Bit 3 - Compare register update OK

Source

pub fn exttrig(&self) -> EXTTRIG_R

Bit 2 - External trigger edge event

Source

pub fn arrm(&self) -> ARRM_R

Bit 1 - Autoreload match

Source

pub fn cmpm(&self) -> CMPM_R

Bit 0 - Compare match

Source§

impl R<u32, Reg<u32, _IER>>

Source

pub fn downie(&self) -> DOWNIE_R

Bit 6 - Direction change to down Interrupt Enable

Source

pub fn upie(&self) -> UPIE_R

Bit 5 - Direction change to UP Interrupt Enable

Source

pub fn arrokie(&self) -> ARROKIE_R

Bit 4 - Autoreload register update OK Interrupt Enable

Source

pub fn cmpokie(&self) -> CMPOKIE_R

Bit 3 - Compare register update OK Interrupt Enable

Source

pub fn exttrigie(&self) -> EXTTRIGIE_R

Bit 2 - External trigger valid edge Interrupt Enable

Source

pub fn arrmie(&self) -> ARRMIE_R

Bit 1 - Autoreload match Interrupt Enable

Source

pub fn cmpmie(&self) -> CMPMIE_R

Bit 0 - Compare match Interrupt Enable

Source§

impl R<u32, Reg<u32, _CFGR>>

Source

pub fn enc(&self) -> ENC_R

Bit 24 - Encoder mode enable

Source

pub fn countmode(&self) -> COUNTMODE_R

Bit 23 - counter mode enabled

Source

pub fn preload(&self) -> PRELOAD_R

Bit 22 - Registers update mode

Source

pub fn wavpol(&self) -> WAVPOL_R

Bit 21 - Waveform shape polarity

Source

pub fn wave(&self) -> WAVE_R

Bit 20 - Waveform shape

Source

pub fn timout(&self) -> TIMOUT_R

Bit 19 - Timeout enable

Source

pub fn trigen(&self) -> TRIGEN_R

Bits 17:18 - Trigger enable and polarity

Source

pub fn trigsel(&self) -> TRIGSEL_R

Bits 13:15 - Trigger selector

Source

pub fn presc(&self) -> PRESC_R

Bits 9:11 - Clock prescaler

Source

pub fn trgflt(&self) -> TRGFLT_R

Bits 6:7 - Configurable digital filter for trigger

Source

pub fn ckflt(&self) -> CKFLT_R

Bits 3:4 - Configurable digital filter for external clock

Source

pub fn ckpol(&self) -> CKPOL_R

Bits 1:2 - Clock Polarity

Source

pub fn cksel(&self) -> CKSEL_R

Bit 0 - Clock selector

Source§

impl R<u32, Reg<u32, _CR>>

Source

pub fn cntstrt(&self) -> CNTSTRT_R

Bit 2 - Timer start in continuous mode

Source

pub fn sngstrt(&self) -> SNGSTRT_R

Bit 1 - LPTIM start in single mode

Source

pub fn enable(&self) -> ENABLE_R

Bit 0 - LPTIM Enable

Source§

impl R<u32, Reg<u32, _CMP>>

Source

pub fn cmp(&self) -> CMP_R

Bits 0:15 - Compare value

Source§

impl R<u32, Reg<u32, _ARR>>

Source

pub fn arr(&self) -> ARR_R

Bits 0:15 - Auto reload value

Source§

impl R<u32, Reg<u32, _CNT>>

Source

pub fn cnt(&self) -> CNT_R

Bits 0:15 - Counter value

Source§

impl R<bool, M1_A>

Source

pub fn variant(&self) -> M1_A

Get enumerated values variant

Source

pub fn is_m0(&self) -> bool

Checks if the value of the field is M0

Source

pub fn is_bit7(&self) -> bool

Checks if the value of the field is BIT7

Source§

impl R<bool, EOBIE_A>

Source

pub fn variant(&self) -> EOBIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, RTOIE_A>

Source

pub fn variant(&self) -> RTOIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, OVER8_A>

Source

pub fn variant(&self) -> OVER8_A

Get enumerated values variant

Source

pub fn is_oversampling16(&self) -> bool

Checks if the value of the field is OVERSAMPLING16

Source

pub fn is_oversampling8(&self) -> bool

Checks if the value of the field is OVERSAMPLING8

Source§

impl R<bool, CMIE_A>

Source

pub fn variant(&self) -> CMIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, MME_A>

Source

pub fn variant(&self) -> MME_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, M0_A>

Source

pub fn variant(&self) -> M0_A

Get enumerated values variant

Source

pub fn is_bit8(&self) -> bool

Checks if the value of the field is BIT8

Source

pub fn is_bit9(&self) -> bool

Checks if the value of the field is BIT9

Source§

impl R<bool, WAKE_A>

Source

pub fn variant(&self) -> WAKE_A

Get enumerated values variant

Source

pub fn is_idle(&self) -> bool

Checks if the value of the field is IDLE

Source

pub fn is_address(&self) -> bool

Checks if the value of the field is ADDRESS

Source§

impl R<bool, PCE_A>

Source

pub fn variant(&self) -> PCE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, PS_A>

Source

pub fn variant(&self) -> PS_A

Get enumerated values variant

Source

pub fn is_even(&self) -> bool

Checks if the value of the field is EVEN

Source

pub fn is_odd(&self) -> bool

Checks if the value of the field is ODD

Source§

impl R<bool, PEIE_A>

Source

pub fn variant(&self) -> PEIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, TXEIE_A>

Source

pub fn variant(&self) -> TXEIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, TCIE_A>

Source

pub fn variant(&self) -> TCIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, RXNEIE_A>

Source

pub fn variant(&self) -> RXNEIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, IDLEIE_A>

Source

pub fn variant(&self) -> IDLEIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, TE_A>

Source

pub fn variant(&self) -> TE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, RE_A>

Source

pub fn variant(&self) -> RE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, UESM_A>

Source

pub fn variant(&self) -> UESM_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, UE_A>

Source

pub fn variant(&self) -> UE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<u32, Reg<u32, _CR1>>

Source

pub fn m1(&self) -> M1_R

Bit 28 - Word length

Source

pub fn eobie(&self) -> EOBIE_R

Bit 27 - End of Block interrupt enable

Source

pub fn rtoie(&self) -> RTOIE_R

Bit 26 - Receiver timeout interrupt enable

Source

pub fn over8(&self) -> OVER8_R

Bit 15 - Oversampling mode

Source

pub fn cmie(&self) -> CMIE_R

Bit 14 - Character match interrupt enable

Source

pub fn mme(&self) -> MME_R

Bit 13 - Mute mode enable

Source

pub fn m0(&self) -> M0_R

Bit 12 - Word length

Source

pub fn wake(&self) -> WAKE_R

Bit 11 - Receiver wakeup method

Source

pub fn pce(&self) -> PCE_R

Bit 10 - Parity control enable

Source

pub fn ps(&self) -> PS_R

Bit 9 - Parity selection

Source

pub fn peie(&self) -> PEIE_R

Bit 8 - PE interrupt enable

Source

pub fn txeie(&self) -> TXEIE_R

Bit 7 - interrupt enable

Source

pub fn tcie(&self) -> TCIE_R

Bit 6 - Transmission complete interrupt enable

Source

pub fn rxneie(&self) -> RXNEIE_R

Bit 5 - RXNE interrupt enable

Source

pub fn idleie(&self) -> IDLEIE_R

Bit 4 - IDLE interrupt enable

Source

pub fn te(&self) -> TE_R

Bit 3 - Transmitter enable

Source

pub fn re(&self) -> RE_R

Bit 2 - Receiver enable

Source

pub fn uesm(&self) -> UESM_R

Bit 1 - USART enable in Stop mode

Source

pub fn ue(&self) -> UE_R

Bit 0 - USART enable

Source

pub fn dedt(&self) -> DEDT_R

Bits 16:20 - Driver Enable de-assertion time

Source

pub fn deat(&self) -> DEAT_R

Bits 21:25 - Driver Enable assertion time

Source§

impl R<bool, RTOEN_A>

Source

pub fn variant(&self) -> RTOEN_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, ABREN_A>

Source

pub fn variant(&self) -> ABREN_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, MSBFIRST_A>

Source

pub fn variant(&self) -> MSBFIRST_A

Get enumerated values variant

Source

pub fn is_lsb(&self) -> bool

Checks if the value of the field is LSB

Source

pub fn is_msb(&self) -> bool

Checks if the value of the field is MSB

Source§

impl R<bool, DATAINV_A>

Source

pub fn variant(&self) -> DATAINV_A

Get enumerated values variant

Source

pub fn is_positive(&self) -> bool

Checks if the value of the field is POSITIVE

Source

pub fn is_negative(&self) -> bool

Checks if the value of the field is NEGATIVE

Source§

impl R<bool, TXINV_A>

Source

pub fn variant(&self) -> TXINV_A

Get enumerated values variant

Source

pub fn is_standard(&self) -> bool

Checks if the value of the field is STANDARD

Source

pub fn is_inverted(&self) -> bool

Checks if the value of the field is INVERTED

Source§

impl R<bool, RXINV_A>

Source

pub fn variant(&self) -> RXINV_A

Get enumerated values variant

Source

pub fn is_standard(&self) -> bool

Checks if the value of the field is STANDARD

Source

pub fn is_inverted(&self) -> bool

Checks if the value of the field is INVERTED

Source§

impl R<bool, SWAP_A>

Source

pub fn variant(&self) -> SWAP_A

Get enumerated values variant

Source

pub fn is_standard(&self) -> bool

Checks if the value of the field is STANDARD

Source

pub fn is_swapped(&self) -> bool

Checks if the value of the field is SWAPPED

Source§

impl R<bool, LINEN_A>

Source

pub fn variant(&self) -> LINEN_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<u8, STOP_A>

Source

pub fn variant(&self) -> STOP_A

Get enumerated values variant

Source

pub fn is_stop1(&self) -> bool

Checks if the value of the field is STOP1

Source

pub fn is_stop0p5(&self) -> bool

Checks if the value of the field is STOP0P5

Source

pub fn is_stop2(&self) -> bool

Checks if the value of the field is STOP2

Source

pub fn is_stop1p5(&self) -> bool

Checks if the value of the field is STOP1P5

Source§

impl R<bool, CLKEN_A>

Source

pub fn variant(&self) -> CLKEN_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, CPOL_A>

Source

pub fn variant(&self) -> CPOL_A

Get enumerated values variant

Source

pub fn is_low(&self) -> bool

Checks if the value of the field is LOW

Source

pub fn is_high(&self) -> bool

Checks if the value of the field is HIGH

Source§

impl R<bool, CPHA_A>

Source

pub fn variant(&self) -> CPHA_A

Get enumerated values variant

Source

pub fn is_first(&self) -> bool

Checks if the value of the field is FIRST

Source

pub fn is_second(&self) -> bool

Checks if the value of the field is SECOND

Source§

impl R<bool, LBCL_A>

Source

pub fn variant(&self) -> LBCL_A

Get enumerated values variant

Source

pub fn is_not_output(&self) -> bool

Checks if the value of the field is NOTOUTPUT

Source

pub fn is_output(&self) -> bool

Checks if the value of the field is OUTPUT

Source§

impl R<bool, LBDIE_A>

Source

pub fn variant(&self) -> LBDIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, LBDL_A>

Source

pub fn variant(&self) -> LBDL_A

Get enumerated values variant

Source

pub fn is_bit10(&self) -> bool

Checks if the value of the field is BIT10

Source

pub fn is_bit11(&self) -> bool

Checks if the value of the field is BIT11

Source§

impl R<bool, ADDM7_A>

Source

pub fn variant(&self) -> ADDM7_A

Get enumerated values variant

Source

pub fn is_bit4(&self) -> bool

Checks if the value of the field is BIT4

Source

pub fn is_bit7(&self) -> bool

Checks if the value of the field is BIT7

Source§

impl R<u8, ABRMOD_A>

Source

pub fn variant(&self) -> ABRMOD_A

Get enumerated values variant

Source

pub fn is_start(&self) -> bool

Checks if the value of the field is START

Source

pub fn is_edge(&self) -> bool

Checks if the value of the field is EDGE

Source

pub fn is_frame7f(&self) -> bool

Checks if the value of the field is FRAME7F

Source

pub fn is_frame55(&self) -> bool

Checks if the value of the field is FRAME55

Source§

impl R<u32, Reg<u32, _CR2>>

Source

pub fn rtoen(&self) -> RTOEN_R

Bit 23 - Receiver timeout enable

Source

pub fn abren(&self) -> ABREN_R

Bit 20 - Auto baud rate enable

Source

pub fn msbfirst(&self) -> MSBFIRST_R

Bit 19 - Most significant bit first

Source

pub fn datainv(&self) -> DATAINV_R

Bit 18 - Binary data inversion

Source

pub fn txinv(&self) -> TXINV_R

Bit 17 - TX pin active level inversion

Source

pub fn rxinv(&self) -> RXINV_R

Bit 16 - RX pin active level inversion

Source

pub fn swap(&self) -> SWAP_R

Bit 15 - Swap TX/RX pins

Source

pub fn linen(&self) -> LINEN_R

Bit 14 - LIN mode enable

Source

pub fn stop(&self) -> STOP_R

Bits 12:13 - STOP bits

Source

pub fn clken(&self) -> CLKEN_R

Bit 11 - Clock enable

Source

pub fn cpol(&self) -> CPOL_R

Bit 10 - Clock polarity

Source

pub fn cpha(&self) -> CPHA_R

Bit 9 - Clock phase

Source

pub fn lbcl(&self) -> LBCL_R

Bit 8 - Last bit clock pulse

Source

pub fn lbdie(&self) -> LBDIE_R

Bit 6 - LIN break detection interrupt enable

Source

pub fn lbdl(&self) -> LBDL_R

Bit 5 - LIN break detection length

Source

pub fn addm7(&self) -> ADDM7_R

Bit 4 - 7-bit Address Detection/4-bit Address Detection

Source

pub fn add(&self) -> ADD_R

Bits 24:31 - Address of the USART node

Source

pub fn abrmod(&self) -> ABRMOD_R

Bits 21:22 - Auto baud rate mode

Source§

impl R<bool, WUFIE_A>

Source

pub fn variant(&self) -> WUFIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<u8, WUS_A>

Source

pub fn variant(&self) -> Variant<u8, WUS_A>

Get enumerated values variant

Source

pub fn is_address(&self) -> bool

Checks if the value of the field is ADDRESS

Source

pub fn is_start(&self) -> bool

Checks if the value of the field is START

Source

pub fn is_rxne(&self) -> bool

Checks if the value of the field is RXNE

Source§

impl R<bool, DEP_A>

Source

pub fn variant(&self) -> DEP_A

Get enumerated values variant

Source

pub fn is_high(&self) -> bool

Checks if the value of the field is HIGH

Source

pub fn is_low(&self) -> bool

Checks if the value of the field is LOW

Source§

impl R<bool, DEM_A>

Source

pub fn variant(&self) -> DEM_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, DDRE_A>

Source

pub fn variant(&self) -> DDRE_A

Get enumerated values variant

Source

pub fn is_not_disabled(&self) -> bool

Checks if the value of the field is NOTDISABLED

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source§

impl R<bool, OVRDIS_A>

Source

pub fn variant(&self) -> OVRDIS_A

Get enumerated values variant

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source§

impl R<bool, ONEBIT_A>

Source

pub fn variant(&self) -> ONEBIT_A

Get enumerated values variant

Source

pub fn is_sample3(&self) -> bool

Checks if the value of the field is SAMPLE3

Source

pub fn is_sample1(&self) -> bool

Checks if the value of the field is SAMPLE1

Source§

impl R<bool, CTSIE_A>

Source

pub fn variant(&self) -> CTSIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, CTSE_A>

Source

pub fn variant(&self) -> CTSE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, RTSE_A>

Source

pub fn variant(&self) -> RTSE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, DMAT_A>

Source

pub fn variant(&self) -> DMAT_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, DMAR_A>

Source

pub fn variant(&self) -> DMAR_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, SCEN_A>

Source

pub fn variant(&self) -> SCEN_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, NACK_A>

Source

pub fn variant(&self) -> NACK_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, HDSEL_A>

Source

pub fn variant(&self) -> HDSEL_A

Get enumerated values variant

Source

pub fn is_not_selected(&self) -> bool

Checks if the value of the field is NOTSELECTED

Source

pub fn is_selected(&self) -> bool

Checks if the value of the field is SELECTED

Source§

impl R<bool, IRLP_A>

Source

pub fn variant(&self) -> IRLP_A

Get enumerated values variant

Source

pub fn is_normal(&self) -> bool

Checks if the value of the field is NORMAL

Source

pub fn is_low_power(&self) -> bool

Checks if the value of the field is LOWPOWER

Source§

impl R<bool, IREN_A>

Source

pub fn variant(&self) -> IREN_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, EIE_A>

Source

pub fn variant(&self) -> EIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<u32, Reg<u32, _CR3>>

Source

pub fn wufie(&self) -> WUFIE_R

Bit 22 - Wakeup from Stop mode interrupt enable

Source

pub fn wus(&self) -> WUS_R

Bits 20:21 - Wakeup from Stop mode interrupt flag selection

Source

pub fn scarcnt(&self) -> SCARCNT_R

Bits 17:19 - Smartcard auto-retry count

Source

pub fn dep(&self) -> DEP_R

Bit 15 - Driver enable polarity selection

Source

pub fn dem(&self) -> DEM_R

Bit 14 - Driver enable mode

Source

pub fn ddre(&self) -> DDRE_R

Bit 13 - DMA Disable on Reception Error

Source

pub fn ovrdis(&self) -> OVRDIS_R

Bit 12 - Overrun Disable

Source

pub fn onebit(&self) -> ONEBIT_R

Bit 11 - One sample bit method enable

Source

pub fn ctsie(&self) -> CTSIE_R

Bit 10 - CTS interrupt enable

Source

pub fn ctse(&self) -> CTSE_R

Bit 9 - CTS enable

Source

pub fn rtse(&self) -> RTSE_R

Bit 8 - RTS enable

Source

pub fn dmat(&self) -> DMAT_R

Bit 7 - DMA enable transmitter

Source

pub fn dmar(&self) -> DMAR_R

Bit 6 - DMA enable receiver

Source

pub fn scen(&self) -> SCEN_R

Bit 5 - Smartcard mode enable

Source

pub fn nack(&self) -> NACK_R

Bit 4 - Smartcard NACK enable

Source

pub fn hdsel(&self) -> HDSEL_R

Bit 3 - Half-duplex selection

Source

pub fn irlp(&self) -> IRLP_R

Bit 2 - Ir low-power

Source

pub fn iren(&self) -> IREN_R

Bit 1 - Ir mode enable

Source

pub fn eie(&self) -> EIE_R

Bit 0 - Error interrupt enable

Source§

impl R<u32, Reg<u32, _BRR>>

Source

pub fn brr(&self) -> BRR_R

Bits 0:15 - DIV_Mantissa

Source§

impl R<u32, Reg<u32, _GTPR>>

Source

pub fn gt(&self) -> GT_R

Bits 8:15 - Guard time value

Source

pub fn psc(&self) -> PSC_R

Bits 0:7 - Prescaler value

Source§

impl R<u32, Reg<u32, _RTOR>>

Source

pub fn blen(&self) -> BLEN_R

Bits 24:31 - Block Length

Source

pub fn rto(&self) -> RTO_R

Bits 0:23 - Receiver timeout value

Source§

impl R<u32, Reg<u32, _ISR>>

Source

pub fn reack(&self) -> REACK_R

Bit 22 - REACK

Source

pub fn teack(&self) -> TEACK_R

Bit 21 - TEACK

Source

pub fn wuf(&self) -> WUF_R

Bit 20 - WUF

Source

pub fn rwu(&self) -> RWU_R

Bit 19 - RWU

Source

pub fn sbkf(&self) -> SBKF_R

Bit 18 - SBKF

Source

pub fn cmf(&self) -> CMF_R

Bit 17 - CMF

Source

pub fn busy(&self) -> BUSY_R

Bit 16 - BUSY

Source

pub fn abrf(&self) -> ABRF_R

Bit 15 - ABRF

Source

pub fn abre(&self) -> ABRE_R

Bit 14 - ABRE

Source

pub fn eobf(&self) -> EOBF_R

Bit 12 - EOBF

Source

pub fn rtof(&self) -> RTOF_R

Bit 11 - RTOF

Source

pub fn cts(&self) -> CTS_R

Bit 10 - CTS

Source

pub fn ctsif(&self) -> CTSIF_R

Bit 9 - CTSIF

Source

pub fn lbdf(&self) -> LBDF_R

Bit 8 - LBDF

Source

pub fn txe(&self) -> TXE_R

Bit 7 - TXE

Source

pub fn tc(&self) -> TC_R

Bit 6 - TC

Source

pub fn rxne(&self) -> RXNE_R

Bit 5 - RXNE

Source

pub fn idle(&self) -> IDLE_R

Bit 4 - IDLE

Source

pub fn ore(&self) -> ORE_R

Bit 3 - ORE

Source

pub fn nf(&self) -> NF_R

Bit 2 - NF

Source

pub fn fe(&self) -> FE_R

Bit 1 - FE

Source

pub fn pe(&self) -> PE_R

Bit 0 - PE

Source§

impl R<u32, Reg<u32, _RDR>>

Source

pub fn rdr(&self) -> RDR_R

Bits 0:8 - Receive data value

Source§

impl R<u32, Reg<u32, _TDR>>

Source

pub fn tdr(&self) -> TDR_R

Bits 0:8 - Transmit data value

Source§

impl R<bool, M1_A>

Source

pub fn variant(&self) -> M1_A

Get enumerated values variant

Source

pub fn is_m0(&self) -> bool

Checks if the value of the field is M0

Source

pub fn is_bit7(&self) -> bool

Checks if the value of the field is BIT7

Source§

impl R<bool, CMIE_A>

Source

pub fn variant(&self) -> CMIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, MME_A>

Source

pub fn variant(&self) -> MME_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, M0_A>

Source

pub fn variant(&self) -> M0_A

Get enumerated values variant

Source

pub fn is_bit8(&self) -> bool

Checks if the value of the field is BIT8

Source

pub fn is_bit9(&self) -> bool

Checks if the value of the field is BIT9

Source§

impl R<bool, WAKE_A>

Source

pub fn variant(&self) -> WAKE_A

Get enumerated values variant

Source

pub fn is_idle(&self) -> bool

Checks if the value of the field is IDLE

Source

pub fn is_address(&self) -> bool

Checks if the value of the field is ADDRESS

Source§

impl R<bool, PCE_A>

Source

pub fn variant(&self) -> PCE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, PS_A>

Source

pub fn variant(&self) -> PS_A

Get enumerated values variant

Source

pub fn is_even(&self) -> bool

Checks if the value of the field is EVEN

Source

pub fn is_odd(&self) -> bool

Checks if the value of the field is ODD

Source§

impl R<bool, PEIE_A>

Source

pub fn variant(&self) -> PEIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, TXEIE_A>

Source

pub fn variant(&self) -> TXEIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, TCIE_A>

Source

pub fn variant(&self) -> TCIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, RXNEIE_A>

Source

pub fn variant(&self) -> RXNEIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, IDLEIE_A>

Source

pub fn variant(&self) -> IDLEIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, TE_A>

Source

pub fn variant(&self) -> TE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, RE_A>

Source

pub fn variant(&self) -> RE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, UESM_A>

Source

pub fn variant(&self) -> UESM_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, UE_A>

Source

pub fn variant(&self) -> UE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<u32, Reg<u32, _CR1>>

Source

pub fn m1(&self) -> M1_R

Bit 28 - Word length

Source

pub fn cmie(&self) -> CMIE_R

Bit 14 - Character match interrupt enable

Source

pub fn mme(&self) -> MME_R

Bit 13 - Mute mode enable

Source

pub fn m0(&self) -> M0_R

Bit 12 - Word length

Source

pub fn wake(&self) -> WAKE_R

Bit 11 - Receiver wakeup method

Source

pub fn pce(&self) -> PCE_R

Bit 10 - Parity control enable

Source

pub fn ps(&self) -> PS_R

Bit 9 - Parity selection

Source

pub fn peie(&self) -> PEIE_R

Bit 8 - PE interrupt enable

Source

pub fn txeie(&self) -> TXEIE_R

Bit 7 - interrupt enable

Source

pub fn tcie(&self) -> TCIE_R

Bit 6 - Transmission complete interrupt enable

Source

pub fn rxneie(&self) -> RXNEIE_R

Bit 5 - RXNE interrupt enable

Source

pub fn idleie(&self) -> IDLEIE_R

Bit 4 - IDLE interrupt enable

Source

pub fn te(&self) -> TE_R

Bit 3 - Transmitter enable

Source

pub fn re(&self) -> RE_R

Bit 2 - Receiver enable

Source

pub fn uesm(&self) -> UESM_R

Bit 1 - USART enable in Stop mode

Source

pub fn ue(&self) -> UE_R

Bit 0 - USART enable

Source

pub fn deat(&self) -> DEAT_R

Bits 21:25 - Driver Enable assertion time

Source

pub fn dedt(&self) -> DEDT_R

Bits 16:20 - Driver Enable de-assertion time

Source§

impl R<bool, MSBFIRST_A>

Source

pub fn variant(&self) -> MSBFIRST_A

Get enumerated values variant

Source

pub fn is_lsb(&self) -> bool

Checks if the value of the field is LSB

Source

pub fn is_msb(&self) -> bool

Checks if the value of the field is MSB

Source§

impl R<bool, DATAINV_A>

Source

pub fn variant(&self) -> DATAINV_A

Get enumerated values variant

Source

pub fn is_positive(&self) -> bool

Checks if the value of the field is POSITIVE

Source

pub fn is_negative(&self) -> bool

Checks if the value of the field is NEGATIVE

Source§

impl R<bool, TXINV_A>

Source

pub fn variant(&self) -> TXINV_A

Get enumerated values variant

Source

pub fn is_standard(&self) -> bool

Checks if the value of the field is STANDARD

Source

pub fn is_inverted(&self) -> bool

Checks if the value of the field is INVERTED

Source§

impl R<bool, RXINV_A>

Source

pub fn variant(&self) -> RXINV_A

Get enumerated values variant

Source

pub fn is_standard(&self) -> bool

Checks if the value of the field is STANDARD

Source

pub fn is_inverted(&self) -> bool

Checks if the value of the field is INVERTED

Source§

impl R<bool, SWAP_A>

Source

pub fn variant(&self) -> SWAP_A

Get enumerated values variant

Source

pub fn is_standard(&self) -> bool

Checks if the value of the field is STANDARD

Source

pub fn is_swapped(&self) -> bool

Checks if the value of the field is SWAPPED

Source§

impl R<u8, STOP_A>

Source

pub fn variant(&self) -> STOP_A

Get enumerated values variant

Source

pub fn is_stop1(&self) -> bool

Checks if the value of the field is STOP1

Source

pub fn is_stop0p5(&self) -> bool

Checks if the value of the field is STOP0P5

Source

pub fn is_stop2(&self) -> bool

Checks if the value of the field is STOP2

Source

pub fn is_stop1p5(&self) -> bool

Checks if the value of the field is STOP1P5

Source§

impl R<bool, CLKEN_A>

Source

pub fn variant(&self) -> CLKEN_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, ADDM7_A>

Source

pub fn variant(&self) -> ADDM7_A

Get enumerated values variant

Source

pub fn is_bit4(&self) -> bool

Checks if the value of the field is BIT4

Source

pub fn is_bit7(&self) -> bool

Checks if the value of the field is BIT7

Source§

impl R<u32, Reg<u32, _CR2>>

Source

pub fn msbfirst(&self) -> MSBFIRST_R

Bit 19 - Most significant bit first

Source

pub fn datainv(&self) -> DATAINV_R

Bit 18 - Binary data inversion

Source

pub fn txinv(&self) -> TXINV_R

Bit 17 - TX pin active level inversion

Source

pub fn rxinv(&self) -> RXINV_R

Bit 16 - RX pin active level inversion

Source

pub fn swap(&self) -> SWAP_R

Bit 15 - Swap TX/RX pins

Source

pub fn stop(&self) -> STOP_R

Bits 12:13 - STOP bits

Source

pub fn clken(&self) -> CLKEN_R

Bit 11 - Clock enable

Source

pub fn addm7(&self) -> ADDM7_R

Bit 4 - 7-bit Address Detection/4-bit Address Detection

Source

pub fn add(&self) -> ADD_R

Bits 24:31 - Address of the USART node

Source§

impl R<bool, WUFIE_A>

Source

pub fn variant(&self) -> WUFIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<u8, WUS_A>

Source

pub fn variant(&self) -> Variant<u8, WUS_A>

Get enumerated values variant

Source

pub fn is_address(&self) -> bool

Checks if the value of the field is ADDRESS

Source

pub fn is_start(&self) -> bool

Checks if the value of the field is START

Source

pub fn is_rxne(&self) -> bool

Checks if the value of the field is RXNE

Source§

impl R<bool, DEP_A>

Source

pub fn variant(&self) -> DEP_A

Get enumerated values variant

Source

pub fn is_high(&self) -> bool

Checks if the value of the field is HIGH

Source

pub fn is_low(&self) -> bool

Checks if the value of the field is LOW

Source§

impl R<bool, DEM_A>

Source

pub fn variant(&self) -> DEM_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, DDRE_A>

Source

pub fn variant(&self) -> DDRE_A

Get enumerated values variant

Source

pub fn is_not_disabled(&self) -> bool

Checks if the value of the field is NOTDISABLED

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source§

impl R<bool, OVRDIS_A>

Source

pub fn variant(&self) -> OVRDIS_A

Get enumerated values variant

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source§

impl R<bool, CTSIE_A>

Source

pub fn variant(&self) -> CTSIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, CTSE_A>

Source

pub fn variant(&self) -> CTSE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, RTSE_A>

Source

pub fn variant(&self) -> RTSE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, DMAT_A>

Source

pub fn variant(&self) -> DMAT_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, DMAR_A>

Source

pub fn variant(&self) -> DMAR_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, HDSEL_A>

Source

pub fn variant(&self) -> HDSEL_A

Get enumerated values variant

Source

pub fn is_not_selected(&self) -> bool

Checks if the value of the field is NOTSELECTED

Source

pub fn is_selected(&self) -> bool

Checks if the value of the field is SELECTED

Source§

impl R<bool, EIE_A>

Source

pub fn variant(&self) -> EIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<u32, Reg<u32, _CR3>>

Source

pub fn wufie(&self) -> WUFIE_R

Bit 22 - Wakeup from Stop mode interrupt enable

Source

pub fn wus(&self) -> WUS_R

Bits 20:21 - Wakeup from Stop mode interrupt flag selection

Source

pub fn dep(&self) -> DEP_R

Bit 15 - Driver enable polarity selection

Source

pub fn dem(&self) -> DEM_R

Bit 14 - Driver enable mode

Source

pub fn ddre(&self) -> DDRE_R

Bit 13 - DMA Disable on Reception Error

Source

pub fn ovrdis(&self) -> OVRDIS_R

Bit 12 - Overrun Disable

Source

pub fn ctsie(&self) -> CTSIE_R

Bit 10 - CTS interrupt enable

Source

pub fn ctse(&self) -> CTSE_R

Bit 9 - CTS enable

Source

pub fn rtse(&self) -> RTSE_R

Bit 8 - RTS enable

Source

pub fn dmat(&self) -> DMAT_R

Bit 7 - DMA enable transmitter

Source

pub fn dmar(&self) -> DMAR_R

Bit 6 - DMA enable receiver

Source

pub fn hdsel(&self) -> HDSEL_R

Bit 3 - Half-duplex selection

Source

pub fn eie(&self) -> EIE_R

Bit 0 - Error interrupt enable

Source§

impl R<u32, Reg<u32, _BRR>>

Source

pub fn brr(&self) -> BRR_R

Bits 0:19 - BRR

Source§

impl R<u32, Reg<u32, _ISR>>

Source

pub fn reack(&self) -> REACK_R

Bit 22 - REACK

Source

pub fn teack(&self) -> TEACK_R

Bit 21 - TEACK

Source

pub fn wuf(&self) -> WUF_R

Bit 20 - WUF

Source

pub fn rwu(&self) -> RWU_R

Bit 19 - RWU

Source

pub fn sbkf(&self) -> SBKF_R

Bit 18 - SBKF

Source

pub fn cmf(&self) -> CMF_R

Bit 17 - CMF

Source

pub fn busy(&self) -> BUSY_R

Bit 16 - BUSY

Source

pub fn cts(&self) -> CTS_R

Bit 10 - CTS

Source

pub fn ctsif(&self) -> CTSIF_R

Bit 9 - CTSIF

Source

pub fn txe(&self) -> TXE_R

Bit 7 - TXE

Source

pub fn tc(&self) -> TC_R

Bit 6 - TC

Source

pub fn rxne(&self) -> RXNE_R

Bit 5 - RXNE

Source

pub fn idle(&self) -> IDLE_R

Bit 4 - IDLE

Source

pub fn ore(&self) -> ORE_R

Bit 3 - ORE

Source

pub fn nf(&self) -> NF_R

Bit 2 - NF

Source

pub fn fe(&self) -> FE_R

Bit 1 - FE

Source

pub fn pe(&self) -> PE_R

Bit 0 - PE

Source§

impl R<u32, Reg<u32, _RDR>>

Source

pub fn rdr(&self) -> RDR_R

Bits 0:8 - Receive data value

Source§

impl R<u32, Reg<u32, _TDR>>

Source

pub fn tdr(&self) -> TDR_R

Bits 0:8 - Transmit data value

Source§

impl R<bool, BIDIMODE_A>

Source

pub fn variant(&self) -> BIDIMODE_A

Get enumerated values variant

Source

pub fn is_unidirectional(&self) -> bool

Checks if the value of the field is UNIDIRECTIONAL

Source

pub fn is_bidirectional(&self) -> bool

Checks if the value of the field is BIDIRECTIONAL

Source§

impl R<bool, BIDIOE_A>

Source

pub fn variant(&self) -> BIDIOE_A

Get enumerated values variant

Source

pub fn is_output_disabled(&self) -> bool

Checks if the value of the field is OUTPUTDISABLED

Source

pub fn is_output_enabled(&self) -> bool

Checks if the value of the field is OUTPUTENABLED

Source§

impl R<bool, CRCEN_A>

Source

pub fn variant(&self) -> CRCEN_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, CRCNEXT_A>

Source

pub fn variant(&self) -> CRCNEXT_A

Get enumerated values variant

Source

pub fn is_tx_buffer(&self) -> bool

Checks if the value of the field is TXBUFFER

Source

pub fn is_crc(&self) -> bool

Checks if the value of the field is CRC

Source§

impl R<bool, RXONLY_A>

Source

pub fn variant(&self) -> RXONLY_A

Get enumerated values variant

Source

pub fn is_full_duplex(&self) -> bool

Checks if the value of the field is FULLDUPLEX

Source

pub fn is_output_disabled(&self) -> bool

Checks if the value of the field is OUTPUTDISABLED

Source§

impl R<bool, SSM_A>

Source

pub fn variant(&self) -> SSM_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, SSI_A>

Source

pub fn variant(&self) -> SSI_A

Get enumerated values variant

Source

pub fn is_slave_selected(&self) -> bool

Checks if the value of the field is SLAVESELECTED

Source

pub fn is_slave_not_selected(&self) -> bool

Checks if the value of the field is SLAVENOTSELECTED

Source§

impl R<bool, LSBFIRST_A>

Source

pub fn variant(&self) -> LSBFIRST_A

Get enumerated values variant

Source

pub fn is_msbfirst(&self) -> bool

Checks if the value of the field is MSBFIRST

Source

pub fn is_lsbfirst(&self) -> bool

Checks if the value of the field is LSBFIRST

Source§

impl R<bool, SPE_A>

Source

pub fn variant(&self) -> SPE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<u8, BR_A>

Source

pub fn variant(&self) -> BR_A

Get enumerated values variant

Source

pub fn is_div2(&self) -> bool

Checks if the value of the field is DIV2

Source

pub fn is_div4(&self) -> bool

Checks if the value of the field is DIV4

Source

pub fn is_div8(&self) -> bool

Checks if the value of the field is DIV8

Source

pub fn is_div16(&self) -> bool

Checks if the value of the field is DIV16

Source

pub fn is_div32(&self) -> bool

Checks if the value of the field is DIV32

Source

pub fn is_div64(&self) -> bool

Checks if the value of the field is DIV64

Source

pub fn is_div128(&self) -> bool

Checks if the value of the field is DIV128

Source

pub fn is_div256(&self) -> bool

Checks if the value of the field is DIV256

Source§

impl R<bool, MSTR_A>

Source

pub fn variant(&self) -> MSTR_A

Get enumerated values variant

Source

pub fn is_slave(&self) -> bool

Checks if the value of the field is SLAVE

Source

pub fn is_master(&self) -> bool

Checks if the value of the field is MASTER

Source§

impl R<bool, CPOL_A>

Source

pub fn variant(&self) -> CPOL_A

Get enumerated values variant

Source

pub fn is_idle_low(&self) -> bool

Checks if the value of the field is IDLELOW

Source

pub fn is_idle_high(&self) -> bool

Checks if the value of the field is IDLEHIGH

Source§

impl R<bool, CPHA_A>

Source

pub fn variant(&self) -> CPHA_A

Get enumerated values variant

Source

pub fn is_first_edge(&self) -> bool

Checks if the value of the field is FIRSTEDGE

Source

pub fn is_second_edge(&self) -> bool

Checks if the value of the field is SECONDEDGE

Source§

impl R<u32, Reg<u32, _CR1>>

Source

pub fn bidimode(&self) -> BIDIMODE_R

Bit 15 - Bidirectional data mode enable

Source

pub fn bidioe(&self) -> BIDIOE_R

Bit 14 - Output enable in bidirectional mode

Source

pub fn crcen(&self) -> CRCEN_R

Bit 13 - Hardware CRC calculation enable

Source

pub fn crcnext(&self) -> CRCNEXT_R

Bit 12 - CRC transfer next

Source

pub fn crcl(&self) -> CRCL_R

Bit 11 - CRC length

Source

pub fn rxonly(&self) -> RXONLY_R

Bit 10 - Receive only

Source

pub fn ssm(&self) -> SSM_R

Bit 9 - Software slave management

Source

pub fn ssi(&self) -> SSI_R

Bit 8 - Internal slave select

Source

pub fn lsbfirst(&self) -> LSBFIRST_R

Bit 7 - Frame format

Source

pub fn spe(&self) -> SPE_R

Bit 6 - SPI enable

Source

pub fn br(&self) -> BR_R

Bits 3:5 - Baud rate control

Source

pub fn mstr(&self) -> MSTR_R

Bit 2 - Master selection

Source

pub fn cpol(&self) -> CPOL_R

Bit 1 - Clock polarity

Source

pub fn cpha(&self) -> CPHA_R

Bit 0 - Clock phase

Source§

impl R<bool, RXDMAEN_A>

Source

pub fn variant(&self) -> RXDMAEN_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, TXDMAEN_A>

Source

pub fn variant(&self) -> TXDMAEN_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, SSOE_A>

Source

pub fn variant(&self) -> SSOE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, ERRIE_A>

Source

pub fn variant(&self) -> ERRIE_A

Get enumerated values variant

Source

pub fn is_masked(&self) -> bool

Checks if the value of the field is MASKED

Source

pub fn is_not_masked(&self) -> bool

Checks if the value of the field is NOTMASKED

Source§

impl R<bool, RXNEIE_A>

Source

pub fn variant(&self) -> RXNEIE_A

Get enumerated values variant

Source

pub fn is_masked(&self) -> bool

Checks if the value of the field is MASKED

Source

pub fn is_not_masked(&self) -> bool

Checks if the value of the field is NOTMASKED

Source§

impl R<bool, TXEIE_A>

Source

pub fn variant(&self) -> TXEIE_A

Get enumerated values variant

Source

pub fn is_masked(&self) -> bool

Checks if the value of the field is MASKED

Source

pub fn is_not_masked(&self) -> bool

Checks if the value of the field is NOTMASKED

Source§

impl R<u32, Reg<u32, _CR2>>

Source

pub fn rxdmaen(&self) -> RXDMAEN_R

Bit 0 - Rx buffer DMA enable

Source

pub fn txdmaen(&self) -> TXDMAEN_R

Bit 1 - Tx buffer DMA enable

Source

pub fn ssoe(&self) -> SSOE_R

Bit 2 - SS output enable

Source

pub fn nssp(&self) -> NSSP_R

Bit 3 - NSS pulse management

Source

pub fn frf(&self) -> FRF_R

Bit 4 - Frame format

Source

pub fn errie(&self) -> ERRIE_R

Bit 5 - Error interrupt enable

Source

pub fn rxneie(&self) -> RXNEIE_R

Bit 6 - RX buffer not empty interrupt enable

Source

pub fn txeie(&self) -> TXEIE_R

Bit 7 - Tx buffer empty interrupt enable

Source

pub fn ds(&self) -> DS_R

Bits 8:11 - Data size

Source

pub fn frxth(&self) -> FRXTH_R

Bit 12 - FIFO reception threshold

Source

pub fn ldma_rx(&self) -> LDMA_RX_R

Bit 13 - Last DMA transfer for reception

Source

pub fn ldma_tx(&self) -> LDMA_TX_R

Bit 14 - Last DMA transfer for transmission

Source§

impl R<bool, RXNE_A>

Source

pub fn variant(&self) -> RXNE_A

Get enumerated values variant

Source

pub fn is_empty(&self) -> bool

Checks if the value of the field is EMPTY

Source

pub fn is_not_empty(&self) -> bool

Checks if the value of the field is NOTEMPTY

Source§

impl R<bool, TXE_A>

Source

pub fn variant(&self) -> TXE_A

Get enumerated values variant

Source

pub fn is_not_empty(&self) -> bool

Checks if the value of the field is NOTEMPTY

Source

pub fn is_empty(&self) -> bool

Checks if the value of the field is EMPTY

Source§

impl R<bool, CRCERR_A>

Source

pub fn variant(&self) -> CRCERR_A

Get enumerated values variant

Source

pub fn is_match_(&self) -> bool

Checks if the value of the field is MATCH

Source

pub fn is_no_match(&self) -> bool

Checks if the value of the field is NOMATCH

Source§

impl R<bool, MODF_A>

Source

pub fn variant(&self) -> MODF_A

Get enumerated values variant

Source

pub fn is_no_fault(&self) -> bool

Checks if the value of the field is NOFAULT

Source

pub fn is_fault(&self) -> bool

Checks if the value of the field is FAULT

Source§

impl R<bool, OVR_A>

Source

pub fn variant(&self) -> OVR_A

Get enumerated values variant

Source

pub fn is_no_overrun(&self) -> bool

Checks if the value of the field is NOOVERRUN

Source

pub fn is_overrun(&self) -> bool

Checks if the value of the field is OVERRUN

Source§

impl R<bool, BSY_A>

Source

pub fn variant(&self) -> BSY_A

Get enumerated values variant

Source

pub fn is_not_busy(&self) -> bool

Checks if the value of the field is NOTBUSY

Source

pub fn is_busy(&self) -> bool

Checks if the value of the field is BUSY

Source§

impl R<u32, Reg<u32, _SR>>

Source

pub fn rxne(&self) -> RXNE_R

Bit 0 - Receive buffer not empty

Source

pub fn txe(&self) -> TXE_R

Bit 1 - Transmit buffer empty

Source

pub fn crcerr(&self) -> CRCERR_R

Bit 4 - CRC error flag

Source

pub fn modf(&self) -> MODF_R

Bit 5 - Mode fault

Source

pub fn ovr(&self) -> OVR_R

Bit 6 - Overrun flag

Source

pub fn bsy(&self) -> BSY_R

Bit 7 - Busy flag

Source

pub fn fre(&self) -> FRE_R

Bit 8 - Frame format error

Source

pub fn frlvl(&self) -> FRLVL_R

Bits 9:10 - FIFO reception level

Source

pub fn ftlvl(&self) -> FTLVL_R

Bits 11:12 - FIFO transmission level

Source§

impl R<u32, Reg<u32, _DR>>

Source

pub fn dr(&self) -> DR_R

Bits 0:15 - Data register

Source§

impl R<u32, Reg<u32, _CRCPR>>

Source

pub fn crcpoly(&self) -> CRCPOLY_R

Bits 0:15 - CRC polynomial register

Source§

impl R<u32, Reg<u32, _RXCRCR>>

Source

pub fn rx_crc(&self) -> RXCRC_R

Bits 0:15 - Rx CRC register

Source§

impl R<u32, Reg<u32, _TXCRCR>>

Source

pub fn tx_crc(&self) -> TXCRC_R

Bits 0:15 - Tx CRC register

Source§

impl R<u32, Reg<u32, _POWER>>

Source

pub fn pwrctrl(&self) -> PWRCTRL_R

Bits 0:1 - PWRCTRL

Source§

impl R<u32, Reg<u32, _CLKCR>>

Source

pub fn hwfc_en(&self) -> HWFC_EN_R

Bit 14 - HW Flow Control enable

Source

pub fn negedge(&self) -> NEGEDGE_R

Bit 13 - SDIO_CK dephasing selection bit

Source

pub fn widbus(&self) -> WIDBUS_R

Bits 11:12 - Wide bus mode enable bit

Source

pub fn bypass(&self) -> BYPASS_R

Bit 10 - Clock divider bypass enable bit

Source

pub fn pwrsav(&self) -> PWRSAV_R

Bit 9 - Power saving configuration bit

Source

pub fn clken(&self) -> CLKEN_R

Bit 8 - Clock enable bit

Source

pub fn clkdiv(&self) -> CLKDIV_R

Bits 0:7 - Clock divide factor

Source§

impl R<u32, Reg<u32, _ARG>>

Source

pub fn cmdarg(&self) -> CMDARG_R

Bits 0:31 - Command argument

Source§

impl R<u32, Reg<u32, _CMD>>

Source

pub fn ce_atacmd(&self) -> CE_ATACMD_R

Bit 14 - CE-ATA command

Source

pub fn n_ien(&self) -> NIEN_R

Bit 13 - not Interrupt Enable

Source

pub fn encmdcompl(&self) -> ENCMDCOMPL_R

Bit 12 - Enable CMD completion

Source

pub fn sdiosuspend(&self) -> SDIOSUSPEND_R

Bit 11 - SD I/O suspend command

Source

pub fn cpsmen(&self) -> CPSMEN_R

Bit 10 - Command path state machine (CPSM) Enable bit

Source

pub fn waitpend(&self) -> WAITPEND_R

Bit 9 - CPSM Waits for ends of data transfer (CmdPend internal signal)

Source

pub fn waitint(&self) -> WAITINT_R

Bit 8 - CPSM waits for interrupt request

Source

pub fn waitresp(&self) -> WAITRESP_R

Bits 6:7 - Wait for response bits

Source

pub fn cmdindex(&self) -> CMDINDEX_R

Bits 0:5 - Command index

Source§

impl R<u32, Reg<u32, _RESPCMD>>

Source

pub fn respcmd(&self) -> RESPCMD_R

Bits 0:5 - Response command index

Source§

impl R<u32, Reg<u32, _RESP1>>

Source

pub fn cardstatus1(&self) -> CARDSTATUS1_R

Bits 0:31 - see Table 132

Source§

impl R<u32, Reg<u32, _RESP2>>

Source

pub fn cardstatus2(&self) -> CARDSTATUS2_R

Bits 0:31 - see Table 132

Source§

impl R<u32, Reg<u32, _RESP3>>

Source

pub fn cardstatus3(&self) -> CARDSTATUS3_R

Bits 0:31 - see Table 132

Source§

impl R<u32, Reg<u32, _RESP4>>

Source

pub fn cardstatus4(&self) -> CARDSTATUS4_R

Bits 0:31 - see Table 132

Source§

impl R<u32, Reg<u32, _DTIMER>>

Source

pub fn datatime(&self) -> DATATIME_R

Bits 0:31 - Data timeout period

Source§

impl R<u32, Reg<u32, _DLEN>>

Source

pub fn datalength(&self) -> DATALENGTH_R

Bits 0:24 - Data length value

Source§

impl R<u32, Reg<u32, _DCTRL>>

Source

pub fn sdioen(&self) -> SDIOEN_R

Bit 11 - SD I/O enable functions

Source

pub fn rwmod(&self) -> RWMOD_R

Bit 10 - Read wait mode

Source

pub fn rwstop(&self) -> RWSTOP_R

Bit 9 - Read wait stop

Source

pub fn rwstart(&self) -> RWSTART_R

Bit 8 - Read wait start

Source

pub fn dblocksize(&self) -> DBLOCKSIZE_R

Bits 4:7 - Data block size

Source

pub fn dmaen(&self) -> DMAEN_R

Bit 3 - DMA enable bit

Source

pub fn dtmode(&self) -> DTMODE_R

Bit 2 - Data transfer mode selection 1: Stream or SDIO multibyte data transfer

Source

pub fn dtdir(&self) -> DTDIR_R

Bit 1 - Data transfer direction selection

Source

pub fn dten(&self) -> DTEN_R

Bit 0 - DTEN

Source§

impl R<u32, Reg<u32, _DCOUNT>>

Source

pub fn datacount(&self) -> DATACOUNT_R

Bits 0:24 - Data count value

Source§

impl R<u32, Reg<u32, _STA>>

Source

pub fn ceataend(&self) -> CEATAEND_R

Bit 23 - CE-ATA command completion signal received for CMD61

Source

pub fn sdioit(&self) -> SDIOIT_R

Bit 22 - SDIO interrupt received

Source

pub fn rxdavl(&self) -> RXDAVL_R

Bit 21 - Data available in receive FIFO

Source

pub fn txdavl(&self) -> TXDAVL_R

Bit 20 - Data available in transmit FIFO

Source

pub fn rxfifoe(&self) -> RXFIFOE_R

Bit 19 - Receive FIFO empty

Source

pub fn txfifoe(&self) -> TXFIFOE_R

Bit 18 - Transmit FIFO empty

Source

pub fn rxfifof(&self) -> RXFIFOF_R

Bit 17 - Receive FIFO full

Source

pub fn txfifof(&self) -> TXFIFOF_R

Bit 16 - Transmit FIFO full

Source

pub fn rxfifohf(&self) -> RXFIFOHF_R

Bit 15 - Receive FIFO half full: there are at least 8 words in the FIFO

Source

pub fn txfifohe(&self) -> TXFIFOHE_R

Bit 14 - Transmit FIFO half empty: at least 8 words can be written into the FIFO

Source

pub fn rxact(&self) -> RXACT_R

Bit 13 - Data receive in progress

Source

pub fn txact(&self) -> TXACT_R

Bit 12 - Data transmit in progress

Source

pub fn cmdact(&self) -> CMDACT_R

Bit 11 - Command transfer in progress

Source

pub fn dbckend(&self) -> DBCKEND_R

Bit 10 - Data block sent/received (CRC check passed)

Source

pub fn stbiterr(&self) -> STBITERR_R

Bit 9 - Start bit not detected on all data signals in wide bus mode

Source

pub fn dataend(&self) -> DATAEND_R

Bit 8 - Data end (data counter, SDIDCOUNT, is zero)

Source

pub fn cmdsent(&self) -> CMDSENT_R

Bit 7 - Command sent (no response required)

Source

pub fn cmdrend(&self) -> CMDREND_R

Bit 6 - Command response received (CRC check passed)

Source

pub fn rxoverr(&self) -> RXOVERR_R

Bit 5 - Received FIFO overrun error

Source

pub fn txunderr(&self) -> TXUNDERR_R

Bit 4 - Transmit FIFO underrun error

Source

pub fn dtimeout(&self) -> DTIMEOUT_R

Bit 3 - Data timeout

Source

pub fn ctimeout(&self) -> CTIMEOUT_R

Bit 2 - Command response timeout

Source

pub fn dcrcfail(&self) -> DCRCFAIL_R

Bit 1 - Data block sent/received (CRC check failed)

Source

pub fn ccrcfail(&self) -> CCRCFAIL_R

Bit 0 - Command response received (CRC check failed)

Source§

impl R<u32, Reg<u32, _ICR>>

Source

pub fn ceataendc(&self) -> CEATAENDC_R

Bit 23 - CEATAEND flag clear bit

Source

pub fn sdioitc(&self) -> SDIOITC_R

Bit 22 - SDIOIT flag clear bit

Source

pub fn dbckendc(&self) -> DBCKENDC_R

Bit 10 - DBCKEND flag clear bit

Source

pub fn stbiterrc(&self) -> STBITERRC_R

Bit 9 - STBITERR flag clear bit

Source

pub fn dataendc(&self) -> DATAENDC_R

Bit 8 - DATAEND flag clear bit

Source

pub fn cmdsentc(&self) -> CMDSENTC_R

Bit 7 - CMDSENT flag clear bit

Source

pub fn cmdrendc(&self) -> CMDRENDC_R

Bit 6 - CMDREND flag clear bit

Source

pub fn rxoverrc(&self) -> RXOVERRC_R

Bit 5 - RXOVERR flag clear bit

Source

pub fn txunderrc(&self) -> TXUNDERRC_R

Bit 4 - TXUNDERR flag clear bit

Source

pub fn dtimeoutc(&self) -> DTIMEOUTC_R

Bit 3 - DTIMEOUT flag clear bit

Source

pub fn ctimeoutc(&self) -> CTIMEOUTC_R

Bit 2 - CTIMEOUT flag clear bit

Source

pub fn dcrcfailc(&self) -> DCRCFAILC_R

Bit 1 - DCRCFAIL flag clear bit

Source

pub fn ccrcfailc(&self) -> CCRCFAILC_R

Bit 0 - CCRCFAIL flag clear bit

Source§

impl R<u32, Reg<u32, _MASK>>

Source

pub fn ceataendie(&self) -> CEATAENDIE_R

Bit 23 - CE-ATA command completion signal received interrupt enable

Source

pub fn sdioitie(&self) -> SDIOITIE_R

Bit 22 - SDIO mode interrupt received interrupt enable

Source

pub fn rxdavlie(&self) -> RXDAVLIE_R

Bit 21 - Data available in Rx FIFO interrupt enable

Source

pub fn txdavlie(&self) -> TXDAVLIE_R

Bit 20 - Data available in Tx FIFO interrupt enable

Source

pub fn rxfifoeie(&self) -> RXFIFOEIE_R

Bit 19 - Rx FIFO empty interrupt enable

Source

pub fn txfifoeie(&self) -> TXFIFOEIE_R

Bit 18 - Tx FIFO empty interrupt enable

Source

pub fn rxfifofie(&self) -> RXFIFOFIE_R

Bit 17 - Rx FIFO full interrupt enable

Source

pub fn txfifofie(&self) -> TXFIFOFIE_R

Bit 16 - Tx FIFO full interrupt enable

Source

pub fn rxfifohfie(&self) -> RXFIFOHFIE_R

Bit 15 - Rx FIFO half full interrupt enable

Source

pub fn txfifoheie(&self) -> TXFIFOHEIE_R

Bit 14 - Tx FIFO half empty interrupt enable

Source

pub fn rxactie(&self) -> RXACTIE_R

Bit 13 - Data receive acting interrupt enable

Source

pub fn txactie(&self) -> TXACTIE_R

Bit 12 - Data transmit acting interrupt enable

Source

pub fn cmdactie(&self) -> CMDACTIE_R

Bit 11 - Command acting interrupt enable

Source

pub fn dbckendie(&self) -> DBCKENDIE_R

Bit 10 - Data block end interrupt enable

Source

pub fn stbiterrie(&self) -> STBITERRIE_R

Bit 9 - Start bit error interrupt enable

Source

pub fn dataendie(&self) -> DATAENDIE_R

Bit 8 - Data end interrupt enable

Source

pub fn cmdsentie(&self) -> CMDSENTIE_R

Bit 7 - Command sent interrupt enable

Source

pub fn cmdrendie(&self) -> CMDRENDIE_R

Bit 6 - Command response received interrupt enable

Source

pub fn rxoverrie(&self) -> RXOVERRIE_R

Bit 5 - Rx FIFO overrun error interrupt enable

Source

pub fn txunderrie(&self) -> TXUNDERRIE_R

Bit 4 - Tx FIFO underrun error interrupt enable

Source

pub fn dtimeoutie(&self) -> DTIMEOUTIE_R

Bit 3 - Data timeout interrupt enable

Source

pub fn ctimeoutie(&self) -> CTIMEOUTIE_R

Bit 2 - Command timeout interrupt enable

Source

pub fn dcrcfailie(&self) -> DCRCFAILIE_R

Bit 1 - Data CRC fail interrupt enable

Source

pub fn ccrcfailie(&self) -> CCRCFAILIE_R

Bit 0 - Command CRC fail interrupt enable

Source§

impl R<u32, Reg<u32, _FIFOCNT>>

Source

pub fn fifocount(&self) -> FIFOCOUNT_R

Bits 0:23 - Remaining number of words to be written to or read from the FIFO

Source§

impl R<u32, Reg<u32, _FIFO>>

Source

pub fn fifodata(&self) -> FIFODATA_R

Bits 0:31 - Receive and transmit FIFO data

Source§

impl R<bool, MR0_A>

Source

pub fn variant(&self) -> MR0_A

Get enumerated values variant

Source

pub fn is_masked(&self) -> bool

Checks if the value of the field is MASKED

Source

pub fn is_unmasked(&self) -> bool

Checks if the value of the field is UNMASKED

Source§

impl R<u32, Reg<u32, _IMR1>>

Source

pub fn mr0(&self) -> MR0_R

Bit 0 - Interrupt Mask on line 0

Source

pub fn mr1(&self) -> MR1_R

Bit 1 - Interrupt Mask on line 1

Source

pub fn mr2(&self) -> MR2_R

Bit 2 - Interrupt Mask on line 2

Source

pub fn mr3(&self) -> MR3_R

Bit 3 - Interrupt Mask on line 3

Source

pub fn mr4(&self) -> MR4_R

Bit 4 - Interrupt Mask on line 4

Source

pub fn mr5(&self) -> MR5_R

Bit 5 - Interrupt Mask on line 5

Source

pub fn mr6(&self) -> MR6_R

Bit 6 - Interrupt Mask on line 6

Source

pub fn mr7(&self) -> MR7_R

Bit 7 - Interrupt Mask on line 7

Source

pub fn mr8(&self) -> MR8_R

Bit 8 - Interrupt Mask on line 8

Source

pub fn mr9(&self) -> MR9_R

Bit 9 - Interrupt Mask on line 9

Source

pub fn mr10(&self) -> MR10_R

Bit 10 - Interrupt Mask on line 10

Source

pub fn mr11(&self) -> MR11_R

Bit 11 - Interrupt Mask on line 11

Source

pub fn mr12(&self) -> MR12_R

Bit 12 - Interrupt Mask on line 12

Source

pub fn mr13(&self) -> MR13_R

Bit 13 - Interrupt Mask on line 13

Source

pub fn mr14(&self) -> MR14_R

Bit 14 - Interrupt Mask on line 14

Source

pub fn mr15(&self) -> MR15_R

Bit 15 - Interrupt Mask on line 15

Source

pub fn mr16(&self) -> MR16_R

Bit 16 - Interrupt Mask on line 16

Source

pub fn mr17(&self) -> MR17_R

Bit 17 - Interrupt Mask on line 17

Source

pub fn mr18(&self) -> MR18_R

Bit 18 - Interrupt Mask on line 18

Source

pub fn mr19(&self) -> MR19_R

Bit 19 - Interrupt Mask on line 19

Source

pub fn mr20(&self) -> MR20_R

Bit 20 - Interrupt Mask on line 20

Source

pub fn mr21(&self) -> MR21_R

Bit 21 - Interrupt Mask on line 21

Source

pub fn mr22(&self) -> MR22_R

Bit 22 - Interrupt Mask on line 22

Source

pub fn mr23(&self) -> MR23_R

Bit 23 - Interrupt Mask on line 23

Source

pub fn mr24(&self) -> MR24_R

Bit 24 - Interrupt Mask on line 24

Source

pub fn mr25(&self) -> MR25_R

Bit 25 - Interrupt Mask on line 25

Source

pub fn mr26(&self) -> MR26_R

Bit 26 - Interrupt Mask on line 26

Source

pub fn mr27(&self) -> MR27_R

Bit 27 - Interrupt Mask on line 27

Source

pub fn mr28(&self) -> MR28_R

Bit 28 - Interrupt Mask on line 28

Source

pub fn mr29(&self) -> MR29_R

Bit 29 - Interrupt Mask on line 29

Source

pub fn mr30(&self) -> MR30_R

Bit 30 - Interrupt Mask on line 30

Source

pub fn mr31(&self) -> MR31_R

Bit 31 - Interrupt Mask on line 31

Source§

impl R<bool, MR0_A>

Source

pub fn variant(&self) -> MR0_A

Get enumerated values variant

Source

pub fn is_masked(&self) -> bool

Checks if the value of the field is MASKED

Source

pub fn is_unmasked(&self) -> bool

Checks if the value of the field is UNMASKED

Source§

impl R<u32, Reg<u32, _EMR1>>

Source

pub fn mr0(&self) -> MR0_R

Bit 0 - Event Mask on line 0

Source

pub fn mr1(&self) -> MR1_R

Bit 1 - Event Mask on line 1

Source

pub fn mr2(&self) -> MR2_R

Bit 2 - Event Mask on line 2

Source

pub fn mr3(&self) -> MR3_R

Bit 3 - Event Mask on line 3

Source

pub fn mr4(&self) -> MR4_R

Bit 4 - Event Mask on line 4

Source

pub fn mr5(&self) -> MR5_R

Bit 5 - Event Mask on line 5

Source

pub fn mr6(&self) -> MR6_R

Bit 6 - Event Mask on line 6

Source

pub fn mr7(&self) -> MR7_R

Bit 7 - Event Mask on line 7

Source

pub fn mr8(&self) -> MR8_R

Bit 8 - Event Mask on line 8

Source

pub fn mr9(&self) -> MR9_R

Bit 9 - Event Mask on line 9

Source

pub fn mr10(&self) -> MR10_R

Bit 10 - Event Mask on line 10

Source

pub fn mr11(&self) -> MR11_R

Bit 11 - Event Mask on line 11

Source

pub fn mr12(&self) -> MR12_R

Bit 12 - Event Mask on line 12

Source

pub fn mr13(&self) -> MR13_R

Bit 13 - Event Mask on line 13

Source

pub fn mr14(&self) -> MR14_R

Bit 14 - Event Mask on line 14

Source

pub fn mr15(&self) -> MR15_R

Bit 15 - Event Mask on line 15

Source

pub fn mr16(&self) -> MR16_R

Bit 16 - Event Mask on line 16

Source

pub fn mr17(&self) -> MR17_R

Bit 17 - Event Mask on line 17

Source

pub fn mr18(&self) -> MR18_R

Bit 18 - Event Mask on line 18

Source

pub fn mr19(&self) -> MR19_R

Bit 19 - Event Mask on line 19

Source

pub fn mr20(&self) -> MR20_R

Bit 20 - Event Mask on line 20

Source

pub fn mr21(&self) -> MR21_R

Bit 21 - Event Mask on line 21

Source

pub fn mr22(&self) -> MR22_R

Bit 22 - Event Mask on line 22

Source

pub fn mr23(&self) -> MR23_R

Bit 23 - Event Mask on line 23

Source

pub fn mr24(&self) -> MR24_R

Bit 24 - Event Mask on line 24

Source

pub fn mr25(&self) -> MR25_R

Bit 25 - Event Mask on line 25

Source

pub fn mr26(&self) -> MR26_R

Bit 26 - Event Mask on line 26

Source

pub fn mr27(&self) -> MR27_R

Bit 27 - Event Mask on line 27

Source

pub fn mr28(&self) -> MR28_R

Bit 28 - Event Mask on line 28

Source

pub fn mr29(&self) -> MR29_R

Bit 29 - Event Mask on line 29

Source

pub fn mr30(&self) -> MR30_R

Bit 30 - Event Mask on line 30

Source

pub fn mr31(&self) -> MR31_R

Bit 31 - Event Mask on line 31

Source§

impl R<bool, TR0_A>

Source

pub fn variant(&self) -> TR0_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<u32, Reg<u32, _RTSR1>>

Source

pub fn tr0(&self) -> TR0_R

Bit 0 - Rising trigger event configuration of line 0

Source

pub fn tr1(&self) -> TR1_R

Bit 1 - Rising trigger event configuration of line 1

Source

pub fn tr2(&self) -> TR2_R

Bit 2 - Rising trigger event configuration of line 2

Source

pub fn tr3(&self) -> TR3_R

Bit 3 - Rising trigger event configuration of line 3

Source

pub fn tr4(&self) -> TR4_R

Bit 4 - Rising trigger event configuration of line 4

Source

pub fn tr5(&self) -> TR5_R

Bit 5 - Rising trigger event configuration of line 5

Source

pub fn tr6(&self) -> TR6_R

Bit 6 - Rising trigger event configuration of line 6

Source

pub fn tr7(&self) -> TR7_R

Bit 7 - Rising trigger event configuration of line 7

Source

pub fn tr8(&self) -> TR8_R

Bit 8 - Rising trigger event configuration of line 8

Source

pub fn tr9(&self) -> TR9_R

Bit 9 - Rising trigger event configuration of line 9

Source

pub fn tr10(&self) -> TR10_R

Bit 10 - Rising trigger event configuration of line 10

Source

pub fn tr11(&self) -> TR11_R

Bit 11 - Rising trigger event configuration of line 11

Source

pub fn tr12(&self) -> TR12_R

Bit 12 - Rising trigger event configuration of line 12

Source

pub fn tr13(&self) -> TR13_R

Bit 13 - Rising trigger event configuration of line 13

Source

pub fn tr14(&self) -> TR14_R

Bit 14 - Rising trigger event configuration of line 14

Source

pub fn tr15(&self) -> TR15_R

Bit 15 - Rising trigger event configuration of line 15

Source

pub fn tr16(&self) -> TR16_R

Bit 16 - Rising trigger event configuration of line 16

Source

pub fn tr18(&self) -> TR18_R

Bit 18 - Rising trigger event configuration of line 18

Source

pub fn tr19(&self) -> TR19_R

Bit 19 - Rising trigger event configuration of line 19

Source

pub fn tr20(&self) -> TR20_R

Bit 20 - Rising trigger event configuration of line 20

Source

pub fn tr21(&self) -> TR21_R

Bit 21 - Rising trigger event configuration of line 21

Source

pub fn tr22(&self) -> TR22_R

Bit 22 - Rising trigger event configuration of line 22

Source§

impl R<bool, TR0_A>

Source

pub fn variant(&self) -> TR0_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<u32, Reg<u32, _FTSR1>>

Source

pub fn tr0(&self) -> TR0_R

Bit 0 - Falling trigger event configuration of line 0

Source

pub fn tr1(&self) -> TR1_R

Bit 1 - Falling trigger event configuration of line 1

Source

pub fn tr2(&self) -> TR2_R

Bit 2 - Falling trigger event configuration of line 2

Source

pub fn tr3(&self) -> TR3_R

Bit 3 - Falling trigger event configuration of line 3

Source

pub fn tr4(&self) -> TR4_R

Bit 4 - Falling trigger event configuration of line 4

Source

pub fn tr5(&self) -> TR5_R

Bit 5 - Falling trigger event configuration of line 5

Source

pub fn tr6(&self) -> TR6_R

Bit 6 - Falling trigger event configuration of line 6

Source

pub fn tr7(&self) -> TR7_R

Bit 7 - Falling trigger event configuration of line 7

Source

pub fn tr8(&self) -> TR8_R

Bit 8 - Falling trigger event configuration of line 8

Source

pub fn tr9(&self) -> TR9_R

Bit 9 - Falling trigger event configuration of line 9

Source

pub fn tr10(&self) -> TR10_R

Bit 10 - Falling trigger event configuration of line 10

Source

pub fn tr11(&self) -> TR11_R

Bit 11 - Falling trigger event configuration of line 11

Source

pub fn tr12(&self) -> TR12_R

Bit 12 - Falling trigger event configuration of line 12

Source

pub fn tr13(&self) -> TR13_R

Bit 13 - Falling trigger event configuration of line 13

Source

pub fn tr14(&self) -> TR14_R

Bit 14 - Falling trigger event configuration of line 14

Source

pub fn tr15(&self) -> TR15_R

Bit 15 - Falling trigger event configuration of line 15

Source

pub fn tr16(&self) -> TR16_R

Bit 16 - Falling trigger event configuration of line 16

Source

pub fn tr18(&self) -> TR18_R

Bit 18 - Falling trigger event configuration of line 18

Source

pub fn tr19(&self) -> TR19_R

Bit 19 - Falling trigger event configuration of line 19

Source

pub fn tr20(&self) -> TR20_R

Bit 20 - Falling trigger event configuration of line 20

Source

pub fn tr21(&self) -> TR21_R

Bit 21 - Falling trigger event configuration of line 21

Source

pub fn tr22(&self) -> TR22_R

Bit 22 - Falling trigger event configuration of line 22

Source§

impl R<bool, SWIER0_A>

Source

pub fn variant(&self) -> Variant<bool, SWIER0_A>

Get enumerated values variant

Source

pub fn is_pend(&self) -> bool

Checks if the value of the field is PEND

Source§

impl R<u32, Reg<u32, _SWIER1>>

Source

pub fn swier0(&self) -> SWIER0_R

Bit 0 - Software Interrupt on line 0

Source

pub fn swier1(&self) -> SWIER1_R

Bit 1 - Software Interrupt on line 1

Source

pub fn swier2(&self) -> SWIER2_R

Bit 2 - Software Interrupt on line 2

Source

pub fn swier3(&self) -> SWIER3_R

Bit 3 - Software Interrupt on line 3

Source

pub fn swier4(&self) -> SWIER4_R

Bit 4 - Software Interrupt on line 4

Source

pub fn swier5(&self) -> SWIER5_R

Bit 5 - Software Interrupt on line 5

Source

pub fn swier6(&self) -> SWIER6_R

Bit 6 - Software Interrupt on line 6

Source

pub fn swier7(&self) -> SWIER7_R

Bit 7 - Software Interrupt on line 7

Source

pub fn swier8(&self) -> SWIER8_R

Bit 8 - Software Interrupt on line 8

Source

pub fn swier9(&self) -> SWIER9_R

Bit 9 - Software Interrupt on line 9

Source

pub fn swier10(&self) -> SWIER10_R

Bit 10 - Software Interrupt on line 10

Source

pub fn swier11(&self) -> SWIER11_R

Bit 11 - Software Interrupt on line 11

Source

pub fn swier12(&self) -> SWIER12_R

Bit 12 - Software Interrupt on line 12

Source

pub fn swier13(&self) -> SWIER13_R

Bit 13 - Software Interrupt on line 13

Source

pub fn swier14(&self) -> SWIER14_R

Bit 14 - Software Interrupt on line 14

Source

pub fn swier15(&self) -> SWIER15_R

Bit 15 - Software Interrupt on line 15

Source

pub fn swier16(&self) -> SWIER16_R

Bit 16 - Software Interrupt on line 16

Source

pub fn swier18(&self) -> SWIER18_R

Bit 18 - Software Interrupt on line 18

Source

pub fn swier19(&self) -> SWIER19_R

Bit 19 - Software Interrupt on line 19

Source

pub fn swier20(&self) -> SWIER20_R

Bit 20 - Software Interrupt on line 20

Source

pub fn swier21(&self) -> SWIER21_R

Bit 21 - Software Interrupt on line 21

Source

pub fn swier22(&self) -> SWIER22_R

Bit 22 - Software Interrupt on line 22

Source§

impl R<bool, PR0_A>

Source

pub fn variant(&self) -> PR0_A

Get enumerated values variant

Source

pub fn is_not_pending(&self) -> bool

Checks if the value of the field is NOTPENDING

Source

pub fn is_pending(&self) -> bool

Checks if the value of the field is PENDING

Source§

impl R<u32, Reg<u32, _PR1>>

Source

pub fn pr0(&self) -> PR0_R

Bit 0 - Pending bit 0

Source

pub fn pr1(&self) -> PR1_R

Bit 1 - Pending bit 1

Source

pub fn pr2(&self) -> PR2_R

Bit 2 - Pending bit 2

Source

pub fn pr3(&self) -> PR3_R

Bit 3 - Pending bit 3

Source

pub fn pr4(&self) -> PR4_R

Bit 4 - Pending bit 4

Source

pub fn pr5(&self) -> PR5_R

Bit 5 - Pending bit 5

Source

pub fn pr6(&self) -> PR6_R

Bit 6 - Pending bit 6

Source

pub fn pr7(&self) -> PR7_R

Bit 7 - Pending bit 7

Source

pub fn pr8(&self) -> PR8_R

Bit 8 - Pending bit 8

Source

pub fn pr9(&self) -> PR9_R

Bit 9 - Pending bit 9

Source

pub fn pr10(&self) -> PR10_R

Bit 10 - Pending bit 10

Source

pub fn pr11(&self) -> PR11_R

Bit 11 - Pending bit 11

Source

pub fn pr12(&self) -> PR12_R

Bit 12 - Pending bit 12

Source

pub fn pr13(&self) -> PR13_R

Bit 13 - Pending bit 13

Source

pub fn pr14(&self) -> PR14_R

Bit 14 - Pending bit 14

Source

pub fn pr15(&self) -> PR15_R

Bit 15 - Pending bit 15

Source

pub fn pr16(&self) -> PR16_R

Bit 16 - Pending bit 16

Source

pub fn pr18(&self) -> PR18_R

Bit 18 - Pending bit 18

Source

pub fn pr19(&self) -> PR19_R

Bit 19 - Pending bit 19

Source

pub fn pr20(&self) -> PR20_R

Bit 20 - Pending bit 20

Source

pub fn pr21(&self) -> PR21_R

Bit 21 - Pending bit 21

Source

pub fn pr22(&self) -> PR22_R

Bit 22 - Pending bit 22

Source§

impl R<bool, MR32_A>

Source

pub fn variant(&self) -> MR32_A

Get enumerated values variant

Source

pub fn is_masked(&self) -> bool

Checks if the value of the field is MASKED

Source

pub fn is_unmasked(&self) -> bool

Checks if the value of the field is UNMASKED

Source§

impl R<u32, Reg<u32, _IMR2>>

Source

pub fn mr32(&self) -> MR32_R

Bit 0 - Interrupt Mask on external/internal line 32

Source

pub fn mr33(&self) -> MR33_R

Bit 1 - Interrupt Mask on external/internal line 33

Source

pub fn mr34(&self) -> MR34_R

Bit 2 - Interrupt Mask on external/internal line 34

Source

pub fn mr35(&self) -> MR35_R

Bit 3 - Interrupt Mask on external/internal line 35

Source

pub fn mr36(&self) -> MR36_R

Bit 4 - Interrupt Mask on external/internal line 36

Source

pub fn mr37(&self) -> MR37_R

Bit 5 - Interrupt Mask on external/internal line 37

Source

pub fn mr38(&self) -> MR38_R

Bit 6 - Interrupt Mask on external/internal line 38

Source

pub fn mr39(&self) -> MR39_R

Bit 7 - Interrupt Mask on external/internal line 39

Source§

impl R<bool, MR32_A>

Source

pub fn variant(&self) -> MR32_A

Get enumerated values variant

Source

pub fn is_masked(&self) -> bool

Checks if the value of the field is MASKED

Source

pub fn is_unmasked(&self) -> bool

Checks if the value of the field is UNMASKED

Source§

impl R<u32, Reg<u32, _EMR2>>

Source

pub fn mr32(&self) -> MR32_R

Bit 0 - Event mask on external/internal line 32

Source

pub fn mr33(&self) -> MR33_R

Bit 1 - Event mask on external/internal line 33

Source

pub fn mr34(&self) -> MR34_R

Bit 2 - Event mask on external/internal line 34

Source

pub fn mr35(&self) -> MR35_R

Bit 3 - Event mask on external/internal line 35

Source

pub fn mr36(&self) -> MR36_R

Bit 4 - Event mask on external/internal line 36

Source

pub fn mr37(&self) -> MR37_R

Bit 5 - Event mask on external/internal line 37

Source

pub fn mr38(&self) -> MR38_R

Bit 6 - Event mask on external/internal line 38

Source

pub fn mr39(&self) -> MR39_R

Bit 7 - Event mask on external/internal line 39

Source§

impl R<bool, RT35_A>

Source

pub fn variant(&self) -> RT35_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<u32, Reg<u32, _RTSR2>>

Source

pub fn rt35(&self) -> RT35_R

Bit 3 - Rising trigger event configuration bit of line 35

Source

pub fn rt36(&self) -> RT36_R

Bit 4 - Rising trigger event configuration bit of line 36

Source

pub fn rt37(&self) -> RT37_R

Bit 5 - Rising trigger event configuration bit of line 37

Source

pub fn rt38(&self) -> RT38_R

Bit 6 - Rising trigger event configuration bit of line 38

Source§

impl R<bool, FT35_A>

Source

pub fn variant(&self) -> FT35_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<u32, Reg<u32, _FTSR2>>

Source

pub fn ft35(&self) -> FT35_R

Bit 3 - Falling trigger event configuration bit of line 35

Source

pub fn ft36(&self) -> FT36_R

Bit 4 - Falling trigger event configuration bit of line 36

Source

pub fn ft37(&self) -> FT37_R

Bit 5 - Falling trigger event configuration bit of line 37

Source

pub fn ft38(&self) -> FT38_R

Bit 6 - Falling trigger event configuration bit of line 38

Source§

impl R<bool, SWI35_A>

Source

pub fn variant(&self) -> Variant<bool, SWI35_A>

Get enumerated values variant

Source

pub fn is_pend(&self) -> bool

Checks if the value of the field is PEND

Source§

impl R<u32, Reg<u32, _SWIER2>>

Source

pub fn swi35(&self) -> SWI35_R

Bit 3 - Software interrupt on line 35

Source

pub fn swi36(&self) -> SWI36_R

Bit 4 - Software interrupt on line 36

Source

pub fn swi37(&self) -> SWI37_R

Bit 5 - Software interrupt on line 37

Source

pub fn swi38(&self) -> SWI38_R

Bit 6 - Software interrupt on line 38

Source§

impl R<bool, PIF35_A>

Source

pub fn variant(&self) -> PIF35_A

Get enumerated values variant

Source

pub fn is_not_pending(&self) -> bool

Checks if the value of the field is NOTPENDING

Source

pub fn is_pending(&self) -> bool

Checks if the value of the field is PENDING

Source§

impl R<u32, Reg<u32, _PR2>>

Source

pub fn pif35(&self) -> PIF35_R

Bit 3 - Pending interrupt flag on line 35

Source

pub fn pif36(&self) -> PIF36_R

Bit 4 - Pending interrupt flag on line 36

Source

pub fn pif37(&self) -> PIF37_R

Bit 5 - Pending interrupt flag on line 37

Source

pub fn pif38(&self) -> PIF38_R

Bit 6 - Pending interrupt flag on line 38

Source§

impl R<u32, Reg<u32, _CSR>>

Source

pub fn envr(&self) -> ENVR_R

Bit 0 - Voltage reference buffer enable

Source

pub fn hiz(&self) -> HIZ_R

Bit 1 - High impedance mode

Source

pub fn vrs(&self) -> VRS_R

Bit 2 - Voltage reference scale

Source

pub fn vrr(&self) -> VRR_R

Bit 3 - Voltage reference buffer ready

Source§

impl R<u32, Reg<u32, _CCR>>

Source

pub fn trim(&self) -> TRIM_R

Bits 0:5 - Trimming code

Source§

impl R<bool, IDE_A>

Source

pub fn variant(&self) -> IDE_A

Get enumerated values variant

Source

pub fn is_standard(&self) -> bool

Checks if the value of the field is STANDARD

Source

pub fn is_extended(&self) -> bool

Checks if the value of the field is EXTENDED

Source§

impl R<bool, RTR_A>

Source

pub fn variant(&self) -> RTR_A

Get enumerated values variant

Source

pub fn is_data(&self) -> bool

Checks if the value of the field is DATA

Source

pub fn is_remote(&self) -> bool

Checks if the value of the field is REMOTE

Source§

impl R<u32, Reg<u32, _TIR>>

Source

pub fn stid(&self) -> STID_R

Bits 21:31 - STID

Source

pub fn exid(&self) -> EXID_R

Bits 3:20 - EXID

Source

pub fn ide(&self) -> IDE_R

Bit 2 - IDE

Source

pub fn rtr(&self) -> RTR_R

Bit 1 - RTR

Source

pub fn txrq(&self) -> TXRQ_R

Bit 0 - TXRQ

Source§

impl R<u32, Reg<u32, _TDTR>>

Source

pub fn time(&self) -> TIME_R

Bits 16:31 - TIME

Source

pub fn tgt(&self) -> TGT_R

Bit 8 - TGT

Source

pub fn dlc(&self) -> DLC_R

Bits 0:3 - DLC

Source§

impl R<u32, Reg<u32, _TDLR>>

Source

pub fn data3(&self) -> DATA3_R

Bits 24:31 - DATA3

Source

pub fn data2(&self) -> DATA2_R

Bits 16:23 - DATA2

Source

pub fn data1(&self) -> DATA1_R

Bits 8:15 - DATA1

Source

pub fn data0(&self) -> DATA0_R

Bits 0:7 - DATA0

Source§

impl R<u32, Reg<u32, _TDHR>>

Source

pub fn data7(&self) -> DATA7_R

Bits 24:31 - DATA7

Source

pub fn data6(&self) -> DATA6_R

Bits 16:23 - DATA6

Source

pub fn data5(&self) -> DATA5_R

Bits 8:15 - DATA5

Source

pub fn data4(&self) -> DATA4_R

Bits 0:7 - DATA4

Source§

impl R<bool, IDE_A>

Source

pub fn variant(&self) -> IDE_A

Get enumerated values variant

Source

pub fn is_standard(&self) -> bool

Checks if the value of the field is STANDARD

Source

pub fn is_extended(&self) -> bool

Checks if the value of the field is EXTENDED

Source§

impl R<bool, RTR_A>

Source

pub fn variant(&self) -> RTR_A

Get enumerated values variant

Source

pub fn is_data(&self) -> bool

Checks if the value of the field is DATA

Source

pub fn is_remote(&self) -> bool

Checks if the value of the field is REMOTE

Source§

impl R<u32, Reg<u32, _RIR>>

Source

pub fn stid(&self) -> STID_R

Bits 21:31 - STID

Source

pub fn exid(&self) -> EXID_R

Bits 3:20 - EXID

Source

pub fn ide(&self) -> IDE_R

Bit 2 - IDE

Source

pub fn rtr(&self) -> RTR_R

Bit 1 - RTR

Source§

impl R<u32, Reg<u32, _RDTR>>

Source

pub fn time(&self) -> TIME_R

Bits 16:31 - TIME

Source

pub fn fmi(&self) -> FMI_R

Bits 8:15 - FMI

Source

pub fn dlc(&self) -> DLC_R

Bits 0:3 - DLC

Source§

impl R<u32, Reg<u32, _RDLR>>

Source

pub fn data3(&self) -> DATA3_R

Bits 24:31 - DATA3

Source

pub fn data2(&self) -> DATA2_R

Bits 16:23 - DATA2

Source

pub fn data1(&self) -> DATA1_R

Bits 8:15 - DATA1

Source

pub fn data0(&self) -> DATA0_R

Bits 0:7 - DATA0

Source§

impl R<u32, Reg<u32, _RDHR>>

Source

pub fn data7(&self) -> DATA7_R

Bits 24:31 - DATA7

Source

pub fn data6(&self) -> DATA6_R

Bits 16:23 - DATA6

Source

pub fn data5(&self) -> DATA5_R

Bits 8:15 - DATA5

Source

pub fn data4(&self) -> DATA4_R

Bits 0:7 - DATA4

Source§

impl R<u32, Reg<u32, _FR1>>

Source

pub fn fb(&self) -> FB_R

Bits 0:31 - Filter bits

Source§

impl R<u32, Reg<u32, _FR2>>

Source

pub fn fb(&self) -> FB_R

Bits 0:31 - Filter bits

Source§

impl R<u32, Reg<u32, _MCR>>

Source

pub fn dbf(&self) -> DBF_R

Bit 16 - DBF

Source

pub fn reset(&self) -> RESET_R

Bit 15 - RESET

Source

pub fn ttcm(&self) -> TTCM_R

Bit 7 - TTCM

Source

pub fn abom(&self) -> ABOM_R

Bit 6 - ABOM

Source

pub fn awum(&self) -> AWUM_R

Bit 5 - AWUM

Source

pub fn nart(&self) -> NART_R

Bit 4 - NART

Source

pub fn rflm(&self) -> RFLM_R

Bit 3 - RFLM

Source

pub fn txfp(&self) -> TXFP_R

Bit 2 - TXFP

Source

pub fn sleep(&self) -> SLEEP_R

Bit 1 - SLEEP

Source

pub fn inrq(&self) -> INRQ_R

Bit 0 - INRQ

Source§

impl R<u32, Reg<u32, _MSR>>

Source

pub fn rx(&self) -> RX_R

Bit 11 - RX

Source

pub fn samp(&self) -> SAMP_R

Bit 10 - SAMP

Source

pub fn rxm(&self) -> RXM_R

Bit 9 - RXM

Source

pub fn txm(&self) -> TXM_R

Bit 8 - TXM

Source

pub fn slaki(&self) -> SLAKI_R

Bit 4 - SLAKI

Source

pub fn wkui(&self) -> WKUI_R

Bit 3 - WKUI

Source

pub fn erri(&self) -> ERRI_R

Bit 2 - ERRI

Source

pub fn slak(&self) -> SLAK_R

Bit 1 - SLAK

Source

pub fn inak(&self) -> INAK_R

Bit 0 - INAK

Source§

impl R<u32, Reg<u32, _TSR>>

Source

pub fn low2(&self) -> LOW2_R

Bit 31 - Lowest priority flag for mailbox 2

Source

pub fn low1(&self) -> LOW1_R

Bit 30 - Lowest priority flag for mailbox 1

Source

pub fn low0(&self) -> LOW0_R

Bit 29 - Lowest priority flag for mailbox 0

Source

pub fn tme2(&self) -> TME2_R

Bit 28 - Lowest priority flag for mailbox 2

Source

pub fn tme1(&self) -> TME1_R

Bit 27 - Lowest priority flag for mailbox 1

Source

pub fn tme0(&self) -> TME0_R

Bit 26 - Lowest priority flag for mailbox 0

Source

pub fn code(&self) -> CODE_R

Bits 24:25 - CODE

Source

pub fn abrq2(&self) -> ABRQ2_R

Bit 23 - ABRQ2

Source

pub fn terr2(&self) -> TERR2_R

Bit 19 - TERR2

Source

pub fn alst2(&self) -> ALST2_R

Bit 18 - ALST2

Source

pub fn txok2(&self) -> TXOK2_R

Bit 17 - TXOK2

Source

pub fn rqcp2(&self) -> RQCP2_R

Bit 16 - RQCP2

Source

pub fn abrq1(&self) -> ABRQ1_R

Bit 15 - ABRQ1

Source

pub fn terr1(&self) -> TERR1_R

Bit 11 - TERR1

Source

pub fn alst1(&self) -> ALST1_R

Bit 10 - ALST1

Source

pub fn txok1(&self) -> TXOK1_R

Bit 9 - TXOK1

Source

pub fn rqcp1(&self) -> RQCP1_R

Bit 8 - RQCP1

Source

pub fn abrq0(&self) -> ABRQ0_R

Bit 7 - ABRQ0

Source

pub fn terr0(&self) -> TERR0_R

Bit 3 - TERR0

Source

pub fn alst0(&self) -> ALST0_R

Bit 2 - ALST0

Source

pub fn txok0(&self) -> TXOK0_R

Bit 1 - TXOK0

Source

pub fn rqcp0(&self) -> RQCP0_R

Bit 0 - RQCP0

Source§

impl R<bool, RFOM_A>

Source

pub fn variant(&self) -> Variant<bool, RFOM_A>

Get enumerated values variant

Source

pub fn is_release(&self) -> bool

Checks if the value of the field is RELEASE

Source§

impl R<bool, FOVR_A>

Source

pub fn variant(&self) -> FOVR_A

Get enumerated values variant

Source

pub fn is_no_overrun(&self) -> bool

Checks if the value of the field is NOOVERRUN

Source

pub fn is_overrun(&self) -> bool

Checks if the value of the field is OVERRUN

Source§

impl R<bool, FULL_A>

Source

pub fn variant(&self) -> FULL_A

Get enumerated values variant

Source

pub fn is_not_full(&self) -> bool

Checks if the value of the field is NOTFULL

Source

pub fn is_full(&self) -> bool

Checks if the value of the field is FULL

Source§

impl R<u32, Reg<u32, _RFR>>

Source

pub fn rfom(&self) -> RFOM_R

Bit 5 - RFOM0

Source

pub fn fovr(&self) -> FOVR_R

Bit 4 - FOVR0

Source

pub fn full(&self) -> FULL_R

Bit 3 - FULL0

Source

pub fn fmp(&self) -> FMP_R

Bits 0:1 - FMP0

Source§

impl R<bool, SLKIE_A>

Source

pub fn variant(&self) -> SLKIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, WKUIE_A>

Source

pub fn variant(&self) -> WKUIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, ERRIE_A>

Source

pub fn variant(&self) -> ERRIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, LECIE_A>

Source

pub fn variant(&self) -> LECIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, BOFIE_A>

Source

pub fn variant(&self) -> BOFIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, EPVIE_A>

Source

pub fn variant(&self) -> EPVIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, EWGIE_A>

Source

pub fn variant(&self) -> EWGIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, FOVIE1_A>

Source

pub fn variant(&self) -> FOVIE1_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, FFIE1_A>

Source

pub fn variant(&self) -> FFIE1_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, FMPIE1_A>

Source

pub fn variant(&self) -> FMPIE1_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, FOVIE0_A>

Source

pub fn variant(&self) -> FOVIE0_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, FFIE0_A>

Source

pub fn variant(&self) -> FFIE0_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, FMPIE0_A>

Source

pub fn variant(&self) -> FMPIE0_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, TMEIE_A>

Source

pub fn variant(&self) -> TMEIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<u32, Reg<u32, _IER>>

Source

pub fn slkie(&self) -> SLKIE_R

Bit 17 - SLKIE

Source

pub fn wkuie(&self) -> WKUIE_R

Bit 16 - WKUIE

Source

pub fn errie(&self) -> ERRIE_R

Bit 15 - ERRIE

Source

pub fn lecie(&self) -> LECIE_R

Bit 11 - LECIE

Source

pub fn bofie(&self) -> BOFIE_R

Bit 10 - BOFIE

Source

pub fn epvie(&self) -> EPVIE_R

Bit 9 - EPVIE

Source

pub fn ewgie(&self) -> EWGIE_R

Bit 8 - EWGIE

Source

pub fn fovie1(&self) -> FOVIE1_R

Bit 6 - FOVIE1

Source

pub fn ffie1(&self) -> FFIE1_R

Bit 5 - FFIE1

Source

pub fn fmpie1(&self) -> FMPIE1_R

Bit 4 - FMPIE1

Source

pub fn fovie0(&self) -> FOVIE0_R

Bit 3 - FOVIE0

Source

pub fn ffie0(&self) -> FFIE0_R

Bit 2 - FFIE0

Source

pub fn fmpie0(&self) -> FMPIE0_R

Bit 1 - FMPIE0

Source

pub fn tmeie(&self) -> TMEIE_R

Bit 0 - TMEIE

Source§

impl R<u8, LEC_A>

Source

pub fn variant(&self) -> LEC_A

Get enumerated values variant

Source

pub fn is_no_error(&self) -> bool

Checks if the value of the field is NOERROR

Source

pub fn is_stuff(&self) -> bool

Checks if the value of the field is STUFF

Source

pub fn is_form(&self) -> bool

Checks if the value of the field is FORM

Source

pub fn is_ack(&self) -> bool

Checks if the value of the field is ACK

Source

pub fn is_bit_recessive(&self) -> bool

Checks if the value of the field is BITRECESSIVE

Source

pub fn is_bit_dominant(&self) -> bool

Checks if the value of the field is BITDOMINANT

Source

pub fn is_crc(&self) -> bool

Checks if the value of the field is CRC

Source

pub fn is_custom(&self) -> bool

Checks if the value of the field is CUSTOM

Source§

impl R<u32, Reg<u32, _ESR>>

Source

pub fn rec(&self) -> REC_R

Bits 24:31 - REC

Source

pub fn tec(&self) -> TEC_R

Bits 16:23 - TEC

Source

pub fn lec(&self) -> LEC_R

Bits 4:6 - LEC

Source

pub fn boff(&self) -> BOFF_R

Bit 2 - BOFF

Source

pub fn epvf(&self) -> EPVF_R

Bit 1 - EPVF

Source

pub fn ewgf(&self) -> EWGF_R

Bit 0 - EWGF

Source§

impl R<bool, SILM_A>

Source

pub fn variant(&self) -> SILM_A

Get enumerated values variant

Source

pub fn is_normal(&self) -> bool

Checks if the value of the field is NORMAL

Source

pub fn is_silent(&self) -> bool

Checks if the value of the field is SILENT

Source§

impl R<bool, LBKM_A>

Source

pub fn variant(&self) -> LBKM_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<u32, Reg<u32, _BTR>>

Source

pub fn silm(&self) -> SILM_R

Bit 31 - SILM

Source

pub fn lbkm(&self) -> LBKM_R

Bit 30 - LBKM

Source

pub fn sjw(&self) -> SJW_R

Bits 24:25 - SJW

Source

pub fn ts2(&self) -> TS2_R

Bits 20:22 - TS2

Source

pub fn ts1(&self) -> TS1_R

Bits 16:19 - TS1

Source

pub fn brp(&self) -> BRP_R

Bits 0:9 - BRP

Source§

impl R<u32, Reg<u32, _TR>>

Source

pub fn pm(&self) -> PM_R

Bit 22 - AM/PM notation

Source

pub fn ht(&self) -> HT_R

Bits 20:21 - Hour tens in BCD format

Source

pub fn hu(&self) -> HU_R

Bits 16:19 - Hour units in BCD format

Source

pub fn mnt(&self) -> MNT_R

Bits 12:14 - Minute tens in BCD format

Source

pub fn mnu(&self) -> MNU_R

Bits 8:11 - Minute units in BCD format

Source

pub fn st(&self) -> ST_R

Bits 4:6 - Second tens in BCD format

Source

pub fn su(&self) -> SU_R

Bits 0:3 - Second units in BCD format

Source§

impl R<u32, Reg<u32, _DR>>

Source

pub fn yt(&self) -> YT_R

Bits 20:23 - Year tens in BCD format

Source

pub fn yu(&self) -> YU_R

Bits 16:19 - Year units in BCD format

Source

pub fn wdu(&self) -> WDU_R

Bits 13:15 - Week day units

Source

pub fn mt(&self) -> MT_R

Bit 12 - Month tens in BCD format

Source

pub fn mu(&self) -> MU_R

Bits 8:11 - Month units in BCD format

Source

pub fn dt(&self) -> DT_R

Bits 4:5 - Date tens in BCD format

Source

pub fn du(&self) -> DU_R

Bits 0:3 - Date units in BCD format

Source§

impl R<u32, Reg<u32, _CR>>

Source

pub fn wucksel(&self) -> WUCKSEL_R

Bits 0:2 - Wakeup clock selection

Source

pub fn tsedge(&self) -> TSEDGE_R

Bit 3 - Time-stamp event active edge

Source

pub fn refckon(&self) -> REFCKON_R

Bit 4 - Reference clock detection enable (50 or 60 Hz)

Source

pub fn bypshad(&self) -> BYPSHAD_R

Bit 5 - Bypass the shadow registers

Source

pub fn fmt(&self) -> FMT_R

Bit 6 - Hour format

Source

pub fn alrae(&self) -> ALRAE_R

Bit 8 - Alarm A enable

Source

pub fn alrbe(&self) -> ALRBE_R

Bit 9 - Alarm B enable

Source

pub fn wute(&self) -> WUTE_R

Bit 10 - Wakeup timer enable

Source

pub fn tse(&self) -> TSE_R

Bit 11 - Time stamp enable

Source

pub fn alraie(&self) -> ALRAIE_R

Bit 12 - Alarm A interrupt enable

Source

pub fn alrbie(&self) -> ALRBIE_R

Bit 13 - Alarm B interrupt enable

Source

pub fn wutie(&self) -> WUTIE_R

Bit 14 - Wakeup timer interrupt enable

Source

pub fn tsie(&self) -> TSIE_R

Bit 15 - Time-stamp interrupt enable

Source

pub fn add1h(&self) -> ADD1H_R

Bit 16 - Add 1 hour (summer time change)

Source

pub fn sub1h(&self) -> SUB1H_R

Bit 17 - Subtract 1 hour (winter time change)

Source

pub fn bkp(&self) -> BKP_R

Bit 18 - Backup

Source

pub fn cosel(&self) -> COSEL_R

Bit 19 - Calibration output selection

Source

pub fn pol(&self) -> POL_R

Bit 20 - Output polarity

Source

pub fn osel(&self) -> OSEL_R

Bits 21:22 - Output selection

Source

pub fn coe(&self) -> COE_R

Bit 23 - Calibration output enable

Source

pub fn itse(&self) -> ITSE_R

Bit 24 - timestamp on internal event enable

Source§

impl R<u32, Reg<u32, _ISR>>

Source

pub fn alrawf(&self) -> ALRAWF_R

Bit 0 - Alarm A write flag

Source

pub fn alrbwf(&self) -> ALRBWF_R

Bit 1 - Alarm B write flag

Source

pub fn wutwf(&self) -> WUTWF_R

Bit 2 - Wakeup timer write flag

Source

pub fn shpf(&self) -> SHPF_R

Bit 3 - Shift operation pending

Source

pub fn inits(&self) -> INITS_R

Bit 4 - Initialization status flag

Source

pub fn rsf(&self) -> RSF_R

Bit 5 - Registers synchronization flag

Source

pub fn initf(&self) -> INITF_R

Bit 6 - Initialization flag

Source

pub fn init(&self) -> INIT_R

Bit 7 - Initialization mode

Source

pub fn alraf(&self) -> ALRAF_R

Bit 8 - Alarm A flag

Source

pub fn alrbf(&self) -> ALRBF_R

Bit 9 - Alarm B flag

Source

pub fn wutf(&self) -> WUTF_R

Bit 10 - Wakeup timer flag

Source

pub fn tsf(&self) -> TSF_R

Bit 11 - Time-stamp flag

Source

pub fn tsovf(&self) -> TSOVF_R

Bit 12 - Time-stamp overflow flag

Source

pub fn tamp1f(&self) -> TAMP1F_R

Bit 13 - Tamper detection flag

Source

pub fn tamp2f(&self) -> TAMP2F_R

Bit 14 - RTC_TAMP2 detection flag

Source

pub fn tamp3f(&self) -> TAMP3F_R

Bit 15 - RTC_TAMP3 detection flag

Source

pub fn recalpf(&self) -> RECALPF_R

Bit 16 - Recalibration pending Flag

Source§

impl R<u32, Reg<u32, _PRER>>

Source

pub fn prediv_a(&self) -> PREDIV_A_R

Bits 16:22 - Asynchronous prescaler factor

Source

pub fn prediv_s(&self) -> PREDIV_S_R

Bits 0:14 - Synchronous prescaler factor

Source§

impl R<u32, Reg<u32, _WUTR>>

Source

pub fn wut(&self) -> WUT_R

Bits 0:15 - Wakeup auto-reload value bits

Source§

impl R<u32, Reg<u32, _ALRMAR>>

Source

pub fn msk4(&self) -> MSK4_R

Bit 31 - Alarm A date mask

Source

pub fn wdsel(&self) -> WDSEL_R

Bit 30 - Week day selection

Source

pub fn dt(&self) -> DT_R

Bits 28:29 - Date tens in BCD format

Source

pub fn du(&self) -> DU_R

Bits 24:27 - Date units or day in BCD format

Source

pub fn msk3(&self) -> MSK3_R

Bit 23 - Alarm A hours mask

Source

pub fn pm(&self) -> PM_R

Bit 22 - AM/PM notation

Source

pub fn ht(&self) -> HT_R

Bits 20:21 - Hour tens in BCD format

Source

pub fn hu(&self) -> HU_R

Bits 16:19 - Hour units in BCD format

Source

pub fn msk2(&self) -> MSK2_R

Bit 15 - Alarm A minutes mask

Source

pub fn mnt(&self) -> MNT_R

Bits 12:14 - Minute tens in BCD format

Source

pub fn mnu(&self) -> MNU_R

Bits 8:11 - Minute units in BCD format

Source

pub fn msk1(&self) -> MSK1_R

Bit 7 - Alarm A seconds mask

Source

pub fn st(&self) -> ST_R

Bits 4:6 - Second tens in BCD format

Source

pub fn su(&self) -> SU_R

Bits 0:3 - Second units in BCD format

Source§

impl R<u32, Reg<u32, _ALRMBR>>

Source

pub fn msk4(&self) -> MSK4_R

Bit 31 - Alarm B date mask

Source

pub fn wdsel(&self) -> WDSEL_R

Bit 30 - Week day selection

Source

pub fn dt(&self) -> DT_R

Bits 28:29 - Date tens in BCD format

Source

pub fn du(&self) -> DU_R

Bits 24:27 - Date units or day in BCD format

Source

pub fn msk3(&self) -> MSK3_R

Bit 23 - Alarm B hours mask

Source

pub fn pm(&self) -> PM_R

Bit 22 - AM/PM notation

Source

pub fn ht(&self) -> HT_R

Bits 20:21 - Hour tens in BCD format

Source

pub fn hu(&self) -> HU_R

Bits 16:19 - Hour units in BCD format

Source

pub fn msk2(&self) -> MSK2_R

Bit 15 - Alarm B minutes mask

Source

pub fn mnt(&self) -> MNT_R

Bits 12:14 - Minute tens in BCD format

Source

pub fn mnu(&self) -> MNU_R

Bits 8:11 - Minute units in BCD format

Source

pub fn msk1(&self) -> MSK1_R

Bit 7 - Alarm B seconds mask

Source

pub fn st(&self) -> ST_R

Bits 4:6 - Second tens in BCD format

Source

pub fn su(&self) -> SU_R

Bits 0:3 - Second units in BCD format

Source§

impl R<u32, Reg<u32, _SSR>>

Source

pub fn ss(&self) -> SS_R

Bits 0:15 - Sub second value

Source§

impl R<u32, Reg<u32, _TSTR>>

Source

pub fn su(&self) -> SU_R

Bits 0:3 - Second units in BCD format

Source

pub fn st(&self) -> ST_R

Bits 4:6 - Second tens in BCD format

Source

pub fn mnu(&self) -> MNU_R

Bits 8:11 - Minute units in BCD format

Source

pub fn mnt(&self) -> MNT_R

Bits 12:14 - Minute tens in BCD format

Source

pub fn hu(&self) -> HU_R

Bits 16:19 - Hour units in BCD format

Source

pub fn ht(&self) -> HT_R

Bits 20:21 - Hour tens in BCD format

Source

pub fn pm(&self) -> PM_R

Bit 22 - AM/PM notation

Source§

impl R<u32, Reg<u32, _TSDR>>

Source

pub fn wdu(&self) -> WDU_R

Bits 13:15 - Week day units

Source

pub fn mt(&self) -> MT_R

Bit 12 - Month tens in BCD format

Source

pub fn mu(&self) -> MU_R

Bits 8:11 - Month units in BCD format

Source

pub fn dt(&self) -> DT_R

Bits 4:5 - Date tens in BCD format

Source

pub fn du(&self) -> DU_R

Bits 0:3 - Date units in BCD format

Source§

impl R<u32, Reg<u32, _TSSSR>>

Source

pub fn ss(&self) -> SS_R

Bits 0:15 - Sub second value

Source§

impl R<u32, Reg<u32, _CALR>>

Source

pub fn calp(&self) -> CALP_R

Bit 15 - Increase frequency of RTC by 488.5 ppm

Source

pub fn calw8(&self) -> CALW8_R

Bit 14 - Use an 8-second calibration cycle period

Source

pub fn calw16(&self) -> CALW16_R

Bit 13 - Use a 16-second calibration cycle period

Source

pub fn calm(&self) -> CALM_R

Bits 0:8 - Calibration minus

Source§

impl R<u32, Reg<u32, _TAMPCR>>

Source

pub fn tamp1e(&self) -> TAMP1E_R

Bit 0 - Tamper 1 detection enable

Source

pub fn tamp1trg(&self) -> TAMP1TRG_R

Bit 1 - Active level for tamper 1

Source

pub fn tampie(&self) -> TAMPIE_R

Bit 2 - Tamper interrupt enable

Source

pub fn tamp2e(&self) -> TAMP2E_R

Bit 3 - Tamper 2 detection enable

Source

pub fn tamp2trg(&self) -> TAMP2TRG_R

Bit 4 - Active level for tamper 2

Source

pub fn tamp3e(&self) -> TAMP3E_R

Bit 5 - Tamper 3 detection enable

Source

pub fn tamp3trg(&self) -> TAMP3TRG_R

Bit 6 - Active level for tamper 3

Source

pub fn tampts(&self) -> TAMPTS_R

Bit 7 - Activate timestamp on tamper detection event

Source

pub fn tampfreq(&self) -> TAMPFREQ_R

Bits 8:10 - Tamper sampling frequency

Source

pub fn tampflt(&self) -> TAMPFLT_R

Bits 11:12 - Tamper filter count

Source

pub fn tampprch(&self) -> TAMPPRCH_R

Bits 13:14 - Tamper precharge duration

Source

pub fn tamppudis(&self) -> TAMPPUDIS_R

Bit 15 - TAMPER pull-up disable

Source

pub fn tamp1ie(&self) -> TAMP1IE_R

Bit 16 - Tamper 1 interrupt enable

Source

pub fn tamp1noerase(&self) -> TAMP1NOERASE_R

Bit 17 - Tamper 1 no erase

Source

pub fn tamp1mf(&self) -> TAMP1MF_R

Bit 18 - Tamper 1 mask flag

Source

pub fn tamp2ie(&self) -> TAMP2IE_R

Bit 19 - Tamper 2 interrupt enable

Source

pub fn tamp2noerase(&self) -> TAMP2NOERASE_R

Bit 20 - Tamper 2 no erase

Source

pub fn tamp2mf(&self) -> TAMP2MF_R

Bit 21 - Tamper 2 mask flag

Source

pub fn tamp3ie(&self) -> TAMP3IE_R

Bit 22 - Tamper 3 interrupt enable

Source

pub fn tamp3noerase(&self) -> TAMP3NOERASE_R

Bit 23 - Tamper 3 no erase

Source

pub fn tamp3mf(&self) -> TAMP3MF_R

Bit 24 - Tamper 3 mask flag

Source§

impl R<u32, Reg<u32, _ALRMASSR>>

Source

pub fn maskss(&self) -> MASKSS_R

Bits 24:27 - Mask the most-significant bits starting at this bit

Source

pub fn ss(&self) -> SS_R

Bits 0:14 - Sub seconds value

Source§

impl R<u32, Reg<u32, _ALRMBSSR>>

Source

pub fn maskss(&self) -> MASKSS_R

Bits 24:27 - Mask the most-significant bits starting at this bit

Source

pub fn ss(&self) -> SS_R

Bits 0:14 - Sub seconds value

Source§

impl R<u32, Reg<u32, _OR>>

Source

pub fn rtc_alarm_type(&self) -> RTC_ALARM_TYPE_R

Bit 0 - RTC_ALARM on PC13 output type

Source

pub fn rtc_out_rmp(&self) -> RTC_OUT_RMP_R

Bit 1 - RTC_OUT remap

Source§

impl R<u32, Reg<u32, _BKPR>>

Source

pub fn bkp(&self) -> BKP_R

Bits 0:31 - BKP

Source§

impl R<u32, Reg<u32, _CR>>

Source

pub fn rxdma(&self) -> RXDMA_R

Bit 0 - Reception DMA enable

Source

pub fn txdma(&self) -> TXDMA_R

Bit 1 - Transmission DMA enable

Source

pub fn rxmode(&self) -> RXMODE_R

Bit 2 - Reception buffering mode

Source

pub fn txmode(&self) -> TXMODE_R

Bit 3 - Transmission buffering mode

Source

pub fn lpbk(&self) -> LPBK_R

Bit 4 - Loopback mode enable

Source

pub fn swpme(&self) -> SWPME_R

Bit 5 - Single wire protocol master interface enable

Source

pub fn deact(&self) -> DEACT_R

Bit 10 - Single wire protocol master interface deactivate

Source§

impl R<u32, Reg<u32, _BRR>>

Source

pub fn br(&self) -> BR_R

Bits 0:5 - Bitrate prescaler

Source§

impl R<u32, Reg<u32, _ISR>>

Source

pub fn rxbff(&self) -> RXBFF_R

Bit 0 - Receive buffer full flag

Source

pub fn txbef(&self) -> TXBEF_R

Bit 1 - Transmit buffer empty flag

Source

pub fn rxberf(&self) -> RXBERF_R

Bit 2 - Receive CRC error flag

Source

pub fn rxovrf(&self) -> RXOVRF_R

Bit 3 - Receive overrun error flag

Source

pub fn txunrf(&self) -> TXUNRF_R

Bit 4 - Transmit underrun error flag

Source

pub fn rxne(&self) -> RXNE_R

Bit 5 - Receive data register not empty

Source

pub fn txe(&self) -> TXE_R

Bit 6 - Transmit data register empty

Source

pub fn tcf(&self) -> TCF_R

Bit 7 - Transfer complete flag

Source

pub fn srf(&self) -> SRF_R

Bit 8 - Slave resume flag

Source

pub fn susp(&self) -> SUSP_R

Bit 9 - SUSPEND flag

Source

pub fn deactf(&self) -> DEACTF_R

Bit 10 - DEACTIVATED flag

Source§

impl R<u32, Reg<u32, _IER>>

Source

pub fn rxbfie(&self) -> RXBFIE_R

Bit 0 - Receive buffer full interrupt enable

Source

pub fn txbeie(&self) -> TXBEIE_R

Bit 1 - Transmit buffer empty interrupt enable

Source

pub fn rxberie(&self) -> RXBERIE_R

Bit 2 - Receive CRC error interrupt enable

Source

pub fn rxovrie(&self) -> RXOVRIE_R

Bit 3 - Receive overrun error interrupt enable

Source

pub fn txunrie(&self) -> TXUNRIE_R

Bit 4 - Transmit underrun error interrupt enable

Source

pub fn rie(&self) -> RIE_R

Bit 5 - Receive interrupt enable

Source

pub fn tie(&self) -> TIE_R

Bit 6 - Transmit interrupt enable

Source

pub fn tcie(&self) -> TCIE_R

Bit 7 - Transmit complete interrupt enable

Source

pub fn srie(&self) -> SRIE_R

Bit 8 - Slave resume interrupt enable

Source§

impl R<u32, Reg<u32, _RFL>>

Source

pub fn rfl(&self) -> RFL_R

Bits 0:4 - Receive frame length

Source§

impl R<u32, Reg<u32, _RDR>>

Source

pub fn rd(&self) -> RD_R

Bits 0:31 - received data

Source§

impl R<u32, Reg<u32, _OR>>

Source

pub fn swp_tbyp(&self) -> SWP_TBYP_R

Bit 0 - SWP transceiver bypass

Source

pub fn swp_class(&self) -> SWP_CLASS_R

Bit 1 - SWP class selection

Source§

impl R<u32, Reg<u32, _OPAMP1_CSR>>

Source

pub fn opaen(&self) -> OPAEN_R

Bit 0 - Operational amplifier Enable

Source

pub fn opalpm(&self) -> OPALPM_R

Bit 1 - Operational amplifier Low Power Mode

Source

pub fn opamode(&self) -> OPAMODE_R

Bits 2:3 - Operational amplifier PGA mode

Source

pub fn pga_gain(&self) -> PGA_GAIN_R

Bits 4:5 - Operational amplifier Programmable amplifier gain value

Source

pub fn vm_sel(&self) -> VM_SEL_R

Bits 8:9 - Inverting input selection

Source

pub fn vp_sel(&self) -> VP_SEL_R

Bit 10 - Non inverted input selection

Source

pub fn calon(&self) -> CALON_R

Bit 12 - Calibration mode enabled

Source

pub fn calsel(&self) -> CALSEL_R

Bit 13 - Calibration selection

Source

pub fn usertrim(&self) -> USERTRIM_R

Bit 14 - allows to switch from AOP offset trimmed values to AOP offset

Source

pub fn calout(&self) -> CALOUT_R

Bit 15 - Operational amplifier calibration output

Source

pub fn opa_range(&self) -> OPA_RANGE_R

Bit 31 - Operational amplifier power supply range for stability

Source§

impl R<u32, Reg<u32, _OPAMP1_OTR>>

Source

pub fn trimoffsetn(&self) -> TRIMOFFSETN_R

Bits 0:4 - Trim for NMOS differential pairs

Source

pub fn trimoffsetp(&self) -> TRIMOFFSETP_R

Bits 8:12 - Trim for PMOS differential pairs

Source§

impl R<u32, Reg<u32, _OPAMP1_LPOTR>>

Source

pub fn trimlpoffsetn(&self) -> TRIMLPOFFSETN_R

Bits 0:4 - Trim for NMOS differential pairs

Source

pub fn trimlpoffsetp(&self) -> TRIMLPOFFSETP_R

Bits 8:12 - Trim for PMOS differential pairs

Source§

impl R<u32, Reg<u32, _OPAMP2_CSR>>

Source

pub fn opaen(&self) -> OPAEN_R

Bit 0 - Operational amplifier Enable

Source

pub fn opalpm(&self) -> OPALPM_R

Bit 1 - Operational amplifier Low Power Mode

Source

pub fn opamode(&self) -> OPAMODE_R

Bits 2:3 - Operational amplifier PGA mode

Source

pub fn pga_gain(&self) -> PGA_GAIN_R

Bits 4:5 - Operational amplifier Programmable amplifier gain value

Source

pub fn vm_sel(&self) -> VM_SEL_R

Bits 8:9 - Inverting input selection

Source

pub fn vp_sel(&self) -> VP_SEL_R

Bit 10 - Non inverted input selection

Source

pub fn calon(&self) -> CALON_R

Bit 12 - Calibration mode enabled

Source

pub fn calsel(&self) -> CALSEL_R

Bit 13 - Calibration selection

Source

pub fn usertrim(&self) -> USERTRIM_R

Bit 14 - allows to switch from AOP offset trimmed values to AOP offset

Source

pub fn calout(&self) -> CALOUT_R

Bit 15 - Operational amplifier calibration output

Source§

impl R<u32, Reg<u32, _OPAMP2_OTR>>

Source

pub fn trimoffsetn(&self) -> TRIMOFFSETN_R

Bits 0:4 - Trim for NMOS differential pairs

Source

pub fn trimoffsetp(&self) -> TRIMOFFSETP_R

Bits 8:12 - Trim for PMOS differential pairs

Source§

impl R<u32, Reg<u32, _OPAMP2_LPOTR>>

Source

pub fn trimlpoffsetn(&self) -> TRIMLPOFFSETN_R

Bits 0:4 - Trim for NMOS differential pairs

Source

pub fn trimlpoffsetp(&self) -> TRIMLPOFFSETP_R

Bits 8:12 - Trim for PMOS differential pairs

Source§

impl R<u32, Reg<u32, _CR>>

Source

pub fn trim(&self) -> TRIM_R

Bits 8:13 - HSI48 oscillator smooth trimming

Source

pub fn swsync(&self) -> SWSYNC_R

Bit 7 - Generate software SYNC event

Source

pub fn autotrimen(&self) -> AUTOTRIMEN_R

Bit 6 - Automatic trimming enable

Source

pub fn cen(&self) -> CEN_R

Bit 5 - Frequency error counter enable

Source

pub fn esyncie(&self) -> ESYNCIE_R

Bit 3 - Expected SYNC interrupt enable

Source

pub fn errie(&self) -> ERRIE_R

Bit 2 - Synchronization or trimming error interrupt enable

Source

pub fn syncwarnie(&self) -> SYNCWARNIE_R

Bit 1 - SYNC warning interrupt enable

Source

pub fn syncokie(&self) -> SYNCOKIE_R

Bit 0 - SYNC event OK interrupt enable

Source§

impl R<u32, Reg<u32, _CFGR>>

Source

pub fn syncpol(&self) -> SYNCPOL_R

Bit 31 - SYNC polarity selection

Source

pub fn syncsrc(&self) -> SYNCSRC_R

Bits 28:29 - SYNC signal source selection

Source

pub fn syncdiv(&self) -> SYNCDIV_R

Bits 24:26 - SYNC divider

Source

pub fn felim(&self) -> FELIM_R

Bits 16:23 - Frequency error limit

Source

pub fn reload(&self) -> RELOAD_R

Bits 0:15 - Counter reload value

Source§

impl R<u32, Reg<u32, _ISR>>

Source

pub fn fecap(&self) -> FECAP_R

Bits 16:31 - Frequency error capture

Source

pub fn fedir(&self) -> FEDIR_R

Bit 15 - Frequency error direction

Source

pub fn trimovf(&self) -> TRIMOVF_R

Bit 10 - Trimming overflow or underflow

Source

pub fn syncmiss(&self) -> SYNCMISS_R

Bit 9 - SYNC missed

Source

pub fn syncerr(&self) -> SYNCERR_R

Bit 8 - SYNC error

Source

pub fn esyncf(&self) -> ESYNCF_R

Bit 3 - Expected SYNC flag

Source

pub fn errf(&self) -> ERRF_R

Bit 2 - Error flag

Source

pub fn syncwarnf(&self) -> SYNCWARNF_R

Bit 1 - SYNC warning flag

Source

pub fn syncokf(&self) -> SYNCOKF_R

Bit 0 - SYNC event OK flag

Source§

impl R<u32, Reg<u32, _ICR>>

Source

pub fn esyncc(&self) -> ESYNCC_R

Bit 3 - Expected SYNC clear flag

Source

pub fn errc(&self) -> ERRC_R

Bit 2 - Error clear flag

Source

pub fn syncwarnc(&self) -> SYNCWARNC_R

Bit 1 - SYNC warning clear flag

Source

pub fn syncokc(&self) -> SYNCOKC_R

Bit 0 - SYNC event OK clear flag

Source§

impl R<u32, Reg<u32, _EP0R>>

Source

pub fn ea(&self) -> EA_R

Bits 0:3 - Endpoint address

Source

pub fn stat_tx(&self) -> STAT_TX_R

Bits 4:5 - Status bits, for transmission transfers

Source

pub fn dtog_tx(&self) -> DTOG_TX_R

Bit 6 - Data Toggle, for transmission transfers

Source

pub fn ctr_tx(&self) -> CTR_TX_R

Bit 7 - Correct Transfer for transmission

Source

pub fn ep_kind(&self) -> EP_KIND_R

Bit 8 - Endpoint kind

Source

pub fn ep_type(&self) -> EP_TYPE_R

Bits 9:10 - Endpoint type

Source

pub fn setup(&self) -> SETUP_R

Bit 11 - Setup transaction completed

Source

pub fn stat_rx(&self) -> STAT_RX_R

Bits 12:13 - Status bits, for reception transfers

Source

pub fn dtog_rx(&self) -> DTOG_RX_R

Bit 14 - Data Toggle, for reception transfers

Source

pub fn ctr_rx(&self) -> CTR_RX_R

Bit 15 - Correct transfer for reception

Source§

impl R<u32, Reg<u32, _EP1R>>

Source

pub fn ea(&self) -> EA_R

Bits 0:3 - Endpoint address

Source

pub fn stat_tx(&self) -> STAT_TX_R

Bits 4:5 - Status bits, for transmission transfers

Source

pub fn dtog_tx(&self) -> DTOG_TX_R

Bit 6 - Data Toggle, for transmission transfers

Source

pub fn ctr_tx(&self) -> CTR_TX_R

Bit 7 - Correct Transfer for transmission

Source

pub fn ep_kind(&self) -> EP_KIND_R

Bit 8 - Endpoint kind

Source

pub fn ep_type(&self) -> EP_TYPE_R

Bits 9:10 - Endpoint type

Source

pub fn setup(&self) -> SETUP_R

Bit 11 - Setup transaction completed

Source

pub fn stat_rx(&self) -> STAT_RX_R

Bits 12:13 - Status bits, for reception transfers

Source

pub fn dtog_rx(&self) -> DTOG_RX_R

Bit 14 - Data Toggle, for reception transfers

Source

pub fn ctr_rx(&self) -> CTR_RX_R

Bit 15 - Correct transfer for reception

Source§

impl R<u32, Reg<u32, _EP2R>>

Source

pub fn ea(&self) -> EA_R

Bits 0:3 - Endpoint address

Source

pub fn stat_tx(&self) -> STAT_TX_R

Bits 4:5 - Status bits, for transmission transfers

Source

pub fn dtog_tx(&self) -> DTOG_TX_R

Bit 6 - Data Toggle, for transmission transfers

Source

pub fn ctr_tx(&self) -> CTR_TX_R

Bit 7 - Correct Transfer for transmission

Source

pub fn ep_kind(&self) -> EP_KIND_R

Bit 8 - Endpoint kind

Source

pub fn ep_type(&self) -> EP_TYPE_R

Bits 9:10 - Endpoint type

Source

pub fn setup(&self) -> SETUP_R

Bit 11 - Setup transaction completed

Source

pub fn stat_rx(&self) -> STAT_RX_R

Bits 12:13 - Status bits, for reception transfers

Source

pub fn dtog_rx(&self) -> DTOG_RX_R

Bit 14 - Data Toggle, for reception transfers

Source

pub fn ctr_rx(&self) -> CTR_RX_R

Bit 15 - Correct transfer for reception

Source§

impl R<u32, Reg<u32, _EP3R>>

Source

pub fn ea(&self) -> EA_R

Bits 0:3 - Endpoint address

Source

pub fn stat_tx(&self) -> STAT_TX_R

Bits 4:5 - Status bits, for transmission transfers

Source

pub fn dtog_tx(&self) -> DTOG_TX_R

Bit 6 - Data Toggle, for transmission transfers

Source

pub fn ctr_tx(&self) -> CTR_TX_R

Bit 7 - Correct Transfer for transmission

Source

pub fn ep_kind(&self) -> EP_KIND_R

Bit 8 - Endpoint kind

Source

pub fn ep_type(&self) -> EP_TYPE_R

Bits 9:10 - Endpoint type

Source

pub fn setup(&self) -> SETUP_R

Bit 11 - Setup transaction completed

Source

pub fn stat_rx(&self) -> STAT_RX_R

Bits 12:13 - Status bits, for reception transfers

Source

pub fn dtog_rx(&self) -> DTOG_RX_R

Bit 14 - Data Toggle, for reception transfers

Source

pub fn ctr_rx(&self) -> CTR_RX_R

Bit 15 - Correct transfer for reception

Source§

impl R<u32, Reg<u32, _EP4R>>

Source

pub fn ea(&self) -> EA_R

Bits 0:3 - Endpoint address

Source

pub fn stat_tx(&self) -> STAT_TX_R

Bits 4:5 - Status bits, for transmission transfers

Source

pub fn dtog_tx(&self) -> DTOG_TX_R

Bit 6 - Data Toggle, for transmission transfers

Source

pub fn ctr_tx(&self) -> CTR_TX_R

Bit 7 - Correct Transfer for transmission

Source

pub fn ep_kind(&self) -> EP_KIND_R

Bit 8 - Endpoint kind

Source

pub fn ep_type(&self) -> EP_TYPE_R

Bits 9:10 - Endpoint type

Source

pub fn setup(&self) -> SETUP_R

Bit 11 - Setup transaction completed

Source

pub fn stat_rx(&self) -> STAT_RX_R

Bits 12:13 - Status bits, for reception transfers

Source

pub fn dtog_rx(&self) -> DTOG_RX_R

Bit 14 - Data Toggle, for reception transfers

Source

pub fn ctr_rx(&self) -> CTR_RX_R

Bit 15 - Correct transfer for reception

Source§

impl R<u32, Reg<u32, _EP5R>>

Source

pub fn ea(&self) -> EA_R

Bits 0:3 - Endpoint address

Source

pub fn stat_tx(&self) -> STAT_TX_R

Bits 4:5 - Status bits, for transmission transfers

Source

pub fn dtog_tx(&self) -> DTOG_TX_R

Bit 6 - Data Toggle, for transmission transfers

Source

pub fn ctr_tx(&self) -> CTR_TX_R

Bit 7 - Correct Transfer for transmission

Source

pub fn ep_kind(&self) -> EP_KIND_R

Bit 8 - Endpoint kind

Source

pub fn ep_type(&self) -> EP_TYPE_R

Bits 9:10 - Endpoint type

Source

pub fn setup(&self) -> SETUP_R

Bit 11 - Setup transaction completed

Source

pub fn stat_rx(&self) -> STAT_RX_R

Bits 12:13 - Status bits, for reception transfers

Source

pub fn dtog_rx(&self) -> DTOG_RX_R

Bit 14 - Data Toggle, for reception transfers

Source

pub fn ctr_rx(&self) -> CTR_RX_R

Bit 15 - Correct transfer for reception

Source§

impl R<u32, Reg<u32, _EP6R>>

Source

pub fn ea(&self) -> EA_R

Bits 0:3 - Endpoint address

Source

pub fn stat_tx(&self) -> STAT_TX_R

Bits 4:5 - Status bits, for transmission transfers

Source

pub fn dtog_tx(&self) -> DTOG_TX_R

Bit 6 - Data Toggle, for transmission transfers

Source

pub fn ctr_tx(&self) -> CTR_TX_R

Bit 7 - Correct Transfer for transmission

Source

pub fn ep_kind(&self) -> EP_KIND_R

Bit 8 - Endpoint kind

Source

pub fn ep_type(&self) -> EP_TYPE_R

Bits 9:10 - Endpoint type

Source

pub fn setup(&self) -> SETUP_R

Bit 11 - Setup transaction completed

Source

pub fn stat_rx(&self) -> STAT_RX_R

Bits 12:13 - Status bits, for reception transfers

Source

pub fn dtog_rx(&self) -> DTOG_RX_R

Bit 14 - Data Toggle, for reception transfers

Source

pub fn ctr_rx(&self) -> CTR_RX_R

Bit 15 - Correct transfer for reception

Source§

impl R<u32, Reg<u32, _EP7R>>

Source

pub fn ea(&self) -> EA_R

Bits 0:3 - Endpoint address

Source

pub fn stat_tx(&self) -> STAT_TX_R

Bits 4:5 - Status bits, for transmission transfers

Source

pub fn dtog_tx(&self) -> DTOG_TX_R

Bit 6 - Data Toggle, for transmission transfers

Source

pub fn ctr_tx(&self) -> CTR_TX_R

Bit 7 - Correct Transfer for transmission

Source

pub fn ep_kind(&self) -> EP_KIND_R

Bit 8 - Endpoint kind

Source

pub fn ep_type(&self) -> EP_TYPE_R

Bits 9:10 - Endpoint type

Source

pub fn setup(&self) -> SETUP_R

Bit 11 - Setup transaction completed

Source

pub fn stat_rx(&self) -> STAT_RX_R

Bits 12:13 - Status bits, for reception transfers

Source

pub fn dtog_rx(&self) -> DTOG_RX_R

Bit 14 - Data Toggle, for reception transfers

Source

pub fn ctr_rx(&self) -> CTR_RX_R

Bit 15 - Correct transfer for reception

Source§

impl R<u32, Reg<u32, _CNTR>>

Source

pub fn fres(&self) -> FRES_R

Bit 0 - Force USB Reset

Source

pub fn pdwn(&self) -> PDWN_R

Bit 1 - Power down

Source

pub fn lpmode(&self) -> LPMODE_R

Bit 2 - Low-power mode

Source

pub fn fsusp(&self) -> FSUSP_R

Bit 3 - Force suspend

Source

pub fn resume(&self) -> RESUME_R

Bit 4 - Resume request

Source

pub fn l1resume(&self) -> L1RESUME_R

Bit 5 - LPM L1 Resume request

Source

pub fn l1reqm(&self) -> L1REQM_R

Bit 7 - LPM L1 state request interrupt mask

Source

pub fn esofm(&self) -> ESOFM_R

Bit 8 - Expected start of frame interrupt mask

Source

pub fn sofm(&self) -> SOFM_R

Bit 9 - Start of frame interrupt mask

Source

pub fn resetm(&self) -> RESETM_R

Bit 10 - USB reset interrupt mask

Source

pub fn suspm(&self) -> SUSPM_R

Bit 11 - Suspend mode interrupt mask

Source

pub fn wkupm(&self) -> WKUPM_R

Bit 12 - Wakeup interrupt mask

Source

pub fn errm(&self) -> ERRM_R

Bit 13 - Error interrupt mask

Source

pub fn pmaovrm(&self) -> PMAOVRM_R

Bit 14 - Packet memory area over / underrun interrupt mask

Source

pub fn ctrm(&self) -> CTRM_R

Bit 15 - Correct transfer interrupt mask

Source§

impl R<u32, Reg<u32, _ISTR>>

Source

pub fn ep_id(&self) -> EP_ID_R

Bits 0:3 - Endpoint Identifier

Source

pub fn dir(&self) -> DIR_R

Bit 4 - Direction of transaction

Source

pub fn l1req(&self) -> L1REQ_R

Bit 7 - LPM L1 state request

Source

pub fn esof(&self) -> ESOF_R

Bit 8 - Expected start frame

Source

pub fn sof(&self) -> SOF_R

Bit 9 - start of frame

Source

pub fn reset(&self) -> RESET_R

Bit 10 - reset request

Source

pub fn susp(&self) -> SUSP_R

Bit 11 - Suspend mode request

Source

pub fn wkup(&self) -> WKUP_R

Bit 12 - Wakeup

Source

pub fn err(&self) -> ERR_R

Bit 13 - Error

Source

pub fn pmaovr(&self) -> PMAOVR_R

Bit 14 - Packet memory area over / underrun

Source

pub fn ctr(&self) -> CTR_R

Bit 15 - Correct transfer

Source§

impl R<u32, Reg<u32, _FNR>>

Source

pub fn fn_(&self) -> FN_R

Bits 0:10 - Frame number

Source

pub fn lsof(&self) -> LSOF_R

Bits 11:12 - Lost SOF

Source

pub fn lck(&self) -> LCK_R

Bit 13 - Locked

Source

pub fn rxdm(&self) -> RXDM_R

Bit 14 - Receive data - line status

Source

pub fn rxdp(&self) -> RXDP_R

Bit 15 - Receive data + line status

Source§

impl R<u32, Reg<u32, _DADDR>>

Source

pub fn add(&self) -> ADD_R

Bits 0:6 - Device address

Source

pub fn ef(&self) -> EF_R

Bit 7 - Enable function

Source§

impl R<u32, Reg<u32, _BTABLE>>

Source

pub fn btable(&self) -> BTABLE_R

Bits 3:15 - Buffer table

Source§

impl R<u32, Reg<u32, _CR>>

Source

pub fn prescaler(&self) -> PRESCALER_R

Bits 24:31 - Clock prescaler

Source

pub fn pmm(&self) -> PMM_R

Bit 23 - Polling match mode

Source

pub fn apms(&self) -> APMS_R

Bit 22 - Automatic poll mode stop

Source

pub fn toie(&self) -> TOIE_R

Bit 20 - TimeOut interrupt enable

Source

pub fn smie(&self) -> SMIE_R

Bit 19 - Status match interrupt enable

Source

pub fn ftie(&self) -> FTIE_R

Bit 18 - FIFO threshold interrupt enable

Source

pub fn tcie(&self) -> TCIE_R

Bit 17 - Transfer complete interrupt enable

Source

pub fn teie(&self) -> TEIE_R

Bit 16 - Transfer error interrupt enable

Source

pub fn fthres(&self) -> FTHRES_R

Bits 8:12 - IFO threshold level

Source

pub fn fsel(&self) -> FSEL_R

Bit 7 - FLASH memory selection

Source

pub fn dfm(&self) -> DFM_R

Bit 6 - Dual-flash mode

Source

pub fn sshift(&self) -> SSHIFT_R

Bit 4 - Sample shift

Source

pub fn tcen(&self) -> TCEN_R

Bit 3 - Timeout counter enable

Source

pub fn dmaen(&self) -> DMAEN_R

Bit 2 - DMA enable

Source

pub fn abort(&self) -> ABORT_R

Bit 1 - Abort request

Source

pub fn en(&self) -> EN_R

Bit 0 - Enable

Source§

impl R<u32, Reg<u32, _DCR>>

Source

pub fn fsize(&self) -> FSIZE_R

Bits 16:20 - FLASH memory size

Source

pub fn csht(&self) -> CSHT_R

Bits 8:10 - Chip select high time

Source

pub fn ckmode(&self) -> CKMODE_R

Bit 0 - Mode 0 / mode 3

Source§

impl R<u32, Reg<u32, _SR>>

Source

pub fn flevel(&self) -> FLEVEL_R

Bits 8:14 - FIFO level

Source

pub fn busy(&self) -> BUSY_R

Bit 5 - Busy

Source

pub fn tof(&self) -> TOF_R

Bit 4 - Timeout flag

Source

pub fn smf(&self) -> SMF_R

Bit 3 - Status match flag

Source

pub fn ftf(&self) -> FTF_R

Bit 2 - FIFO threshold flag

Source

pub fn tcf(&self) -> TCF_R

Bit 1 - Transfer complete flag

Source

pub fn tef(&self) -> TEF_R

Bit 0 - Transfer error flag

Source§

impl R<u32, Reg<u32, _FCR>>

Source

pub fn ctof(&self) -> CTOF_R

Bit 4 - Clear timeout flag

Source

pub fn csmf(&self) -> CSMF_R

Bit 3 - Clear status match flag

Source

pub fn ctcf(&self) -> CTCF_R

Bit 1 - Clear transfer complete flag

Source

pub fn ctef(&self) -> CTEF_R

Bit 0 - Clear transfer error flag

Source§

impl R<u32, Reg<u32, _DLR>>

Source

pub fn dl(&self) -> DL_R

Bits 0:31 - Data length

Source§

impl R<u32, Reg<u32, _CCR>>

Source

pub fn ddrm(&self) -> DDRM_R

Bit 31 - Double data rate mode

Source

pub fn dhhc(&self) -> DHHC_R

Bit 30 - DDR hold half cycle

Source

pub fn sioo(&self) -> SIOO_R

Bit 28 - Send instruction only once mode

Source

pub fn fmode(&self) -> FMODE_R

Bits 26:27 - Functional mode

Source

pub fn dmode(&self) -> DMODE_R

Bits 24:25 - Data mode

Source

pub fn dcyc(&self) -> DCYC_R

Bits 18:22 - Number of dummy cycles

Source

pub fn absize(&self) -> ABSIZE_R

Bits 16:17 - Alternate bytes size

Source

pub fn abmode(&self) -> ABMODE_R

Bits 14:15 - Alternate bytes mode

Source

pub fn adsize(&self) -> ADSIZE_R

Bits 12:13 - Address size

Source

pub fn admode(&self) -> ADMODE_R

Bits 10:11 - Address mode

Source

pub fn imode(&self) -> IMODE_R

Bits 8:9 - Instruction mode

Source

pub fn instruction(&self) -> INSTRUCTION_R

Bits 0:7 - Instruction

Source§

impl R<u32, Reg<u32, _AR>>

Source

pub fn address(&self) -> ADDRESS_R

Bits 0:31 - Address

Source§

impl R<u32, Reg<u32, _ABR>>

Source

pub fn alternate(&self) -> ALTERNATE_R

Bits 0:31 - ALTERNATE

Source§

impl R<u32, Reg<u32, _DR>>

Source

pub fn data(&self) -> DATA_R

Bits 0:31 - Data

Source§

impl R<u32, Reg<u32, _PSMKR>>

Source

pub fn mask(&self) -> MASK_R

Bits 0:31 - Status mask

Source§

impl R<u32, Reg<u32, _PSMAR>>

Source

pub fn match_(&self) -> MATCH_R

Bits 0:31 - Status match

Source§

impl R<u32, Reg<u32, _PIR>>

Source

pub fn interval(&self) -> INTERVAL_R

Bits 0:15 - Polling interval

Source§

impl R<u32, Reg<u32, _LPTR>>

Source

pub fn timeout(&self) -> TIMEOUT_R

Bits 0:15 - Timeout period

Source§

impl R<bool, MBKEN_A>

Source

pub fn variant(&self) -> MBKEN_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, MUXEN_A>

Source

pub fn variant(&self) -> MUXEN_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<u8, MTYP_A>

Source

pub fn variant(&self) -> Variant<u8, MTYP_A>

Get enumerated values variant

Source

pub fn is_sram(&self) -> bool

Checks if the value of the field is SRAM

Source

pub fn is_psram(&self) -> bool

Checks if the value of the field is PSRAM

Source

pub fn is_flash(&self) -> bool

Checks if the value of the field is FLASH

Source§

impl R<u8, MWID_A>

Source

pub fn variant(&self) -> Variant<u8, MWID_A>

Get enumerated values variant

Source

pub fn is_bits8(&self) -> bool

Checks if the value of the field is BITS8

Source

pub fn is_bits16(&self) -> bool

Checks if the value of the field is BITS16

Source

pub fn is_bits32(&self) -> bool

Checks if the value of the field is BITS32

Source§

impl R<bool, FACCEN_A>

Source

pub fn variant(&self) -> FACCEN_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, BURSTEN_A>

Source

pub fn variant(&self) -> BURSTEN_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, WAITPOL_A>

Source

pub fn variant(&self) -> WAITPOL_A

Get enumerated values variant

Source

pub fn is_active_low(&self) -> bool

Checks if the value of the field is ACTIVELOW

Source

pub fn is_active_high(&self) -> bool

Checks if the value of the field is ACTIVEHIGH

Source§

impl R<bool, WAITCFG_A>

Source

pub fn variant(&self) -> WAITCFG_A

Get enumerated values variant

Source

pub fn is_before_wait_state(&self) -> bool

Checks if the value of the field is BEFOREWAITSTATE

Source

pub fn is_during_wait_state(&self) -> bool

Checks if the value of the field is DURINGWAITSTATE

Source§

impl R<bool, WREN_A>

Source

pub fn variant(&self) -> WREN_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, WAITEN_A>

Source

pub fn variant(&self) -> WAITEN_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, EXTMOD_A>

Source

pub fn variant(&self) -> EXTMOD_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, ASYNCWAIT_A>

Source

pub fn variant(&self) -> ASYNCWAIT_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, CBURSTRW_A>

Source

pub fn variant(&self) -> CBURSTRW_A

Get enumerated values variant

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source§

impl R<bool, CCLKEN_A>

Source

pub fn variant(&self) -> CCLKEN_A

Get enumerated values variant

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source§

impl R<bool, WFDIS_A>

Source

pub fn variant(&self) -> WFDIS_A

Get enumerated values variant

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source§

impl R<u8, CPSIZE_A>

Source

pub fn variant(&self) -> Variant<u8, CPSIZE_A>

Get enumerated values variant

Source

pub fn is_no_burst_split(&self) -> bool

Checks if the value of the field is NOBURSTSPLIT

Source

pub fn is_bytes128(&self) -> bool

Checks if the value of the field is BYTES128

Source

pub fn is_bytes256(&self) -> bool

Checks if the value of the field is BYTES256

Source

pub fn is_bytes512(&self) -> bool

Checks if the value of the field is BYTES512

Source

pub fn is_bytes1024(&self) -> bool

Checks if the value of the field is BYTES1024

Source§

impl R<u32, Reg<u32, _BCR1>>

Source

pub fn mbken(&self) -> MBKEN_R

Bit 0 - MBKEN

Source

pub fn muxen(&self) -> MUXEN_R

Bit 1 - MUXEN

Source

pub fn mtyp(&self) -> MTYP_R

Bits 2:3 - MTYP

Source

pub fn mwid(&self) -> MWID_R

Bits 4:5 - MWID

Source

pub fn faccen(&self) -> FACCEN_R

Bit 6 - FACCEN

Source

pub fn bursten(&self) -> BURSTEN_R

Bit 8 - BURSTEN

Source

pub fn waitpol(&self) -> WAITPOL_R

Bit 9 - WAITPOL

Source

pub fn waitcfg(&self) -> WAITCFG_R

Bit 11 - WAITCFG

Source

pub fn wren(&self) -> WREN_R

Bit 12 - WREN

Source

pub fn waiten(&self) -> WAITEN_R

Bit 13 - WAITEN

Source

pub fn extmod(&self) -> EXTMOD_R

Bit 14 - EXTMOD

Source

pub fn asyncwait(&self) -> ASYNCWAIT_R

Bit 15 - ASYNCWAIT

Source

pub fn cburstrw(&self) -> CBURSTRW_R

Bit 19 - CBURSTRW

Source

pub fn cclken(&self) -> CCLKEN_R

Bit 20 - CCLKEN

Source

pub fn wfdis(&self) -> WFDIS_R

Bit 21 - Write FIFO Disable

Source

pub fn wrapmod(&self) -> WRAPMOD_R

Bit 10 - WRAPMOD

Source

pub fn cpsize(&self) -> CPSIZE_R

Bits 16:18 - CRAM page size

Source§

impl R<u8, ACCMOD_A>

Source

pub fn variant(&self) -> ACCMOD_A

Get enumerated values variant

Source

pub fn is_a(&self) -> bool

Checks if the value of the field is A

Source

pub fn is_b(&self) -> bool

Checks if the value of the field is B

Source

pub fn is_c(&self) -> bool

Checks if the value of the field is C

Source

pub fn is_d(&self) -> bool

Checks if the value of the field is D

Source§

impl R<u32, Reg<u32, _BTR>>

Source

pub fn accmod(&self) -> ACCMOD_R

Bits 28:29 - ACCMOD

Source

pub fn datlat(&self) -> DATLAT_R

Bits 24:27 - DATLAT

Source

pub fn clkdiv(&self) -> CLKDIV_R

Bits 20:23 - CLKDIV

Source

pub fn busturn(&self) -> BUSTURN_R

Bits 16:19 - BUSTURN

Source

pub fn datast(&self) -> DATAST_R

Bits 8:15 - DATAST

Source

pub fn addhld(&self) -> ADDHLD_R

Bits 4:7 - ADDHLD

Source

pub fn addset(&self) -> ADDSET_R

Bits 0:3 - ADDSET

Source§

impl R<bool, CBURSTRW_A>

Source

pub fn variant(&self) -> CBURSTRW_A

Get enumerated values variant

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source§

impl R<bool, ASYNCWAIT_A>

Source

pub fn variant(&self) -> ASYNCWAIT_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, EXTMOD_A>

Source

pub fn variant(&self) -> EXTMOD_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, WAITEN_A>

Source

pub fn variant(&self) -> WAITEN_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, WREN_A>

Source

pub fn variant(&self) -> WREN_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, WAITCFG_A>

Source

pub fn variant(&self) -> WAITCFG_A

Get enumerated values variant

Source

pub fn is_before_wait_state(&self) -> bool

Checks if the value of the field is BEFOREWAITSTATE

Source

pub fn is_during_wait_state(&self) -> bool

Checks if the value of the field is DURINGWAITSTATE

Source§

impl R<bool, WAITPOL_A>

Source

pub fn variant(&self) -> WAITPOL_A

Get enumerated values variant

Source

pub fn is_active_low(&self) -> bool

Checks if the value of the field is ACTIVELOW

Source

pub fn is_active_high(&self) -> bool

Checks if the value of the field is ACTIVEHIGH

Source§

impl R<bool, BURSTEN_A>

Source

pub fn variant(&self) -> BURSTEN_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, FACCEN_A>

Source

pub fn variant(&self) -> FACCEN_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<u8, MWID_A>

Source

pub fn variant(&self) -> Variant<u8, MWID_A>

Get enumerated values variant

Source

pub fn is_bits8(&self) -> bool

Checks if the value of the field is BITS8

Source

pub fn is_bits16(&self) -> bool

Checks if the value of the field is BITS16

Source

pub fn is_bits32(&self) -> bool

Checks if the value of the field is BITS32

Source§

impl R<u8, MTYP_A>

Source

pub fn variant(&self) -> Variant<u8, MTYP_A>

Get enumerated values variant

Source

pub fn is_sram(&self) -> bool

Checks if the value of the field is SRAM

Source

pub fn is_psram(&self) -> bool

Checks if the value of the field is PSRAM

Source

pub fn is_flash(&self) -> bool

Checks if the value of the field is FLASH

Source§

impl R<bool, MUXEN_A>

Source

pub fn variant(&self) -> MUXEN_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, MBKEN_A>

Source

pub fn variant(&self) -> MBKEN_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<u8, CPSIZE_A>

Source

pub fn variant(&self) -> Variant<u8, CPSIZE_A>

Get enumerated values variant

Source

pub fn is_no_burst_split(&self) -> bool

Checks if the value of the field is NOBURSTSPLIT

Source

pub fn is_bytes128(&self) -> bool

Checks if the value of the field is BYTES128

Source

pub fn is_bytes256(&self) -> bool

Checks if the value of the field is BYTES256

Source

pub fn is_bytes512(&self) -> bool

Checks if the value of the field is BYTES512

Source

pub fn is_bytes1024(&self) -> bool

Checks if the value of the field is BYTES1024

Source§

impl R<u32, Reg<u32, _BCR>>

Source

pub fn cburstrw(&self) -> CBURSTRW_R

Bit 19 - CBURSTRW

Source

pub fn asyncwait(&self) -> ASYNCWAIT_R

Bit 15 - ASYNCWAIT

Source

pub fn extmod(&self) -> EXTMOD_R

Bit 14 - EXTMOD

Source

pub fn waiten(&self) -> WAITEN_R

Bit 13 - WAITEN

Source

pub fn wren(&self) -> WREN_R

Bit 12 - WREN

Source

pub fn waitcfg(&self) -> WAITCFG_R

Bit 11 - WAITCFG

Source

pub fn wrapmod(&self) -> WRAPMOD_R

Bit 10 - WRAPMOD

Source

pub fn waitpol(&self) -> WAITPOL_R

Bit 9 - WAITPOL

Source

pub fn bursten(&self) -> BURSTEN_R

Bit 8 - BURSTEN

Source

pub fn faccen(&self) -> FACCEN_R

Bit 6 - FACCEN

Source

pub fn mwid(&self) -> MWID_R

Bits 4:5 - MWID

Source

pub fn mtyp(&self) -> MTYP_R

Bits 2:3 - MTYP

Source

pub fn muxen(&self) -> MUXEN_R

Bit 1 - MUXEN

Source

pub fn mbken(&self) -> MBKEN_R

Bit 0 - MBKEN

Source

pub fn wfdis(&self) -> WFDIS_R

Bit 21 - Write FIFO disable

Source

pub fn cclken(&self) -> CCLKEN_R

Bit 20 - CCLKEN

Source

pub fn cpsize(&self) -> CPSIZE_R

Bits 16:18 - CRAM page size

Source§

impl R<u8, ECCPS_A>

Source

pub fn variant(&self) -> Variant<u8, ECCPS_A>

Get enumerated values variant

Source

pub fn is_bytes256(&self) -> bool

Checks if the value of the field is BYTES256

Source

pub fn is_bytes512(&self) -> bool

Checks if the value of the field is BYTES512

Source

pub fn is_bytes1024(&self) -> bool

Checks if the value of the field is BYTES1024

Source

pub fn is_bytes2048(&self) -> bool

Checks if the value of the field is BYTES2048

Source

pub fn is_bytes4096(&self) -> bool

Checks if the value of the field is BYTES4096

Source

pub fn is_bytes8192(&self) -> bool

Checks if the value of the field is BYTES8192

Source§

impl R<bool, ECCEN_A>

Source

pub fn variant(&self) -> ECCEN_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<u8, PWID_A>

Source

pub fn variant(&self) -> Variant<u8, PWID_A>

Get enumerated values variant

Source

pub fn is_bits8(&self) -> bool

Checks if the value of the field is BITS8

Source

pub fn is_bits16(&self) -> bool

Checks if the value of the field is BITS16

Source§

impl R<bool, PTYP_A>

Source

pub fn variant(&self) -> Variant<bool, PTYP_A>

Get enumerated values variant

Source

pub fn is_nandflash(&self) -> bool

Checks if the value of the field is NANDFLASH

Source§

impl R<bool, PBKEN_A>

Source

pub fn variant(&self) -> PBKEN_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, PWAITEN_A>

Source

pub fn variant(&self) -> PWAITEN_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<u32, Reg<u32, _PCR>>

Source

pub fn eccps(&self) -> ECCPS_R

Bits 17:19 - ECCPS

Source

pub fn tar(&self) -> TAR_R

Bits 13:16 - TAR

Source

pub fn tclr(&self) -> TCLR_R

Bits 9:12 - TCLR

Source

pub fn eccen(&self) -> ECCEN_R

Bit 6 - ECCEN

Source

pub fn pwid(&self) -> PWID_R

Bits 4:5 - PWID

Source

pub fn ptyp(&self) -> PTYP_R

Bit 3 - PTYP

Source

pub fn pbken(&self) -> PBKEN_R

Bit 2 - PBKEN

Source

pub fn pwaiten(&self) -> PWAITEN_R

Bit 1 - PWAITEN

Source§

impl R<bool, FEMPT_A>

Source

pub fn variant(&self) -> FEMPT_A

Get enumerated values variant

Source

pub fn is_not_empty(&self) -> bool

Checks if the value of the field is NOTEMPTY

Source

pub fn is_empty(&self) -> bool

Checks if the value of the field is EMPTY

Source§

impl R<bool, IFEN_A>

Source

pub fn variant(&self) -> IFEN_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, ILEN_A>

Source

pub fn variant(&self) -> ILEN_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, IREN_A>

Source

pub fn variant(&self) -> IREN_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, IFS_A>

Source

pub fn variant(&self) -> IFS_A

Get enumerated values variant

Source

pub fn is_did_not_occur(&self) -> bool

Checks if the value of the field is DIDNOTOCCUR

Source

pub fn is_occurred(&self) -> bool

Checks if the value of the field is OCCURRED

Source§

impl R<bool, ILS_A>

Source

pub fn variant(&self) -> ILS_A

Get enumerated values variant

Source

pub fn is_did_not_occur(&self) -> bool

Checks if the value of the field is DIDNOTOCCUR

Source

pub fn is_occurred(&self) -> bool

Checks if the value of the field is OCCURRED

Source§

impl R<bool, IRS_A>

Source

pub fn variant(&self) -> IRS_A

Get enumerated values variant

Source

pub fn is_did_not_occur(&self) -> bool

Checks if the value of the field is DIDNOTOCCUR

Source

pub fn is_occurred(&self) -> bool

Checks if the value of the field is OCCURRED

Source§

impl R<u32, Reg<u32, _SR>>

Source

pub fn fempt(&self) -> FEMPT_R

Bit 6 - FEMPT

Source

pub fn ifen(&self) -> IFEN_R

Bit 5 - IFEN

Source

pub fn ilen(&self) -> ILEN_R

Bit 4 - ILEN

Source

pub fn iren(&self) -> IREN_R

Bit 3 - IREN

Source

pub fn ifs(&self) -> IFS_R

Bit 2 - IFS

Source

pub fn ils(&self) -> ILS_R

Bit 1 - ILS

Source

pub fn irs(&self) -> IRS_R

Bit 0 - IRS

Source§

impl R<u32, Reg<u32, _PMEM>>

Source

pub fn memhiz(&self) -> MEMHIZ_R

Bits 24:31 - MEMHIZx

Source

pub fn memhold(&self) -> MEMHOLD_R

Bits 16:23 - MEMHOLDx

Source

pub fn memwait(&self) -> MEMWAIT_R

Bits 8:15 - MEMWAITx

Source

pub fn memset(&self) -> MEMSET_R

Bits 0:7 - MEMSETx

Source§

impl R<u32, Reg<u32, _PATT>>

Source

pub fn atthiz(&self) -> ATTHIZ_R

Bits 24:31 - ATTHIZx

Source

pub fn atthold(&self) -> ATTHOLD_R

Bits 16:23 - ATTHOLDx

Source

pub fn attwait(&self) -> ATTWAIT_R

Bits 8:15 - ATTWAITx

Source

pub fn attset(&self) -> ATTSET_R

Bits 0:7 - ATTSETx

Source§

impl R<u32, Reg<u32, _ECCR>>

Source

pub fn ecc(&self) -> ECC_R

Bits 0:31 - ECCx

Source§

impl R<u8, ACCMOD_A>

Source

pub fn variant(&self) -> ACCMOD_A

Get enumerated values variant

Source

pub fn is_a(&self) -> bool

Checks if the value of the field is A

Source

pub fn is_b(&self) -> bool

Checks if the value of the field is B

Source

pub fn is_c(&self) -> bool

Checks if the value of the field is C

Source

pub fn is_d(&self) -> bool

Checks if the value of the field is D

Source§

impl R<u32, Reg<u32, _BWTR>>

Source

pub fn accmod(&self) -> ACCMOD_R

Bits 28:29 - ACCMOD

Source

pub fn datlat(&self) -> DATLAT_R

Bits 24:27 - DATLAT

Source

pub fn clkdiv(&self) -> CLKDIV_R

Bits 20:23 - CLKDIV

Source

pub fn datast(&self) -> DATAST_R

Bits 8:15 - DATAST

Source

pub fn addhld(&self) -> ADDHLD_R

Bits 4:7 - ADDHLD

Source

pub fn addset(&self) -> ADDSET_R

Bits 0:3 - ADDSET

Source

pub fn busturn(&self) -> BUSTURN_R

Bits 16:19 - Bus turnaround phase duration

Source§

impl R<u32, Reg<u32, _CFGR1>>

Source

pub fn dfsdmen(&self) -> DFSDMEN_R

Bit 31 - DFSDMEN

Source

pub fn ckoutsrc(&self) -> CKOUTSRC_R

Bit 30 - CKOUTSRC

Source

pub fn ckoutdiv(&self) -> CKOUTDIV_R

Bits 16:23 - CKOUTDIV

Source

pub fn datpack(&self) -> DATPACK_R

Bits 14:15 - DATPACK

Source

pub fn datmpx(&self) -> DATMPX_R

Bits 12:13 - DATMPX

Source

pub fn chinsel(&self) -> CHINSEL_R

Bit 8 - CHINSEL

Source

pub fn chen(&self) -> CHEN_R

Bit 7 - CHEN

Source

pub fn ckaben(&self) -> CKABEN_R

Bit 6 - CKABEN

Source

pub fn scden(&self) -> SCDEN_R

Bit 5 - SCDEN

Source

pub fn spicksel(&self) -> SPICKSEL_R

Bits 2:3 - SPICKSEL

Source

pub fn sitp(&self) -> SITP_R

Bits 0:1 - SITP

Source§

impl R<u32, Reg<u32, _CFGR2>>

Source

pub fn offset(&self) -> OFFSET_R

Bits 8:31 - OFFSET

Source

pub fn dtrbs(&self) -> DTRBS_R

Bits 3:7 - DTRBS

Source§

impl R<u32, Reg<u32, _AWSCDR>>

Source

pub fn awford(&self) -> AWFORD_R

Bits 22:23 - AWFORD

Source

pub fn awfosr(&self) -> AWFOSR_R

Bits 16:20 - AWFOSR

Source

pub fn bkscd(&self) -> BKSCD_R

Bits 12:15 - BKSCD

Source

pub fn scdt(&self) -> SCDT_R

Bits 0:7 - SCDT

Source§

impl R<u32, Reg<u32, _WDATR>>

Source

pub fn wdata(&self) -> WDATA_R

Bits 0:15 - WDATA

Source§

impl R<u32, Reg<u32, _DATINR>>

Source

pub fn indat1(&self) -> INDAT1_R

Bits 16:31 - INDAT1

Source

pub fn indat0(&self) -> INDAT0_R

Bits 0:15 - INDAT0

Source§

impl R<u32, Reg<u32, _CR2>>

Source

pub fn awfsel(&self) -> AWFSEL_R

Bit 30 - Analog watchdog fast mode select

Source

pub fn fast(&self) -> FAST_R

Bit 29 - Fast conversion mode selection for regular conversions

Source

pub fn rch(&self) -> RCH_R

Bits 24:26 - Regular channel selection

Source

pub fn rdmaen(&self) -> RDMAEN_R

Bit 21 - DMA channel enabled to read data for the regular conversion

Source

pub fn rsync(&self) -> RSYNC_R

Bit 19 - Launch regular conversion synchronously with DFSDM0

Source

pub fn rcont(&self) -> RCONT_R

Bit 18 - Continuous mode selection for regular conversions

Source

pub fn rswstart(&self) -> RSWSTART_R

Bit 17 - Software start of a conversion on the regular channel

Source

pub fn jexten(&self) -> JEXTEN_R

Bits 13:14 - Trigger enable and trigger edge selection for injected conversions

Source

pub fn jextsel(&self) -> JEXTSEL_R

Bits 8:10 - Trigger signal selection for launching injected conversions

Source

pub fn jdmaen(&self) -> JDMAEN_R

Bit 5 - DMA channel enabled to read data for the injected channel group

Source

pub fn jscan(&self) -> JSCAN_R

Bit 4 - Scanning conversion mode for injected conversions

Source

pub fn jsync(&self) -> JSYNC_R

Bit 3 - Launch an injected conversion synchronously with the DFSDM0 JSWSTART trigger

Source

pub fn jswstart(&self) -> JSWSTART_R

Bit 1 - Start a conversion of the injected group of channels

Source

pub fn dfen(&self) -> DFEN_R

Bit 0 - DFSDM enable

Source§

impl R<u32, Reg<u32, _ISR>>

Source

pub fn scdf(&self) -> SCDF_R

Bits 24:31 - short-circuit detector flag

Source

pub fn ckabf(&self) -> CKABF_R

Bits 16:23 - Clock absence flag

Source

pub fn rcip(&self) -> RCIP_R

Bit 14 - Regular conversion in progress status

Source

pub fn jcip(&self) -> JCIP_R

Bit 13 - Injected conversion in progress status

Source

pub fn awdf(&self) -> AWDF_R

Bit 4 - Analog watchdog

Source

pub fn rovrf(&self) -> ROVRF_R

Bit 3 - Regular conversion overrun flag

Source

pub fn jovrf(&self) -> JOVRF_R

Bit 2 - Injected conversion overrun flag

Source

pub fn reocf(&self) -> REOCF_R

Bit 1 - End of regular conversion flag

Source

pub fn jeocf(&self) -> JEOCF_R

Bit 0 - End of injected conversion flag

Source§

impl R<u32, Reg<u32, _ICR>>

Source

pub fn clrscdf(&self) -> CLRSCDF_R

Bits 24:31 - Clear the short-circuit detector flag

Source

pub fn clrckabf(&self) -> CLRCKABF_R

Bits 16:23 - Clear the clock absence flag

Source

pub fn clrrovrf(&self) -> CLRROVRF_R

Bit 3 - Clear the regular conversion overrun flag

Source

pub fn clrjovrf(&self) -> CLRJOVRF_R

Bit 2 - Clear the injected conversion overrun flag

Source§

impl R<u32, Reg<u32, _JCHGR>>

Source

pub fn jchg(&self) -> JCHG_R

Bits 0:7 - Injected channel group selection

Source§

impl R<u32, Reg<u32, _FCR>>

Source

pub fn ford(&self) -> FORD_R

Bits 29:31 - Sinc filter order

Source

pub fn fosr(&self) -> FOSR_R

Bits 16:25 - Sinc filter oversampling ratio (decimation rate)

Source

pub fn iosr(&self) -> IOSR_R

Bits 0:7 - Integrator oversampling ratio (averaging length)

Source§

impl R<u32, Reg<u32, _JDATAR>>

Source

pub fn jdata(&self) -> JDATA_R

Bits 8:31 - Injected group conversion data

Source

pub fn jdatach(&self) -> JDATACH_R

Bits 0:2 - Injected channel most recently converted

Source§

impl R<u32, Reg<u32, _RDATAR>>

Source

pub fn rdata(&self) -> RDATA_R

Bits 8:31 - Regular channel conversion data

Source

pub fn rpend(&self) -> RPEND_R

Bit 4 - Regular channel pending data

Source

pub fn rdatach(&self) -> RDATACH_R

Bits 0:2 - Regular channel most recently converted

Source§

impl R<u32, Reg<u32, _AWHTR>>

Source

pub fn awht(&self) -> AWHT_R

Bits 8:31 - Analog watchdog high threshold

Source

pub fn bkawh(&self) -> BKAWH_R

Bits 0:3 - Break signal assignment to analog watchdog high threshold event

Source§

impl R<u32, Reg<u32, _AWLTR>>

Source

pub fn awlt(&self) -> AWLT_R

Bits 8:31 - Analog watchdog low threshold

Source

pub fn bkawl(&self) -> BKAWL_R

Bits 0:3 - Break signal assignment to analog watchdog low threshold event

Source§

impl R<u32, Reg<u32, _AWSR>>

Source

pub fn awhtf(&self) -> AWHTF_R

Bits 8:15 - Analog watchdog high threshold flag

Source

pub fn awltf(&self) -> AWLTF_R

Bits 0:7 - Analog watchdog low threshold flag

Source§

impl R<u32, Reg<u32, _AWCFR>>

Source

pub fn clrawhtf(&self) -> CLRAWHTF_R

Bits 8:15 - Clear the analog watchdog high threshold flag

Source

pub fn clrawltf(&self) -> CLRAWLTF_R

Bits 0:7 - Clear the analog watchdog low threshold flag

Source§

impl R<u32, Reg<u32, _EXMAX>>

Source

pub fn exmax(&self) -> EXMAX_R

Bits 8:31 - Extremes detector maximum value

Source

pub fn exmaxch(&self) -> EXMAXCH_R

Bits 0:2 - Extremes detector maximum data channel

Source§

impl R<u32, Reg<u32, _EXMIN>>

Source

pub fn exmin(&self) -> EXMIN_R

Bits 8:31 - EXMIN

Source

pub fn exminch(&self) -> EXMINCH_R

Bits 0:2 - Extremes detector minimum data channel

Source§

impl R<u32, Reg<u32, _CNVTIMR>>

Source

pub fn cnvcnt(&self) -> CNVCNT_R

Bits 4:31 - 28-bit timer counting conversion time t = CNVCNT[27:0]

Source§

impl R<u32, Reg<u32, _DFSDM0_CR2>>

Source

pub fn awdch(&self) -> AWDCH_R

Bits 16:23 - Analog watchdog channel selection

Source

pub fn exch(&self) -> EXCH_R

Bits 8:15 - Extremes detector channel selection

Source

pub fn ckabie(&self) -> CKABIE_R

Bit 6 - Clock absence interrupt enable

Source

pub fn scdie(&self) -> SCDIE_R

Bit 5 - Short-circuit detector interrupt enable

Source

pub fn awdie(&self) -> AWDIE_R

Bit 4 - Analog watchdog interrupt enable

Source

pub fn rovrie(&self) -> ROVRIE_R

Bit 3 - Regular data overrun interrupt enable

Source

pub fn jovrie(&self) -> JOVRIE_R

Bit 2 - Injected data overrun interrupt enable

Source

pub fn reocie(&self) -> REOCIE_R

Bit 1 - Regular end of conversion interrupt enable

Source

pub fn jeocie(&self) -> JEOCIE_R

Bit 0 - Injected end of conversion interrupt enable

Source§

impl R<u32, Reg<u32, _DFSDM1_CR2>>

Source

pub fn awdch(&self) -> AWDCH_R

Bits 16:23 - Analog watchdog channel selection

Source

pub fn exch(&self) -> EXCH_R

Bits 8:15 - Extremes detector channel selection

Source

pub fn ckabie(&self) -> CKABIE_R

Bit 6 - Clock absence interrupt enable

Source

pub fn scdie(&self) -> SCDIE_R

Bit 5 - Short-circuit detector interrupt enable

Source

pub fn awdie(&self) -> AWDIE_R

Bit 4 - Analog watchdog interrupt enable

Source

pub fn rovrie(&self) -> ROVRIE_R

Bit 3 - Regular data overrun interrupt enable

Source

pub fn jovrie(&self) -> JOVRIE_R

Bit 2 - Injected data overrun interrupt enable

Source

pub fn reocie(&self) -> REOCIE_R

Bit 1 - Regular end of conversion interrupt enable

Source

pub fn jeocie(&self) -> JEOCIE_R

Bit 0 - Injected end of conversion interrupt enable

Source§

impl R<u32, Reg<u32, _DFSDM2_CR2>>

Source

pub fn awdch(&self) -> AWDCH_R

Bits 16:23 - Analog watchdog channel selection

Source

pub fn exch(&self) -> EXCH_R

Bits 8:15 - Extremes detector channel selection

Source

pub fn ckabie(&self) -> CKABIE_R

Bit 6 - Clock absence interrupt enable

Source

pub fn scdie(&self) -> SCDIE_R

Bit 5 - Short-circuit detector interrupt enable

Source

pub fn awdie(&self) -> AWDIE_R

Bit 4 - Analog watchdog interrupt enable

Source

pub fn rovrie(&self) -> ROVRIE_R

Bit 3 - Regular data overrun interrupt enable

Source

pub fn jovrie(&self) -> JOVRIE_R

Bit 2 - Injected data overrun interrupt enable

Source

pub fn reocie(&self) -> REOCIE_R

Bit 1 - Regular end of conversion interrupt enable

Source

pub fn jeocie(&self) -> JEOCIE_R

Bit 0 - Injected end of conversion interrupt enable

Source§

impl R<u32, Reg<u32, _DFSDM3_CR2>>

Source

pub fn awdch(&self) -> AWDCH_R

Bits 16:23 - Analog watchdog channel selection

Source

pub fn exch(&self) -> EXCH_R

Bits 8:15 - Extremes detector channel selection

Source

pub fn ckabie(&self) -> CKABIE_R

Bit 6 - Clock absence interrupt enable

Source

pub fn scdie(&self) -> SCDIE_R

Bit 5 - Short-circuit detector interrupt enable

Source

pub fn awdie(&self) -> AWDIE_R

Bit 4 - Analog watchdog interrupt enable

Source

pub fn rovrie(&self) -> ROVRIE_R

Bit 3 - Regular data overrun interrupt enable

Source

pub fn jovrie(&self) -> JOVRIE_R

Bit 2 - Injected data overrun interrupt enable

Source

pub fn reocie(&self) -> REOCIE_R

Bit 1 - Regular end of conversion interrupt enable

Source

pub fn jeocie(&self) -> JEOCIE_R

Bit 0 - Injected end of conversion interrupt enable

Source§

impl R<u8, CKD_A>

Source

pub fn variant(&self) -> Variant<u8, CKD_A>

Get enumerated values variant

Source

pub fn is_div1(&self) -> bool

Checks if the value of the field is DIV1

Source

pub fn is_div2(&self) -> bool

Checks if the value of the field is DIV2

Source

pub fn is_div4(&self) -> bool

Checks if the value of the field is DIV4

Source§

impl R<bool, ARPE_A>

Source

pub fn variant(&self) -> ARPE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<u8, CMS_A>

Source

pub fn variant(&self) -> CMS_A

Get enumerated values variant

Source

pub fn is_edge_aligned(&self) -> bool

Checks if the value of the field is EDGEALIGNED

Source

pub fn is_center_aligned1(&self) -> bool

Checks if the value of the field is CENTERALIGNED1

Source

pub fn is_center_aligned2(&self) -> bool

Checks if the value of the field is CENTERALIGNED2

Source

pub fn is_center_aligned3(&self) -> bool

Checks if the value of the field is CENTERALIGNED3

Source§

impl R<bool, DIR_A>

Source

pub fn variant(&self) -> DIR_A

Get enumerated values variant

Source

pub fn is_up(&self) -> bool

Checks if the value of the field is UP

Source

pub fn is_down(&self) -> bool

Checks if the value of the field is DOWN

Source§

impl R<bool, OPM_A>

Source

pub fn variant(&self) -> OPM_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, URS_A>

Source

pub fn variant(&self) -> URS_A

Get enumerated values variant

Source

pub fn is_any_event(&self) -> bool

Checks if the value of the field is ANYEVENT

Source

pub fn is_counter_only(&self) -> bool

Checks if the value of the field is COUNTERONLY

Source§

impl R<bool, UDIS_A>

Source

pub fn variant(&self) -> UDIS_A

Get enumerated values variant

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source§

impl R<bool, CEN_A>

Source

pub fn variant(&self) -> CEN_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<u32, Reg<u32, _CR1>>

Source

pub fn ckd(&self) -> CKD_R

Bits 8:9 - Clock division

Source

pub fn arpe(&self) -> ARPE_R

Bit 7 - Auto-reload preload enable

Source

pub fn cms(&self) -> CMS_R

Bits 5:6 - Center-aligned mode selection

Source

pub fn dir(&self) -> DIR_R

Bit 4 - Direction

Source

pub fn opm(&self) -> OPM_R

Bit 3 - One-pulse mode

Source

pub fn urs(&self) -> URS_R

Bit 2 - Update request source

Source

pub fn udis(&self) -> UDIS_R

Bit 1 - Update disable

Source

pub fn cen(&self) -> CEN_R

Bit 0 - Counter enable

Source§

impl R<bool, TI1S_A>

Source

pub fn variant(&self) -> TI1S_A

Get enumerated values variant

Source

pub fn is_normal(&self) -> bool

Checks if the value of the field is NORMAL

Source

pub fn is_xor(&self) -> bool

Checks if the value of the field is XOR

Source§

impl R<u8, MMS_A>

Source

pub fn variant(&self) -> MMS_A

Get enumerated values variant

Source

pub fn is_reset(&self) -> bool

Checks if the value of the field is RESET

Source

pub fn is_enable(&self) -> bool

Checks if the value of the field is ENABLE

Source

pub fn is_update(&self) -> bool

Checks if the value of the field is UPDATE

Source

pub fn is_compare_pulse(&self) -> bool

Checks if the value of the field is COMPAREPULSE

Source

pub fn is_compare_oc1(&self) -> bool

Checks if the value of the field is COMPAREOC1

Source

pub fn is_compare_oc2(&self) -> bool

Checks if the value of the field is COMPAREOC2

Source

pub fn is_compare_oc3(&self) -> bool

Checks if the value of the field is COMPAREOC3

Source

pub fn is_compare_oc4(&self) -> bool

Checks if the value of the field is COMPAREOC4

Source§

impl R<bool, CCDS_A>

Source

pub fn variant(&self) -> CCDS_A

Get enumerated values variant

Source

pub fn is_on_compare(&self) -> bool

Checks if the value of the field is ONCOMPARE

Source

pub fn is_on_update(&self) -> bool

Checks if the value of the field is ONUPDATE

Source§

impl R<u32, Reg<u32, _CR2>>

Source

pub fn ois4(&self) -> OIS4_R

Bit 14 - Output Idle state 4

Source

pub fn ois3n(&self) -> OIS3N_R

Bit 13 - Output Idle state 3

Source

pub fn ois3(&self) -> OIS3_R

Bit 12 - Output Idle state 3

Source

pub fn ois2n(&self) -> OIS2N_R

Bit 11 - Output Idle state 2

Source

pub fn ois2(&self) -> OIS2_R

Bit 10 - Output Idle state 2

Source

pub fn ois1n(&self) -> OIS1N_R

Bit 9 - Output Idle state 1

Source

pub fn ois1(&self) -> OIS1_R

Bit 8 - Output Idle state 1

Source

pub fn ti1s(&self) -> TI1S_R

Bit 7 - TI1 selection

Source

pub fn mms(&self) -> MMS_R

Bits 4:6 - Master mode selection

Source

pub fn ccds(&self) -> CCDS_R

Bit 3 - Capture/compare DMA selection

Source

pub fn ccus(&self) -> CCUS_R

Bit 2 - Capture/compare control update selection

Source

pub fn ccpc(&self) -> CCPC_R

Bit 0 - Capture/compare preloaded control

Source§

impl R<bool, ETP_A>

Source

pub fn variant(&self) -> ETP_A

Get enumerated values variant

Source

pub fn is_not_inverted(&self) -> bool

Checks if the value of the field is NOTINVERTED

Source

pub fn is_inverted(&self) -> bool

Checks if the value of the field is INVERTED

Source§

impl R<bool, ECE_A>

Source

pub fn variant(&self) -> ECE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<u8, ETPS_A>

Source

pub fn variant(&self) -> ETPS_A

Get enumerated values variant

Source

pub fn is_div1(&self) -> bool

Checks if the value of the field is DIV1

Source

pub fn is_div2(&self) -> bool

Checks if the value of the field is DIV2

Source

pub fn is_div4(&self) -> bool

Checks if the value of the field is DIV4

Source

pub fn is_div8(&self) -> bool

Checks if the value of the field is DIV8

Source§

impl R<u8, ETF_A>

Source

pub fn variant(&self) -> ETF_A

Get enumerated values variant

Source

pub fn is_no_filter(&self) -> bool

Checks if the value of the field is NOFILTER

Source

pub fn is_fck_int_n2(&self) -> bool

Checks if the value of the field is FCK_INT_N2

Source

pub fn is_fck_int_n4(&self) -> bool

Checks if the value of the field is FCK_INT_N4

Source

pub fn is_fck_int_n8(&self) -> bool

Checks if the value of the field is FCK_INT_N8

Source

pub fn is_fdts_div2_n6(&self) -> bool

Checks if the value of the field is FDTS_DIV2_N6

Source

pub fn is_fdts_div2_n8(&self) -> bool

Checks if the value of the field is FDTS_DIV2_N8

Source

pub fn is_fdts_div4_n6(&self) -> bool

Checks if the value of the field is FDTS_DIV4_N6

Source

pub fn is_fdts_div4_n8(&self) -> bool

Checks if the value of the field is FDTS_DIV4_N8

Source

pub fn is_fdts_div8_n6(&self) -> bool

Checks if the value of the field is FDTS_DIV8_N6

Source

pub fn is_fdts_div8_n8(&self) -> bool

Checks if the value of the field is FDTS_DIV8_N8

Source

pub fn is_fdts_div16_n5(&self) -> bool

Checks if the value of the field is FDTS_DIV16_N5

Source

pub fn is_fdts_div16_n6(&self) -> bool

Checks if the value of the field is FDTS_DIV16_N6

Source

pub fn is_fdts_div16_n8(&self) -> bool

Checks if the value of the field is FDTS_DIV16_N8

Source

pub fn is_fdts_div32_n5(&self) -> bool

Checks if the value of the field is FDTS_DIV32_N5

Source

pub fn is_fdts_div32_n6(&self) -> bool

Checks if the value of the field is FDTS_DIV32_N6

Source

pub fn is_fdts_div32_n8(&self) -> bool

Checks if the value of the field is FDTS_DIV32_N8

Source§

impl R<bool, MSM_A>

Source

pub fn variant(&self) -> MSM_A

Get enumerated values variant

Source

pub fn is_no_sync(&self) -> bool

Checks if the value of the field is NOSYNC

Source

pub fn is_sync(&self) -> bool

Checks if the value of the field is SYNC

Source§

impl R<u8, TS_A>

Source

pub fn variant(&self) -> Variant<u8, TS_A>

Get enumerated values variant

Source

pub fn is_itr0(&self) -> bool

Checks if the value of the field is ITR0

Source

pub fn is_itr1(&self) -> bool

Checks if the value of the field is ITR1

Source

pub fn is_itr2(&self) -> bool

Checks if the value of the field is ITR2

Source

pub fn is_ti1f_ed(&self) -> bool

Checks if the value of the field is TI1F_ED

Source

pub fn is_ti1fp1(&self) -> bool

Checks if the value of the field is TI1FP1

Source

pub fn is_ti2fp2(&self) -> bool

Checks if the value of the field is TI2FP2

Source

pub fn is_etrf(&self) -> bool

Checks if the value of the field is ETRF

Source§

impl R<u8, SMS_A>

Source

pub fn variant(&self) -> SMS_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_encoder_mode_1(&self) -> bool

Checks if the value of the field is ENCODER_MODE_1

Source

pub fn is_encoder_mode_2(&self) -> bool

Checks if the value of the field is ENCODER_MODE_2

Source

pub fn is_encoder_mode_3(&self) -> bool

Checks if the value of the field is ENCODER_MODE_3

Source

pub fn is_reset_mode(&self) -> bool

Checks if the value of the field is RESET_MODE

Source

pub fn is_gated_mode(&self) -> bool

Checks if the value of the field is GATED_MODE

Source

pub fn is_trigger_mode(&self) -> bool

Checks if the value of the field is TRIGGER_MODE

Source

pub fn is_ext_clock_mode(&self) -> bool

Checks if the value of the field is EXT_CLOCK_MODE

Source§

impl R<u32, Reg<u32, _SMCR>>

Source

pub fn etp(&self) -> ETP_R

Bit 15 - External trigger polarity

Source

pub fn ece(&self) -> ECE_R

Bit 14 - External clock enable

Source

pub fn etps(&self) -> ETPS_R

Bits 12:13 - External trigger prescaler

Source

pub fn etf(&self) -> ETF_R

Bits 8:11 - External trigger filter

Source

pub fn msm(&self) -> MSM_R

Bit 7 - Master/Slave mode

Source

pub fn ts(&self) -> TS_R

Bits 4:6 - Trigger selection

Source

pub fn sms(&self) -> SMS_R

Bits 0:2 - Slave mode selection

Source§

impl R<bool, TDE_A>

Source

pub fn variant(&self) -> TDE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, CC4DE_A>

Source

pub fn variant(&self) -> CC4DE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, UDE_A>

Source

pub fn variant(&self) -> UDE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, TIE_A>

Source

pub fn variant(&self) -> TIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, CC4IE_A>

Source

pub fn variant(&self) -> CC4IE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, UIE_A>

Source

pub fn variant(&self) -> UIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<u32, Reg<u32, _DIER>>

Source

pub fn tde(&self) -> TDE_R

Bit 14 - Trigger DMA request enable

Source

pub fn comde(&self) -> COMDE_R

Bit 13 - COM DMA request enable

Source

pub fn cc4de(&self) -> CC4DE_R

Bit 12 - Capture/Compare 4 DMA request enable

Source

pub fn cc3de(&self) -> CC3DE_R

Bit 11 - Capture/Compare 3 DMA request enable

Source

pub fn cc2de(&self) -> CC2DE_R

Bit 10 - Capture/Compare 2 DMA request enable

Source

pub fn cc1de(&self) -> CC1DE_R

Bit 9 - Capture/Compare 1 DMA request enable

Source

pub fn ude(&self) -> UDE_R

Bit 8 - Update DMA request enable

Source

pub fn tie(&self) -> TIE_R

Bit 6 - Trigger interrupt enable

Source

pub fn cc4ie(&self) -> CC4IE_R

Bit 4 - Capture/Compare 4 interrupt enable

Source

pub fn cc3ie(&self) -> CC3IE_R

Bit 3 - Capture/Compare 3 interrupt enable

Source

pub fn cc2ie(&self) -> CC2IE_R

Bit 2 - Capture/Compare 2 interrupt enable

Source

pub fn cc1ie(&self) -> CC1IE_R

Bit 1 - Capture/Compare 1 interrupt enable

Source

pub fn uie(&self) -> UIE_R

Bit 0 - Update interrupt enable

Source

pub fn bie(&self) -> BIE_R

Bit 7 - Break interrupt enable

Source

pub fn comie(&self) -> COMIE_R

Bit 5 - COM interrupt enable

Source§

impl R<bool, CC4OF_A>

Source

pub fn variant(&self) -> Variant<bool, CC4OF_A>

Get enumerated values variant

Source

pub fn is_overcapture(&self) -> bool

Checks if the value of the field is OVERCAPTURE

Source§

impl R<bool, TIF_A>

Source

pub fn variant(&self) -> TIF_A

Get enumerated values variant

Source

pub fn is_no_trigger(&self) -> bool

Checks if the value of the field is NOTRIGGER

Source

pub fn is_trigger(&self) -> bool

Checks if the value of the field is TRIGGER

Source§

impl R<bool, CC4IF_A>

Source

pub fn variant(&self) -> Variant<bool, CC4IF_A>

Get enumerated values variant

Source

pub fn is_match_(&self) -> bool

Checks if the value of the field is MATCH

Source§

impl R<bool, UIF_A>

Source

pub fn variant(&self) -> UIF_A

Get enumerated values variant

Source

pub fn is_clear(&self) -> bool

Checks if the value of the field is CLEAR

Source

pub fn is_update_pending(&self) -> bool

Checks if the value of the field is UPDATEPENDING

Source§

impl R<u32, Reg<u32, _SR>>

Source

pub fn cc4of(&self) -> CC4OF_R

Bit 12 - Capture/Compare 4 overcapture flag

Source

pub fn cc3of(&self) -> CC3OF_R

Bit 11 - Capture/Compare 3 overcapture flag

Source

pub fn cc2of(&self) -> CC2OF_R

Bit 10 - Capture/compare 2 overcapture flag

Source

pub fn cc1of(&self) -> CC1OF_R

Bit 9 - Capture/Compare 1 overcapture flag

Source

pub fn bif(&self) -> BIF_R

Bit 7 - Break interrupt flag

Source

pub fn tif(&self) -> TIF_R

Bit 6 - Trigger interrupt flag

Source

pub fn comif(&self) -> COMIF_R

Bit 5 - COM interrupt flag

Source

pub fn cc4if(&self) -> CC4IF_R

Bit 4 - Capture/Compare 4 interrupt flag

Source

pub fn cc3if(&self) -> CC3IF_R

Bit 3 - Capture/Compare 3 interrupt flag

Source

pub fn cc2if(&self) -> CC2IF_R

Bit 2 - Capture/Compare 2 interrupt flag

Source

pub fn cc1if(&self) -> CC1IF_R

Bit 1 - Capture/compare 1 interrupt flag

Source

pub fn uif(&self) -> UIF_R

Bit 0 - Update interrupt flag

Source§

impl R<u8, OC2M_A>

Source

pub fn variant(&self) -> Variant<u8, OC2M_A>

Get enumerated values variant

Source

pub fn is_frozen(&self) -> bool

Checks if the value of the field is FROZEN

Source

pub fn is_active_on_match(&self) -> bool

Checks if the value of the field is ACTIVEONMATCH

Source

pub fn is_inactive_on_match(&self) -> bool

Checks if the value of the field is INACTIVEONMATCH

Source

pub fn is_toggle(&self) -> bool

Checks if the value of the field is TOGGLE

Source

pub fn is_force_inactive(&self) -> bool

Checks if the value of the field is FORCEINACTIVE

Source

pub fn is_force_active(&self) -> bool

Checks if the value of the field is FORCEACTIVE

Source

pub fn is_pwm_mode1(&self) -> bool

Checks if the value of the field is PWMMODE1

Source

pub fn is_pwm_mode2(&self) -> bool

Checks if the value of the field is PWMMODE2

Source

pub fn is_opm_mode1(&self) -> bool

Checks if the value of the field is OPMMODE1

Source

pub fn is_opm_mode2(&self) -> bool

Checks if the value of the field is OPMMODE2

Source

pub fn is_combined_pwm_mode1(&self) -> bool

Checks if the value of the field is COMBINEDPWMMODE1

Source

pub fn is_combined_pwm_mode2(&self) -> bool

Checks if the value of the field is COMBINEDPWMMODE2

Source

pub fn is_asymmetric_pwm_mode1(&self) -> bool

Checks if the value of the field is ASYMMETRICPWMMODE1

Source

pub fn is_asymmetric_pwm_mode2(&self) -> bool

Checks if the value of the field is ASYMMETRICPWMMODE2

Source§

impl R<bool, OC2PE_A>

Source

pub fn variant(&self) -> OC2PE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<u8, CC2S_A>

Source

pub fn variant(&self) -> Variant<u8, CC2S_A>

Get enumerated values variant

Source

pub fn is_output(&self) -> bool

Checks if the value of the field is OUTPUT

Source§

impl R<bool, OC1PE_A>

Source

pub fn variant(&self) -> OC1PE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<u8, CC1S_A>

Source

pub fn variant(&self) -> Variant<u8, CC1S_A>

Get enumerated values variant

Source

pub fn is_output(&self) -> bool

Checks if the value of the field is OUTPUT

Source§

impl R<u32, Reg<u32, _CCMR1_OUTPUT>>

Source

pub fn oc2ce(&self) -> OC2CE_R

Bit 15 - Output Compare 2 clear enable

Source

pub fn oc2m(&self) -> OC2M_R

Bits 12:14 - Output Compare 2 mode

Source

pub fn oc2pe(&self) -> OC2PE_R

Bit 11 - Output Compare 2 preload enable

Source

pub fn oc2fe(&self) -> OC2FE_R

Bit 10 - Output Compare 2 fast enable

Source

pub fn cc2s(&self) -> CC2S_R

Bits 8:9 - Capture/Compare 2 selection

Source

pub fn oc1ce(&self) -> OC1CE_R

Bit 7 - Output Compare 1 clear enable

Source

pub fn oc1m(&self) -> OC1M_R

Bits 4:6 - Output Compare 1 mode

Source

pub fn oc1pe(&self) -> OC1PE_R

Bit 3 - Output Compare 1 preload enable

Source

pub fn oc1fe(&self) -> OC1FE_R

Bit 2 - Output Compare 1 fast enable

Source

pub fn cc1s(&self) -> CC1S_R

Bits 0:1 - Capture/Compare 1 selection

Source§

impl R<u8, CC2S_A>

Source

pub fn variant(&self) -> Variant<u8, CC2S_A>

Get enumerated values variant

Source

pub fn is_ti2(&self) -> bool

Checks if the value of the field is TI2

Source

pub fn is_ti1(&self) -> bool

Checks if the value of the field is TI1

Source

pub fn is_trc(&self) -> bool

Checks if the value of the field is TRC

Source§

impl R<u8, IC1F_A>

Source

pub fn variant(&self) -> IC1F_A

Get enumerated values variant

Source

pub fn is_no_filter(&self) -> bool

Checks if the value of the field is NOFILTER

Source

pub fn is_fck_int_n2(&self) -> bool

Checks if the value of the field is FCK_INT_N2

Source

pub fn is_fck_int_n4(&self) -> bool

Checks if the value of the field is FCK_INT_N4

Source

pub fn is_fck_int_n8(&self) -> bool

Checks if the value of the field is FCK_INT_N8

Source

pub fn is_fdts_div2_n6(&self) -> bool

Checks if the value of the field is FDTS_DIV2_N6

Source

pub fn is_fdts_div2_n8(&self) -> bool

Checks if the value of the field is FDTS_DIV2_N8

Source

pub fn is_fdts_div4_n6(&self) -> bool

Checks if the value of the field is FDTS_DIV4_N6

Source

pub fn is_fdts_div4_n8(&self) -> bool

Checks if the value of the field is FDTS_DIV4_N8

Source

pub fn is_fdts_div8_n6(&self) -> bool

Checks if the value of the field is FDTS_DIV8_N6

Source

pub fn is_fdts_div8_n8(&self) -> bool

Checks if the value of the field is FDTS_DIV8_N8

Source

pub fn is_fdts_div16_n5(&self) -> bool

Checks if the value of the field is FDTS_DIV16_N5

Source

pub fn is_fdts_div16_n6(&self) -> bool

Checks if the value of the field is FDTS_DIV16_N6

Source

pub fn is_fdts_div16_n8(&self) -> bool

Checks if the value of the field is FDTS_DIV16_N8

Source

pub fn is_fdts_div32_n5(&self) -> bool

Checks if the value of the field is FDTS_DIV32_N5

Source

pub fn is_fdts_div32_n6(&self) -> bool

Checks if the value of the field is FDTS_DIV32_N6

Source

pub fn is_fdts_div32_n8(&self) -> bool

Checks if the value of the field is FDTS_DIV32_N8

Source§

impl R<u8, CC1S_A>

Source

pub fn variant(&self) -> Variant<u8, CC1S_A>

Get enumerated values variant

Source

pub fn is_ti1(&self) -> bool

Checks if the value of the field is TI1

Source

pub fn is_ti2(&self) -> bool

Checks if the value of the field is TI2

Source

pub fn is_trc(&self) -> bool

Checks if the value of the field is TRC

Source§

impl R<u32, Reg<u32, _CCMR1_INPUT>>

Source

pub fn ic2f(&self) -> IC2F_R

Bits 12:15 - Input capture 2 filter

Source

pub fn ic2psc(&self) -> IC2PSC_R

Bits 10:11 - Input capture 2 prescaler

Source

pub fn cc2s(&self) -> CC2S_R

Bits 8:9 - Capture/Compare 2 selection

Source

pub fn ic1f(&self) -> IC1F_R

Bits 4:7 - Input capture 1 filter

Source

pub fn ic1psc(&self) -> IC1PSC_R

Bits 2:3 - Input capture 1 prescaler

Source

pub fn cc1s(&self) -> CC1S_R

Bits 0:1 - Capture/Compare 1 selection

Source§

impl R<u8, OC4M_A>

Source

pub fn variant(&self) -> Variant<u8, OC4M_A>

Get enumerated values variant

Source

pub fn is_frozen(&self) -> bool

Checks if the value of the field is FROZEN

Source

pub fn is_active_on_match(&self) -> bool

Checks if the value of the field is ACTIVEONMATCH

Source

pub fn is_inactive_on_match(&self) -> bool

Checks if the value of the field is INACTIVEONMATCH

Source

pub fn is_toggle(&self) -> bool

Checks if the value of the field is TOGGLE

Source

pub fn is_force_inactive(&self) -> bool

Checks if the value of the field is FORCEINACTIVE

Source

pub fn is_force_active(&self) -> bool

Checks if the value of the field is FORCEACTIVE

Source

pub fn is_pwm_mode1(&self) -> bool

Checks if the value of the field is PWMMODE1

Source

pub fn is_pwm_mode2(&self) -> bool

Checks if the value of the field is PWMMODE2

Source

pub fn is_opm_mode1(&self) -> bool

Checks if the value of the field is OPMMODE1

Source

pub fn is_opm_mode2(&self) -> bool

Checks if the value of the field is OPMMODE2

Source

pub fn is_combined_pwm_mode1(&self) -> bool

Checks if the value of the field is COMBINEDPWMMODE1

Source

pub fn is_combined_pwm_mode2(&self) -> bool

Checks if the value of the field is COMBINEDPWMMODE2

Source

pub fn is_asymmetric_pwm_mode1(&self) -> bool

Checks if the value of the field is ASYMMETRICPWMMODE1

Source

pub fn is_asymmetric_pwm_mode2(&self) -> bool

Checks if the value of the field is ASYMMETRICPWMMODE2

Source§

impl R<bool, OC4PE_A>

Source

pub fn variant(&self) -> OC4PE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<u8, CC4S_A>

Source

pub fn variant(&self) -> Variant<u8, CC4S_A>

Get enumerated values variant

Source

pub fn is_output(&self) -> bool

Checks if the value of the field is OUTPUT

Source§

impl R<bool, OC3PE_A>

Source

pub fn variant(&self) -> OC3PE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<u8, CC3S_A>

Source

pub fn variant(&self) -> Variant<u8, CC3S_A>

Get enumerated values variant

Source

pub fn is_output(&self) -> bool

Checks if the value of the field is OUTPUT

Source§

impl R<u32, Reg<u32, _CCMR2_OUTPUT>>

Source

pub fn oc4ce(&self) -> OC4CE_R

Bit 15 - Output compare 4 clear enable

Source

pub fn oc4m(&self) -> OC4M_R

Bits 12:14 - Output compare 4 mode

Source

pub fn oc4pe(&self) -> OC4PE_R

Bit 11 - Output compare 4 preload enable

Source

pub fn oc4fe(&self) -> OC4FE_R

Bit 10 - Output compare 4 fast enable

Source

pub fn cc4s(&self) -> CC4S_R

Bits 8:9 - Capture/Compare 4 selection

Source

pub fn oc3ce(&self) -> OC3CE_R

Bit 7 - Output compare 3 clear enable

Source

pub fn oc3m(&self) -> OC3M_R

Bits 4:6 - Output compare 3 mode

Source

pub fn oc3pe(&self) -> OC3PE_R

Bit 3 - Output compare 3 preload enable

Source

pub fn oc3fe(&self) -> OC3FE_R

Bit 2 - Output compare 3 fast enable

Source

pub fn cc3s(&self) -> CC3S_R

Bits 0:1 - Capture/Compare 3 selection

Source§

impl R<u8, CC4S_A>

Source

pub fn variant(&self) -> Variant<u8, CC4S_A>

Get enumerated values variant

Source

pub fn is_ti4(&self) -> bool

Checks if the value of the field is TI4

Source

pub fn is_ti3(&self) -> bool

Checks if the value of the field is TI3

Source

pub fn is_trc(&self) -> bool

Checks if the value of the field is TRC

Source§

impl R<u8, CC3S_A>

Source

pub fn variant(&self) -> Variant<u8, CC3S_A>

Get enumerated values variant

Source

pub fn is_ti3(&self) -> bool

Checks if the value of the field is TI3

Source

pub fn is_ti4(&self) -> bool

Checks if the value of the field is TI4

Source

pub fn is_trc(&self) -> bool

Checks if the value of the field is TRC

Source§

impl R<u32, Reg<u32, _CCMR2_INPUT>>

Source

pub fn ic4f(&self) -> IC4F_R

Bits 12:15 - Input capture 4 filter

Source

pub fn ic4psc(&self) -> IC4PSC_R

Bits 10:11 - Input capture 4 prescaler

Source

pub fn cc4s(&self) -> CC4S_R

Bits 8:9 - Capture/Compare 4 selection

Source

pub fn ic3f(&self) -> IC3F_R

Bits 4:7 - Input capture 3 filter

Source

pub fn ic3psc(&self) -> IC3PSC_R

Bits 2:3 - Input capture 3 prescaler

Source

pub fn cc3s(&self) -> CC3S_R

Bits 0:1 - Capture/compare 3 selection

Source§

impl R<u32, Reg<u32, _CCER>>

Source

pub fn cc4p(&self) -> CC4P_R

Bit 13 - Capture/Compare 3 output Polarity

Source

pub fn cc4e(&self) -> CC4E_R

Bit 12 - Capture/Compare 4 output enable

Source

pub fn cc3np(&self) -> CC3NP_R

Bit 11 - Capture/Compare 3 output Polarity

Source

pub fn cc3ne(&self) -> CC3NE_R

Bit 10 - Capture/Compare 3 complementary output enable

Source

pub fn cc3p(&self) -> CC3P_R

Bit 9 - Capture/Compare 3 output Polarity

Source

pub fn cc3e(&self) -> CC3E_R

Bit 8 - Capture/Compare 3 output enable

Source

pub fn cc2np(&self) -> CC2NP_R

Bit 7 - Capture/Compare 2 output Polarity

Source

pub fn cc2ne(&self) -> CC2NE_R

Bit 6 - Capture/Compare 2 complementary output enable

Source

pub fn cc2p(&self) -> CC2P_R

Bit 5 - Capture/Compare 2 output Polarity

Source

pub fn cc2e(&self) -> CC2E_R

Bit 4 - Capture/Compare 2 output enable

Source

pub fn cc1np(&self) -> CC1NP_R

Bit 3 - Capture/Compare 1 output Polarity

Source

pub fn cc1ne(&self) -> CC1NE_R

Bit 2 - Capture/Compare 1 complementary output enable

Source

pub fn cc1p(&self) -> CC1P_R

Bit 1 - Capture/Compare 1 output Polarity

Source

pub fn cc1e(&self) -> CC1E_R

Bit 0 - Capture/Compare 1 output enable

Source§

impl R<u32, Reg<u32, _CNT>>

Source

pub fn cnt(&self) -> CNT_R

Bits 0:15 - counter value

Source§

impl R<u32, Reg<u32, _PSC>>

Source

pub fn psc(&self) -> PSC_R

Bits 0:15 - Prescaler value

Source§

impl R<u32, Reg<u32, _ARR>>

Source

pub fn arr(&self) -> ARR_R

Bits 0:15 - Auto-reload value

Source§

impl R<u32, Reg<u32, _RCR>>

Source

pub fn rep(&self) -> REP_R

Bits 0:7 - Repetition counter value

Source§

impl R<u32, Reg<u32, _CCR>>

Source

pub fn ccr(&self) -> CCR_R

Bits 0:15 - Capture/Compare 1 value

Source§

impl R<bool, MOE_A>

Source

pub fn variant(&self) -> MOE_A

Get enumerated values variant

Source

pub fn is_disabled_idle(&self) -> bool

Checks if the value of the field is DISABLEDIDLE

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, OSSR_A>

Source

pub fn variant(&self) -> OSSR_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_idle_level(&self) -> bool

Checks if the value of the field is IDLELEVEL

Source§

impl R<bool, OSSI_A>

Source

pub fn variant(&self) -> OSSI_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_idle_level(&self) -> bool

Checks if the value of the field is IDLELEVEL

Source§

impl R<u32, Reg<u32, _BDTR>>

Source

pub fn moe(&self) -> MOE_R

Bit 15 - Main output enable

Source

pub fn aoe(&self) -> AOE_R

Bit 14 - Automatic output enable

Source

pub fn bkp(&self) -> BKP_R

Bit 13 - Break polarity

Source

pub fn bke(&self) -> BKE_R

Bit 12 - Break enable

Source

pub fn ossr(&self) -> OSSR_R

Bit 11 - Off-state selection for Run mode

Source

pub fn ossi(&self) -> OSSI_R

Bit 10 - Off-state selection for Idle mode

Source

pub fn lock(&self) -> LOCK_R

Bits 8:9 - Lock configuration

Source

pub fn dtg(&self) -> DTG_R

Bits 0:7 - Dead-time generator setup

Source§

impl R<u32, Reg<u32, _DCR>>

Source

pub fn dbl(&self) -> DBL_R

Bits 8:12 - DMA burst length

Source

pub fn dba(&self) -> DBA_R

Bits 0:4 - DMA base address

Source§

impl R<u32, Reg<u32, _DMAR>>

Source

pub fn dmab(&self) -> DMAB_R

Bits 0:15 - DMA register for burst accesses

Source§

impl R<u32, Reg<u32, _OR1>>

Source

pub fn etr_adc2_rmp(&self) -> ETR_ADC2_RMP_R

Bits 0:1 - External trigger remap on ADC2 analog watchdog

Source

pub fn etr_adc3_rmp(&self) -> ETR_ADC3_RMP_R

Bits 2:3 - External trigger remap on ADC3 analog watchdog

Source

pub fn ti1_rmp(&self) -> TI1_RMP_R

Bit 4 - Input Capture 1 remap

Source§

impl R<u32, Reg<u32, _CCMR3_OUTPUT>>

Source

pub fn oc6m_bit3(&self) -> OC6M_BIT3_R

Bit 24 - Output Compare 6 mode bit 3

Source

pub fn oc5m_bit3(&self) -> OC5M_BIT3_R

Bits 16:18 - Output Compare 5 mode bit 3

Source

pub fn oc6ce(&self) -> OC6CE_R

Bit 15 - Output compare 6 clear enable

Source

pub fn oc6m(&self) -> OC6M_R

Bits 12:14 - Output compare 6 mode

Source

pub fn oc6pe(&self) -> OC6PE_R

Bit 11 - Output compare 6 preload enable

Source

pub fn oc6fe(&self) -> OC6FE_R

Bit 10 - Output compare 6 fast enable

Source

pub fn oc5ce(&self) -> OC5CE_R

Bit 7 - Output compare 5 clear enable

Source

pub fn oc5m(&self) -> OC5M_R

Bits 4:6 - Output compare 5 mode

Source

pub fn oc5pe(&self) -> OC5PE_R

Bit 3 - Output compare 5 preload enable

Source

pub fn oc5fe(&self) -> OC5FE_R

Bit 2 - Output compare 5 fast enable

Source§

impl R<u32, Reg<u32, _CCR5>>

Source

pub fn ccr(&self) -> CCR_R

Bits 0:15 - Capture/Compare value

Source

pub fn gc5c1(&self) -> GC5C1_R

Bit 29 - Group Channel 5 and Channel 1

Source

pub fn gc5c2(&self) -> GC5C2_R

Bit 30 - Group Channel 5 and Channel 2

Source

pub fn gc5c3(&self) -> GC5C3_R

Bit 31 - Group Channel 5 and Channel 3

Source§

impl R<u32, Reg<u32, _CCR6>>

Source

pub fn ccr(&self) -> CCR_R

Bits 0:15 - Capture/Compare value

Source§

impl R<u32, Reg<u32, _OR2>>

Source

pub fn bkine(&self) -> BKINE_R

Bit 0 - BRK BKIN input enable

Source

pub fn bkcmp1e(&self) -> BKCMP1E_R

Bit 1 - BRK COMP1 enable

Source

pub fn bkcmp2e(&self) -> BKCMP2E_R

Bit 2 - BRK COMP2 enable

Source

pub fn bkdfbk2e(&self) -> BKDFBK2E_R

Bit 8 - BRK DFSDM_BREAK2 enable

Source

pub fn bkinp(&self) -> BKINP_R

Bit 9 - BRK BKIN input polarity

Source

pub fn bkcmp1p(&self) -> BKCMP1P_R

Bit 10 - BRK COMP1 input polarity

Source

pub fn bkcmp2p(&self) -> BKCMP2P_R

Bit 11 - BRK COMP2 input polarity

Source

pub fn etrsel(&self) -> ETRSEL_R

Bits 14:16 - ETR source selection

Source§

impl R<u32, Reg<u32, _OR3>>

Source

pub fn bk2ine(&self) -> BK2INE_R

Bit 0 - BRK2 BKIN input enable

Source

pub fn bk2cmp1e(&self) -> BK2CMP1E_R

Bit 1 - BRK2 COMP1 enable

Source

pub fn bk2cmp2e(&self) -> BK2CMP2E_R

Bit 2 - BRK2 COMP2 enable

Source

pub fn bk2dfbk3e(&self) -> BK2DFBK3E_R

Bit 8 - BRK2 DFSDM_BREAK3 enable

Source

pub fn bk2inp(&self) -> BK2INP_R

Bit 9 - BRK2 BKIN input polarity

Source

pub fn bk2cmp1p(&self) -> BK2CMP1P_R

Bit 10 - BRK2 COMP1 input polarity

Source

pub fn bk2cmp2p(&self) -> BK2CMP2P_R

Bit 11 - BRK2 COMP2 input polarity

Source§

impl R<u8, MSIRANGE_A>

Source

pub fn variant(&self) -> Variant<u8, MSIRANGE_A>

Get enumerated values variant

Source

pub fn is_range100k(&self) -> bool

Checks if the value of the field is RANGE100K

Source

pub fn is_range200k(&self) -> bool

Checks if the value of the field is RANGE200K

Source

pub fn is_range400k(&self) -> bool

Checks if the value of the field is RANGE400K

Source

pub fn is_range800k(&self) -> bool

Checks if the value of the field is RANGE800K

Source

pub fn is_range1m(&self) -> bool

Checks if the value of the field is RANGE1M

Source

pub fn is_range2m(&self) -> bool

Checks if the value of the field is RANGE2M

Source

pub fn is_range4m(&self) -> bool

Checks if the value of the field is RANGE4M

Source

pub fn is_range8m(&self) -> bool

Checks if the value of the field is RANGE8M

Source

pub fn is_range16m(&self) -> bool

Checks if the value of the field is RANGE16M

Source

pub fn is_range24m(&self) -> bool

Checks if the value of the field is RANGE24M

Source

pub fn is_range32m(&self) -> bool

Checks if the value of the field is RANGE32M

Source

pub fn is_range48m(&self) -> bool

Checks if the value of the field is RANGE48M

Source§

impl R<u32, Reg<u32, _CR>>

Source

pub fn pllsai2rdy(&self) -> PLLSAI2RDY_R

Bit 29 - SAI2 PLL clock ready flag

Source

pub fn pllsai2on(&self) -> PLLSAI2ON_R

Bit 28 - SAI2 PLL enable

Source

pub fn pllsai1rdy(&self) -> PLLSAI1RDY_R

Bit 27 - SAI1 PLL clock ready flag

Source

pub fn pllsai1on(&self) -> PLLSAI1ON_R

Bit 26 - SAI1 PLL enable

Source

pub fn pllrdy(&self) -> PLLRDY_R

Bit 25 - Main PLL clock ready flag

Source

pub fn pllon(&self) -> PLLON_R

Bit 24 - Main PLL enable

Source

pub fn hsebyp(&self) -> HSEBYP_R

Bit 18 - HSE crystal oscillator bypass

Source

pub fn hserdy(&self) -> HSERDY_R

Bit 17 - HSE clock ready flag

Source

pub fn hseon(&self) -> HSEON_R

Bit 16 - HSE clock enable

Source

pub fn hsiasfs(&self) -> HSIASFS_R

Bit 11 - HSI automatic start from Stop

Source

pub fn hsirdy(&self) -> HSIRDY_R

Bit 10 - HSI clock ready flag

Source

pub fn hsikeron(&self) -> HSIKERON_R

Bit 9 - HSI always enable for peripheral kernels

Source

pub fn hsion(&self) -> HSION_R

Bit 8 - HSI clock enable

Source

pub fn msirange(&self) -> MSIRANGE_R

Bits 4:7 - MSI clock ranges

Source

pub fn msipllen(&self) -> MSIPLLEN_R

Bit 2 - MSI clock PLL enable

Source

pub fn msirdy(&self) -> MSIRDY_R

Bit 1 - MSI clock ready flag

Source

pub fn msion(&self) -> MSION_R

Bit 0 - MSI clock enable

Source§

impl R<u32, Reg<u32, _ICSCR>>

Source

pub fn hsitrim(&self) -> HSITRIM_R

Bits 24:28 - HSI clock trimming

Source

pub fn hsical(&self) -> HSICAL_R

Bits 16:23 - HSI clock calibration

Source

pub fn msitrim(&self) -> MSITRIM_R

Bits 8:15 - MSI clock trimming

Source

pub fn msical(&self) -> MSICAL_R

Bits 0:7 - MSI clock calibration

Source§

impl R<u32, Reg<u32, _CFGR>>

Source

pub fn mcopre(&self) -> MCOPRE_R

Bits 28:30 - Microcontroller clock output prescaler

Source

pub fn mcosel(&self) -> MCOSEL_R

Bits 24:26 - Microcontroller clock output

Source

pub fn stopwuck(&self) -> STOPWUCK_R

Bit 15 - Wakeup from Stop and CSS backup clock selection

Source

pub fn ppre2(&self) -> PPRE2_R

Bits 11:13 - APB high-speed prescaler (APB2)

Source

pub fn ppre1(&self) -> PPRE1_R

Bits 8:10 - PB low-speed prescaler (APB1)

Source

pub fn hpre(&self) -> HPRE_R

Bits 4:7 - AHB prescaler

Source

pub fn sws(&self) -> SWS_R

Bits 2:3 - System clock switch status

Source

pub fn sw(&self) -> SW_R

Bits 0:1 - System clock switch

Source§

impl R<u32, Reg<u32, _PLLCFGR>>

Source

pub fn pllr(&self) -> PLLR_R

Bits 25:26 - Main PLL division factor for PLLCLK (system clock)

Source

pub fn pllren(&self) -> PLLREN_R

Bit 24 - Main PLL PLLCLK output enable

Source

pub fn pllq(&self) -> PLLQ_R

Bits 21:22 - Main PLL division factor for PLLUSB1CLK(48 MHz clock)

Source

pub fn pllqen(&self) -> PLLQEN_R

Bit 20 - Main PLL PLLUSB1CLK output enable

Source

pub fn pllp(&self) -> PLLP_R

Bit 17 - Main PLL division factor for PLLSAI3CLK (SAI1 and SAI2 clock)

Source

pub fn pllpen(&self) -> PLLPEN_R

Bit 16 - Main PLL PLLSAI3CLK output enable

Source

pub fn plln(&self) -> PLLN_R

Bits 8:14 - Main PLL multiplication factor for VCO

Source

pub fn pllm(&self) -> PLLM_R

Bits 4:6 - Division factor for the main PLL and audio PLL (PLLSAI1 and PLLSAI2) input clock

Source

pub fn pllsrc(&self) -> PLLSRC_R

Bits 0:1 - Main PLL, PLLSAI1 and PLLSAI2 entry clock source

Source§

impl R<u32, Reg<u32, _PLLSAI1CFGR>>

Source

pub fn pllsai1r(&self) -> PLLSAI1R_R

Bits 25:26 - PLLSAI1 division factor for PLLADC1CLK (ADC clock)

Source

pub fn pllsai1ren(&self) -> PLLSAI1REN_R

Bit 24 - PLLSAI1 PLLADC1CLK output enable

Source

pub fn pllsai1q(&self) -> PLLSAI1Q_R

Bits 21:22 - SAI1PLL division factor for PLLUSB2CLK (48 MHz clock)

Source

pub fn pllsai1qen(&self) -> PLLSAI1QEN_R

Bit 20 - SAI1PLL PLLUSB2CLK output enable

Source

pub fn pllsai1p(&self) -> PLLSAI1P_R

Bit 17 - SAI1PLL division factor for PLLSAI1CLK (SAI1 or SAI2 clock)

Source

pub fn pllsai1pen(&self) -> PLLSAI1PEN_R

Bit 16 - SAI1PLL PLLSAI1CLK output enable

Source

pub fn pllsai1n(&self) -> PLLSAI1N_R

Bits 8:14 - SAI1PLL multiplication factor for VCO

Source§

impl R<u32, Reg<u32, _PLLSAI2CFGR>>

Source

pub fn pllsai2r(&self) -> PLLSAI2R_R

Bits 25:26 - PLLSAI2 division factor for PLLADC2CLK (ADC clock)

Source

pub fn pllsai2ren(&self) -> PLLSAI2REN_R

Bit 24 - PLLSAI2 PLLADC2CLK output enable

Source

pub fn pllsai2p(&self) -> PLLSAI2P_R

Bit 17 - SAI1PLL division factor for PLLSAI2CLK (SAI1 or SAI2 clock)

Source

pub fn pllsai2pen(&self) -> PLLSAI2PEN_R

Bit 16 - SAI2PLL PLLSAI2CLK output enable

Source

pub fn pllsai2n(&self) -> PLLSAI2N_R

Bits 8:14 - SAI2PLL multiplication factor for VCO

Source§

impl R<u32, Reg<u32, _CIER>>

Source

pub fn lsecssie(&self) -> LSECSSIE_R

Bit 9 - LSE clock security system interrupt enable

Source

pub fn pllsai2rdyie(&self) -> PLLSAI2RDYIE_R

Bit 7 - PLLSAI2 ready interrupt enable

Source

pub fn pllsai1rdyie(&self) -> PLLSAI1RDYIE_R

Bit 6 - PLLSAI1 ready interrupt enable

Source

pub fn pllrdyie(&self) -> PLLRDYIE_R

Bit 5 - PLL ready interrupt enable

Source

pub fn hserdyie(&self) -> HSERDYIE_R

Bit 4 - HSE ready interrupt enable

Source

pub fn hsirdyie(&self) -> HSIRDYIE_R

Bit 3 - HSI ready interrupt enable

Source

pub fn msirdyie(&self) -> MSIRDYIE_R

Bit 2 - MSI ready interrupt enable

Source

pub fn lserdyie(&self) -> LSERDYIE_R

Bit 1 - LSE ready interrupt enable

Source

pub fn lsirdyie(&self) -> LSIRDYIE_R

Bit 0 - LSI ready interrupt enable

Source§

impl R<u32, Reg<u32, _CIFR>>

Source

pub fn lsecssf(&self) -> LSECSSF_R

Bit 9 - LSE Clock security system interrupt flag

Source

pub fn cssf(&self) -> CSSF_R

Bit 8 - Clock security system interrupt flag

Source

pub fn pllsai2rdyf(&self) -> PLLSAI2RDYF_R

Bit 7 - PLLSAI2 ready interrupt flag

Source

pub fn pllsai1rdyf(&self) -> PLLSAI1RDYF_R

Bit 6 - PLLSAI1 ready interrupt flag

Source

pub fn pllrdyf(&self) -> PLLRDYF_R

Bit 5 - PLL ready interrupt flag

Source

pub fn hserdyf(&self) -> HSERDYF_R

Bit 4 - HSE ready interrupt flag

Source

pub fn hsirdyf(&self) -> HSIRDYF_R

Bit 3 - HSI ready interrupt flag

Source

pub fn msirdyf(&self) -> MSIRDYF_R

Bit 2 - MSI ready interrupt flag

Source

pub fn lserdyf(&self) -> LSERDYF_R

Bit 1 - LSE ready interrupt flag

Source

pub fn lsirdyf(&self) -> LSIRDYF_R

Bit 0 - LSI ready interrupt flag

Source§

impl R<u32, Reg<u32, _AHB1RSTR>>

Source

pub fn tscrst(&self) -> TSCRST_R

Bit 16 - Touch Sensing Controller reset

Source

pub fn crcrst(&self) -> CRCRST_R

Bit 11 - CRC reset

Source

pub fn flashrst(&self) -> FLASHRST_R

Bit 8 - Flash memory interface reset

Source

pub fn dma2rst(&self) -> DMA2RST_R

Bit 1 - DMA2 reset

Source

pub fn dma1rst(&self) -> DMA1RST_R

Bit 0 - DMA1 reset

Source§

impl R<u32, Reg<u32, _AHB2RSTR>>

Source

pub fn rngrst(&self) -> RNGRST_R

Bit 18 - Random number generator reset

Source

pub fn aesrst(&self) -> AESRST_R

Bit 16 - AES hardware accelerator reset

Source

pub fn adcrst(&self) -> ADCRST_R

Bit 13 - ADC reset

Source

pub fn otgfsrst(&self) -> OTGFSRST_R

Bit 12 - USB OTG FS reset

Source

pub fn gpiohrst(&self) -> GPIOHRST_R

Bit 7 - IO port H reset

Source

pub fn gpiogrst(&self) -> GPIOGRST_R

Bit 6 - IO port G reset

Source

pub fn gpiofrst(&self) -> GPIOFRST_R

Bit 5 - IO port F reset

Source

pub fn gpioerst(&self) -> GPIOERST_R

Bit 4 - IO port E reset

Source

pub fn gpiodrst(&self) -> GPIODRST_R

Bit 3 - IO port D reset

Source

pub fn gpiocrst(&self) -> GPIOCRST_R

Bit 2 - IO port C reset

Source

pub fn gpiobrst(&self) -> GPIOBRST_R

Bit 1 - IO port B reset

Source

pub fn gpioarst(&self) -> GPIOARST_R

Bit 0 - IO port A reset

Source§

impl R<u32, Reg<u32, _AHB3RSTR>>

Source

pub fn qspirst(&self) -> QSPIRST_R

Bit 8 - Quad SPI memory interface reset

Source

pub fn fmcrst(&self) -> FMCRST_R

Bit 0 - Flexible memory controller reset

Source§

impl R<u32, Reg<u32, _APB1RSTR1>>

Source

pub fn lptim1rst(&self) -> LPTIM1RST_R

Bit 31 - Low Power Timer 1 reset

Source

pub fn opamprst(&self) -> OPAMPRST_R

Bit 30 - OPAMP interface reset

Source

pub fn dac1rst(&self) -> DAC1RST_R

Bit 29 - DAC1 interface reset

Source

pub fn pwrrst(&self) -> PWRRST_R

Bit 28 - Power interface reset

Source

pub fn can1rst(&self) -> CAN1RST_R

Bit 25 - CAN1 reset

Source

pub fn i2c3rst(&self) -> I2C3RST_R

Bit 23 - I2C3 reset

Source

pub fn i2c2rst(&self) -> I2C2RST_R

Bit 22 - I2C2 reset

Source

pub fn i2c1rst(&self) -> I2C1RST_R

Bit 21 - I2C1 reset

Source

pub fn uart5rst(&self) -> UART5RST_R

Bit 20 - UART5 reset

Source

pub fn uart4rst(&self) -> UART4RST_R

Bit 19 - UART4 reset

Source

pub fn usart3rst(&self) -> USART3RST_R

Bit 18 - USART3 reset

Source

pub fn usart2rst(&self) -> USART2RST_R

Bit 17 - USART2 reset

Source

pub fn spi3rst(&self) -> SPI3RST_R

Bit 15 - SPI3 reset

Source

pub fn spi2rst(&self) -> SPI2RST_R

Bit 14 - SPI2 reset

Source

pub fn lcdrst(&self) -> LCDRST_R

Bit 9 - LCD interface reset

Source

pub fn tim7rst(&self) -> TIM7RST_R

Bit 5 - TIM7 timer reset

Source

pub fn tim6rst(&self) -> TIM6RST_R

Bit 4 - TIM6 timer reset

Source

pub fn tim5rst(&self) -> TIM5RST_R

Bit 3 - TIM5 timer reset

Source

pub fn tim4rst(&self) -> TIM4RST_R

Bit 2 - TIM3 timer reset

Source

pub fn tim3rst(&self) -> TIM3RST_R

Bit 1 - TIM3 timer reset

Source

pub fn tim2rst(&self) -> TIM2RST_R

Bit 0 - TIM2 timer reset

Source§

impl R<u32, Reg<u32, _APB1RSTR2>>

Source

pub fn lptim2rst(&self) -> LPTIM2RST_R

Bit 5 - Low-power timer 2 reset

Source

pub fn swpmi1rst(&self) -> SWPMI1RST_R

Bit 2 - Single wire protocol reset

Source

pub fn lpuart1rst(&self) -> LPUART1RST_R

Bit 0 - Low-power UART 1 reset

Source§

impl R<u32, Reg<u32, _APB2RSTR>>

Source

pub fn dfsdmrst(&self) -> DFSDMRST_R

Bit 24 - Digital filters for sigma-delata modulators (DFSDM) reset

Source

pub fn sai2rst(&self) -> SAI2RST_R

Bit 22 - Serial audio interface 2 (SAI2) reset

Source

pub fn sai1rst(&self) -> SAI1RST_R

Bit 21 - Serial audio interface 1 (SAI1) reset

Source

pub fn tim17rst(&self) -> TIM17RST_R

Bit 18 - TIM17 timer reset

Source

pub fn tim16rst(&self) -> TIM16RST_R

Bit 17 - TIM16 timer reset

Source

pub fn tim15rst(&self) -> TIM15RST_R

Bit 16 - TIM15 timer reset

Source

pub fn usart1rst(&self) -> USART1RST_R

Bit 14 - USART1 reset

Source

pub fn tim8rst(&self) -> TIM8RST_R

Bit 13 - TIM8 timer reset

Source

pub fn spi1rst(&self) -> SPI1RST_R

Bit 12 - SPI1 reset

Source

pub fn tim1rst(&self) -> TIM1RST_R

Bit 11 - TIM1 timer reset

Source

pub fn sdmmcrst(&self) -> SDMMCRST_R

Bit 10 - SDMMC reset

Source

pub fn syscfgrst(&self) -> SYSCFGRST_R

Bit 0 - System configuration (SYSCFG) reset

Source§

impl R<u32, Reg<u32, _AHB1ENR>>

Source

pub fn tscen(&self) -> TSCEN_R

Bit 16 - Touch Sensing Controller clock enable

Source

pub fn crcen(&self) -> CRCEN_R

Bit 11 - CRC clock enable

Source

pub fn flashen(&self) -> FLASHEN_R

Bit 8 - Flash memory interface clock enable

Source

pub fn dma2en(&self) -> DMA2EN_R

Bit 1 - DMA2 clock enable

Source

pub fn dma1en(&self) -> DMA1EN_R

Bit 0 - DMA1 clock enable

Source§

impl R<u32, Reg<u32, _AHB2ENR>>

Source

pub fn rngen(&self) -> RNGEN_R

Bit 18 - Random Number Generator clock enable

Source

pub fn aesen(&self) -> AESEN_R

Bit 16 - AES accelerator clock enable

Source

pub fn adcen(&self) -> ADCEN_R

Bit 13 - ADC clock enable

Source

pub fn otgfsen(&self) -> OTGFSEN_R

Bit 12 - OTG full speed clock enable

Source

pub fn gpiohen(&self) -> GPIOHEN_R

Bit 7 - IO port H clock enable

Source

pub fn gpiogen(&self) -> GPIOGEN_R

Bit 6 - IO port G clock enable

Source

pub fn gpiofen(&self) -> GPIOFEN_R

Bit 5 - IO port F clock enable

Source

pub fn gpioeen(&self) -> GPIOEEN_R

Bit 4 - IO port E clock enable

Source

pub fn gpioden(&self) -> GPIODEN_R

Bit 3 - IO port D clock enable

Source

pub fn gpiocen(&self) -> GPIOCEN_R

Bit 2 - IO port C clock enable

Source

pub fn gpioben(&self) -> GPIOBEN_R

Bit 1 - IO port B clock enable

Source

pub fn gpioaen(&self) -> GPIOAEN_R

Bit 0 - IO port A clock enable

Source§

impl R<u32, Reg<u32, _AHB3ENR>>

Source

pub fn qspien(&self) -> QSPIEN_R

Bit 8 - QSPIEN

Source

pub fn fmcen(&self) -> FMCEN_R

Bit 0 - Flexible memory controller clock enable

Source§

impl R<u32, Reg<u32, _APB1ENR1>>

Source

pub fn lptim1en(&self) -> LPTIM1EN_R

Bit 31 - Low power timer 1 clock enable

Source

pub fn opampen(&self) -> OPAMPEN_R

Bit 30 - OPAMP interface clock enable

Source

pub fn dac1en(&self) -> DAC1EN_R

Bit 29 - DAC1 interface clock enable

Source

pub fn pwren(&self) -> PWREN_R

Bit 28 - Power interface clock enable

Source

pub fn can1en(&self) -> CAN1EN_R

Bit 25 - CAN1 clock enable

Source

pub fn i2c3en(&self) -> I2C3EN_R

Bit 23 - I2C3 clock enable

Source

pub fn i2c2en(&self) -> I2C2EN_R

Bit 22 - I2C2 clock enable

Source

pub fn i2c1en(&self) -> I2C1EN_R

Bit 21 - I2C1 clock enable

Source

pub fn uart5en(&self) -> UART5EN_R

Bit 20 - UART5 clock enable

Source

pub fn uart4en(&self) -> UART4EN_R

Bit 19 - UART4 clock enable

Source

pub fn usart3en(&self) -> USART3EN_R

Bit 18 - USART3 clock enable

Source

pub fn usart2en(&self) -> USART2EN_R

Bit 17 - USART2 clock enable

Source

pub fn spi3en(&self) -> SPI3EN_R

Bit 15 - SPI peripheral 3 clock enable

Source

pub fn spi2en(&self) -> SPI2EN_R

Bit 14 - SPI2 clock enable

Source

pub fn wwdgen(&self) -> WWDGEN_R

Bit 11 - Window watchdog clock enable

Source

pub fn lcden(&self) -> LCDEN_R

Bit 9 - LCD clock enable

Source

pub fn tim7en(&self) -> TIM7EN_R

Bit 5 - TIM7 timer clock enable

Source

pub fn tim6en(&self) -> TIM6EN_R

Bit 4 - TIM6 timer clock enable

Source

pub fn tim5en(&self) -> TIM5EN_R

Bit 3 - TIM5 timer clock enable

Source

pub fn tim4en(&self) -> TIM4EN_R

Bit 2 - TIM4 timer clock enable

Source

pub fn tim3en(&self) -> TIM3EN_R

Bit 1 - TIM3 timer clock enable

Source

pub fn tim2en(&self) -> TIM2EN_R

Bit 0 - TIM2 timer clock enable

Source

pub fn rtcapben(&self) -> RTCAPBEN_R

Bit 10 - Enables the real time clock (RTC) peripheral

Source§

impl R<u32, Reg<u32, _APB1ENR2>>

Source

pub fn lptim2en(&self) -> LPTIM2EN_R

Bit 5 - LPTIM2EN

Source

pub fn swpmi1en(&self) -> SWPMI1EN_R

Bit 2 - Single wire protocol clock enable

Source

pub fn lpuart1en(&self) -> LPUART1EN_R

Bit 0 - Low power UART 1 clock enable

Source§

impl R<u32, Reg<u32, _APB2ENR>>

Source

pub fn dfsdmen(&self) -> DFSDMEN_R

Bit 24 - DFSDM timer clock enable

Source

pub fn sai2en(&self) -> SAI2EN_R

Bit 22 - SAI2 clock enable

Source

pub fn sai1en(&self) -> SAI1EN_R

Bit 21 - SAI1 clock enable

Source

pub fn tim17en(&self) -> TIM17EN_R

Bit 18 - TIM17 timer clock enable

Source

pub fn tim16en(&self) -> TIM16EN_R

Bit 17 - TIM16 timer clock enable

Source

pub fn tim15en(&self) -> TIM15EN_R

Bit 16 - TIM15 timer clock enable

Source

pub fn usart1en(&self) -> USART1EN_R

Bit 14 - USART1clock enable

Source

pub fn tim8en(&self) -> TIM8EN_R

Bit 13 - TIM8 timer clock enable

Source

pub fn spi1en(&self) -> SPI1EN_R

Bit 12 - SPI1 clock enable

Source

pub fn tim1en(&self) -> TIM1EN_R

Bit 11 - TIM1 timer clock enable

Source

pub fn sdmmcen(&self) -> SDMMCEN_R

Bit 10 - SDMMC clock enable

Source

pub fn firewallen(&self) -> FIREWALLEN_R

Bit 7 - Firewall clock enable

Source

pub fn syscfgen(&self) -> SYSCFGEN_R

Bit 0 - SYSCFG clock enable

Source§

impl R<u32, Reg<u32, _AHB1SMENR>>

Source

pub fn tscsmen(&self) -> TSCSMEN_R

Bit 16 - Touch Sensing Controller clocks enable during Sleep and Stop modes

Source

pub fn crcsmen(&self) -> CRCSMEN_R

Bit 11 - CRCSMEN

Source

pub fn sram1smen(&self) -> SRAM1SMEN_R

Bit 9 - SRAM1 interface clocks enable during Sleep and Stop modes

Source

pub fn flashsmen(&self) -> FLASHSMEN_R

Bit 8 - Flash memory interface clocks enable during Sleep and Stop modes

Source

pub fn dma2smen(&self) -> DMA2SMEN_R

Bit 1 - DMA2 clocks enable during Sleep and Stop modes

Source

pub fn dma1smen(&self) -> DMA1SMEN_R

Bit 0 - DMA1 clocks enable during Sleep and Stop modes

Source§

impl R<u32, Reg<u32, _AHB2SMENR>>

Source

pub fn rngsmen(&self) -> RNGSMEN_R

Bit 18 - Random Number Generator clocks enable during Sleep and Stop modes

Source

pub fn aessmen(&self) -> AESSMEN_R

Bit 16 - AES accelerator clocks enable during Sleep and Stop modes

Source

pub fn adcfssmen(&self) -> ADCFSSMEN_R

Bit 13 - ADC clocks enable during Sleep and Stop modes

Source

pub fn otgfssmen(&self) -> OTGFSSMEN_R

Bit 12 - OTG full speed clocks enable during Sleep and Stop modes

Source

pub fn sram2smen(&self) -> SRAM2SMEN_R

Bit 9 - SRAM2 interface clocks enable during Sleep and Stop modes

Source

pub fn gpiohsmen(&self) -> GPIOHSMEN_R

Bit 7 - IO port H clocks enable during Sleep and Stop modes

Source

pub fn gpiogsmen(&self) -> GPIOGSMEN_R

Bit 6 - IO port G clocks enable during Sleep and Stop modes

Source

pub fn gpiofsmen(&self) -> GPIOFSMEN_R

Bit 5 - IO port F clocks enable during Sleep and Stop modes

Source

pub fn gpioesmen(&self) -> GPIOESMEN_R

Bit 4 - IO port E clocks enable during Sleep and Stop modes

Source

pub fn gpiodsmen(&self) -> GPIODSMEN_R

Bit 3 - IO port D clocks enable during Sleep and Stop modes

Source

pub fn gpiocsmen(&self) -> GPIOCSMEN_R

Bit 2 - IO port C clocks enable during Sleep and Stop modes

Source

pub fn gpiobsmen(&self) -> GPIOBSMEN_R

Bit 1 - IO port B clocks enable during Sleep and Stop modes

Source

pub fn gpioasmen(&self) -> GPIOASMEN_R

Bit 0 - IO port A clocks enable during Sleep and Stop modes

Source§

impl R<u32, Reg<u32, _AHB3SMENR>>

Source

pub fn qspismen(&self) -> QSPISMEN_R

Bit 8 - QSPISMEN

Source

pub fn fmcsmen(&self) -> FMCSMEN_R

Bit 0 - Flexible memory controller clocks enable during Sleep and Stop modes

Source§

impl R<u32, Reg<u32, _APB1SMENR1>>

Source

pub fn lptim1smen(&self) -> LPTIM1SMEN_R

Bit 31 - Low power timer 1 clocks enable during Sleep and Stop modes

Source

pub fn opampsmen(&self) -> OPAMPSMEN_R

Bit 30 - OPAMP interface clocks enable during Sleep and Stop modes

Source

pub fn dac1smen(&self) -> DAC1SMEN_R

Bit 29 - DAC1 interface clocks enable during Sleep and Stop modes

Source

pub fn pwrsmen(&self) -> PWRSMEN_R

Bit 28 - Power interface clocks enable during Sleep and Stop modes

Source

pub fn can1smen(&self) -> CAN1SMEN_R

Bit 25 - CAN1 clocks enable during Sleep and Stop modes

Source

pub fn i2c3smen(&self) -> I2C3SMEN_R

Bit 23 - I2C3 clocks enable during Sleep and Stop modes

Source

pub fn i2c2smen(&self) -> I2C2SMEN_R

Bit 22 - I2C2 clocks enable during Sleep and Stop modes

Source

pub fn i2c1smen(&self) -> I2C1SMEN_R

Bit 21 - I2C1 clocks enable during Sleep and Stop modes

Source

pub fn uart5smen(&self) -> UART5SMEN_R

Bit 20 - UART5 clocks enable during Sleep and Stop modes

Source

pub fn uart4smen(&self) -> UART4SMEN_R

Bit 19 - UART4 clocks enable during Sleep and Stop modes

Source

pub fn usart3smen(&self) -> USART3SMEN_R

Bit 18 - USART3 clocks enable during Sleep and Stop modes

Source

pub fn usart2smen(&self) -> USART2SMEN_R

Bit 17 - USART2 clocks enable during Sleep and Stop modes

Source

pub fn sp3smen(&self) -> SP3SMEN_R

Bit 15 - SPI3 clocks enable during Sleep and Stop modes

Source

pub fn spi2smen(&self) -> SPI2SMEN_R

Bit 14 - SPI2 clocks enable during Sleep and Stop modes

Source

pub fn wwdgsmen(&self) -> WWDGSMEN_R

Bit 11 - Window watchdog clocks enable during Sleep and Stop modes

Source

pub fn lcdsmen(&self) -> LCDSMEN_R

Bit 9 - LCD clocks enable during Sleep and Stop modes

Source

pub fn tim7smen(&self) -> TIM7SMEN_R

Bit 5 - TIM7 timer clocks enable during Sleep and Stop modes

Source

pub fn tim6smen(&self) -> TIM6SMEN_R

Bit 4 - TIM6 timer clocks enable during Sleep and Stop modes

Source

pub fn tim5smen(&self) -> TIM5SMEN_R

Bit 3 - TIM5 timer clocks enable during Sleep and Stop modes

Source

pub fn tim4smen(&self) -> TIM4SMEN_R

Bit 2 - TIM4 timer clocks enable during Sleep and Stop modes

Source

pub fn tim3smen(&self) -> TIM3SMEN_R

Bit 1 - TIM3 timer clocks enable during Sleep and Stop modes

Source

pub fn tim2smen(&self) -> TIM2SMEN_R

Bit 0 - TIM2 timer clocks enable during Sleep and Stop modes

Source

pub fn rtcapbsmen(&self) -> RTCAPBSMEN_R

Bit 10 - RTC APB clock enable during Sleep and Stop modes

Source§

impl R<u32, Reg<u32, _APB1SMENR2>>

Source

pub fn lptim2smen(&self) -> LPTIM2SMEN_R

Bit 5 - LPTIM2SMEN

Source

pub fn swpmi1smen(&self) -> SWPMI1SMEN_R

Bit 2 - Single wire protocol clocks enable during Sleep and Stop modes

Source

pub fn lpuart1smen(&self) -> LPUART1SMEN_R

Bit 0 - Low power UART 1 clocks enable during Sleep and Stop modes

Source§

impl R<u32, Reg<u32, _APB2SMENR>>

Source

pub fn dfsdmsmen(&self) -> DFSDMSMEN_R

Bit 24 - DFSDM timer clocks enable during Sleep and Stop modes

Source

pub fn sai2smen(&self) -> SAI2SMEN_R

Bit 22 - SAI2 clocks enable during Sleep and Stop modes

Source

pub fn sai1smen(&self) -> SAI1SMEN_R

Bit 21 - SAI1 clocks enable during Sleep and Stop modes

Source

pub fn tim17smen(&self) -> TIM17SMEN_R

Bit 18 - TIM17 timer clocks enable during Sleep and Stop modes

Source

pub fn tim16smen(&self) -> TIM16SMEN_R

Bit 17 - TIM16 timer clocks enable during Sleep and Stop modes

Source

pub fn tim15smen(&self) -> TIM15SMEN_R

Bit 16 - TIM15 timer clocks enable during Sleep and Stop modes

Source

pub fn usart1smen(&self) -> USART1SMEN_R

Bit 14 - USART1clocks enable during Sleep and Stop modes

Source

pub fn tim8smen(&self) -> TIM8SMEN_R

Bit 13 - TIM8 timer clocks enable during Sleep and Stop modes

Source

pub fn spi1smen(&self) -> SPI1SMEN_R

Bit 12 - SPI1 clocks enable during Sleep and Stop modes

Source

pub fn tim1smen(&self) -> TIM1SMEN_R

Bit 11 - TIM1 timer clocks enable during Sleep and Stop modes

Source

pub fn sdmmcsmen(&self) -> SDMMCSMEN_R

Bit 10 - SDMMC clocks enable during Sleep and Stop modes

Source

pub fn syscfgsmen(&self) -> SYSCFGSMEN_R

Bit 0 - SYSCFG clocks enable during Sleep and Stop modes

Source§

impl R<u32, Reg<u32, _CCIPR>>

Source

pub fn dfsdmsel(&self) -> DFSDMSEL_R

Bit 31 - DFSDM clock source selection

Source

pub fn swpmi1sel(&self) -> SWPMI1SEL_R

Bit 30 - SWPMI1 clock source selection

Source

pub fn adcsel(&self) -> ADCSEL_R

Bits 28:29 - ADCs clock source selection

Source

pub fn clk48sel(&self) -> CLK48SEL_R

Bits 26:27 - 48 MHz clock source selection

Source

pub fn sai2sel(&self) -> SAI2SEL_R

Bits 24:25 - SAI2 clock source selection

Source

pub fn sai1sel(&self) -> SAI1SEL_R

Bits 22:23 - SAI1 clock source selection

Source

pub fn lptim2sel(&self) -> LPTIM2SEL_R

Bits 20:21 - Low power timer 2 clock source selection

Source

pub fn lptim1sel(&self) -> LPTIM1SEL_R

Bits 18:19 - Low power timer 1 clock source selection

Source

pub fn i2c3sel(&self) -> I2C3SEL_R

Bits 16:17 - I2C3 clock source selection

Source

pub fn i2c2sel(&self) -> I2C2SEL_R

Bits 14:15 - I2C2 clock source selection

Source

pub fn i2c1sel(&self) -> I2C1SEL_R

Bits 12:13 - I2C1 clock source selection

Source

pub fn lpuart1sel(&self) -> LPUART1SEL_R

Bits 10:11 - LPUART1 clock source selection

Source

pub fn uart5sel(&self) -> UART5SEL_R

Bits 8:9 - UART5 clock source selection

Source

pub fn uart4sel(&self) -> UART4SEL_R

Bits 6:7 - UART4 clock source selection

Source

pub fn usart3sel(&self) -> USART3SEL_R

Bits 4:5 - USART3 clock source selection

Source

pub fn usart2sel(&self) -> USART2SEL_R

Bits 2:3 - USART2 clock source selection

Source

pub fn usart1sel(&self) -> USART1SEL_R

Bits 0:1 - USART1 clock source selection

Source§

impl R<u32, Reg<u32, _BDCR>>

Source

pub fn lscosel(&self) -> LSCOSEL_R

Bit 25 - Low speed clock output selection

Source

pub fn lscoen(&self) -> LSCOEN_R

Bit 24 - Low speed clock output enable

Source

pub fn bdrst(&self) -> BDRST_R

Bit 16 - Backup domain software reset

Source

pub fn rtcen(&self) -> RTCEN_R

Bit 15 - RTC clock enable

Source

pub fn rtcsel(&self) -> RTCSEL_R

Bits 8:9 - RTC clock source selection

Source

pub fn lsecssd(&self) -> LSECSSD_R

Bit 6 - LSECSSD

Source

pub fn lsecsson(&self) -> LSECSSON_R

Bit 5 - LSECSSON

Source

pub fn lsedrv(&self) -> LSEDRV_R

Bits 3:4 - SE oscillator drive capability

Source

pub fn lsebyp(&self) -> LSEBYP_R

Bit 2 - LSE oscillator bypass

Source

pub fn lserdy(&self) -> LSERDY_R

Bit 1 - LSE oscillator ready

Source

pub fn lseon(&self) -> LSEON_R

Bit 0 - LSE oscillator enable

Source§

impl R<u32, Reg<u32, _CSR>>

Source

pub fn lpwrstf(&self) -> LPWRSTF_R

Bit 31 - Low-power reset flag

Source

pub fn wwdgrstf(&self) -> WWDGRSTF_R

Bit 30 - Window watchdog reset flag

Source

pub fn iwdgrstf(&self) -> IWDGRSTF_R

Bit 29 - Independent window watchdog reset flag

Source

pub fn sftrstf(&self) -> SFTRSTF_R

Bit 28 - Software reset flag

Source

pub fn borrstf(&self) -> BORRSTF_R

Bit 27 - BOR flag

Source

pub fn pinrstf(&self) -> PINRSTF_R

Bit 26 - Pin reset flag

Source

pub fn oblrstf(&self) -> OBLRSTF_R

Bit 25 - Option byte loader reset flag

Source

pub fn firewallrstf(&self) -> FIREWALLRSTF_R

Bit 24 - Firewall reset flag

Source

pub fn rmvf(&self) -> RMVF_R

Bit 23 - Remove reset flag

Source

pub fn msisrange(&self) -> MSISRANGE_R

Bits 8:11 - SI range after Standby mode

Source

pub fn lsirdy(&self) -> LSIRDY_R

Bit 1 - LSI oscillator ready

Source

pub fn lsion(&self) -> LSION_R

Bit 0 - LSI oscillator enable

Source§

impl R<u32, Reg<u32, _CRRCR>>

Source

pub fn hsi48cal(&self) -> HSI48CAL_R

Bits 7:15 - These bits are initialized at startup with the factory-programmed HSI48 calibration trim value.

Source

pub fn hsi48rdy(&self) -> HSI48RDY_R

Bit 1 - Set by hardware to indicate that HSI48 oscillator is stable. This bit is set only when HSI48 is enabled by software by setting HSI48ON.

Source

pub fn hsi48on(&self) -> HSI48ON_R

Bit 0 - Set and cleared by software. Cleared by hardware to stop the HSI48 when entering in Stop, Standby or Shutdown modes.

Source§

impl R<u32, Reg<u32, _CSR>>

Source

pub fn addrdy_mst(&self) -> ADDRDY_MST_R

Bit 0 - ADDRDY_MST

Source

pub fn eosmp_mst(&self) -> EOSMP_MST_R

Bit 1 - EOSMP_MST

Source

pub fn eoc_mst(&self) -> EOC_MST_R

Bit 2 - EOC_MST

Source

pub fn eos_mst(&self) -> EOS_MST_R

Bit 3 - EOS_MST

Source

pub fn ovr_mst(&self) -> OVR_MST_R

Bit 4 - OVR_MST

Source

pub fn jeoc_mst(&self) -> JEOC_MST_R

Bit 5 - JEOC_MST

Source

pub fn jeos_mst(&self) -> JEOS_MST_R

Bit 6 - JEOS_MST

Source

pub fn awd1_mst(&self) -> AWD1_MST_R

Bit 7 - AWD1_MST

Source

pub fn awd2_mst(&self) -> AWD2_MST_R

Bit 8 - AWD2_MST

Source

pub fn awd3_mst(&self) -> AWD3_MST_R

Bit 9 - AWD3_MST

Source

pub fn jqovf_mst(&self) -> JQOVF_MST_R

Bit 10 - JQOVF_MST

Source

pub fn adrdy_slv(&self) -> ADRDY_SLV_R

Bit 16 - ADRDY_SLV

Source

pub fn eosmp_slv(&self) -> EOSMP_SLV_R

Bit 17 - EOSMP_SLV

Source

pub fn eoc_slv(&self) -> EOC_SLV_R

Bit 18 - End of regular conversion of the slave ADC

Source

pub fn eos_slv(&self) -> EOS_SLV_R

Bit 19 - End of regular sequence flag of the slave ADC

Source

pub fn ovr_slv(&self) -> OVR_SLV_R

Bit 20 - Overrun flag of the slave ADC

Source

pub fn jeoc_slv(&self) -> JEOC_SLV_R

Bit 21 - End of injected conversion flag of the slave ADC

Source

pub fn jeos_slv(&self) -> JEOS_SLV_R

Bit 22 - End of injected sequence flag of the slave ADC

Source

pub fn awd1_slv(&self) -> AWD1_SLV_R

Bit 23 - Analog watchdog 1 flag of the slave ADC

Source

pub fn awd2_slv(&self) -> AWD2_SLV_R

Bit 24 - Analog watchdog 2 flag of the slave ADC

Source

pub fn awd3_slv(&self) -> AWD3_SLV_R

Bit 25 - Analog watchdog 3 flag of the slave ADC

Source

pub fn jqovf_slv(&self) -> JQOVF_SLV_R

Bit 26 - Injected Context Queue Overflow flag of the slave ADC

Source§

impl R<u32, Reg<u32, _CCR>>

Source

pub fn mult(&self) -> MULT_R

Bits 0:4 - Multi ADC mode selection

Source

pub fn delay(&self) -> DELAY_R

Bits 8:11 - Delay between 2 sampling phases

Source

pub fn dmacfg(&self) -> DMACFG_R

Bit 13 - DMA configuration (for multi-ADC mode)

Source

pub fn mdma(&self) -> MDMA_R

Bits 14:15 - Direct memory access mode for multi ADC mode

Source

pub fn ckmode(&self) -> CKMODE_R

Bits 16:17 - ADC clock mode

Source

pub fn vrefen(&self) -> VREFEN_R

Bit 22 - VREFINT enable

Source

pub fn ch18sel(&self) -> CH18SEL_R

Bit 23 - CH18 selection (Vbat)

Source

pub fn ch17sel(&self) -> CH17SEL_R

Bit 24 - CH17 selection (temperature)

Source§

impl R<u32, Reg<u32, _CDR>>

Source

pub fn rdata_slv(&self) -> RDATA_SLV_R

Bits 16:31 - Regular data of the slave ADC

Source

pub fn rdata_mst(&self) -> RDATA_MST_R

Bits 0:15 - Regular data of the master ADC

Source§

impl R<u32, Reg<u32, _IDCODE>>

Source

pub fn dev_id(&self) -> DEV_ID_R

Bits 0:15 - Device Identifier

Source

pub fn rev_id(&self) -> REV_ID_R

Bits 16:31 - Revision Identifier

Source§

impl R<u32, Reg<u32, _CR>>

Source

pub fn dbg_sleep(&self) -> DBG_SLEEP_R

Bit 0 - Debug Sleep Mode

Source

pub fn dbg_stop(&self) -> DBG_STOP_R

Bit 1 - Debug Stop Mode

Source

pub fn dbg_standby(&self) -> DBG_STANDBY_R

Bit 2 - Debug Standby Mode

Source

pub fn trace_ioen(&self) -> TRACE_IOEN_R

Bit 5 - Trace pin assignment control

Source

pub fn trace_mode(&self) -> TRACE_MODE_R

Bits 6:7 - Trace pin assignment control

Source§

impl R<u32, Reg<u32, _APB1_FZR1>>

Source

pub fn dbg_timer2_stop(&self) -> DBG_TIMER2_STOP_R

Bit 0 - Debug Timer 2 stopped when Core is halted

Source

pub fn dbg_tim3_stop(&self) -> DBG_TIM3_STOP_R

Bit 1 - TIM3 counter stopped when core is halted

Source

pub fn dbg_tim4_stop(&self) -> DBG_TIM4_STOP_R

Bit 2 - TIM4 counter stopped when core is halted

Source

pub fn dbg_tim5_stop(&self) -> DBG_TIM5_STOP_R

Bit 3 - TIM5 counter stopped when core is halted

Source

pub fn dbg_timer6_stop(&self) -> DBG_TIMER6_STOP_R

Bit 4 - Debug Timer 6 stopped when Core is halted

Source

pub fn dbg_tim7_stop(&self) -> DBG_TIM7_STOP_R

Bit 5 - TIM7 counter stopped when core is halted

Source

pub fn dbg_rtc_stop(&self) -> DBG_RTC_STOP_R

Bit 10 - Debug RTC stopped when Core is halted

Source

pub fn dbg_wwdg_stop(&self) -> DBG_WWDG_STOP_R

Bit 11 - Debug Window Wachdog stopped when Core is halted

Source

pub fn dbg_iwdg_stop(&self) -> DBG_IWDG_STOP_R

Bit 12 - Debug Independent Wachdog stopped when Core is halted

Source

pub fn dbg_i2c1_stop(&self) -> DBG_I2C1_STOP_R

Bit 21 - I2C1 SMBUS timeout mode stopped when core is halted

Source

pub fn dbg_i2c2_stop(&self) -> DBG_I2C2_STOP_R

Bit 22 - I2C2 SMBUS timeout mode stopped when core is halted

Source

pub fn dbg_i2c3_stop(&self) -> DBG_I2C3_STOP_R

Bit 23 - I2C3 SMBUS timeout counter stopped when core is halted

Source

pub fn dbg_can_stop(&self) -> DBG_CAN_STOP_R

Bit 25 - bxCAN stopped when core is halted

Source

pub fn dbg_lptimer_stop(&self) -> DBG_LPTIMER_STOP_R

Bit 31 - LPTIM1 counter stopped when core is halted

Source§

impl R<u32, Reg<u32, _APB1_FZR2>>

Source

pub fn dbg_lptim2_stop(&self) -> DBG_LPTIM2_STOP_R

Bit 5 - LPTIM2 counter stopped when core is halted

Source§

impl R<u32, Reg<u32, _APB2_FZR>>

Source

pub fn dbg_tim1_stop(&self) -> DBG_TIM1_STOP_R

Bit 11 - TIM1 counter stopped when core is halted

Source

pub fn dbg_tim8_stop(&self) -> DBG_TIM8_STOP_R

Bit 13 - TIM8 counter stopped when core is halted

Source

pub fn dbg_tim15_stop(&self) -> DBG_TIM15_STOP_R

Bit 16 - TIM15 counter stopped when core is halted

Source

pub fn dbg_tim16_stop(&self) -> DBG_TIM16_STOP_R

Bit 17 - TIM16 counter stopped when core is halted

Source

pub fn dbg_tim17_stop(&self) -> DBG_TIM17_STOP_R

Bit 18 - TIM17 counter stopped when core is halted

Source§

impl R<u32, Reg<u32, _FPCCR>>

Source

pub fn lspact(&self) -> LSPACT_R

Bit 0 - LSPACT

Source

pub fn user(&self) -> USER_R

Bit 1 - USER

Source

pub fn thread(&self) -> THREAD_R

Bit 3 - THREAD

Source

pub fn hfrdy(&self) -> HFRDY_R

Bit 4 - HFRDY

Source

pub fn mmrdy(&self) -> MMRDY_R

Bit 5 - MMRDY

Source

pub fn bfrdy(&self) -> BFRDY_R

Bit 6 - BFRDY

Source

pub fn monrdy(&self) -> MONRDY_R

Bit 8 - MONRDY

Source

pub fn lspen(&self) -> LSPEN_R

Bit 30 - LSPEN

Source

pub fn aspen(&self) -> ASPEN_R

Bit 31 - ASPEN

Source§

impl R<u32, Reg<u32, _FPCAR>>

Source

pub fn address(&self) -> ADDRESS_R

Bits 3:31 - Location of unpopulated floating-point

Source§

impl R<u32, Reg<u32, _FPSCR>>

Source

pub fn ioc(&self) -> IOC_R

Bit 0 - Invalid operation cumulative exception bit

Source

pub fn dzc(&self) -> DZC_R

Bit 1 - Division by zero cumulative exception bit.

Source

pub fn ofc(&self) -> OFC_R

Bit 2 - Overflow cumulative exception bit

Source

pub fn ufc(&self) -> UFC_R

Bit 3 - Underflow cumulative exception bit

Source

pub fn ixc(&self) -> IXC_R

Bit 4 - Inexact cumulative exception bit

Source

pub fn idc(&self) -> IDC_R

Bit 7 - Input denormal cumulative exception bit.

Source

pub fn rmode(&self) -> RMODE_R

Bits 22:23 - Rounding Mode control field

Source

pub fn fz(&self) -> FZ_R

Bit 24 - Flush-to-zero mode control bit:

Source

pub fn dn(&self) -> DN_R

Bit 25 - Default NaN mode control bit

Source

pub fn ahp(&self) -> AHP_R

Bit 26 - Alternative half-precision control bit

Source

pub fn v(&self) -> V_R

Bit 28 - Overflow condition code flag

Source

pub fn c(&self) -> C_R

Bit 29 - Carry condition code flag

Source

pub fn z(&self) -> Z_R

Bit 30 - Zero condition code flag

Source

pub fn n(&self) -> N_R

Bit 31 - Negative condition code flag

Source§

impl R<u32, Reg<u32, _CTRL>>

Source

pub fn enable(&self) -> ENABLE_R

Bit 0 - Counter enable

Source

pub fn tickint(&self) -> TICKINT_R

Bit 1 - SysTick exception request enable

Source

pub fn clksource(&self) -> CLKSOURCE_R

Bit 2 - Clock source selection

Source

pub fn countflag(&self) -> COUNTFLAG_R

Bit 16 - COUNTFLAG

Source§

impl R<u32, Reg<u32, _LOAD>>

Source

pub fn reload(&self) -> RELOAD_R

Bits 0:23 - RELOAD value

Source§

impl R<u32, Reg<u32, _VAL>>

Source

pub fn current(&self) -> CURRENT_R

Bits 0:23 - Current counter value

Source§

impl R<u32, Reg<u32, _CALIB>>

Source

pub fn tenms(&self) -> TENMS_R

Bits 0:23 - Calibration value

Source

pub fn skew(&self) -> SKEW_R

Bit 30 - SKEW flag: Indicates whether the TENMS value is exact

Source

pub fn noref(&self) -> NOREF_R

Bit 31 - NOREF flag. Reads as zero

Source§

impl R<u32, Reg<u32, _STIR>>

Source

pub fn intid(&self) -> INTID_R

Bits 0:8 - Software generated interrupt ID

Source§

impl R<u32, Reg<u32, _CPACR>>

Source

pub fn cp(&self) -> CP_R

Bits 20:23 - CP

Source§

impl R<u32, Reg<u32, _ACTRL>>

Source

pub fn dismcycint(&self) -> DISMCYCINT_R

Bit 0 - DISMCYCINT

Source

pub fn disdefwbuf(&self) -> DISDEFWBUF_R

Bit 1 - DISDEFWBUF

Source

pub fn disfold(&self) -> DISFOLD_R

Bit 2 - DISFOLD

Source

pub fn disfpca(&self) -> DISFPCA_R

Bit 8 - DISFPCA

Source

pub fn disoofp(&self) -> DISOOFP_R

Bit 9 - DISOOFP

Source§

impl R<u8, CKD_A>

Source

pub fn variant(&self) -> Variant<u8, CKD_A>

Get enumerated values variant

Source

pub fn is_div1(&self) -> bool

Checks if the value of the field is DIV1

Source

pub fn is_div2(&self) -> bool

Checks if the value of the field is DIV2

Source

pub fn is_div4(&self) -> bool

Checks if the value of the field is DIV4

Source§

impl R<bool, ARPE_A>

Source

pub fn variant(&self) -> ARPE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<u8, CMS_A>

Source

pub fn variant(&self) -> CMS_A

Get enumerated values variant

Source

pub fn is_edge_aligned(&self) -> bool

Checks if the value of the field is EDGEALIGNED

Source

pub fn is_center_aligned1(&self) -> bool

Checks if the value of the field is CENTERALIGNED1

Source

pub fn is_center_aligned2(&self) -> bool

Checks if the value of the field is CENTERALIGNED2

Source

pub fn is_center_aligned3(&self) -> bool

Checks if the value of the field is CENTERALIGNED3

Source§

impl R<bool, DIR_A>

Source

pub fn variant(&self) -> DIR_A

Get enumerated values variant

Source

pub fn is_up(&self) -> bool

Checks if the value of the field is UP

Source

pub fn is_down(&self) -> bool

Checks if the value of the field is DOWN

Source§

impl R<bool, OPM_A>

Source

pub fn variant(&self) -> OPM_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, URS_A>

Source

pub fn variant(&self) -> URS_A

Get enumerated values variant

Source

pub fn is_any_event(&self) -> bool

Checks if the value of the field is ANYEVENT

Source

pub fn is_counter_only(&self) -> bool

Checks if the value of the field is COUNTERONLY

Source§

impl R<bool, UDIS_A>

Source

pub fn variant(&self) -> UDIS_A

Get enumerated values variant

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source§

impl R<bool, CEN_A>

Source

pub fn variant(&self) -> CEN_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<u32, Reg<u32, _CR1>>

Source

pub fn ckd(&self) -> CKD_R

Bits 8:9 - Clock division

Source

pub fn arpe(&self) -> ARPE_R

Bit 7 - Auto-reload preload enable

Source

pub fn cms(&self) -> CMS_R

Bits 5:6 - Center-aligned mode selection

Source

pub fn dir(&self) -> DIR_R

Bit 4 - Direction

Source

pub fn opm(&self) -> OPM_R

Bit 3 - One-pulse mode

Source

pub fn urs(&self) -> URS_R

Bit 2 - Update request source

Source

pub fn udis(&self) -> UDIS_R

Bit 1 - Update disable

Source

pub fn cen(&self) -> CEN_R

Bit 0 - Counter enable

Source§

impl R<bool, TI1S_A>

Source

pub fn variant(&self) -> TI1S_A

Get enumerated values variant

Source

pub fn is_normal(&self) -> bool

Checks if the value of the field is NORMAL

Source

pub fn is_xor(&self) -> bool

Checks if the value of the field is XOR

Source§

impl R<u8, MMS_A>

Source

pub fn variant(&self) -> MMS_A

Get enumerated values variant

Source

pub fn is_reset(&self) -> bool

Checks if the value of the field is RESET

Source

pub fn is_enable(&self) -> bool

Checks if the value of the field is ENABLE

Source

pub fn is_update(&self) -> bool

Checks if the value of the field is UPDATE

Source

pub fn is_compare_pulse(&self) -> bool

Checks if the value of the field is COMPAREPULSE

Source

pub fn is_compare_oc1(&self) -> bool

Checks if the value of the field is COMPAREOC1

Source

pub fn is_compare_oc2(&self) -> bool

Checks if the value of the field is COMPAREOC2

Source

pub fn is_compare_oc3(&self) -> bool

Checks if the value of the field is COMPAREOC3

Source

pub fn is_compare_oc4(&self) -> bool

Checks if the value of the field is COMPAREOC4

Source§

impl R<bool, CCDS_A>

Source

pub fn variant(&self) -> CCDS_A

Get enumerated values variant

Source

pub fn is_on_compare(&self) -> bool

Checks if the value of the field is ONCOMPARE

Source

pub fn is_on_update(&self) -> bool

Checks if the value of the field is ONUPDATE

Source§

impl R<u32, Reg<u32, _CR2>>

Source

pub fn ti1s(&self) -> TI1S_R

Bit 7 - TI1 selection

Source

pub fn mms(&self) -> MMS_R

Bits 4:6 - Master mode selection

Source

pub fn ccds(&self) -> CCDS_R

Bit 3 - Capture/compare DMA selection

Source§

impl R<bool, ETP_A>

Source

pub fn variant(&self) -> ETP_A

Get enumerated values variant

Source

pub fn is_not_inverted(&self) -> bool

Checks if the value of the field is NOTINVERTED

Source

pub fn is_inverted(&self) -> bool

Checks if the value of the field is INVERTED

Source§

impl R<bool, ECE_A>

Source

pub fn variant(&self) -> ECE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<u8, ETPS_A>

Source

pub fn variant(&self) -> ETPS_A

Get enumerated values variant

Source

pub fn is_div1(&self) -> bool

Checks if the value of the field is DIV1

Source

pub fn is_div2(&self) -> bool

Checks if the value of the field is DIV2

Source

pub fn is_div4(&self) -> bool

Checks if the value of the field is DIV4

Source

pub fn is_div8(&self) -> bool

Checks if the value of the field is DIV8

Source§

impl R<u8, ETF_A>

Source

pub fn variant(&self) -> ETF_A

Get enumerated values variant

Source

pub fn is_no_filter(&self) -> bool

Checks if the value of the field is NOFILTER

Source

pub fn is_fck_int_n2(&self) -> bool

Checks if the value of the field is FCK_INT_N2

Source

pub fn is_fck_int_n4(&self) -> bool

Checks if the value of the field is FCK_INT_N4

Source

pub fn is_fck_int_n8(&self) -> bool

Checks if the value of the field is FCK_INT_N8

Source

pub fn is_fdts_div2_n6(&self) -> bool

Checks if the value of the field is FDTS_DIV2_N6

Source

pub fn is_fdts_div2_n8(&self) -> bool

Checks if the value of the field is FDTS_DIV2_N8

Source

pub fn is_fdts_div4_n6(&self) -> bool

Checks if the value of the field is FDTS_DIV4_N6

Source

pub fn is_fdts_div4_n8(&self) -> bool

Checks if the value of the field is FDTS_DIV4_N8

Source

pub fn is_fdts_div8_n6(&self) -> bool

Checks if the value of the field is FDTS_DIV8_N6

Source

pub fn is_fdts_div8_n8(&self) -> bool

Checks if the value of the field is FDTS_DIV8_N8

Source

pub fn is_fdts_div16_n5(&self) -> bool

Checks if the value of the field is FDTS_DIV16_N5

Source

pub fn is_fdts_div16_n6(&self) -> bool

Checks if the value of the field is FDTS_DIV16_N6

Source

pub fn is_fdts_div16_n8(&self) -> bool

Checks if the value of the field is FDTS_DIV16_N8

Source

pub fn is_fdts_div32_n5(&self) -> bool

Checks if the value of the field is FDTS_DIV32_N5

Source

pub fn is_fdts_div32_n6(&self) -> bool

Checks if the value of the field is FDTS_DIV32_N6

Source

pub fn is_fdts_div32_n8(&self) -> bool

Checks if the value of the field is FDTS_DIV32_N8

Source§

impl R<bool, MSM_A>

Source

pub fn variant(&self) -> MSM_A

Get enumerated values variant

Source

pub fn is_no_sync(&self) -> bool

Checks if the value of the field is NOSYNC

Source

pub fn is_sync(&self) -> bool

Checks if the value of the field is SYNC

Source§

impl R<u8, TS_A>

Source

pub fn variant(&self) -> Variant<u8, TS_A>

Get enumerated values variant

Source

pub fn is_itr0(&self) -> bool

Checks if the value of the field is ITR0

Source

pub fn is_itr1(&self) -> bool

Checks if the value of the field is ITR1

Source

pub fn is_itr2(&self) -> bool

Checks if the value of the field is ITR2

Source

pub fn is_ti1f_ed(&self) -> bool

Checks if the value of the field is TI1F_ED

Source

pub fn is_ti1fp1(&self) -> bool

Checks if the value of the field is TI1FP1

Source

pub fn is_ti2fp2(&self) -> bool

Checks if the value of the field is TI2FP2

Source

pub fn is_etrf(&self) -> bool

Checks if the value of the field is ETRF

Source§

impl R<u8, SMS_A>

Source

pub fn variant(&self) -> SMS_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_encoder_mode_1(&self) -> bool

Checks if the value of the field is ENCODER_MODE_1

Source

pub fn is_encoder_mode_2(&self) -> bool

Checks if the value of the field is ENCODER_MODE_2

Source

pub fn is_encoder_mode_3(&self) -> bool

Checks if the value of the field is ENCODER_MODE_3

Source

pub fn is_reset_mode(&self) -> bool

Checks if the value of the field is RESET_MODE

Source

pub fn is_gated_mode(&self) -> bool

Checks if the value of the field is GATED_MODE

Source

pub fn is_trigger_mode(&self) -> bool

Checks if the value of the field is TRIGGER_MODE

Source

pub fn is_ext_clock_mode(&self) -> bool

Checks if the value of the field is EXT_CLOCK_MODE

Source§

impl R<u32, Reg<u32, _SMCR>>

Source

pub fn etp(&self) -> ETP_R

Bit 15 - External trigger polarity

Source

pub fn ece(&self) -> ECE_R

Bit 14 - External clock enable

Source

pub fn etps(&self) -> ETPS_R

Bits 12:13 - External trigger prescaler

Source

pub fn etf(&self) -> ETF_R

Bits 8:11 - External trigger filter

Source

pub fn msm(&self) -> MSM_R

Bit 7 - Master/Slave mode

Source

pub fn ts(&self) -> TS_R

Bits 4:6 - Trigger selection

Source

pub fn sms(&self) -> SMS_R

Bits 0:2 - Slave mode selection

Source§

impl R<bool, TDE_A>

Source

pub fn variant(&self) -> TDE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, CC4DE_A>

Source

pub fn variant(&self) -> CC4DE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, UDE_A>

Source

pub fn variant(&self) -> UDE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, TIE_A>

Source

pub fn variant(&self) -> TIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, CC4IE_A>

Source

pub fn variant(&self) -> CC4IE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, UIE_A>

Source

pub fn variant(&self) -> UIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<u32, Reg<u32, _DIER>>

Source

pub fn tde(&self) -> TDE_R

Bit 14 - Trigger DMA request enable

Source

pub fn comde(&self) -> COMDE_R

Bit 13 - COM DMA request enable

Source

pub fn cc4de(&self) -> CC4DE_R

Bit 12 - Capture/Compare 4 DMA request enable

Source

pub fn cc3de(&self) -> CC3DE_R

Bit 11 - Capture/Compare 3 DMA request enable

Source

pub fn cc2de(&self) -> CC2DE_R

Bit 10 - Capture/Compare 2 DMA request enable

Source

pub fn cc1de(&self) -> CC1DE_R

Bit 9 - Capture/Compare 1 DMA request enable

Source

pub fn ude(&self) -> UDE_R

Bit 8 - Update DMA request enable

Source

pub fn tie(&self) -> TIE_R

Bit 6 - Trigger interrupt enable

Source

pub fn cc4ie(&self) -> CC4IE_R

Bit 4 - Capture/Compare 4 interrupt enable

Source

pub fn cc3ie(&self) -> CC3IE_R

Bit 3 - Capture/Compare 3 interrupt enable

Source

pub fn cc2ie(&self) -> CC2IE_R

Bit 2 - Capture/Compare 2 interrupt enable

Source

pub fn cc1ie(&self) -> CC1IE_R

Bit 1 - Capture/Compare 1 interrupt enable

Source

pub fn uie(&self) -> UIE_R

Bit 0 - Update interrupt enable

Source§

impl R<bool, CC4OF_A>

Source

pub fn variant(&self) -> Variant<bool, CC4OF_A>

Get enumerated values variant

Source

pub fn is_overcapture(&self) -> bool

Checks if the value of the field is OVERCAPTURE

Source§

impl R<bool, TIF_A>

Source

pub fn variant(&self) -> TIF_A

Get enumerated values variant

Source

pub fn is_no_trigger(&self) -> bool

Checks if the value of the field is NOTRIGGER

Source

pub fn is_trigger(&self) -> bool

Checks if the value of the field is TRIGGER

Source§

impl R<bool, CC4IF_A>

Source

pub fn variant(&self) -> Variant<bool, CC4IF_A>

Get enumerated values variant

Source

pub fn is_match_(&self) -> bool

Checks if the value of the field is MATCH

Source§

impl R<bool, UIF_A>

Source

pub fn variant(&self) -> UIF_A

Get enumerated values variant

Source

pub fn is_clear(&self) -> bool

Checks if the value of the field is CLEAR

Source

pub fn is_update_pending(&self) -> bool

Checks if the value of the field is UPDATEPENDING

Source§

impl R<u32, Reg<u32, _SR>>

Source

pub fn cc4of(&self) -> CC4OF_R

Bit 12 - Capture/Compare 4 overcapture flag

Source

pub fn cc3of(&self) -> CC3OF_R

Bit 11 - Capture/Compare 3 overcapture flag

Source

pub fn cc2of(&self) -> CC2OF_R

Bit 10 - Capture/compare 2 overcapture flag

Source

pub fn cc1of(&self) -> CC1OF_R

Bit 9 - Capture/Compare 1 overcapture flag

Source

pub fn tif(&self) -> TIF_R

Bit 6 - Trigger interrupt flag

Source

pub fn cc4if(&self) -> CC4IF_R

Bit 4 - Capture/Compare 4 interrupt flag

Source

pub fn cc3if(&self) -> CC3IF_R

Bit 3 - Capture/Compare 3 interrupt flag

Source

pub fn cc2if(&self) -> CC2IF_R

Bit 2 - Capture/Compare 2 interrupt flag

Source

pub fn cc1if(&self) -> CC1IF_R

Bit 1 - Capture/compare 1 interrupt flag

Source

pub fn uif(&self) -> UIF_R

Bit 0 - Update interrupt flag

Source§

impl R<u8, OC2M_A>

Source

pub fn variant(&self) -> Variant<u8, OC2M_A>

Get enumerated values variant

Source

pub fn is_frozen(&self) -> bool

Checks if the value of the field is FROZEN

Source

pub fn is_active_on_match(&self) -> bool

Checks if the value of the field is ACTIVEONMATCH

Source

pub fn is_inactive_on_match(&self) -> bool

Checks if the value of the field is INACTIVEONMATCH

Source

pub fn is_toggle(&self) -> bool

Checks if the value of the field is TOGGLE

Source

pub fn is_force_inactive(&self) -> bool

Checks if the value of the field is FORCEINACTIVE

Source

pub fn is_force_active(&self) -> bool

Checks if the value of the field is FORCEACTIVE

Source

pub fn is_pwm_mode1(&self) -> bool

Checks if the value of the field is PWMMODE1

Source

pub fn is_pwm_mode2(&self) -> bool

Checks if the value of the field is PWMMODE2

Source

pub fn is_opm_mode1(&self) -> bool

Checks if the value of the field is OPMMODE1

Source

pub fn is_opm_mode2(&self) -> bool

Checks if the value of the field is OPMMODE2

Source

pub fn is_combined_pwm_mode1(&self) -> bool

Checks if the value of the field is COMBINEDPWMMODE1

Source

pub fn is_combined_pwm_mode2(&self) -> bool

Checks if the value of the field is COMBINEDPWMMODE2

Source

pub fn is_asymmetric_pwm_mode1(&self) -> bool

Checks if the value of the field is ASYMMETRICPWMMODE1

Source

pub fn is_asymmetric_pwm_mode2(&self) -> bool

Checks if the value of the field is ASYMMETRICPWMMODE2

Source§

impl R<bool, OC2PE_A>

Source

pub fn variant(&self) -> OC2PE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<u8, CC2S_A>

Source

pub fn variant(&self) -> Variant<u8, CC2S_A>

Get enumerated values variant

Source

pub fn is_output(&self) -> bool

Checks if the value of the field is OUTPUT

Source§

impl R<bool, OC1PE_A>

Source

pub fn variant(&self) -> OC1PE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<u8, CC1S_A>

Source

pub fn variant(&self) -> Variant<u8, CC1S_A>

Get enumerated values variant

Source

pub fn is_output(&self) -> bool

Checks if the value of the field is OUTPUT

Source§

impl R<u32, Reg<u32, _CCMR1_OUTPUT>>

Source

pub fn oc2ce(&self) -> OC2CE_R

Bit 15 - Output compare 2 clear enable

Source

pub fn oc2m(&self) -> OC2M_R

Bits 12:14 - Output compare 2 mode

Source

pub fn oc2pe(&self) -> OC2PE_R

Bit 11 - Output compare 2 preload enable

Source

pub fn oc2fe(&self) -> OC2FE_R

Bit 10 - Output compare 2 fast enable

Source

pub fn cc2s(&self) -> CC2S_R

Bits 8:9 - Capture/Compare 2 selection

Source

pub fn oc1ce(&self) -> OC1CE_R

Bit 7 - Output compare 1 clear enable

Source

pub fn oc1m(&self) -> OC1M_R

Bits 4:6 - Output compare 1 mode

Source

pub fn oc1pe(&self) -> OC1PE_R

Bit 3 - Output compare 1 preload enable

Source

pub fn oc1fe(&self) -> OC1FE_R

Bit 2 - Output compare 1 fast enable

Source

pub fn cc1s(&self) -> CC1S_R

Bits 0:1 - Capture/Compare 1 selection

Source§

impl R<u8, CC2S_A>

Source

pub fn variant(&self) -> Variant<u8, CC2S_A>

Get enumerated values variant

Source

pub fn is_ti2(&self) -> bool

Checks if the value of the field is TI2

Source

pub fn is_ti1(&self) -> bool

Checks if the value of the field is TI1

Source

pub fn is_trc(&self) -> bool

Checks if the value of the field is TRC

Source§

impl R<u8, IC1F_A>

Source

pub fn variant(&self) -> IC1F_A

Get enumerated values variant

Source

pub fn is_no_filter(&self) -> bool

Checks if the value of the field is NOFILTER

Source

pub fn is_fck_int_n2(&self) -> bool

Checks if the value of the field is FCK_INT_N2

Source

pub fn is_fck_int_n4(&self) -> bool

Checks if the value of the field is FCK_INT_N4

Source

pub fn is_fck_int_n8(&self) -> bool

Checks if the value of the field is FCK_INT_N8

Source

pub fn is_fdts_div2_n6(&self) -> bool

Checks if the value of the field is FDTS_DIV2_N6

Source

pub fn is_fdts_div2_n8(&self) -> bool

Checks if the value of the field is FDTS_DIV2_N8

Source

pub fn is_fdts_div4_n6(&self) -> bool

Checks if the value of the field is FDTS_DIV4_N6

Source

pub fn is_fdts_div4_n8(&self) -> bool

Checks if the value of the field is FDTS_DIV4_N8

Source

pub fn is_fdts_div8_n6(&self) -> bool

Checks if the value of the field is FDTS_DIV8_N6

Source

pub fn is_fdts_div8_n8(&self) -> bool

Checks if the value of the field is FDTS_DIV8_N8

Source

pub fn is_fdts_div16_n5(&self) -> bool

Checks if the value of the field is FDTS_DIV16_N5

Source

pub fn is_fdts_div16_n6(&self) -> bool

Checks if the value of the field is FDTS_DIV16_N6

Source

pub fn is_fdts_div16_n8(&self) -> bool

Checks if the value of the field is FDTS_DIV16_N8

Source

pub fn is_fdts_div32_n5(&self) -> bool

Checks if the value of the field is FDTS_DIV32_N5

Source

pub fn is_fdts_div32_n6(&self) -> bool

Checks if the value of the field is FDTS_DIV32_N6

Source

pub fn is_fdts_div32_n8(&self) -> bool

Checks if the value of the field is FDTS_DIV32_N8

Source§

impl R<u8, CC1S_A>

Source

pub fn variant(&self) -> Variant<u8, CC1S_A>

Get enumerated values variant

Source

pub fn is_ti1(&self) -> bool

Checks if the value of the field is TI1

Source

pub fn is_ti2(&self) -> bool

Checks if the value of the field is TI2

Source

pub fn is_trc(&self) -> bool

Checks if the value of the field is TRC

Source§

impl R<u32, Reg<u32, _CCMR1_INPUT>>

Source

pub fn ic2f(&self) -> IC2F_R

Bits 12:15 - Input capture 2 filter

Source

pub fn ic2psc(&self) -> IC2PSC_R

Bits 10:11 - Input capture 2 prescaler

Source

pub fn cc2s(&self) -> CC2S_R

Bits 8:9 - Capture/compare 2 selection

Source

pub fn ic1f(&self) -> IC1F_R

Bits 4:7 - Input capture 1 filter

Source

pub fn ic1psc(&self) -> IC1PSC_R

Bits 2:3 - Input capture 1 prescaler

Source

pub fn cc1s(&self) -> CC1S_R

Bits 0:1 - Capture/Compare 1 selection

Source§

impl R<u8, OC4M_A>

Source

pub fn variant(&self) -> Variant<u8, OC4M_A>

Get enumerated values variant

Source

pub fn is_frozen(&self) -> bool

Checks if the value of the field is FROZEN

Source

pub fn is_active_on_match(&self) -> bool

Checks if the value of the field is ACTIVEONMATCH

Source

pub fn is_inactive_on_match(&self) -> bool

Checks if the value of the field is INACTIVEONMATCH

Source

pub fn is_toggle(&self) -> bool

Checks if the value of the field is TOGGLE

Source

pub fn is_force_inactive(&self) -> bool

Checks if the value of the field is FORCEINACTIVE

Source

pub fn is_force_active(&self) -> bool

Checks if the value of the field is FORCEACTIVE

Source

pub fn is_pwm_mode1(&self) -> bool

Checks if the value of the field is PWMMODE1

Source

pub fn is_pwm_mode2(&self) -> bool

Checks if the value of the field is PWMMODE2

Source

pub fn is_opm_mode1(&self) -> bool

Checks if the value of the field is OPMMODE1

Source

pub fn is_opm_mode2(&self) -> bool

Checks if the value of the field is OPMMODE2

Source

pub fn is_combined_pwm_mode1(&self) -> bool

Checks if the value of the field is COMBINEDPWMMODE1

Source

pub fn is_combined_pwm_mode2(&self) -> bool

Checks if the value of the field is COMBINEDPWMMODE2

Source

pub fn is_asymmetric_pwm_mode1(&self) -> bool

Checks if the value of the field is ASYMMETRICPWMMODE1

Source

pub fn is_asymmetric_pwm_mode2(&self) -> bool

Checks if the value of the field is ASYMMETRICPWMMODE2

Source§

impl R<bool, OC4PE_A>

Source

pub fn variant(&self) -> OC4PE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<u8, CC4S_A>

Source

pub fn variant(&self) -> Variant<u8, CC4S_A>

Get enumerated values variant

Source

pub fn is_output(&self) -> bool

Checks if the value of the field is OUTPUT

Source§

impl R<bool, OC3PE_A>

Source

pub fn variant(&self) -> OC3PE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<u8, CC3S_A>

Source

pub fn variant(&self) -> Variant<u8, CC3S_A>

Get enumerated values variant

Source

pub fn is_output(&self) -> bool

Checks if the value of the field is OUTPUT

Source§

impl R<u32, Reg<u32, _CCMR2_OUTPUT>>

Source

pub fn oc4ce(&self) -> OC4CE_R

Bit 15 - Output compare 4 clear enable

Source

pub fn oc4m(&self) -> OC4M_R

Bits 12:14 - Output compare 4 mode

Source

pub fn oc4pe(&self) -> OC4PE_R

Bit 11 - Output compare 4 preload enable

Source

pub fn oc4fe(&self) -> OC4FE_R

Bit 10 - Output compare 4 fast enable

Source

pub fn cc4s(&self) -> CC4S_R

Bits 8:9 - Capture/Compare 4 selection

Source

pub fn oc3ce(&self) -> OC3CE_R

Bit 7 - Output compare 3 clear enable

Source

pub fn oc3m(&self) -> OC3M_R

Bits 4:6 - Output compare 3 mode

Source

pub fn oc3pe(&self) -> OC3PE_R

Bit 3 - Output compare 3 preload enable

Source

pub fn oc3fe(&self) -> OC3FE_R

Bit 2 - Output compare 3 fast enable

Source

pub fn cc3s(&self) -> CC3S_R

Bits 0:1 - Capture/Compare 3 selection

Source§

impl R<u8, CC4S_A>

Source

pub fn variant(&self) -> Variant<u8, CC4S_A>

Get enumerated values variant

Source

pub fn is_ti4(&self) -> bool

Checks if the value of the field is TI4

Source

pub fn is_ti3(&self) -> bool

Checks if the value of the field is TI3

Source

pub fn is_trc(&self) -> bool

Checks if the value of the field is TRC

Source§

impl R<u8, CC3S_A>

Source

pub fn variant(&self) -> Variant<u8, CC3S_A>

Get enumerated values variant

Source

pub fn is_ti3(&self) -> bool

Checks if the value of the field is TI3

Source

pub fn is_ti4(&self) -> bool

Checks if the value of the field is TI4

Source

pub fn is_trc(&self) -> bool

Checks if the value of the field is TRC

Source§

impl R<u32, Reg<u32, _CCMR2_INPUT>>

Source

pub fn ic4f(&self) -> IC4F_R

Bits 12:15 - Input capture 4 filter

Source

pub fn ic4psc(&self) -> IC4PSC_R

Bits 10:11 - Input capture 4 prescaler

Source

pub fn cc4s(&self) -> CC4S_R

Bits 8:9 - Capture/Compare 4 selection

Source

pub fn ic3f(&self) -> IC3F_R

Bits 4:7 - Input capture 3 filter

Source

pub fn ic3psc(&self) -> IC3PSC_R

Bits 2:3 - Input capture 3 prescaler

Source

pub fn cc3s(&self) -> CC3S_R

Bits 0:1 - Capture/Compare 3 selection

Source§

impl R<u32, Reg<u32, _CCER>>

Source

pub fn cc4np(&self) -> CC4NP_R

Bit 15 - Capture/Compare 4 output Polarity

Source

pub fn cc4p(&self) -> CC4P_R

Bit 13 - Capture/Compare 3 output Polarity

Source

pub fn cc4e(&self) -> CC4E_R

Bit 12 - Capture/Compare 4 output enable

Source

pub fn cc3np(&self) -> CC3NP_R

Bit 11 - Capture/Compare 3 output Polarity

Source

pub fn cc3p(&self) -> CC3P_R

Bit 9 - Capture/Compare 3 output Polarity

Source

pub fn cc3e(&self) -> CC3E_R

Bit 8 - Capture/Compare 3 output enable

Source

pub fn cc2np(&self) -> CC2NP_R

Bit 7 - Capture/Compare 2 output Polarity

Source

pub fn cc2p(&self) -> CC2P_R

Bit 5 - Capture/Compare 2 output Polarity

Source

pub fn cc2e(&self) -> CC2E_R

Bit 4 - Capture/Compare 2 output enable

Source

pub fn cc1np(&self) -> CC1NP_R

Bit 3 - Capture/Compare 1 output Polarity

Source

pub fn cc1p(&self) -> CC1P_R

Bit 1 - Capture/Compare 1 output Polarity

Source

pub fn cc1e(&self) -> CC1E_R

Bit 0 - Capture/Compare 1 output enable

Source§

impl R<u32, Reg<u32, _CNT>>

Source

pub fn cnt_h(&self) -> CNT_H_R

Bits 16:31 - High counter value (TIM2 only)

Source

pub fn cnt(&self) -> CNT_R

Bits 0:15 - Counter value

Source§

impl R<u32, Reg<u32, _PSC>>

Source

pub fn psc(&self) -> PSC_R

Bits 0:15 - Prescaler value

Source§

impl R<u32, Reg<u32, _ARR>>

Source

pub fn arr_h(&self) -> ARR_H_R

Bits 16:31 - High Auto-reload value (TIM2 only)

Source

pub fn arr(&self) -> ARR_R

Bits 0:15 - Auto-reload value

Source§

impl R<u32, Reg<u32, _CCR>>

Source

pub fn ccr1_h(&self) -> CCR1_H_R

Bits 16:31 - High Capture/Compare 1 value (TIM2 only)

Source

pub fn ccr(&self) -> CCR_R

Bits 0:15 - Capture/Compare 1 value

Source§

impl R<u32, Reg<u32, _DCR>>

Source

pub fn dbl(&self) -> DBL_R

Bits 8:12 - DMA burst length

Source

pub fn dba(&self) -> DBA_R

Bits 0:4 - DMA base address

Source§

impl R<u32, Reg<u32, _DMAR>>

Source

pub fn dmab(&self) -> DMAB_R

Bits 0:15 - DMA register for burst accesses

Source§

impl R<u32, Reg<u32, _OR>>

Source

pub fn etr_rmp(&self) -> ETR_RMP_R

Bits 0:2 - Timer2 ETR remap

Source

pub fn ti4_rmp(&self) -> TI4_RMP_R

Bits 3:4 - Internal trigger

Source§

impl R<u8, CKD_A>

Source

pub fn variant(&self) -> Variant<u8, CKD_A>

Get enumerated values variant

Source

pub fn is_div1(&self) -> bool

Checks if the value of the field is DIV1

Source

pub fn is_div2(&self) -> bool

Checks if the value of the field is DIV2

Source

pub fn is_div4(&self) -> bool

Checks if the value of the field is DIV4

Source§

impl R<bool, ARPE_A>

Source

pub fn variant(&self) -> ARPE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<u8, CMS_A>

Source

pub fn variant(&self) -> CMS_A

Get enumerated values variant

Source

pub fn is_edge_aligned(&self) -> bool

Checks if the value of the field is EDGEALIGNED

Source

pub fn is_center_aligned1(&self) -> bool

Checks if the value of the field is CENTERALIGNED1

Source

pub fn is_center_aligned2(&self) -> bool

Checks if the value of the field is CENTERALIGNED2

Source

pub fn is_center_aligned3(&self) -> bool

Checks if the value of the field is CENTERALIGNED3

Source§

impl R<bool, DIR_A>

Source

pub fn variant(&self) -> DIR_A

Get enumerated values variant

Source

pub fn is_up(&self) -> bool

Checks if the value of the field is UP

Source

pub fn is_down(&self) -> bool

Checks if the value of the field is DOWN

Source§

impl R<bool, OPM_A>

Source

pub fn variant(&self) -> OPM_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, URS_A>

Source

pub fn variant(&self) -> URS_A

Get enumerated values variant

Source

pub fn is_any_event(&self) -> bool

Checks if the value of the field is ANYEVENT

Source

pub fn is_counter_only(&self) -> bool

Checks if the value of the field is COUNTERONLY

Source§

impl R<bool, UDIS_A>

Source

pub fn variant(&self) -> UDIS_A

Get enumerated values variant

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source§

impl R<bool, CEN_A>

Source

pub fn variant(&self) -> CEN_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<u32, Reg<u32, _CR1>>

Source

pub fn ckd(&self) -> CKD_R

Bits 8:9 - Clock division

Source

pub fn arpe(&self) -> ARPE_R

Bit 7 - Auto-reload preload enable

Source

pub fn cms(&self) -> CMS_R

Bits 5:6 - Center-aligned mode selection

Source

pub fn dir(&self) -> DIR_R

Bit 4 - Direction

Source

pub fn opm(&self) -> OPM_R

Bit 3 - One-pulse mode

Source

pub fn urs(&self) -> URS_R

Bit 2 - Update request source

Source

pub fn udis(&self) -> UDIS_R

Bit 1 - Update disable

Source

pub fn cen(&self) -> CEN_R

Bit 0 - Counter enable

Source§

impl R<bool, TI1S_A>

Source

pub fn variant(&self) -> TI1S_A

Get enumerated values variant

Source

pub fn is_normal(&self) -> bool

Checks if the value of the field is NORMAL

Source

pub fn is_xor(&self) -> bool

Checks if the value of the field is XOR

Source§

impl R<u8, MMS_A>

Source

pub fn variant(&self) -> MMS_A

Get enumerated values variant

Source

pub fn is_reset(&self) -> bool

Checks if the value of the field is RESET

Source

pub fn is_enable(&self) -> bool

Checks if the value of the field is ENABLE

Source

pub fn is_update(&self) -> bool

Checks if the value of the field is UPDATE

Source

pub fn is_compare_pulse(&self) -> bool

Checks if the value of the field is COMPAREPULSE

Source

pub fn is_compare_oc1(&self) -> bool

Checks if the value of the field is COMPAREOC1

Source

pub fn is_compare_oc2(&self) -> bool

Checks if the value of the field is COMPAREOC2

Source

pub fn is_compare_oc3(&self) -> bool

Checks if the value of the field is COMPAREOC3

Source

pub fn is_compare_oc4(&self) -> bool

Checks if the value of the field is COMPAREOC4

Source§

impl R<bool, CCDS_A>

Source

pub fn variant(&self) -> CCDS_A

Get enumerated values variant

Source

pub fn is_on_compare(&self) -> bool

Checks if the value of the field is ONCOMPARE

Source

pub fn is_on_update(&self) -> bool

Checks if the value of the field is ONUPDATE

Source§

impl R<u32, Reg<u32, _CR2>>

Source

pub fn ti1s(&self) -> TI1S_R

Bit 7 - TI1 selection

Source

pub fn mms(&self) -> MMS_R

Bits 4:6 - Master mode selection

Source

pub fn ccds(&self) -> CCDS_R

Bit 3 - Capture/compare DMA selection

Source§

impl R<bool, ETP_A>

Source

pub fn variant(&self) -> ETP_A

Get enumerated values variant

Source

pub fn is_not_inverted(&self) -> bool

Checks if the value of the field is NOTINVERTED

Source

pub fn is_inverted(&self) -> bool

Checks if the value of the field is INVERTED

Source§

impl R<bool, ECE_A>

Source

pub fn variant(&self) -> ECE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<u8, ETPS_A>

Source

pub fn variant(&self) -> ETPS_A

Get enumerated values variant

Source

pub fn is_div1(&self) -> bool

Checks if the value of the field is DIV1

Source

pub fn is_div2(&self) -> bool

Checks if the value of the field is DIV2

Source

pub fn is_div4(&self) -> bool

Checks if the value of the field is DIV4

Source

pub fn is_div8(&self) -> bool

Checks if the value of the field is DIV8

Source§

impl R<u8, ETF_A>

Source

pub fn variant(&self) -> ETF_A

Get enumerated values variant

Source

pub fn is_no_filter(&self) -> bool

Checks if the value of the field is NOFILTER

Source

pub fn is_fck_int_n2(&self) -> bool

Checks if the value of the field is FCK_INT_N2

Source

pub fn is_fck_int_n4(&self) -> bool

Checks if the value of the field is FCK_INT_N4

Source

pub fn is_fck_int_n8(&self) -> bool

Checks if the value of the field is FCK_INT_N8

Source

pub fn is_fdts_div2_n6(&self) -> bool

Checks if the value of the field is FDTS_DIV2_N6

Source

pub fn is_fdts_div2_n8(&self) -> bool

Checks if the value of the field is FDTS_DIV2_N8

Source

pub fn is_fdts_div4_n6(&self) -> bool

Checks if the value of the field is FDTS_DIV4_N6

Source

pub fn is_fdts_div4_n8(&self) -> bool

Checks if the value of the field is FDTS_DIV4_N8

Source

pub fn is_fdts_div8_n6(&self) -> bool

Checks if the value of the field is FDTS_DIV8_N6

Source

pub fn is_fdts_div8_n8(&self) -> bool

Checks if the value of the field is FDTS_DIV8_N8

Source

pub fn is_fdts_div16_n5(&self) -> bool

Checks if the value of the field is FDTS_DIV16_N5

Source

pub fn is_fdts_div16_n6(&self) -> bool

Checks if the value of the field is FDTS_DIV16_N6

Source

pub fn is_fdts_div16_n8(&self) -> bool

Checks if the value of the field is FDTS_DIV16_N8

Source

pub fn is_fdts_div32_n5(&self) -> bool

Checks if the value of the field is FDTS_DIV32_N5

Source

pub fn is_fdts_div32_n6(&self) -> bool

Checks if the value of the field is FDTS_DIV32_N6

Source

pub fn is_fdts_div32_n8(&self) -> bool

Checks if the value of the field is FDTS_DIV32_N8

Source§

impl R<bool, MSM_A>

Source

pub fn variant(&self) -> MSM_A

Get enumerated values variant

Source

pub fn is_no_sync(&self) -> bool

Checks if the value of the field is NOSYNC

Source

pub fn is_sync(&self) -> bool

Checks if the value of the field is SYNC

Source§

impl R<u8, TS_A>

Source

pub fn variant(&self) -> Variant<u8, TS_A>

Get enumerated values variant

Source

pub fn is_itr0(&self) -> bool

Checks if the value of the field is ITR0

Source

pub fn is_itr1(&self) -> bool

Checks if the value of the field is ITR1

Source

pub fn is_itr2(&self) -> bool

Checks if the value of the field is ITR2

Source

pub fn is_ti1f_ed(&self) -> bool

Checks if the value of the field is TI1F_ED

Source

pub fn is_ti1fp1(&self) -> bool

Checks if the value of the field is TI1FP1

Source

pub fn is_ti2fp2(&self) -> bool

Checks if the value of the field is TI2FP2

Source

pub fn is_etrf(&self) -> bool

Checks if the value of the field is ETRF

Source§

impl R<u8, SMS_A>

Source

pub fn variant(&self) -> SMS_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_encoder_mode_1(&self) -> bool

Checks if the value of the field is ENCODER_MODE_1

Source

pub fn is_encoder_mode_2(&self) -> bool

Checks if the value of the field is ENCODER_MODE_2

Source

pub fn is_encoder_mode_3(&self) -> bool

Checks if the value of the field is ENCODER_MODE_3

Source

pub fn is_reset_mode(&self) -> bool

Checks if the value of the field is RESET_MODE

Source

pub fn is_gated_mode(&self) -> bool

Checks if the value of the field is GATED_MODE

Source

pub fn is_trigger_mode(&self) -> bool

Checks if the value of the field is TRIGGER_MODE

Source

pub fn is_ext_clock_mode(&self) -> bool

Checks if the value of the field is EXT_CLOCK_MODE

Source§

impl R<u32, Reg<u32, _SMCR>>

Source

pub fn etp(&self) -> ETP_R

Bit 15 - External trigger polarity

Source

pub fn ece(&self) -> ECE_R

Bit 14 - External clock enable

Source

pub fn etps(&self) -> ETPS_R

Bits 12:13 - External trigger prescaler

Source

pub fn etf(&self) -> ETF_R

Bits 8:11 - External trigger filter

Source

pub fn msm(&self) -> MSM_R

Bit 7 - Master/Slave mode

Source

pub fn ts(&self) -> TS_R

Bits 4:6 - Trigger selection

Source

pub fn sms(&self) -> SMS_R

Bits 0:2 - Slave mode selection

Source§

impl R<bool, TDE_A>

Source

pub fn variant(&self) -> TDE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, CC4DE_A>

Source

pub fn variant(&self) -> CC4DE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, UDE_A>

Source

pub fn variant(&self) -> UDE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, TIE_A>

Source

pub fn variant(&self) -> TIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, CC4IE_A>

Source

pub fn variant(&self) -> CC4IE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<bool, UIE_A>

Source

pub fn variant(&self) -> UIE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<u32, Reg<u32, _DIER>>

Source

pub fn tde(&self) -> TDE_R

Bit 14 - Trigger DMA request enable

Source

pub fn comde(&self) -> COMDE_R

Bit 13 - COM DMA request enable

Source

pub fn cc4de(&self) -> CC4DE_R

Bit 12 - Capture/Compare 4 DMA request enable

Source

pub fn cc3de(&self) -> CC3DE_R

Bit 11 - Capture/Compare 3 DMA request enable

Source

pub fn cc2de(&self) -> CC2DE_R

Bit 10 - Capture/Compare 2 DMA request enable

Source

pub fn cc1de(&self) -> CC1DE_R

Bit 9 - Capture/Compare 1 DMA request enable

Source

pub fn ude(&self) -> UDE_R

Bit 8 - Update DMA request enable

Source

pub fn tie(&self) -> TIE_R

Bit 6 - Trigger interrupt enable

Source

pub fn cc4ie(&self) -> CC4IE_R

Bit 4 - Capture/Compare 4 interrupt enable

Source

pub fn cc3ie(&self) -> CC3IE_R

Bit 3 - Capture/Compare 3 interrupt enable

Source

pub fn cc2ie(&self) -> CC2IE_R

Bit 2 - Capture/Compare 2 interrupt enable

Source

pub fn cc1ie(&self) -> CC1IE_R

Bit 1 - Capture/Compare 1 interrupt enable

Source

pub fn uie(&self) -> UIE_R

Bit 0 - Update interrupt enable

Source§

impl R<bool, CC4OF_A>

Source

pub fn variant(&self) -> Variant<bool, CC4OF_A>

Get enumerated values variant

Source

pub fn is_overcapture(&self) -> bool

Checks if the value of the field is OVERCAPTURE

Source§

impl R<bool, TIF_A>

Source

pub fn variant(&self) -> TIF_A

Get enumerated values variant

Source

pub fn is_no_trigger(&self) -> bool

Checks if the value of the field is NOTRIGGER

Source

pub fn is_trigger(&self) -> bool

Checks if the value of the field is TRIGGER

Source§

impl R<bool, CC4IF_A>

Source

pub fn variant(&self) -> Variant<bool, CC4IF_A>

Get enumerated values variant

Source

pub fn is_match_(&self) -> bool

Checks if the value of the field is MATCH

Source§

impl R<bool, UIF_A>

Source

pub fn variant(&self) -> UIF_A

Get enumerated values variant

Source

pub fn is_clear(&self) -> bool

Checks if the value of the field is CLEAR

Source

pub fn is_update_pending(&self) -> bool

Checks if the value of the field is UPDATEPENDING

Source§

impl R<u32, Reg<u32, _SR>>

Source

pub fn cc4of(&self) -> CC4OF_R

Bit 12 - Capture/Compare 4 overcapture flag

Source

pub fn cc3of(&self) -> CC3OF_R

Bit 11 - Capture/Compare 3 overcapture flag

Source

pub fn cc2of(&self) -> CC2OF_R

Bit 10 - Capture/compare 2 overcapture flag

Source

pub fn cc1of(&self) -> CC1OF_R

Bit 9 - Capture/Compare 1 overcapture flag

Source

pub fn tif(&self) -> TIF_R

Bit 6 - Trigger interrupt flag

Source

pub fn cc4if(&self) -> CC4IF_R

Bit 4 - Capture/Compare 4 interrupt flag

Source

pub fn cc3if(&self) -> CC3IF_R

Bit 3 - Capture/Compare 3 interrupt flag

Source

pub fn cc2if(&self) -> CC2IF_R

Bit 2 - Capture/Compare 2 interrupt flag

Source

pub fn cc1if(&self) -> CC1IF_R

Bit 1 - Capture/compare 1 interrupt flag

Source

pub fn uif(&self) -> UIF_R

Bit 0 - Update interrupt flag

Source§

impl R<u8, OC2M_A>

Source

pub fn variant(&self) -> Variant<u8, OC2M_A>

Get enumerated values variant

Source

pub fn is_frozen(&self) -> bool

Checks if the value of the field is FROZEN

Source

pub fn is_active_on_match(&self) -> bool

Checks if the value of the field is ACTIVEONMATCH

Source

pub fn is_inactive_on_match(&self) -> bool

Checks if the value of the field is INACTIVEONMATCH

Source

pub fn is_toggle(&self) -> bool

Checks if the value of the field is TOGGLE

Source

pub fn is_force_inactive(&self) -> bool

Checks if the value of the field is FORCEINACTIVE

Source

pub fn is_force_active(&self) -> bool

Checks if the value of the field is FORCEACTIVE

Source

pub fn is_pwm_mode1(&self) -> bool

Checks if the value of the field is PWMMODE1

Source

pub fn is_pwm_mode2(&self) -> bool

Checks if the value of the field is PWMMODE2

Source

pub fn is_opm_mode1(&self) -> bool

Checks if the value of the field is OPMMODE1

Source

pub fn is_opm_mode2(&self) -> bool

Checks if the value of the field is OPMMODE2

Source

pub fn is_combined_pwm_mode1(&self) -> bool

Checks if the value of the field is COMBINEDPWMMODE1

Source

pub fn is_combined_pwm_mode2(&self) -> bool

Checks if the value of the field is COMBINEDPWMMODE2

Source

pub fn is_asymmetric_pwm_mode1(&self) -> bool

Checks if the value of the field is ASYMMETRICPWMMODE1

Source

pub fn is_asymmetric_pwm_mode2(&self) -> bool

Checks if the value of the field is ASYMMETRICPWMMODE2

Source§

impl R<bool, OC2PE_A>

Source

pub fn variant(&self) -> OC2PE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<u8, CC2S_A>

Source

pub fn variant(&self) -> Variant<u8, CC2S_A>

Get enumerated values variant

Source

pub fn is_output(&self) -> bool

Checks if the value of the field is OUTPUT

Source§

impl R<bool, OC1PE_A>

Source

pub fn variant(&self) -> OC1PE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<u8, CC1S_A>

Source

pub fn variant(&self) -> Variant<u8, CC1S_A>

Get enumerated values variant

Source

pub fn is_output(&self) -> bool

Checks if the value of the field is OUTPUT

Source§

impl R<u32, Reg<u32, _CCMR1_OUTPUT>>

Source

pub fn oc2ce(&self) -> OC2CE_R

Bit 15 - Output compare 2 clear enable

Source

pub fn oc2m(&self) -> OC2M_R

Bits 12:14 - Output compare 2 mode

Source

pub fn oc2pe(&self) -> OC2PE_R

Bit 11 - Output compare 2 preload enable

Source

pub fn oc2fe(&self) -> OC2FE_R

Bit 10 - Output compare 2 fast enable

Source

pub fn cc2s(&self) -> CC2S_R

Bits 8:9 - Capture/Compare 2 selection

Source

pub fn oc1ce(&self) -> OC1CE_R

Bit 7 - Output compare 1 clear enable

Source

pub fn oc1m(&self) -> OC1M_R

Bits 4:6 - Output compare 1 mode

Source

pub fn oc1pe(&self) -> OC1PE_R

Bit 3 - Output compare 1 preload enable

Source

pub fn oc1fe(&self) -> OC1FE_R

Bit 2 - Output compare 1 fast enable

Source

pub fn cc1s(&self) -> CC1S_R

Bits 0:1 - Capture/Compare 1 selection

Source§

impl R<u8, CC2S_A>

Source

pub fn variant(&self) -> Variant<u8, CC2S_A>

Get enumerated values variant

Source

pub fn is_ti2(&self) -> bool

Checks if the value of the field is TI2

Source

pub fn is_ti1(&self) -> bool

Checks if the value of the field is TI1

Source

pub fn is_trc(&self) -> bool

Checks if the value of the field is TRC

Source§

impl R<u8, IC1F_A>

Source

pub fn variant(&self) -> IC1F_A

Get enumerated values variant

Source

pub fn is_no_filter(&self) -> bool

Checks if the value of the field is NOFILTER

Source

pub fn is_fck_int_n2(&self) -> bool

Checks if the value of the field is FCK_INT_N2

Source

pub fn is_fck_int_n4(&self) -> bool

Checks if the value of the field is FCK_INT_N4

Source

pub fn is_fck_int_n8(&self) -> bool

Checks if the value of the field is FCK_INT_N8

Source

pub fn is_fdts_div2_n6(&self) -> bool

Checks if the value of the field is FDTS_DIV2_N6

Source

pub fn is_fdts_div2_n8(&self) -> bool

Checks if the value of the field is FDTS_DIV2_N8

Source

pub fn is_fdts_div4_n6(&self) -> bool

Checks if the value of the field is FDTS_DIV4_N6

Source

pub fn is_fdts_div4_n8(&self) -> bool

Checks if the value of the field is FDTS_DIV4_N8

Source

pub fn is_fdts_div8_n6(&self) -> bool

Checks if the value of the field is FDTS_DIV8_N6

Source

pub fn is_fdts_div8_n8(&self) -> bool

Checks if the value of the field is FDTS_DIV8_N8

Source

pub fn is_fdts_div16_n5(&self) -> bool

Checks if the value of the field is FDTS_DIV16_N5

Source

pub fn is_fdts_div16_n6(&self) -> bool

Checks if the value of the field is FDTS_DIV16_N6

Source

pub fn is_fdts_div16_n8(&self) -> bool

Checks if the value of the field is FDTS_DIV16_N8

Source

pub fn is_fdts_div32_n5(&self) -> bool

Checks if the value of the field is FDTS_DIV32_N5

Source

pub fn is_fdts_div32_n6(&self) -> bool

Checks if the value of the field is FDTS_DIV32_N6

Source

pub fn is_fdts_div32_n8(&self) -> bool

Checks if the value of the field is FDTS_DIV32_N8

Source§

impl R<u8, CC1S_A>

Source

pub fn variant(&self) -> Variant<u8, CC1S_A>

Get enumerated values variant

Source

pub fn is_ti1(&self) -> bool

Checks if the value of the field is TI1

Source

pub fn is_ti2(&self) -> bool

Checks if the value of the field is TI2

Source

pub fn is_trc(&self) -> bool

Checks if the value of the field is TRC

Source§

impl R<u32, Reg<u32, _CCMR1_INPUT>>

Source

pub fn ic2f(&self) -> IC2F_R

Bits 12:15 - Input capture 2 filter

Source

pub fn ic2psc(&self) -> IC2PSC_R

Bits 10:11 - Input capture 2 prescaler

Source

pub fn cc2s(&self) -> CC2S_R

Bits 8:9 - Capture/compare 2 selection

Source

pub fn ic1f(&self) -> IC1F_R

Bits 4:7 - Input capture 1 filter

Source

pub fn ic1psc(&self) -> IC1PSC_R

Bits 2:3 - Input capture 1 prescaler

Source

pub fn cc1s(&self) -> CC1S_R

Bits 0:1 - Capture/Compare 1 selection

Source§

impl R<u8, OC4M_A>

Source

pub fn variant(&self) -> Variant<u8, OC4M_A>

Get enumerated values variant

Source

pub fn is_frozen(&self) -> bool

Checks if the value of the field is FROZEN

Source

pub fn is_active_on_match(&self) -> bool

Checks if the value of the field is ACTIVEONMATCH

Source

pub fn is_inactive_on_match(&self) -> bool

Checks if the value of the field is INACTIVEONMATCH

Source

pub fn is_toggle(&self) -> bool

Checks if the value of the field is TOGGLE

Source

pub fn is_force_inactive(&self) -> bool

Checks if the value of the field is FORCEINACTIVE

Source

pub fn is_force_active(&self) -> bool

Checks if the value of the field is FORCEACTIVE

Source

pub fn is_pwm_mode1(&self) -> bool

Checks if the value of the field is PWMMODE1

Source

pub fn is_pwm_mode2(&self) -> bool

Checks if the value of the field is PWMMODE2

Source

pub fn is_opm_mode1(&self) -> bool

Checks if the value of the field is OPMMODE1

Source

pub fn is_opm_mode2(&self) -> bool

Checks if the value of the field is OPMMODE2

Source

pub fn is_combined_pwm_mode1(&self) -> bool

Checks if the value of the field is COMBINEDPWMMODE1

Source

pub fn is_combined_pwm_mode2(&self) -> bool

Checks if the value of the field is COMBINEDPWMMODE2

Source

pub fn is_asymmetric_pwm_mode1(&self) -> bool

Checks if the value of the field is ASYMMETRICPWMMODE1

Source

pub fn is_asymmetric_pwm_mode2(&self) -> bool

Checks if the value of the field is ASYMMETRICPWMMODE2

Source§

impl R<bool, OC4PE_A>

Source

pub fn variant(&self) -> OC4PE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<u8, CC4S_A>

Source

pub fn variant(&self) -> Variant<u8, CC4S_A>

Get enumerated values variant

Source

pub fn is_output(&self) -> bool

Checks if the value of the field is OUTPUT

Source§

impl R<bool, OC3PE_A>

Source

pub fn variant(&self) -> OC3PE_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED

Source§

impl R<u8, CC3S_A>

Source

pub fn variant(&self) -> Variant<u8, CC3S_A>

Get enumerated values variant

Source

pub fn is_output(&self) -> bool

Checks if the value of the field is OUTPUT

Source§

impl R<u32, Reg<u32, _CCMR2_OUTPUT>>

Source

pub fn oc4ce(&self) -> OC4CE_R

Bit 15 - Output compare 4 clear enable

Source

pub fn oc4m(&self) -> OC4M_R

Bits 12:14 - Output compare 4 mode

Source

pub fn oc4pe(&self) -> OC4PE_R

Bit 11 - Output compare 4 preload enable

Source

pub fn oc4fe(&self) -> OC4FE_R

Bit 10 - Output compare 4 fast enable

Source

pub fn cc4s(&self) -> CC4S_R

Bits 8:9 - Capture/Compare 4 selection

Source

pub fn oc3ce(&self) -> OC3CE_R

Bit 7 - Output compare 3 clear enable

Source

pub fn oc3m(&self) -> OC3M_R

Bits 4:6 - Output compare 3 mode

Source

pub fn oc3pe(&self) -> OC3PE_R

Bit 3 - Output compare 3 preload enable

Source

pub fn oc3fe(&self) -> OC3FE_R

Bit 2 - Output compare 3 fast enable

Source

pub fn cc3s(&self) -> CC3S_R

Bits 0:1 - Capture/Compare 3 selection

Source§

impl R<u8, CC4S_A>

Source

pub fn variant(&self) -> Variant<u8, CC4S_A>

Get enumerated values variant

Source

pub fn is_ti4(&self) -> bool

Checks if the value of the field is TI4

Source

pub fn is_ti3(&self) -> bool

Checks if the value of the field is TI3

Source

pub fn is_trc(&self) -> bool

Checks if the value of the field is TRC

Source§

impl R<u8, CC3S_A>

Source

pub fn variant(&self) -> Variant<u8, CC3S_A>

Get enumerated values variant

Source

pub fn is_ti3(&self) -> bool

Checks if the value of the field is TI3

Source

pub fn is_ti4(&self) -> bool

Checks if the value of the field is TI4

Source

pub fn is_trc(&self) -> bool

Checks if the value of the field is TRC

Source§

impl R<u32, Reg<u32, _CCMR2_INPUT>>

Source

pub fn ic4f(&self) -> IC4F_R

Bits 12:15 - Input capture 4 filter

Source

pub fn ic4psc(&self) -> IC4PSC_R

Bits 10:11 - Input capture 4 prescaler

Source

pub fn cc4s(&self) -> CC4S_R

Bits 8:9 - Capture/Compare 4 selection

Source

pub fn ic3f(&self) -> IC3F_R

Bits 4:7 - Input capture 3 filter

Source

pub fn ic3psc(&self) -> IC3PSC_R

Bits 2:3 - Input capture 3 prescaler

Source

pub fn cc3s(&self) -> CC3S_R

Bits 0:1 - Capture/Compare 3 selection

Source§

impl R<u32, Reg<u32, _CCER>>

Source

pub fn cc4np(&self) -> CC4NP_R

Bit 15 - Capture/Compare 4 output Polarity

Source

pub fn cc4p(&self) -> CC4P_R

Bit 13 - Capture/Compare 3 output Polarity

Source

pub fn cc4e(&self) -> CC4E_R

Bit 12 - Capture/Compare 4 output enable

Source

pub fn cc3np(&self) -> CC3NP_R

Bit 11 - Capture/Compare 3 output Polarity

Source

pub fn cc3p(&self) -> CC3P_R

Bit 9 - Capture/Compare 3 output Polarity

Source

pub fn cc3e(&self) -> CC3E_R

Bit 8 - Capture/Compare 3 output enable

Source

pub fn cc2np(&self) -> CC2NP_R

Bit 7 - Capture/Compare 2 output Polarity

Source

pub fn cc2p(&self) -> CC2P_R

Bit 5 - Capture/Compare 2 output Polarity

Source

pub fn cc2e(&self) -> CC2E_R

Bit 4 - Capture/Compare 2 output enable

Source

pub fn cc1np(&self) -> CC1NP_R

Bit 3 - Capture/Compare 1 output Polarity

Source

pub fn cc1p(&self) -> CC1P_R

Bit 1 - Capture/Compare 1 output Polarity

Source

pub fn cc1e(&self) -> CC1E_R

Bit 0 - Capture/Compare 1 output enable

Source§

impl R<u32, Reg<u32, _CNT>>

Source

pub fn cnt_h(&self) -> CNT_H_R

Bits 16:31 - High counter value (TIM2 only)

Source

pub fn cnt(&self) -> CNT_R

Bits 0:15 - Counter value

Source§

impl R<u32, Reg<u32, _PSC>>

Source

pub fn psc(&self) -> PSC_R

Bits 0:15 - Prescaler value

Source§

impl R<u32, Reg<u32, _ARR>>

Source

pub fn arr_h(&self) -> ARR_H_R

Bits 16:31 - High Auto-reload value (TIM2 only)

Source

pub fn arr(&self) -> ARR_R

Bits 0:15 - Auto-reload value

Source§

impl R<u32, Reg<u32, _CCR>>

Source

pub fn ccr1_h(&self) -> CCR1_H_R

Bits 16:31 - High Capture/Compare 1 value (TIM2 only)

Source

pub fn ccr(&self) -> CCR_R

Bits 0:15 - Capture/Compare 1 value

Source§

impl R<u32, Reg<u32, _DCR>>

Source

pub fn dbl(&self) -> DBL_R

Bits 8:12 - DMA burst length

Source

pub fn dba(&self) -> DBA_R

Bits 0:4 - DMA base address

Source§

impl R<u32, Reg<u32, _DMAR>>

Source

pub fn dmab(&self) -> DMAB_R

Bits 0:15 - DMA register for burst accesses

Source§

impl R<u32, Reg<u32, _OR>>

Source

pub fn etr_rmp(&self) -> ETR_RMP_R

Bits 0:2 - Timer2 ETR remap

Source

pub fn ti4_rmp(&self) -> TI4_RMP_R

Bits 3:4 - Internal trigger

Trait Implementations§

Source§

impl<U, T, FI> PartialEq<FI> for R<U, T>
where U: PartialEq, FI: Copy + Into<U>,

Source§

fn eq(&self, other: &FI) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.

Auto Trait Implementations§

§

impl<U, T> Freeze for R<U, T>
where U: Freeze,

§

impl<U, T> RefUnwindSafe for R<U, T>

§

impl<U, T> Send for R<U, T>
where U: Send, T: Send,

§

impl<U, T> Sync for R<U, T>
where U: Sync, T: Sync,

§

impl<U, T> Unpin for R<U, T>
where U: Unpin, T: Unpin,

§

impl<U, T> UnwindSafe for R<U, T>
where U: UnwindSafe, T: UnwindSafe,

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.