[][src]Struct lpc54606_pac::generic::R

pub struct R<U, T> { /* fields omitted */ }

Register/field reader

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

Methods

impl<U, T> R<U, T> where
    U: Copy
[src]

pub fn bits(&self) -> U[src]

Read raw bits from register/field

impl<FI> R<bool, FI>[src]

pub fn bit(&self) -> bool[src]

Value of the field as raw bits

pub fn bit_is_clear(&self) -> bool[src]

Returns true if the bit is clear (0)

pub fn bit_is_set(&self) -> bool[src]

Returns true if the bit is set (1)

impl R<u32, Reg<u32, _AHBMATPRIO>>[src]

pub fn pri_icode(&self) -> PRI_ICODE_R[src]

Bits 0:1 - I-Code bus priority.

pub fn pri_dcode(&self) -> PRI_DCODE_R[src]

Bits 2:3 - D-Code bus priority.

pub fn pri_sys(&self) -> PRI_SYS_R[src]

Bits 4:5 - System bus priority.

pub fn pri_dma(&self) -> PRI_DMA_R[src]

Bits 6:9 - DMA controller priority.

pub fn pri_eth(&self) -> PRI_ETH_R[src]

Bits 10:11 - Ethernet DMA priority.

pub fn pri_lcd(&self) -> PRI_LCD_R[src]

Bits 12:13 - LCD DMA priority.

pub fn pri_usb0(&self) -> PRI_USB0_R[src]

Bits 14:15 - USB0 DMA priority.

pub fn pri_usb1(&self) -> PRI_USB1_R[src]

Bits 16:17 - USB1 DMA priority.

pub fn pri_sdio(&self) -> PRI_SDIO_R[src]

Bits 18:19 - SDIO priority.

pub fn pri_mcan1(&self) -> PRI_MCAN1_R[src]

Bits 20:21 - MCAN1 priority.

pub fn pri_mcan2(&self) -> PRI_MCAN2_R[src]

Bits 22:23 - MCAN2 priority.

pub fn pri_sha(&self) -> PRI_SHA_R[src]

Bits 24:25 - SHA priority.

impl R<u32, Reg<u32, _SYSTCKCAL>>[src]

pub fn cal(&self) -> CAL_R[src]

Bits 0:23 - System tick timer calibration value.

pub fn skew(&self) -> SKEW_R[src]

Bit 24 - Initial value for the Systick timer.

pub fn noref(&self) -> NOREF_R[src]

Bit 25 - Initial value for the Systick timer.

impl R<u32, Reg<u32, _NMISRC>>[src]

pub fn irqm4(&self) -> IRQM4_R[src]

Bits 0:5 - The IRQ number of the interrupt that acts as the Non-Maskable Interrupt (NMI) for the Cortex-M4, if enabled by NMIENM4.

pub fn nmienm4(&self) -> NMIENM4_R[src]

Bit 31 - Write a 1 to this bit to enable the Non-Maskable Interrupt (NMI) source selected by IRQM4.

impl R<bool, ENABLE_A>[src]

pub fn variant(&self) -> ENABLE_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<u32, Reg<u32, _ASYNCAPBCTRL>>[src]

pub fn enable(&self) -> ENABLE_R[src]

Bit 0 - Enables the asynchronous APB bridge and subsystem.

impl R<u32, Reg<u32, _PIOPORCAP>>[src]

pub fn pioporcap(&self) -> PIOPORCAP_R[src]

Bits 0:31 - State of PIOn_31 through PIOn_0 at power-on reset

impl R<u32, Reg<u32, _PIORESCAP>>[src]

pub fn piorescap(&self) -> PIORESCAP_R[src]

Bits 0:31 - State of PIOn_31 through PIOn_0 for resets other than POR.

impl R<u32, Reg<u32, _PRESETCTRL0>>[src]

pub fn flash_rst(&self) -> FLASH_RST_R[src]

Bit 7 - Flash controller reset control. 0 = Clear reset to this function. 1 = Assert reset to this function.

pub fn fmc_rst(&self) -> FMC_RST_R[src]

Bit 8 - Flash accelerator reset control. Note that the FMC must not be reset while executing from flash, and must be reconfigured after reset. 0 = Clear reset to this function. 1 = Assert reset to this function.

pub fn eeprom_rst(&self) -> EEPROM_RST_R[src]

Bit 9 - EEPROM reset control.

pub fn spifi_rst(&self) -> SPIFI_RST_R[src]

Bit 10 - SPIFI reset control.

pub fn mux_rst(&self) -> MUX_RST_R[src]

Bit 11 - Input mux reset control. 0 = Clear reset to this function. 1 = Assert reset to this function.

pub fn iocon_rst(&self) -> IOCON_RST_R[src]

Bit 13 - IOCON reset control. 0 = Clear reset to this function. 1 = Assert reset to this function.

pub fn gpio0_rst(&self) -> GPIO0_RST_R[src]

Bit 14 - GPIO0 reset control. 0 = Clear reset to this function. 1 = Assert reset to this function.

pub fn gpio1_rst(&self) -> GPIO1_RST_R[src]

Bit 15 - GPIO1 reset control. 0 = Clear reset to this function. 1 = Assert reset to this function.

pub fn gpio2_rst(&self) -> GPIO2_RST_R[src]

Bit 16 - GPIO2 reset control.

pub fn gpio3_rst(&self) -> GPIO3_RST_R[src]

Bit 17 - GPIO3 reset control.

pub fn pint_rst(&self) -> PINT_RST_R[src]

Bit 18 - Pin interrupt (PINT) reset control. 0 = Clear reset to this function. 1 = Assert reset to this function.

pub fn gint_rst(&self) -> GINT_RST_R[src]

Bit 19 - Grouped interrupt (GINT) reset control. 0 = Clear reset to this function. 1 = Assert reset to this function.

pub fn dma0_rst(&self) -> DMA0_RST_R[src]

Bit 20 - DMA0 reset control. 0 = Clear reset to this function. 1 = Assert reset to this function.

pub fn crc_rst(&self) -> CRC_RST_R[src]

Bit 21 - CRC generator reset control. 0 = Clear reset to this function. 1 = Assert reset to this function.

pub fn wwdt_rst(&self) -> WWDT_RST_R[src]

Bit 22 - Watchdog timer reset control. 0 = Clear reset to this function. 1 = Assert reset to this function.

pub fn adc0_rst(&self) -> ADC0_RST_R[src]

Bit 27 - ADC0 reset control. 0 = Clear reset to this function. 1 = Assert reset to this function.

impl R<u32, Reg<u32, _PRESETCTRL1>>[src]

pub fn mrt_rst(&self) -> MRT_RST_R[src]

Bit 0 - Multi-rate timer (MRT) reset control. 0 = Clear reset to this function. 1 = Assert reset to this function.

pub fn sct0_rst(&self) -> SCT0_RST_R[src]

Bit 2 - State configurable timer 0 (SCT0) reset control. 0 = Clear reset to this function. 1 = Assert reset to this function.

pub fn mcan0_rst(&self) -> MCAN0_RST_R[src]

Bit 7 - 0 = Clear reset to this function.

pub fn mcan1_rst(&self) -> MCAN1_RST_R[src]

Bit 8 - 0 = Clear reset to this function.

pub fn utick_rst(&self) -> UTICK_RST_R[src]

Bit 10 - Micro-tick Timer reset control. 0 = Clear reset to this function. 1 = Assert reset to this function.

pub fn fc0_rst(&self) -> FC0_RST_R[src]

Bit 11 - Flexcomm 0 reset control. 0 = Clear reset to this function. 1 = Assert reset to this function.

pub fn fc1_rst(&self) -> FC1_RST_R[src]

Bit 12 - Flexcomm 1 reset control. 0 = Clear reset to this function. 1 = Assert reset to this function.

pub fn fc2_rst(&self) -> FC2_RST_R[src]

Bit 13 - Flexcomm 2 reset control. 0 = Clear reset to this function. 1 = Assert reset to this function.

pub fn fc3_rst(&self) -> FC3_RST_R[src]

Bit 14 - Flexcomm 3 reset control. 0 = Clear reset to this function. 1 = Assert reset to this function.

pub fn fc4_rst(&self) -> FC4_RST_R[src]

Bit 15 - Flexcomm 4 reset control. 0 = Clear reset to this function. 1 = Assert reset to this function.

pub fn fc5_rst(&self) -> FC5_RST_R[src]

Bit 16 - Flexcomm 5 reset control. 0 = Clear reset to this function. 1 = Assert reset to this function.

pub fn fc6_rst(&self) -> FC6_RST_R[src]

Bit 17 - Flexcomm 6 reset control. 0 = Clear reset to this function. 1 = Assert reset to this function.

pub fn fc7_rst(&self) -> FC7_RST_R[src]

Bit 18 - Flexcomm 7 reset control. 0 = Clear reset to this function. 1 = Assert reset to this function.

pub fn dmic_rst(&self) -> DMIC_RST_R[src]

Bit 19 - Digital microphone interface reset control. 0 = Clear reset to this function. 1 = Assert reset to this function.

pub fn ctimer2_rst(&self) -> CTIMER2_RST_R[src]

Bit 22 - CTIMER2 reset control. 0 = Clear reset to this function. 1 = Assert reset to this function

pub fn usb0d_rst(&self) -> USB0D_RST_R[src]

Bit 25 - USB0 reset control. 0 = Clear reset to this function. 1 = Assert reset to this function.

pub fn ctimer0_rst(&self) -> CTIMER0_RST_R[src]

Bit 26 - CTIMER0 reset control. 0 = Clear reset to this function. 1 = Assert reset to this function.

pub fn ctimer1_rst(&self) -> CTIMER1_RST_R[src]

Bit 27 - CTIMER1 reset control. 0 = Clear reset to this function. 1 = Assert reset to this function.

impl R<u32, Reg<u32, _PRESETCTRL2>>[src]

pub fn lcd_rst(&self) -> LCD_RST_R[src]

Bit 2 - LCD reset control.

pub fn sdio_rst(&self) -> SDIO_RST_R[src]

Bit 3 - SDIO reset control.

pub fn usb1h_rst(&self) -> USB1H_RST_R[src]

Bit 4 - USB1 Host reset control.

pub fn usb1d_rst(&self) -> USB1D_RST_R[src]

Bit 5 - USB1 Device reset control.

pub fn usb1ram_rst(&self) -> USB1RAM_RST_R[src]

Bit 6 - USB1 RAM reset control.

pub fn emc_reset(&self) -> EMC_RESET_R[src]

Bit 7 - EMC reset control.

pub fn eth_rst(&self) -> ETH_RST_R[src]

Bit 8 - Ethernet reset control.

pub fn gpio4_rst(&self) -> GPIO4_RST_R[src]

Bit 9 - GPIO4 reset control.

pub fn gpio5_rst(&self) -> GPIO5_RST_R[src]

Bit 10 - GPIO5 reset control.

pub fn aes_rst(&self) -> AES_RST_R[src]

Bit 11 - AES reset control.

pub fn otp_rst(&self) -> OTP_RST_R[src]

Bit 12 - OTP reset control.

pub fn rng_rst(&self) -> RNG_RST_R[src]

Bit 13 - RNG reset control.

pub fn fc8_rst(&self) -> FC8_RST_R[src]

Bit 14 - Flexcomm 8 reset control.

pub fn fc9_rst(&self) -> FC9_RST_R[src]

Bit 15 - Flexcomm 9 reset control.

pub fn usb0hmr_rst(&self) -> USB0HMR_RST_R[src]

Bit 16 - USB0 HOST master reset control.

pub fn usb0hsl_rst(&self) -> USB0HSL_RST_R[src]

Bit 17 - USB0 HOST slave reset control.

pub fn sha_rst(&self) -> SHA_RST_R[src]

Bit 18 - SHA reset control.

pub fn sc0_rst(&self) -> SC0_RST_R[src]

Bit 19 - Smart card 0 reset control.

pub fn sc1_rst(&self) -> SC1_RST_R[src]

Bit 20 - Smart card 1 reset control.

impl R<bool, POR_A>[src]

pub fn variant(&self) -> POR_A[src]

Get enumerated values variant

pub fn is_no_por_detected(&self) -> bool[src]

Checks if the value of the field is NO_POR_DETECTED

pub fn is_por_detected(&self) -> bool[src]

Checks if the value of the field is POR_DETECTED

impl R<bool, EXTRST_A>[src]

pub fn variant(&self) -> EXTRST_A[src]

Get enumerated values variant

pub fn is_no_reset_detected(&self) -> bool[src]

Checks if the value of the field is NO_RESET_DETECTED

pub fn is_reset_detected(&self) -> bool[src]

Checks if the value of the field is RESET_DETECTED

impl R<bool, WDT_A>[src]

pub fn variant(&self) -> WDT_A[src]

Get enumerated values variant

pub fn is_no_wdt_reset_detected(&self) -> bool[src]

Checks if the value of the field is NO_WDT_RESET_DETECTED

pub fn is_wdt_reset_detected(&self) -> bool[src]

Checks if the value of the field is WDT_RESET_DETECTED

impl R<bool, BOD_A>[src]

pub fn variant(&self) -> BOD_A[src]

Get enumerated values variant

pub fn is_no_bod_reset_detected(&self) -> bool[src]

Checks if the value of the field is NO_BOD_RESET_DETECTED

pub fn is_bod_reset_detected(&self) -> bool[src]

Checks if the value of the field is BOD_RESET_DETECTED

impl R<bool, SYSRST_A>[src]

pub fn variant(&self) -> SYSRST_A[src]

Get enumerated values variant

pub fn is_no_system_reset_detected(&self) -> bool[src]

Checks if the value of the field is NO_SYSTEM_RESET_DETECTED

pub fn is_system_reset_detected(&self) -> bool[src]

Checks if the value of the field is SYSTEM_RESET_DETECTED

impl R<u32, Reg<u32, _SYSRSTSTAT>>[src]

pub fn por(&self) -> POR_R[src]

Bit 0 - POR reset status

pub fn extrst(&self) -> EXTRST_R[src]

Bit 1 - Status of the external RESET pin. External reset status

pub fn wdt(&self) -> WDT_R[src]

Bit 2 - Status of the Watchdog reset

pub fn bod(&self) -> BOD_R[src]

Bit 3 - Status of the Brown-out detect reset

pub fn sysrst(&self) -> SYSRST_R[src]

Bit 4 - Status of the software system reset

impl R<u32, Reg<u32, _AHBCLKCTRL0>>[src]

pub fn rom(&self) -> ROM_R[src]

Bit 1 - Enables the clock for the Boot ROM. 0 = Disable; 1 = Enable.

pub fn sram1(&self) -> SRAM1_R[src]

Bit 3 - Enables the clock for SRAM1. 0 = Disable; 1 = Enable.

pub fn sram2(&self) -> SRAM2_R[src]

Bit 4 - Enables the clock for SRAM2. 0 = Disable; 1 = Enable.

pub fn sram3(&self) -> SRAM3_R[src]

Bit 5 - Enables the clock for SRAM3.

pub fn flash(&self) -> FLASH_R[src]

Bit 7 - Enables the clock for the flash controller. 0 = Disable; 1 = Enable. This clock is needed for flash programming, not for flash read.

pub fn fmc(&self) -> FMC_R[src]

Bit 8 - Enables the clock for the Flash accelerator. 0 = Disable; 1 = Enable. This clock is needed if the flash is being read.

pub fn eeprom(&self) -> EEPROM_R[src]

Bit 9 - Enables the clock for EEPROM.

pub fn spifi(&self) -> SPIFI_R[src]

Bit 10 - Enables the clock for the SPIFI. 0 = Disable; 1 = Enable.

pub fn inputmux(&self) -> INPUTMUX_R[src]

Bit 11 - Enables the clock for the input muxes. 0 = Disable; 1 = Enable.

pub fn iocon(&self) -> IOCON_R[src]

Bit 13 - Enables the clock for the IOCON block. 0 = Disable; 1 = Enable.

pub fn gpio0(&self) -> GPIO0_R[src]

Bit 14 - Enables the clock for the GPIO0 port registers. 0 = Disable; 1 = Enable.

pub fn gpio1(&self) -> GPIO1_R[src]

Bit 15 - Enables the clock for the GPIO1 port registers. 0 = Disable; 1 = Enable.

pub fn gpio2(&self) -> GPIO2_R[src]

Bit 16 - Enables the clock for the GPIO2 port registers.

pub fn gpio3(&self) -> GPIO3_R[src]

Bit 17 - Enables the clock for the GPIO3 port registers.

pub fn pint(&self) -> PINT_R[src]

Bit 18 - Enables the clock for the pin interrupt block.0 = Disable; 1 = Enable.

pub fn gint(&self) -> GINT_R[src]

Bit 19 - Enables the clock for the grouped pin interrupt block. 0 = Disable; 1 = Enable.

pub fn dma(&self) -> DMA_R[src]

Bit 20 - Enables the clock for the DMA controller. 0 = Disable; 1 = Enable.

pub fn crc(&self) -> CRC_R[src]

Bit 21 - Enables the clock for the CRC engine. 0 = Disable; 1 = Enable.

pub fn wwdt(&self) -> WWDT_R[src]

Bit 22 - Enables the clock for the Watchdog Timer. 0 = Disable; 1 = Enable.

pub fn rtc(&self) -> RTC_R[src]

Bit 23 - Enables the bus clock for the RTC. 0 = Disable; 1 = Enable.

pub fn adc0(&self) -> ADC0_R[src]

Bit 27 - Enables the clock for the ADC0 register interface.

impl R<u32, Reg<u32, _AHBCLKCTRL1>>[src]

pub fn mrt(&self) -> MRT_R[src]

Bit 0 - Enables the clock for the Multi-Rate Timer.

pub fn rit(&self) -> RIT_R[src]

Bit 1 - Enables the clock for the Repetitive Interrupt Timer.

pub fn sct0(&self) -> SCT0_R[src]

Bit 2 - Enables the clock for SCT0.

pub fn mcan0(&self) -> MCAN0_R[src]

Bit 7 - Enables the clock for MCAN0.

pub fn mcan1(&self) -> MCAN1_R[src]

Bit 8 - Enables the clock for MCAN1.

pub fn utick(&self) -> UTICK_R[src]

Bit 10 - Enables the clock for the Micro-tick Timer. 0 = Disable; 1 = Enable.

pub fn flexcomm0(&self) -> FLEXCOMM0_R[src]

Bit 11 - Enables the clock for Flexcomm 0. 0 = Disable; 1 = Enable.

pub fn flexcomm1(&self) -> FLEXCOMM1_R[src]

Bit 12 - Enables the clock for Flexcomm 1. 0 = Disable; 1 = Enable.

pub fn flexcomm2(&self) -> FLEXCOMM2_R[src]

Bit 13 - Enables the clock for Flexcomm 2. 0 = Disable; 1 = Enable.

pub fn flexcomm3(&self) -> FLEXCOMM3_R[src]

Bit 14 - Enables the clock for Flexcomm 3. 0 = Disable; 1 = Enable.

pub fn flexcomm4(&self) -> FLEXCOMM4_R[src]

Bit 15 - Enables the clock for Flexcomm 4. 0 = Disable; 1 = Enable.

pub fn flexcomm5(&self) -> FLEXCOMM5_R[src]

Bit 16 - Enables the clock for Flexcomm 5. 0 = Disable; 1 = Enable.

pub fn flexcomm6(&self) -> FLEXCOMM6_R[src]

Bit 17 - Enables the clock for Flexcomm 6. 0 = Disable; 1 = Enable.

pub fn flexcomm7(&self) -> FLEXCOMM7_R[src]

Bit 18 - Enables the clock for Flexcomm 7. 0 = Disable; 1 = Enable.

pub fn dmic(&self) -> DMIC_R[src]

Bit 19 - Enables the clock for the digital microphone interface. 0 = Disable; 1 = Enable.

pub fn ctimer2(&self) -> CTIMER2_R[src]

Bit 22 - Enables the clock for CTIMER 2. 0 = Disable; 1 = Enable.

pub fn usb0d(&self) -> USB0D_R[src]

Bit 25 - Enables the clock for the USB0 device interface. 0 = Disable; 1 = Enable.

pub fn ctimer0(&self) -> CTIMER0_R[src]

Bit 26 - Enables the clock for timer CTIMER0. 0 = Disable; 1 = Enable.

pub fn ctimer1(&self) -> CTIMER1_R[src]

Bit 27 - Enables the clock for timer CTIMER1. 0 = Disable; 1 = Enable.

impl R<u32, Reg<u32, _AHBCLKCTRL2>>[src]

pub fn lcd(&self) -> LCD_R[src]

Bit 2 - Enables the clock for the LCD interface.

pub fn sdio(&self) -> SDIO_R[src]

Bit 3 - Enables the clock for the SDIO interface.

pub fn usb1h(&self) -> USB1H_R[src]

Bit 4 - Enables the clock for the USB1 host interface.

pub fn usb1d(&self) -> USB1D_R[src]

Bit 5 - Enables the clock for the USB1 device interface.

pub fn usb1ram(&self) -> USB1RAM_R[src]

Bit 6 - Enables the clock for the USB1 RAM interface.

pub fn emc(&self) -> EMC_R[src]

Bit 7 - Enables the clock for the EMC interface.

pub fn eth(&self) -> ETH_R[src]

Bit 8 - Enables the clock for the ethernet interface.

pub fn gpio4(&self) -> GPIO4_R[src]

Bit 9 - Enables the clock for the GPIO4 interface.

pub fn gpio5(&self) -> GPIO5_R[src]

Bit 10 - Enables the clock for the GPIO5 interface.

pub fn aes(&self) -> AES_R[src]

Bit 11 - Enables the clock for the AES interface.

pub fn otp(&self) -> OTP_R[src]

Bit 12 - Enables the clock for the OTP interface.

pub fn rng(&self) -> RNG_R[src]

Bit 13 - Enables the clock for the RNG interface.

pub fn flexcomm8(&self) -> FLEXCOMM8_R[src]

Bit 14 - Enables the clock for the Flexcomm8 interface.

pub fn flexcomm9(&self) -> FLEXCOMM9_R[src]

Bit 15 - Enables the clock for the Flexcomm9 interface.

pub fn usb0hmr(&self) -> USB0HMR_R[src]

Bit 16 - Enables the clock for the USB host master interface.

pub fn usb0hsl(&self) -> USB0HSL_R[src]

Bit 17 - Enables the clock for the USB host slave interface.

pub fn sha0(&self) -> SHA0_R[src]

Bit 18 - Enables the clock for the SHA interface.

pub fn sc0(&self) -> SC0_R[src]

Bit 19 - Enables the clock for the Smart card0 interface.

pub fn sc1(&self) -> SC1_R[src]

Bit 20 - Enables the clock for the Smart card1 interface.

impl R<u8, SEL_A>[src]

pub fn variant(&self) -> SEL_A[src]

Get enumerated values variant

pub fn is_fro_12_mhz(&self) -> bool[src]

Checks if the value of the field is FRO_12_MHZ

pub fn is_clkin(&self) -> bool[src]

Checks if the value of the field is CLKIN

pub fn is_watchdog_oscillator(&self) -> bool[src]

Checks if the value of the field is WATCHDOG_OSCILLATOR

pub fn is_fro_hf(&self) -> bool[src]

Checks if the value of the field is FRO_HF

impl R<u32, Reg<u32, _MAINCLKSELA>>[src]

pub fn sel(&self) -> SEL_R[src]

Bits 0:1 - Clock source for main clock source selector A

impl R<u8, SEL_A>[src]

pub fn variant(&self) -> Variant<u8, SEL_A>[src]

Get enumerated values variant

pub fn is_mainclksela(&self) -> bool[src]

Checks if the value of the field is MAINCLKSELA

pub fn is_system_pll_output(&self) -> bool[src]

Checks if the value of the field is SYSTEM_PLL_OUTPUT

pub fn is_rtc_osc_output(&self) -> bool[src]

Checks if the value of the field is RTC_OSC_OUTPUT

impl R<u32, Reg<u32, _MAINCLKSELB>>[src]

pub fn sel(&self) -> SEL_R[src]

Bits 0:1 - Clock source for main clock source selector B. Selects the clock source for the main clock.

impl R<u8, SEL_A>[src]

pub fn variant(&self) -> SEL_A[src]

Get enumerated values variant

pub fn is_main_clock(&self) -> bool[src]

Checks if the value of the field is MAIN_CLOCK

pub fn is_clkin(&self) -> bool[src]

Checks if the value of the field is CLKIN

pub fn is_watchdog_oscillator(&self) -> bool[src]

Checks if the value of the field is WATCHDOG_OSCILLATOR

pub fn is_fro_hf(&self) -> bool[src]

Checks if the value of the field is FRO_HF

pub fn is_system_pll_output(&self) -> bool[src]

Checks if the value of the field is SYSTEM_PLL_OUTPUT

pub fn is_usb_pll_clock(&self) -> bool[src]

Checks if the value of the field is USB_PLL_CLOCK

pub fn is_audio_pll_output(&self) -> bool[src]

Checks if the value of the field is AUDIO_PLL_OUTPUT

pub fn is_rtc_osc_output(&self) -> bool[src]

Checks if the value of the field is RTC_OSC_OUTPUT

impl R<u32, Reg<u32, _CLKOUTSELA>>[src]

pub fn sel(&self) -> SEL_R[src]

Bits 0:2 - CLKOUT clock source selection

impl R<u8, SEL_A>[src]

pub fn variant(&self) -> Variant<u8, SEL_A>[src]

Get enumerated values variant

pub fn is_fro_12_mhz(&self) -> bool[src]

Checks if the value of the field is FRO_12_MHZ

pub fn is_clkin(&self) -> bool[src]

Checks if the value of the field is CLKIN

pub fn is_watchdog_oscillator(&self) -> bool[src]

Checks if the value of the field is WATCHDOG_OSCILLATOR

pub fn is_rtc_osc_output(&self) -> bool[src]

Checks if the value of the field is RTC_OSC_OUTPUT

pub fn is_none(&self) -> bool[src]

Checks if the value of the field is NONE

impl R<u32, Reg<u32, _SYSPLLCLKSEL>>[src]

pub fn sel(&self) -> SEL_R[src]

Bits 0:2 - System PLL clock source selection.

impl R<u8, SEL_A>[src]

pub fn variant(&self) -> Variant<u8, SEL_A>[src]

Get enumerated values variant

pub fn is_fro_12_mhz(&self) -> bool[src]

Checks if the value of the field is FRO_12_MHZ

pub fn is_clkin(&self) -> bool[src]

Checks if the value of the field is CLKIN

pub fn is_none(&self) -> bool[src]

Checks if the value of the field is NONE

impl R<u32, Reg<u32, _AUDPLLCLKSEL>>[src]

pub fn sel(&self) -> SEL_R[src]

Bits 0:2 - Audio PLL clock source selection.

impl R<u8, SEL_A>[src]

pub fn variant(&self) -> Variant<u8, SEL_A>[src]

Get enumerated values variant

pub fn is_main_clock(&self) -> bool[src]

Checks if the value of the field is MAIN_CLOCK

pub fn is_system_pll_output(&self) -> bool[src]

Checks if the value of the field is SYSTEM_PLL_OUTPUT

pub fn is_usb_pll_output(&self) -> bool[src]

Checks if the value of the field is USB_PLL_OUTPUT

pub fn is_fro_hf(&self) -> bool[src]

Checks if the value of the field is FRO_HF

pub fn is_audio_pll_output(&self) -> bool[src]

Checks if the value of the field is AUDIO_PLL_OUTPUT

pub fn is_none(&self) -> bool[src]

Checks if the value of the field is NONE

impl R<u32, Reg<u32, _SPIFICLKSEL>>[src]

pub fn sel(&self) -> SEL_R[src]

Bits 0:2 - System PLL clock source selection

impl R<u8, SEL_A>[src]

pub fn variant(&self) -> Variant<u8, SEL_A>[src]

Get enumerated values variant

pub fn is_fro_hf(&self) -> bool[src]

Checks if the value of the field is FRO_HF

pub fn is_system_pll_output(&self) -> bool[src]

Checks if the value of the field is SYSTEM_PLL_OUTPUT

pub fn is_usb_pll_clock(&self) -> bool[src]

Checks if the value of the field is USB_PLL_CLOCK

pub fn is_audio_pll_clock(&self) -> bool[src]

Checks if the value of the field is AUDIO_PLL_CLOCK

pub fn is_none(&self) -> bool[src]

Checks if the value of the field is NONE

impl R<u32, Reg<u32, _ADCCLKSEL>>[src]

pub fn sel(&self) -> SEL_R[src]

Bits 0:2 - ADC clock source selection

impl R<u8, SEL_A>[src]

pub fn variant(&self) -> Variant<u8, SEL_A>[src]

Get enumerated values variant

pub fn is_fro_hf(&self) -> bool[src]

Checks if the value of the field is FRO_HF

pub fn is_system_pll_output(&self) -> bool[src]

Checks if the value of the field is SYSTEM_PLL_OUTPUT

pub fn is_usb_pll_clock(&self) -> bool[src]

Checks if the value of the field is USB_PLL_CLOCK

pub fn is_none(&self) -> bool[src]

Checks if the value of the field is NONE

impl R<u32, Reg<u32, _USB0CLKSEL>>[src]

pub fn sel(&self) -> SEL_R[src]

Bits 0:2 - USB0 device clock source selection.

impl R<u8, SEL_A>[src]

pub fn variant(&self) -> Variant<u8, SEL_A>[src]

Get enumerated values variant

pub fn is_main_clock(&self) -> bool[src]

Checks if the value of the field is MAIN_CLOCK

pub fn is_system_pll_output(&self) -> bool[src]

Checks if the value of the field is SYSTEM_PLL_OUTPUT

pub fn is_usb_pll_clock(&self) -> bool[src]

Checks if the value of the field is USB_PLL_CLOCK

pub fn is_none(&self) -> bool[src]

Checks if the value of the field is NONE

impl R<u32, Reg<u32, _USB1CLKSEL>>[src]

pub fn sel(&self) -> SEL_R[src]

Bits 0:2 - USB1 PHY clock source selection.

impl R<u8, SEL_A>[src]

pub fn variant(&self) -> Variant<u8, SEL_A>[src]

Get enumerated values variant

pub fn is_fro_12_mhz(&self) -> bool[src]

Checks if the value of the field is FRO_12_MHZ

pub fn is_fro_hf_div(&self) -> bool[src]

Checks if the value of the field is FRO_HF_DIV

pub fn is_audio_pll_output(&self) -> bool[src]

Checks if the value of the field is AUDIO_PLL_OUTPUT

pub fn is_mclk_input(&self) -> bool[src]

Checks if the value of the field is MCLK_INPUT

pub fn is_frg_clock_output(&self) -> bool[src]

Checks if the value of the field is FRG_CLOCK_OUTPUT

pub fn is_none(&self) -> bool[src]

Checks if the value of the field is NONE

impl R<u32, Reg<u32, _FCLKSEL>>[src]

pub fn sel(&self) -> SEL_R[src]

Bits 0:2 - Flexcomm clock source selection. One per Flexcomm.

impl R<u8, SEL_A>[src]

pub fn variant(&self) -> Variant<u8, SEL_A>[src]

Get enumerated values variant

pub fn is_fro_hf_div(&self) -> bool[src]

Checks if the value of the field is FRO_HF_DIV

pub fn is_audio_pll_output(&self) -> bool[src]

Checks if the value of the field is AUDIO_PLL_OUTPUT

pub fn is_none(&self) -> bool[src]

Checks if the value of the field is NONE

impl R<u32, Reg<u32, _MCLKCLKSEL>>[src]

pub fn sel(&self) -> SEL_R[src]

Bits 0:2 - MCLK source select. This may be used by Flexcomms that support I2S, and/or by the digital microphone subsystem.

impl R<u8, SEL_A>[src]

pub fn variant(&self) -> Variant<u8, SEL_A>[src]

Get enumerated values variant

pub fn is_main_clock(&self) -> bool[src]

Checks if the value of the field is MAIN_CLOCK

pub fn is_system_pll_output(&self) -> bool[src]

Checks if the value of the field is SYSTEM_PLL_OUTPUT

pub fn is_fro_12_mhz(&self) -> bool[src]

Checks if the value of the field is FRO_12_MHZ

pub fn is_fro_hf(&self) -> bool[src]

Checks if the value of the field is FRO_HF

pub fn is_none(&self) -> bool[src]

Checks if the value of the field is NONE

impl R<u32, Reg<u32, _FRGCLKSEL>>[src]

pub fn sel(&self) -> SEL_R[src]

Bits 0:2 - Fractional Rate Generator clock source select.

impl R<u8, SEL_A>[src]

pub fn variant(&self) -> Variant<u8, SEL_A>[src]

Get enumerated values variant

pub fn is_fro_12_mhz(&self) -> bool[src]

Checks if the value of the field is FRO_12_MHZ

pub fn is_fro_hf_div(&self) -> bool[src]

Checks if the value of the field is FRO_HF_DIV

pub fn is_audio_pll_output(&self) -> bool[src]

Checks if the value of the field is AUDIO_PLL_OUTPUT

pub fn is_mclk_input(&self) -> bool[src]

Checks if the value of the field is MCLK_INPUT

pub fn is_none(&self) -> bool[src]

Checks if the value of the field is NONE

impl R<u32, Reg<u32, _DMICCLKSEL>>[src]

pub fn sel(&self) -> SEL_R[src]

Bits 0:2 - DMIC (audio subsystem) clock source select.

impl R<u8, SEL_A>[src]

pub fn variant(&self) -> Variant<u8, SEL_A>[src]

Get enumerated values variant

pub fn is_main_clock(&self) -> bool[src]

Checks if the value of the field is MAIN_CLOCK

pub fn is_system_pll_output(&self) -> bool[src]

Checks if the value of the field is SYSTEM_PLL_OUTPUT

pub fn is_fro_hf(&self) -> bool[src]

Checks if the value of the field is FRO_HF

pub fn is_audio_pll_output(&self) -> bool[src]

Checks if the value of the field is AUDIO_PLL_OUTPUT

pub fn is_none(&self) -> bool[src]

Checks if the value of the field is NONE

impl R<u32, Reg<u32, _SCTCLKSEL>>[src]

pub fn sel(&self) -> SEL_R[src]

Bits 0:2 - SCT clock source select.

impl R<u8, SEL_A>[src]

pub fn variant(&self) -> SEL_A[src]

Get enumerated values variant

pub fn is_main_clock(&self) -> bool[src]

Checks if the value of the field is MAIN_CLOCK

pub fn is_lcdclkin(&self) -> bool[src]

Checks if the value of the field is LCDCLKIN

pub fn is_fro_hf(&self) -> bool[src]

Checks if the value of the field is FRO_HF

pub fn is_none(&self) -> bool[src]

Checks if the value of the field is NONE

impl R<u32, Reg<u32, _LCDCLKSEL>>[src]

pub fn sel(&self) -> SEL_R[src]

Bits 0:1 - LCD clock source select.

impl R<u8, SEL_A>[src]

pub fn variant(&self) -> Variant<u8, SEL_A>[src]

Get enumerated values variant

pub fn is_main_clock(&self) -> bool[src]

Checks if the value of the field is MAIN_CLOCK

pub fn is_system_pll_output(&self) -> bool[src]

Checks if the value of the field is SYSTEM_PLL_OUTPUT

pub fn is_usb_pll_clock(&self) -> bool[src]

Checks if the value of the field is USB_PLL_CLOCK

pub fn is_fro_hf(&self) -> bool[src]

Checks if the value of the field is FRO_HF

pub fn is_audio_pll_output(&self) -> bool[src]

Checks if the value of the field is AUDIO_PLL_OUTPUT

pub fn is_none(&self) -> bool[src]

Checks if the value of the field is NONE

impl R<u32, Reg<u32, _SDIOCLKSEL>>[src]

pub fn sel(&self) -> SEL_R[src]

Bits 0:2 - SDIO clock source select.

impl R<u32, Reg<u32, _SYSTICKCLKDIV>>[src]

pub fn div(&self) -> DIV_R[src]

Bits 0:7 - Clock divider value. 0: Divide by 1 up to 255: Divide by 256.

pub fn reset(&self) -> RESET_R[src]

Bit 29 - Resets the divider counter. Can be used to make sure a new divider value is used right away rather than completing the previous count.

pub fn halt(&self) -> HALT_R[src]

Bit 30 - Halts the divider counter.

pub fn reqflag(&self) -> REQFLAG_R[src]

Bit 31 - Divider status flag.

impl R<u32, Reg<u32, _ARMTRACECLKDIV>>[src]

pub fn div(&self) -> DIV_R[src]

Bits 0:7 - Clock divider value.

pub fn reset(&self) -> RESET_R[src]

Bit 29 - Resets the divider counter.

pub fn halt(&self) -> HALT_R[src]

Bit 30 - Halts the divider counter.

pub fn reqflag(&self) -> REQFLAG_R[src]

Bit 31 - Divider status flag.

impl R<u32, Reg<u32, _CAN0CLKDIV>>[src]

pub fn div(&self) -> DIV_R[src]

Bits 0:7 - Clock divider value.

pub fn reset(&self) -> RESET_R[src]

Bit 29 - Resets the divider counter.

pub fn halt(&self) -> HALT_R[src]

Bit 30 - Halts the divider counter.

pub fn reqflag(&self) -> REQFLAG_R[src]

Bit 31 - Divider status flag.

impl R<u32, Reg<u32, _CAN1CLKDIV>>[src]

pub fn div(&self) -> DIV_R[src]

Bits 0:7 - Clock divider value. 0: Divide by 1 up to 255: Divide by 256.

pub fn reset(&self) -> RESET_R[src]

Bit 29 - Resets the divider counter. Can be used to make sure a new divider value is used right away rather than completing the previous count.

pub fn halt(&self) -> HALT_R[src]

Bit 30 - Halts the divider counter.

pub fn reqflag(&self) -> REQFLAG_R[src]

Bit 31 - Divider status flag.

impl R<u32, Reg<u32, _SC0CLKDIV>>[src]

pub fn div(&self) -> DIV_R[src]

Bits 0:7 - Clock divider value.

pub fn reset(&self) -> RESET_R[src]

Bit 29 - Resets the divider counter.

pub fn halt(&self) -> HALT_R[src]

Bit 30 - Halts the divider counter.

pub fn reqflag(&self) -> REQFLAG_R[src]

Bit 31 - Divider status flag.

impl R<u32, Reg<u32, _SC1CLKDIV>>[src]

pub fn div(&self) -> DIV_R[src]

Bits 0:7 - Clock divider value.

pub fn reset(&self) -> RESET_R[src]

Bit 29 - Resets the divider counter.

pub fn halt(&self) -> HALT_R[src]

Bit 30 - Halts the divider counter.

pub fn reqflag(&self) -> REQFLAG_R[src]

Bit 31 - Divider status flag.

impl R<u32, Reg<u32, _AHBCLKDIV>>[src]

pub fn div(&self) -> DIV_R[src]

Bits 0:7 - Clock divider value. 0: Divide by 1 up to 255: Divide by 256.

pub fn reqflag(&self) -> REQFLAG_R[src]

Bit 31 - Divider status flag.

impl R<u32, Reg<u32, _CLKOUTDIV>>[src]

pub fn div(&self) -> DIV_R[src]

Bits 0:7 - Clock divider value. 0: Divide by 1 up to 255: Divide by 256.

pub fn reset(&self) -> RESET_R[src]

Bit 29 - Resets the divider counter. Can be used to make sure a new divider value is used right away rather than completing the previous count.

pub fn halt(&self) -> HALT_R[src]

Bit 30 - Halts the divider counter. The intent is to allow the divider clock source to be changed without the risk of a glitch at the output.

pub fn reqflag(&self) -> REQFLAG_R[src]

Bit 31 - Divider status flag.

impl R<u32, Reg<u32, _FROHFCLKDIV>>[src]

pub fn div(&self) -> DIV_R[src]

Bits 0:7 - Clock divider value.

pub fn reset(&self) -> RESET_R[src]

Bit 29 - Resets the divider counter.

pub fn halt(&self) -> HALT_R[src]

Bit 30 - Halts the divider counter.

pub fn reqflag(&self) -> REQFLAG_R[src]

Bit 31 - Divider status flag.

impl R<u32, Reg<u32, _SPIFICLKDIV>>[src]

pub fn div(&self) -> DIV_R[src]

Bits 0:7 - Clock divider value.

pub fn reset(&self) -> RESET_R[src]

Bit 29 - Resets the divider counter. Can be used to make sure a new divider value is used right away rather than completing the previous count.

pub fn halt(&self) -> HALT_R[src]

Bit 30 - Halts the divider counter. The intent is to allow the divider clock source to be changed without the risk of a glitch at the output.

pub fn reqflag(&self) -> REQFLAG_R[src]

Bit 31 - Divider status flag.

impl R<u32, Reg<u32, _ADCCLKDIV>>[src]

pub fn div(&self) -> DIV_R[src]

Bits 0:7 - Clock divider value.

pub fn reset(&self) -> RESET_R[src]

Bit 29 - Resets the divider counter.

pub fn halt(&self) -> HALT_R[src]

Bit 30 - Halts the divider counter.

pub fn reqflag(&self) -> REQFLAG_R[src]

Bit 31 - Divider status flag.

impl R<u32, Reg<u32, _USB0CLKDIV>>[src]

pub fn div(&self) -> DIV_R[src]

Bits 0:7 - Clock divider value.

pub fn reset(&self) -> RESET_R[src]

Bit 29 - Resets the divider counter.

pub fn halt(&self) -> HALT_R[src]

Bit 30 - Halts the divider counter.

pub fn reqflag(&self) -> REQFLAG_R[src]

Bit 31 - Divider status flag.

impl R<u32, Reg<u32, _USB1CLKDIV>>[src]

pub fn div(&self) -> DIV_R[src]

Bits 0:7 - Clock divider value.

pub fn reset(&self) -> RESET_R[src]

Bit 29 - Resets the divider counter.

pub fn halt(&self) -> HALT_R[src]

Bit 30 - Halts the divider counter.

pub fn reqflag(&self) -> REQFLAG_R[src]

Bit 31 - Divider status flag.

impl R<u32, Reg<u32, _FRGCTRL>>[src]

pub fn div(&self) -> DIV_R[src]

Bits 0:7 - Denominator of the fractional divider. DIV is equal to the programmed value +1. Always set to 0xFF to use with the fractional baud rate generator.

pub fn mult(&self) -> MULT_R[src]

Bits 8:15 - Numerator of the fractional divider. MULT is equal to the programmed value.

impl R<u32, Reg<u32, _DMICCLKDIV>>[src]

pub fn div(&self) -> DIV_R[src]

Bits 0:7 - Clock divider value. 0: Divide by 1 up to 255: Divide by 256.

pub fn reset(&self) -> RESET_R[src]

Bit 29 - Resets the divider counter. Can be used to make sure a new divider value is used right away rather than completing the previous count.

pub fn halt(&self) -> HALT_R[src]

Bit 30 - Halts the divider counter. The intent is to allow the divider clock source to be changed without the risk of a glitch at the output.

pub fn reqflag(&self) -> REQFLAG_R[src]

Bit 31 - Divider status flag.

impl R<u32, Reg<u32, _MCLKDIV>>[src]

pub fn div(&self) -> DIV_R[src]

Bits 0:7 - Clock divider value. 0: Divide by 1 up to 255: Divide by 256.

pub fn reset(&self) -> RESET_R[src]

Bit 29 - Resets the divider counter.

pub fn halt(&self) -> HALT_R[src]

Bit 30 - Halts the divider counter.

pub fn reqflag(&self) -> REQFLAG_R[src]

Bit 31 - Divider status flag.

impl R<u32, Reg<u32, _LCDCLKDIV>>[src]

pub fn div(&self) -> DIV_R[src]

Bits 0:7 - Clock divider value.

pub fn reset(&self) -> RESET_R[src]

Bit 29 - Resets the divider counter.

pub fn halt(&self) -> HALT_R[src]

Bit 30 - Halts the divider counter.

pub fn reqflag(&self) -> REQFLAG_R[src]

Bit 31 - Divider status flag.

impl R<u32, Reg<u32, _SCTCLKDIV>>[src]

pub fn div(&self) -> DIV_R[src]

Bits 0:7 - Clock divider value.

pub fn reset(&self) -> RESET_R[src]

Bit 29 - Resets the divider counter.

pub fn halt(&self) -> HALT_R[src]

Bit 30 - Halts the divider counter.

pub fn reqflag(&self) -> REQFLAG_R[src]

Bit 31 - Divider status flag.

impl R<u32, Reg<u32, _EMCCLKDIV>>[src]

pub fn div(&self) -> DIV_R[src]

Bits 0:7 - Clock divider value.

pub fn reset(&self) -> RESET_R[src]

Bit 29 - Resets the divider counter.

pub fn halt(&self) -> HALT_R[src]

Bit 30 - Halts the divider counter.

pub fn reqflag(&self) -> REQFLAG_R[src]

Bit 31 - Divider status flag.

impl R<u32, Reg<u32, _SDIOCLKDIV>>[src]

pub fn div(&self) -> DIV_R[src]

Bits 0:7 - Clock divider value.

pub fn reset(&self) -> RESET_R[src]

Bit 29 - Resets the divider counter.

pub fn halt(&self) -> HALT_R[src]

Bit 30 - Halts the divider counter.

pub fn reqflag(&self) -> REQFLAG_R[src]

Bit 31 - Divider status flag.

impl R<u8, FETCHCFG_A>[src]

pub fn variant(&self) -> Variant<u8, FETCHCFG_A>[src]

Get enumerated values variant

pub fn is_no_buffer(&self) -> bool[src]

Checks if the value of the field is NO_BUFFER

pub fn is_one_buffer(&self) -> bool[src]

Checks if the value of the field is ONE_BUFFER

pub fn is_all_buffers(&self) -> bool[src]

Checks if the value of the field is ALL_BUFFERS

impl R<u8, DATACFG_A>[src]

pub fn variant(&self) -> Variant<u8, DATACFG_A>[src]

Get enumerated values variant

pub fn is_not_buffered(&self) -> bool[src]

Checks if the value of the field is NOT_BUFFERED

pub fn is_one_buffer(&self) -> bool[src]

Checks if the value of the field is ONE_BUFFER

pub fn is_all_buffers(&self) -> bool[src]

Checks if the value of the field is ALL_BUFFERS

impl R<bool, ACCEL_A>[src]

pub fn variant(&self) -> ACCEL_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, PREFEN_A>[src]

pub fn variant(&self) -> PREFEN_A[src]

Get enumerated values variant

pub fn is_no_prefetch(&self) -> bool[src]

Checks if the value of the field is NO_PREFETCH

pub fn is_prefetch(&self) -> bool[src]

Checks if the value of the field is PREFETCH

impl R<bool, PREFOVR_A>[src]

pub fn variant(&self) -> PREFOVR_A[src]

Get enumerated values variant

pub fn is_prefetch_completed(&self) -> bool[src]

Checks if the value of the field is PREFETCH_COMPLETED

pub fn is_prefetch_abort(&self) -> bool[src]

Checks if the value of the field is PREFETCH_ABORT

impl R<u8, FLASHTIM_A>[src]

pub fn variant(&self) -> Variant<u8, FLASHTIM_A>[src]

Get enumerated values variant

pub fn is_n_1_clock_cycle(&self) -> bool[src]

Checks if the value of the field is N_1_CLOCK_CYCLE

pub fn is_n_2_clock_cycles(&self) -> bool[src]

Checks if the value of the field is N_2_CLOCK_CYCLES

pub fn is_n_3_clock_cycles(&self) -> bool[src]

Checks if the value of the field is N_3_CLOCK_CYCLES

pub fn is_n_4_clock_cycles(&self) -> bool[src]

Checks if the value of the field is N_4_CLOCK_CYCLES

pub fn is_n_5_clock_cycles(&self) -> bool[src]

Checks if the value of the field is N_5_CLOCK_CYCLES

impl R<u32, Reg<u32, _FLASHCFG>>[src]

pub fn fetchcfg(&self) -> FETCHCFG_R[src]

Bits 0:1 - Instruction fetch configuration. This field determines how flash accelerator buffers are used for instruction fetches.

pub fn datacfg(&self) -> DATACFG_R[src]

Bits 2:3 - Data read configuration. This field determines how flash accelerator buffers are used for data accesses.

pub fn accel(&self) -> ACCEL_R[src]

Bit 4 - Acceleration enable.

pub fn prefen(&self) -> PREFEN_R[src]

Bit 5 - Prefetch enable.

pub fn prefovr(&self) -> PREFOVR_R[src]

Bit 6 - Prefetch override. This bit only applies when PREFEN = 1 and a buffered instruction is completing for which the next flash line is not already buffered or being prefetched.

pub fn flashtim(&self) -> FLASHTIM_R[src]

Bits 12:15 - Flash memory access time. The number of system clocks used for flash accesses is equal to FLASHTIM +1.

impl R<u32, Reg<u32, _USB0CLKCTRL>>[src]

pub fn ap_fs_dev_clk(&self) -> AP_FS_DEV_CLK_R[src]

Bit 0 - USB0 Device USB0_NEEDCLK signal control.

pub fn pol_fs_dev_clk(&self) -> POL_FS_DEV_CLK_R[src]

Bit 1 - USB0 Device USB0_NEEDCLK polarity for triggering the USB0 wake-up interrupt.

pub fn ap_fs_host_clk(&self) -> AP_FS_HOST_CLK_R[src]

Bit 2 - USB0 Host USB0_NEEDCLK signal control.

pub fn pol_fs_host_clk(&self) -> POL_FS_HOST_CLK_R[src]

Bit 3 - USB0 Host USB0_NEEDCLK polarity for triggering the USB0 wake-up interrupt.

pub fn pu_disable(&self) -> PU_DISABLE_R[src]

Bit 4 - Internal pull-up disable control.

impl R<u32, Reg<u32, _USB0CLKSTAT>>[src]

pub fn dev_need_clkst(&self) -> DEV_NEED_CLKST_R[src]

Bit 0 - USB0 Device USB0_NEEDCLK signal status.

pub fn host_need_clkst(&self) -> HOST_NEED_CLKST_R[src]

Bit 1 - USB0 Host USB0_NEEDCLK signal status.

impl R<u32, Reg<u32, _FREQMECTRL>>[src]

pub fn capval(&self) -> CAPVAL_R[src]

Bits 0:13 - Stores the capture result which is used to calculate the frequency of the target clock. This field is read-only.

pub fn prog(&self) -> PROG_R[src]

Bit 31 - Set this bit to one to initiate a frequency measurement cycle. Hardware clears this bit when the measurement cycle has completed and there is valid capture data in the CAPVAL field (bits 13:0).

impl R<u32, Reg<u32, _MCLKIO>>[src]

pub fn dir(&self) -> DIR_R[src]

Bit 0 - MCLK direction control.

impl R<u32, Reg<u32, _USB1CLKCTRL>>[src]

pub fn ap_fs_dev_clk(&self) -> AP_FS_DEV_CLK_R[src]

Bit 0 - USB1 Device need_clock signal control.

pub fn pol_fs_dev_clk(&self) -> POL_FS_DEV_CLK_R[src]

Bit 1 - USB1 Device need_clock polarity for triggering the USB1 wake-up interrupt.

pub fn ap_fs_host_clk(&self) -> AP_FS_HOST_CLK_R[src]

Bit 2 - USB1 Host need_clock signal control.

pub fn pol_fs_host_clk(&self) -> POL_FS_HOST_CLK_R[src]

Bit 3 - USB1 Host need_clock polarity for triggering the USB1 wake-up interrupt.

pub fn hs_dev_wakeup_n(&self) -> HS_DEV_WAKEUP_N_R[src]

Bit 4 - External user wake-up signal for device mode; asserting this signal (active low) will result in exiting the low power mode; input to asynchronous control logic.

impl R<u32, Reg<u32, _USB1CLKSTAT>>[src]

pub fn dev_need_clkst(&self) -> DEV_NEED_CLKST_R[src]

Bit 0 - USB1 Device USB1_NEEDCLK signal status.

pub fn host_need_clkst(&self) -> HOST_NEED_CLKST_R[src]

Bit 1 - USB1 Device host USB1_NEEDCLK signal status.

impl R<u32, Reg<u32, _EMCSYSCTRL>>[src]

pub fn emcsc(&self) -> EMCSC_R[src]

Bit 0 - EMC Shift Control.

pub fn emcrd(&self) -> EMCRD_R[src]

Bit 1 - EMC Reset Disable.

pub fn emcbc(&self) -> EMCBC_R[src]

Bit 2 - External Memory Controller burst control.

pub fn emcfbclkinsel(&self) -> EMCFBCLKINSEL_R[src]

Bit 3 - External Memory Controller clock select.

impl R<u32, Reg<u32, _EMCDLYCTRL>>[src]

pub fn cmd_delay(&self) -> CMD_DELAY_R[src]

Bits 0:4 - Programmable delay value for EMC outputs in command delayed mode.

pub fn fbclk_delay(&self) -> FBCLK_DELAY_R[src]

Bits 8:12 - Programmable delay value for the feedback clock that controls input data sampling.

impl R<u32, Reg<u32, _EMCDLYCAL>>[src]

pub fn calvalue(&self) -> CALVALUE_R[src]

Bits 0:7 - Returns the count of the approximately 50 MHz ring oscillator that occur during 32 clocks of the FRO 12 MHz.

pub fn start(&self) -> START_R[src]

Bit 14 - Start control bit for the EMC calibration counter.

pub fn done(&self) -> DONE_R[src]

Bit 15 - Measurement completion flag.

impl R<u32, Reg<u32, _ETHPHYSEL>>[src]

pub fn phy_sel(&self) -> PHY_SEL_R[src]

Bit 2 - PHY interface select.

impl R<u32, Reg<u32, _ETHSBDCTRL>>[src]

pub fn sbd_ctrl(&self) -> SBD_CTRL_R[src]

Bits 0:1 - Sideband Flow Control.

impl R<u32, Reg<u32, _SDIOCLKCTRL>>[src]

pub fn cclk_drv_phase(&self) -> CCLK_DRV_PHASE_R[src]

Bits 0:1 - Programmable delay value by which cclk_in_drv is phase-shifted with regard to cclk_in.

pub fn cclk_sample_phase(&self) -> CCLK_SAMPLE_PHASE_R[src]

Bits 2:3 - Programmable delay value by which cclk_in_sample is delayed with regard to cclk_in.

pub fn phase_active(&self) -> PHASE_ACTIVE_R[src]

Bit 7 - sdio_clk by 2, before feeding into ccl_in, cclk_in_sample, and cclk_in_drv.

pub fn cclk_drv_delay(&self) -> CCLK_DRV_DELAY_R[src]

Bits 16:20 - Programmable delay value by which cclk_in_drv is delayed with regard to cclk_in.

pub fn cclk_drv_delay_active(&self) -> CCLK_DRV_DELAY_ACTIVE_R[src]

Bit 23 - Enables drive delay, as controlled by the CCLK_DRV_DELAY field.

pub fn cclk_sample_delay(&self) -> CCLK_SAMPLE_DELAY_R[src]

Bits 24:28 - Programmable delay value by which cclk_in_sample is delayed with regard to cclk_in.

pub fn cclk_sample_delay_active(&self) -> CCLK_SAMPLE_DELAY_ACTIVE_R[src]

Bit 31 - Enables sample delay, as controlled by the CCLK_SAMPLE_DELAY field.

impl R<u32, Reg<u32, _FROCTRL>>[src]

pub fn trim(&self) -> TRIM_R[src]

Bits 0:13 - This value is factory trimmed to account for bias and temperature compensation.

pub fn sel(&self) -> SEL_R[src]

Bit 14 - Select the FRO HF output frequency.

pub fn freqtrim(&self) -> FREQTRIM_R[src]

Bits 16:23 - Frequency trim.

pub fn usbclkadj(&self) -> USBCLKADJ_R[src]

Bit 24 - USB clock adjust mode.

pub fn usbmodchg(&self) -> USBMODCHG_R[src]

Bit 25 - USB Mode value Change flag.

pub fn hspdclk(&self) -> HSPDCLK_R[src]

Bit 30 - High speed clock enable.

pub fn wrtrim(&self) -> WRTRIM_R[src]

Bit 31 - Write Trim value.

impl R<u32, Reg<u32, _SYSOSCCTRL>>[src]

pub fn bypass(&self) -> BYPASS_R[src]

Bit 0 - Bypass system oscillator.

pub fn freqrange(&self) -> FREQRANGE_R[src]

Bit 1 - Determines frequency range for system oscillator.

impl R<u32, Reg<u32, _WDTOSCCTRL>>[src]

pub fn divsel(&self) -> DIVSEL_R[src]

Bits 0:4 - Divider select.

pub fn freqsel(&self) -> FREQSEL_R[src]

Bits 5:9 - Frequency select.

impl R<u32, Reg<u32, _RTCOSCCTRL>>[src]

pub fn en(&self) -> EN_R[src]

Bit 0 - RTC 32 kHz clock enable.

impl R<bool, DIRECT_A>[src]

pub fn variant(&self) -> DIRECT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, BYPASS_A>[src]

pub fn variant(&self) -> BYPASS_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<u32, Reg<u32, _USBPLLCTRL>>[src]

pub fn msel(&self) -> MSEL_R[src]

Bits 0:7 - PLL feedback Divider value.

pub fn psel(&self) -> PSEL_R[src]

Bits 8:9 - PLL Divider value.

pub fn nsel(&self) -> NSEL_R[src]

Bits 10:11 - PLL feedback Divider value.

pub fn direct(&self) -> DIRECT_R[src]

Bit 12 - Direct CCO clock output control.

pub fn bypass(&self) -> BYPASS_R[src]

Bit 13 - Input clock bypass control.

pub fn fbsel(&self) -> FBSEL_R[src]

Bit 14 - Feedback divider input clock control.

impl R<u32, Reg<u32, _USBPLLSTAT>>[src]

pub fn lock(&self) -> LOCK_R[src]

Bit 0 - USBPLL lock indicator.

impl R<bool, BYPASS_A>[src]

pub fn variant(&self) -> BYPASS_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIRECTO_A>[src]

pub fn variant(&self) -> DIRECTO_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<u32, Reg<u32, _SYSPLLCTRL>>[src]

pub fn selr(&self) -> SELR_R[src]

Bits 0:3 - Bandwidth select R value.

pub fn seli(&self) -> SELI_R[src]

Bits 4:9 - Bandwidth select I value.

pub fn selp(&self) -> SELP_R[src]

Bits 10:14 - Bandwidth select P value.

pub fn bypass(&self) -> BYPASS_R[src]

Bit 15 - PLL bypass control.

pub fn uplimoff(&self) -> UPLIMOFF_R[src]

Bit 17 - Disable upper frequency limiter.

pub fn directi(&self) -> DIRECTI_R[src]

Bit 19 - PLL0 direct input enable.

pub fn directo(&self) -> DIRECTO_R[src]

Bit 20 - PLL0 direct output enable.

impl R<u32, Reg<u32, _SYSPLLSTAT>>[src]

pub fn lock(&self) -> LOCK_R[src]

Bit 0 - PLL lock indicator.

impl R<u32, Reg<u32, _SYSPLLNDEC>>[src]

pub fn ndec(&self) -> NDEC_R[src]

Bits 0:9 - Decoded N-divider coefficient value.

pub fn nreq(&self) -> NREQ_R[src]

Bit 10 - NDEC reload request.

impl R<u32, Reg<u32, _SYSPLLPDEC>>[src]

pub fn pdec(&self) -> PDEC_R[src]

Bits 0:6 - Decoded P-divider coefficient value.

pub fn preq(&self) -> PREQ_R[src]

Bit 7 - .

impl R<u32, Reg<u32, _SYSPLLMDEC>>[src]

pub fn mdec(&self) -> MDEC_R[src]

Bits 0:16 - Decoded M-divider coefficient value.

pub fn mreq(&self) -> MREQ_R[src]

Bit 17 - MDEC reload request.

impl R<bool, BYPASS_A>[src]

pub fn variant(&self) -> BYPASS_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIRECTO_A>[src]

pub fn variant(&self) -> DIRECTO_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<u32, Reg<u32, _AUDPLLCTRL>>[src]

pub fn selr(&self) -> SELR_R[src]

Bits 0:3 - Bandwidth select R value.

pub fn seli(&self) -> SELI_R[src]

Bits 4:9 - Bandwidth select I value.

pub fn selp(&self) -> SELP_R[src]

Bits 10:14 - .

pub fn bypass(&self) -> BYPASS_R[src]

Bit 15 - PLL bypass control.

pub fn uplimoff(&self) -> UPLIMOFF_R[src]

Bit 17 - Disable upper frequency limiter.

pub fn directi(&self) -> DIRECTI_R[src]

Bit 19 - PLL direct input enable.

pub fn directo(&self) -> DIRECTO_R[src]

Bit 20 - PLL direct output enable

impl R<u32, Reg<u32, _AUDPLLSTAT>>[src]

pub fn lock(&self) -> LOCK_R[src]

Bit 0 - PLL lock indicator.

impl R<u32, Reg<u32, _AUDPLLNDEC>>[src]

pub fn ndec(&self) -> NDEC_R[src]

Bits 0:9 - Decoded N-divider coefficient value.

pub fn nreq(&self) -> NREQ_R[src]

Bit 10 - NDEC reload request.

impl R<u32, Reg<u32, _AUDPLLPDEC>>[src]

pub fn pdec(&self) -> PDEC_R[src]

Bits 0:6 - Decoded P-divider coefficient value.

pub fn preq(&self) -> PREQ_R[src]

Bit 7 - PDEC reload request.

impl R<u32, Reg<u32, _AUDPLLMDEC>>[src]

pub fn mdec(&self) -> MDEC_R[src]

Bits 0:16 - Decoded M-divider coefficient value.

pub fn mreq(&self) -> MREQ_R[src]

Bit 17 - MDEC reload request.

impl R<u32, Reg<u32, _AUDPLLFRAC>>[src]

pub fn ctrl(&self) -> CTRL_R[src]

Bits 0:21 - PLL fractional divider control word

pub fn req(&self) -> REQ_R[src]

Bit 22 - Writing 1 to REQ signal loads CTRL value into fractional wrapper modulator.

pub fn sel_ext(&self) -> SEL_EXT_R[src]

Bit 23 - Select fractional divider.

impl R<u32, Reg<u32, _PDSLEEPCFG0>>[src]

pub fn pden_fro(&self) -> PDEN_FRO_R[src]

Bit 4 - FRO oscillator.

pub fn pden_ts(&self) -> PDEN_TS_R[src]

Bit 6 - Temp sensor.

pub fn pden_bod_rst(&self) -> PDEN_BOD_RST_R[src]

Bit 7 - Brown-out Detect reset.

pub fn pden_bod_intr(&self) -> PDEN_BOD_INTR_R[src]

Bit 8 - Brown-out Detect interrupt.

pub fn pden_vd2_ana(&self) -> PDEN_VD2_ANA_R[src]

Bit 9 - Analog supply for System Oscillator (also enable/disable bit 3 in PDRUNCFG1 register), Temperature Sensor (also, enable/disable bit 6), ADC (also, enable/disable bits 10, 19, and 23).

pub fn pden_adc0(&self) -> PDEN_ADC0_R[src]

Bit 10 - ADC power.

pub fn pden_sramx(&self) -> PDEN_SRAMX_R[src]

Bit 13 - PDEN_SRAMX controls SRAMX (also enable/disable bit 27).

pub fn pden_sram0(&self) -> PDEN_SRAM0_R[src]

Bit 14 - PDEN_SRAM0 controls SRAM0 (also enable/disable bit 27).

pub fn pden_sram1_2_3(&self) -> PDEN_SRAM1_2_3_R[src]

Bit 15 - PDEN_SRAM1_2_3 controls SRAM1, SRAM2, and SRAM3 (also enable/disable bit 27).

pub fn pden_usb_ram(&self) -> PDEN_USB_RAM_R[src]

Bit 16 - PDEN_USB_SRAM controls USB_RAM (also enable/disable bit 27).

pub fn pden_rom(&self) -> PDEN_ROM_R[src]

Bit 17 - ROM (also enable/disable bit 27).

pub fn pden_vdda(&self) -> PDEN_VDDA_R[src]

Bit 19 - Vdda to the ADC, must be enabled for the ADC to work (also enable/disable bit 9, 10, and 23).

pub fn pden_wdt_osc(&self) -> PDEN_WDT_OSC_R[src]

Bit 20 - Watchdog oscillator.

pub fn pden_usb0_phy(&self) -> PDEN_USB0_PHY_R[src]

Bit 21 - USB0 PHY power (also enable/disable bit 28).

pub fn pden_sys_pll(&self) -> PDEN_SYS_PLL_R[src]

Bit 22 - System PLL (PLL0) power (also enable/disable bit 26).

pub fn pden_vrefp(&self) -> PDEN_VREFP_R[src]

Bit 23 - VREFP to the ADC must be enabled for the ADC to work (also enable/disable bit 9, 10, and 19).

pub fn pden_vd3(&self) -> PDEN_VD3_R[src]

Bit 26 - Power control for all PLLs.

pub fn pden_vd4(&self) -> PDEN_VD4_R[src]

Bit 27 - Power control for all SRAMs and ROM.

pub fn pden_vd5(&self) -> PDEN_VD5_R[src]

Bit 28 - Power control both USB0 PHY and USB1 PHY.

pub fn pden_vd6(&self) -> PDEN_VD6_R[src]

Bit 29 - Power control for EEPROM.

impl R<u32, Reg<u32, _PDSLEEPCFG1>>[src]

pub fn pden_usb1_phy(&self) -> PDEN_USB1_PHY_R[src]

Bit 0 - USB1 high speed PHY (also, enable/disable bit 28 in PDRUNCFG0 register).

pub fn pden_usb1_pll(&self) -> PDEN_USB1_PLL_R[src]

Bit 1 - USB PLL (PLL1) power (also, enable/disable bit 26 in PDRUNCFG0 register).

pub fn pden_aud_pll(&self) -> PDEN_AUD_PLL_R[src]

Bit 2 - Audio PLL (PLL2) power and fractional divider (also, enable/disable bit 26 in PDRUNCFG0 register).

pub fn pden_sysosc(&self) -> PDEN_SYSOSC_R[src]

Bit 3 - System Oscillator Power (also, enable/disable bit 9 in PDRUNCFG0 register).

pub fn pden_eeprom(&self) -> PDEN_EEPROM_R[src]

Bit 5 - EEPROM power (also, enable/disable bit 29 in PDRUNCFG0 register).

pub fn pden_rng(&self) -> PDEN_RNG_R[src]

Bit 7 - Random Number Generator Power.

impl R<u32, Reg<u32, _PDRUNCFG0>>[src]

pub fn pden_fro(&self) -> PDEN_FRO_R[src]

Bit 4 - FRO oscillator.

pub fn pden_ts(&self) -> PDEN_TS_R[src]

Bit 6 - Temp sensor.

pub fn pden_bod_rst(&self) -> PDEN_BOD_RST_R[src]

Bit 7 - Brown-out Detect reset.

pub fn pden_bod_intr(&self) -> PDEN_BOD_INTR_R[src]

Bit 8 - Brown-out Detect interrupt.

pub fn pden_vd2_ana(&self) -> PDEN_VD2_ANA_R[src]

Bit 9 - Analog supply for System Oscillator (also enable/disable bit 3 in PDRUNCFG1 register), Temperature Sensor (also, enable/disable bit 6), ADC (also, enable/disable bits 10, 19, and 23).

pub fn pden_adc0(&self) -> PDEN_ADC0_R[src]

Bit 10 - ADC power.

pub fn pden_sramx(&self) -> PDEN_SRAMX_R[src]

Bit 13 - PDEN_SRAMX controls SRAMX (also enable/disable bit 27).

pub fn pden_sram0(&self) -> PDEN_SRAM0_R[src]

Bit 14 - PDEN_SRAM0 controls SRAM0 (also enable/disable bit 27).

pub fn pden_sram1_2_3(&self) -> PDEN_SRAM1_2_3_R[src]

Bit 15 - PDEN_SRAM1_2_3 controls SRAM1, SRAM2, and SRAM3 (also enable/disable bit 27).

pub fn pden_usb_ram(&self) -> PDEN_USB_RAM_R[src]

Bit 16 - PDEN_USB_SRAM controls USB_RAM (also enable/disable bit 27).

pub fn pden_rom(&self) -> PDEN_ROM_R[src]

Bit 17 - ROM (also enable/disable bit 27).

pub fn pden_vdda(&self) -> PDEN_VDDA_R[src]

Bit 19 - Vdda to the ADC, must be enabled for the ADC to work (also enable/disable bit 9, 10, and 23).

pub fn pden_wdt_osc(&self) -> PDEN_WDT_OSC_R[src]

Bit 20 - Watchdog oscillator.

pub fn pden_usb0_phy(&self) -> PDEN_USB0_PHY_R[src]

Bit 21 - USB0 PHY power (also enable/disable bit 28).

pub fn pden_sys_pll(&self) -> PDEN_SYS_PLL_R[src]

Bit 22 - System PLL (PLL0) power (also enable/disable bit 26).

pub fn pden_vrefp(&self) -> PDEN_VREFP_R[src]

Bit 23 - VREFP to the ADC must be enabled for the ADC to work (also enable/disable bit 9, 10, and 19).

pub fn pden_vd3(&self) -> PDEN_VD3_R[src]

Bit 26 - Power control for all PLLs.

pub fn pden_vd4(&self) -> PDEN_VD4_R[src]

Bit 27 - Power control for all SRAMs and ROM.

pub fn pden_vd5(&self) -> PDEN_VD5_R[src]

Bit 28 - Power control both USB0 PHY and USB1 PHY.

pub fn pden_vd6(&self) -> PDEN_VD6_R[src]

Bit 29 - Power control for EEPROM.

impl R<u32, Reg<u32, _PDRUNCFG1>>[src]

pub fn pden_usb1_phy(&self) -> PDEN_USB1_PHY_R[src]

Bit 0 - USB1 high speed PHY (also, enable/disable bit 28 in PDRUNCFG0 register).

pub fn pden_usb1_pll(&self) -> PDEN_USB1_PLL_R[src]

Bit 1 - USB PLL (PLL1) power (also, enable/disable bit 26 in PDRUNCFG0 register).

pub fn pden_aud_pll(&self) -> PDEN_AUD_PLL_R[src]

Bit 2 - Audio PLL (PLL2) power and fractional divider (also, enable/disable bit 26 in PDRUNCFG0 register).

pub fn pden_sysosc(&self) -> PDEN_SYSOSC_R[src]

Bit 3 - System Oscillator Power (also, enable/disable bit 9 in PDRUNCFG0 register).

pub fn pden_eeprom(&self) -> PDEN_EEPROM_R[src]

Bit 5 - EEPROM power (also, enable/disable bit 29 in PDRUNCFG0 register).

pub fn pden_rng(&self) -> PDEN_RNG_R[src]

Bit 7 - Random Number Generator Power.

impl R<u32, Reg<u32, _PDRUNCFGSET0>>[src]

pub fn pden_fro(&self) -> PDEN_FRO_R[src]

Bit 4 - FRO oscillator.

pub fn pden_ts(&self) -> PDEN_TS_R[src]

Bit 6 - Temp sensor.

pub fn pden_bod_rst(&self) -> PDEN_BOD_RST_R[src]

Bit 7 - Brown-out Detect reset.

pub fn pden_bod_intr(&self) -> PDEN_BOD_INTR_R[src]

Bit 8 - Brown-out Detect interrupt.

pub fn pden_vd2_ana(&self) -> PDEN_VD2_ANA_R[src]

Bit 9 - Analog supply for System Oscillator (also enable/disable bit 3 in PDRUNCFG1 register), Temperature Sensor (also, enable/disable bit 6), ADC (also, enable/disable bits 10, 19, and 23).

pub fn pden_adc0(&self) -> PDEN_ADC0_R[src]

Bit 10 - ADC power.

pub fn pden_sramx(&self) -> PDEN_SRAMX_R[src]

Bit 13 - PDEN_SRAMX controls SRAMX (also enable/disable bit 27).

pub fn pden_sram0(&self) -> PDEN_SRAM0_R[src]

Bit 14 - PDEN_SRAM0 controls SRAM0 (also enable/disable bit 27).

pub fn pden_sram1_2_3(&self) -> PDEN_SRAM1_2_3_R[src]

Bit 15 - PDEN_SRAM1_2_3 controls SRAM1, SRAM2, and SRAM3 (also enable/disable bit 27).

pub fn pden_usb_ram(&self) -> PDEN_USB_RAM_R[src]

Bit 16 - PDEN_USB_SRAM controls USB_RAM (also enable/disable bit 27).

pub fn pden_rom(&self) -> PDEN_ROM_R[src]

Bit 17 - ROM (also enable/disable bit 27).

pub fn pden_vdda(&self) -> PDEN_VDDA_R[src]

Bit 19 - Vdda to the ADC, must be enabled for the ADC to work (also enable/disable bit 9, 10, and 23).

pub fn pden_wdt_osc(&self) -> PDEN_WDT_OSC_R[src]

Bit 20 - Watchdog oscillator.

pub fn pden_usb0_phy(&self) -> PDEN_USB0_PHY_R[src]

Bit 21 - USB0 PHY power (also enable/disable bit 28).

pub fn pden_sys_pll(&self) -> PDEN_SYS_PLL_R[src]

Bit 22 - System PLL (PLL0) power (also enable/disable bit 26).

pub fn pden_vrefp(&self) -> PDEN_VREFP_R[src]

Bit 23 - VREFP to the ADC must be enabled for the ADC to work (also enable/disable bit 9, 10, and 19).

pub fn pden_vd3(&self) -> PDEN_VD3_R[src]

Bit 26 - Power control for all PLLs.

pub fn pden_vd4(&self) -> PDEN_VD4_R[src]

Bit 27 - Power control for all SRAMs and ROM.

pub fn pden_vd5(&self) -> PDEN_VD5_R[src]

Bit 28 - Power control both USB0 PHY and USB1 PHY.

pub fn pden_vd6(&self) -> PDEN_VD6_R[src]

Bit 29 - Power control for EEPROM.

impl R<u32, Reg<u32, _PDRUNCFGSET1>>[src]

pub fn pden_usb1_phy(&self) -> PDEN_USB1_PHY_R[src]

Bit 0 - USB1 high speed PHY (also, enable/disable bit 28 in PDRUNCFG0 register).

pub fn pden_usb1_pll(&self) -> PDEN_USB1_PLL_R[src]

Bit 1 - USB PLL (PLL1) power (also, enable/disable bit 26 in PDRUNCFG0 register).

pub fn pden_aud_pll(&self) -> PDEN_AUD_PLL_R[src]

Bit 2 - Audio PLL (PLL2) power and fractional divider (also, enable/disable bit 26 in PDRUNCFG0 register).

pub fn pden_sysosc(&self) -> PDEN_SYSOSC_R[src]

Bit 3 - System Oscillator Power (also, enable/disable bit 9 in PDRUNCFG0 register).

pub fn pden_eeprom(&self) -> PDEN_EEPROM_R[src]

Bit 5 - EEPROM power (also, enable/disable bit 29 in PDRUNCFG0 register).

pub fn pden_rng(&self) -> PDEN_RNG_R[src]

Bit 7 - Random Number Generator Power.

impl R<u32, Reg<u32, _PDRUNCFGCLR0>>[src]

pub fn pden_fro(&self) -> PDEN_FRO_R[src]

Bit 4 - FRO oscillator.

pub fn pden_ts(&self) -> PDEN_TS_R[src]

Bit 6 - Temp sensor.

pub fn pden_bod_rst(&self) -> PDEN_BOD_RST_R[src]

Bit 7 - Brown-out Detect reset.

pub fn pden_bod_intr(&self) -> PDEN_BOD_INTR_R[src]

Bit 8 - Brown-out Detect interrupt.

pub fn pden_vd2_ana(&self) -> PDEN_VD2_ANA_R[src]

Bit 9 - Analog supply for System Oscillator (also enable/disable bit 3 in PDRUNCFG1 register), Temperature Sensor (also, enable/disable bit 6), ADC (also, enable/disable bits 10, 19, and 23).

pub fn pden_adc0(&self) -> PDEN_ADC0_R[src]

Bit 10 - ADC power.

pub fn pden_sramx(&self) -> PDEN_SRAMX_R[src]

Bit 13 - PDEN_SRAMX controls SRAMX (also enable/disable bit 27).

pub fn pden_sram0(&self) -> PDEN_SRAM0_R[src]

Bit 14 - PDEN_SRAM0 controls SRAM0 (also enable/disable bit 27).

pub fn pden_sram1_2_3(&self) -> PDEN_SRAM1_2_3_R[src]

Bit 15 - PDEN_SRAM1_2_3 controls SRAM1, SRAM2, and SRAM3 (also enable/disable bit 27).

pub fn pden_usb_ram(&self) -> PDEN_USB_RAM_R[src]

Bit 16 - PDEN_USB_SRAM controls USB_RAM (also enable/disable bit 27).

pub fn pden_rom(&self) -> PDEN_ROM_R[src]

Bit 17 - ROM (also enable/disable bit 27).

pub fn pden_vdda(&self) -> PDEN_VDDA_R[src]

Bit 19 - Vdda to the ADC, must be enabled for the ADC to work (also enable/disable bit 9, 10, and 23).

pub fn pden_wdt_osc(&self) -> PDEN_WDT_OSC_R[src]

Bit 20 - Watchdog oscillator.

pub fn pden_usb0_phy(&self) -> PDEN_USB0_PHY_R[src]

Bit 21 - USB0 PHY power (also enable/disable bit 28).

pub fn pden_sys_pll(&self) -> PDEN_SYS_PLL_R[src]

Bit 22 - System PLL (PLL0) power (also enable/disable bit 26).

pub fn pden_vrefp(&self) -> PDEN_VREFP_R[src]

Bit 23 - VREFP to the ADC must be enabled for the ADC to work (also enable/disable bit 9, 10, and 19).

pub fn pden_vd3(&self) -> PDEN_VD3_R[src]

Bit 26 - Power control for all PLLs.

pub fn pden_vd4(&self) -> PDEN_VD4_R[src]

Bit 27 - Power control for all SRAMs and ROM.

pub fn pden_vd5(&self) -> PDEN_VD5_R[src]

Bit 28 - Power control both USB0 PHY and USB1 PHY.

pub fn pden_vd6(&self) -> PDEN_VD6_R[src]

Bit 29 - Power control for EEPROM.

impl R<u32, Reg<u32, _PDRUNCFGCLR1>>[src]

pub fn pden_usb1_phy(&self) -> PDEN_USB1_PHY_R[src]

Bit 0 - USB1 high speed PHY (also, enable/disable bit 28 in PDRUNCFG0 register).

pub fn pden_usb1_pll(&self) -> PDEN_USB1_PLL_R[src]

Bit 1 - USB PLL (PLL1) power (also, enable/disable bit 26 in PDRUNCFG0 register).

pub fn pden_aud_pll(&self) -> PDEN_AUD_PLL_R[src]

Bit 2 - Audio PLL (PLL2) power and fractional divider (also, enable/disable bit 26 in PDRUNCFG0 register).

pub fn pden_sysosc(&self) -> PDEN_SYSOSC_R[src]

Bit 3 - System Oscillator Power (also, enable/disable bit 9 in PDRUNCFG0 register).

pub fn pden_eeprom(&self) -> PDEN_EEPROM_R[src]

Bit 5 - EEPROM power (also, enable/disable bit 29 in PDRUNCFG0 register).

pub fn pden_rng(&self) -> PDEN_RNG_R[src]

Bit 7 - Random Number Generator Power.

impl R<u32, Reg<u32, _STARTER0>>[src]

pub fn wdt_bod(&self) -> WDT_BOD_R[src]

Bit 0 - WWDT and BOD interrupt wake-up.

pub fn dma(&self) -> DMA_R[src]

Bit 1 - DMA wake-up.

pub fn gint0(&self) -> GINT0_R[src]

Bit 2 - Group interrupt 0 wake-up.

pub fn gint1(&self) -> GINT1_R[src]

Bit 3 - Group interrupt 1 wake-up.

pub fn pin_int0(&self) -> PIN_INT0_R[src]

Bit 4 - GPIO pin interrupt 0 wake-up.

pub fn pin_int1(&self) -> PIN_INT1_R[src]

Bit 5 - GPIO pin interrupt 1 wake-up.

pub fn pin_int2(&self) -> PIN_INT2_R[src]

Bit 6 - GPIO pin interrupt 2 wake-up.

pub fn pin_int3(&self) -> PIN_INT3_R[src]

Bit 7 - GPIO pin interrupt 3 wake-up.

pub fn utick(&self) -> UTICK_R[src]

Bit 8 - Micro-tick Timer wake-up.

pub fn mrt(&self) -> MRT_R[src]

Bit 9 - Multi-Rate Timer wake-up.

pub fn ctimer0(&self) -> CTIMER0_R[src]

Bit 10 - Standard counter/timer CTIMER0 wake-up.

pub fn ctimer1(&self) -> CTIMER1_R[src]

Bit 11 - Standard counter/timer CTIMER1 wake-up.

pub fn sct0(&self) -> SCT0_R[src]

Bit 12 - SCT0 wake-up.

pub fn ctimer3(&self) -> CTIMER3_R[src]

Bit 13 - Standard counter/timer CTIMER3 wake-up.

pub fn flexcomm0(&self) -> FLEXCOMM0_R[src]

Bit 14 - Flexcomm0 peripheral interrupt wake-up.

pub fn flexcomm1(&self) -> FLEXCOMM1_R[src]

Bit 15 - Flexcomm1 peripheral interrupt wake-up.

pub fn flexcomm2(&self) -> FLEXCOMM2_R[src]

Bit 16 - Flexcomm2 peripheral interrupt wake-up.

pub fn flexcomm3(&self) -> FLEXCOMM3_R[src]

Bit 17 - Flexcomm3 peripheral interrupt wake-up.

pub fn flexcomm4(&self) -> FLEXCOMM4_R[src]

Bit 18 - Flexcomm4 peripheral interrupt wake-up.

pub fn flexcomm5(&self) -> FLEXCOMM5_R[src]

Bit 19 - Flexcomm5 peripheral interrupt wake-up.

pub fn flexcomm6(&self) -> FLEXCOMM6_R[src]

Bit 20 - Flexcomm6 peripheral interrupt wake-up.

pub fn flexcomm7(&self) -> FLEXCOMM7_R[src]

Bit 21 - Flexcomm7 peripheral interrupt wake-up.

pub fn adc0_seqa(&self) -> ADC0_SEQA_R[src]

Bit 22 - ADC0 sequence A interrupt wake-up.

pub fn adc0_seqb(&self) -> ADC0_SEQB_R[src]

Bit 23 - ADC0 sequence B interrupt wake-up.

pub fn adc0_thcmp(&self) -> ADC0_THCMP_R[src]

Bit 24 - ADC0 threshold and error interrupt wake-up.

pub fn dmic(&self) -> DMIC_R[src]

Bit 25 - Digital microphone interrupt wake-up.

pub fn hwvad(&self) -> HWVAD_R[src]

Bit 26 - Hardware voice activity detect interrupt wake-up.

pub fn usb0_needclk(&self) -> USB0_NEEDCLK_R[src]

Bit 27 - USB activity interrupt wake-up.

pub fn usb0(&self) -> USB0_R[src]

Bit 28 - USB function interrupt wake-up.

pub fn rtc(&self) -> RTC_R[src]

Bit 29 - RTC interrupt alarm and wake-up timer.

impl R<u32, Reg<u32, _STARTER1>>[src]

pub fn pint4(&self) -> PINT4_R[src]

Bit 0 - GPIO pin interrupt 4 wake-up.

pub fn pint5(&self) -> PINT5_R[src]

Bit 1 - GPIO pin interrupt 5 wake-up.

pub fn pint6(&self) -> PINT6_R[src]

Bit 2 - GPIO pin interrupt 6 wake-up.

pub fn pint7(&self) -> PINT7_R[src]

Bit 3 - GPIO pin interrupt 7 wake-up.

pub fn ctimer2(&self) -> CTIMER2_R[src]

Bit 4 - Standard counter/timer CTIMER2 wake-up.

pub fn ctimer4(&self) -> CTIMER4_R[src]

Bit 5 - Standard counter/timer CTIMER4 wake-up.

pub fn spifi(&self) -> SPIFI_R[src]

Bit 7 - SPIFI interrupt wake-up. 0 = Wake-up disabled. 1 = Wake-up enabled.

pub fn flexcomm8(&self) -> FLEXCOMM8_R[src]

Bit 8 - Flexcomm Interface 8 wake-up.

pub fn flexcomm9(&self) -> FLEXCOMM9_R[src]

Bit 9 - Flexcomm Interface 9 wake-up.

pub fn usb1(&self) -> USB1_R[src]

Bit 15 - USB 1 wake-up.

pub fn usb1_act(&self) -> USB1_ACT_R[src]

Bit 16 - USB 1 activity wake-up.

pub fn enet_int1(&self) -> ENET_INT1_R[src]

Bit 17 - Ethernet.

pub fn enet_int2(&self) -> ENET_INT2_R[src]

Bit 18 - Ethernet.

pub fn enet_int0(&self) -> ENET_INT0_R[src]

Bit 19 - Ethernet.

pub fn smartcard0(&self) -> SMARTCARD0_R[src]

Bit 23 - Smart card 0 wake-up.

pub fn smartcard1(&self) -> SMARTCARD1_R[src]

Bit 24 - Smart card 1 wake-up.

impl R<u32, Reg<u32, _HWWAKE>>[src]

pub fn forcewake(&self) -> FORCEWAKE_R[src]

Bit 0 - Force peripheral clocking to stay on during Deep Sleep and Power-down modes. When 1, clocking to peripherals is prevented from being shut down when the CPU enters Deep Sleep and Power-down modes. This is intended to allow a coprocessor to continue operating while the main CPU(s) are shut down.

pub fn fcwake(&self) -> FCWAKE_R[src]

Bit 1 - Wake for Flexcomms. When 1, any Flexcomm FIFO reaching the level specified by its own TXLVL will cause peripheral clocking to wake up temporarily while the related status is asserted.

pub fn wakedmic(&self) -> WAKEDMIC_R[src]

Bit 2 - Wake for Digital Microphone. When 1, the digital microphone input FIFO reaching the level specified by TRIGLVL of either channel will cause peripheral clocking to wake up temporarily while the related status is asserted.

pub fn wakedma(&self) -> WAKEDMA_R[src]

Bit 3 - Wake for DMA. When 1, DMA being busy will cause peripheral clocking to remain running until DMA completes. This is generally used in conjunction with bit 1 and/or 2 in order to prevent peripheral clocking from being shut down as soon as the cause of wake-up is cleared, but before DMA has completed its related activity.

impl R<u32, Reg<u32, _AUTOCGOR>>[src]

pub fn ram0x(&self) -> RAM0X_R[src]

Bit 1 - When 1, automatic clock gating for RAMX and RAM0 are turned off.

pub fn ram1(&self) -> RAM1_R[src]

Bit 2 - When 1, automatic clock gating for RAM1 are turned off.

pub fn ram2(&self) -> RAM2_R[src]

Bit 3 - When 1, automatic clock gating for RAM1 are turned off.

pub fn ram3(&self) -> RAM3_R[src]

Bit 4 - When 1, automatic clock gating for RAM1 are turned off.

impl R<u32, Reg<u32, _JTAGIDCODE>>[src]

pub fn jtagid(&self) -> JTAGID_R[src]

Bits 0:31 - JTAG ID code.

impl R<u32, Reg<u32, _DEVICE_ID0>>[src]

pub fn partid(&self) -> PARTID_R[src]

Bits 0:31 - Part ID

impl R<u32, Reg<u32, _DEVICE_ID1>>[src]

pub fn revid(&self) -> REVID_R[src]

Bits 0:31 - Revision.

impl R<u8, BODRSTLEV_A>[src]

pub fn variant(&self) -> BODRSTLEV_A[src]

Get enumerated values variant

pub fn is_level0(&self) -> bool[src]

Checks if the value of the field is LEVEL0

pub fn is_level1(&self) -> bool[src]

Checks if the value of the field is LEVEL1

pub fn is_level2(&self) -> bool[src]

Checks if the value of the field is LEVEL2

pub fn is_level3(&self) -> bool[src]

Checks if the value of the field is LEVEL3

impl R<bool, BODRSTENA_A>[src]

pub fn variant(&self) -> BODRSTENA_A[src]

Get enumerated values variant

pub fn is_disable(&self) -> bool[src]

Checks if the value of the field is DISABLE

pub fn is_enable(&self) -> bool[src]

Checks if the value of the field is ENABLE

impl R<u8, BODINTLEV_A>[src]

pub fn variant(&self) -> BODINTLEV_A[src]

Get enumerated values variant

pub fn is_level0(&self) -> bool[src]

Checks if the value of the field is LEVEL0

pub fn is_level1(&self) -> bool[src]

Checks if the value of the field is LEVEL1

pub fn is_level2(&self) -> bool[src]

Checks if the value of the field is LEVEL2

pub fn is_level3(&self) -> bool[src]

Checks if the value of the field is LEVEL3

impl R<bool, BODINTENA_A>[src]

pub fn variant(&self) -> BODINTENA_A[src]

Get enumerated values variant

pub fn is_disable(&self) -> bool[src]

Checks if the value of the field is DISABLE

pub fn is_enable(&self) -> bool[src]

Checks if the value of the field is ENABLE

impl R<u32, Reg<u32, _BODCTRL>>[src]

pub fn bodrstlev(&self) -> BODRSTLEV_R[src]

Bits 0:1 - BOD reset level

pub fn bodrstena(&self) -> BODRSTENA_R[src]

Bit 2 - BOD reset enable

pub fn bodintlev(&self) -> BODINTLEV_R[src]

Bits 3:4 - BOD interrupt level

pub fn bodintena(&self) -> BODINTENA_R[src]

Bit 5 - BOD interrupt enable

pub fn bodrststat(&self) -> BODRSTSTAT_R[src]

Bit 6 - BOD reset status. When 1, a BOD reset has occurred. Cleared by writing 1 to this bit.

pub fn bodintstat(&self) -> BODINTSTAT_R[src]

Bit 7 - BOD interrupt status. When 1, a BOD interrupt has occurred. Cleared by writing 1 to this bit.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO00>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO01>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO02>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO03>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO04>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO05>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO06>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO07>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO08>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO09>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO010>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO011>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO012>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<bool, I2CSLEW_A>[src]

pub fn variant(&self) -> I2CSLEW_A[src]

Get enumerated values variant

pub fn is_i2c_mode(&self) -> bool[src]

Checks if the value of the field is I2C_MODE

pub fn is_gpio_mode(&self) -> bool[src]

Checks if the value of the field is GPIO_MODE

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, I2CDRIVE_A>[src]

pub fn variant(&self) -> I2CDRIVE_A[src]

Get enumerated values variant

pub fn is_low(&self) -> bool[src]

Checks if the value of the field is LOW

pub fn is_high(&self) -> bool[src]

Checks if the value of the field is HIGH

impl R<bool, I2CFILTER_A>[src]

pub fn variant(&self) -> I2CFILTER_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<u32, Reg<u32, _PIO013>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn i2cslew(&self) -> I2CSLEW_R[src]

Bit 6 - Controls slew rate of I2C pad.

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn i2cdrive(&self) -> I2CDRIVE_R[src]

Bit 10 - Controls the current sink capability of the pin.

pub fn i2cfilter(&self) -> I2CFILTER_R[src]

Bit 11 - Configures I2C features for standard mode, fast mode, and Fast Mode Plus operation.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<bool, I2CSLEW_A>[src]

pub fn variant(&self) -> I2CSLEW_A[src]

Get enumerated values variant

pub fn is_i2c_mode(&self) -> bool[src]

Checks if the value of the field is I2C_MODE

pub fn is_gpio_mode(&self) -> bool[src]

Checks if the value of the field is GPIO_MODE

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, I2CDRIVE_A>[src]

pub fn variant(&self) -> I2CDRIVE_A[src]

Get enumerated values variant

pub fn is_low(&self) -> bool[src]

Checks if the value of the field is LOW

pub fn is_high(&self) -> bool[src]

Checks if the value of the field is HIGH

impl R<bool, I2CFILTER_A>[src]

pub fn variant(&self) -> I2CFILTER_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<u32, Reg<u32, _PIO014>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn i2cslew(&self) -> I2CSLEW_R[src]

Bit 6 - Controls slew rate of I2C pad.

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn i2cdrive(&self) -> I2CDRIVE_R[src]

Bit 10 - Controls the current sink capability of the pin.

pub fn i2cfilter(&self) -> I2CFILTER_R[src]

Bit 11 - Configures I2C features for standard mode, fast mode, and Fast Mode Plus operation.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO015>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO016>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO017>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO018>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO019>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO020>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO021>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO022>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO023>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO024>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO025>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO026>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO027>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO028>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO029>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO030>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO031>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO10>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO11>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO12>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO13>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO14>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO15>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO16>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO17>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO18>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO19>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO110>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO111>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO112>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO113>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO114>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO115>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO116>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO117>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO118>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO119>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO120>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO121>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO122>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO123>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO124>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO125>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO126>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO127>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO128>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO129>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO130>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO131>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO20>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO21>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO22>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO23>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO24>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO25>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO26>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO27>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO28>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO29>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO210>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO211>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO212>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO213>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO214>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO215>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO216>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO217>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO218>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO219>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO220>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO221>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO222>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO223>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO224>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO225>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO226>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO227>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO228>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO229>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO230>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO231>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO30>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO31>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO32>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO33>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO34>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO35>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO36>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO37>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO38>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO39>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO310>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO311>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO312>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO313>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO314>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO315>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO316>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO317>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO318>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO319>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO320>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO321>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO322>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<bool, I2CSLEW_A>[src]

pub fn variant(&self) -> I2CSLEW_A[src]

Get enumerated values variant

pub fn is_i2c_mode(&self) -> bool[src]

Checks if the value of the field is I2C_MODE

pub fn is_gpio_mode(&self) -> bool[src]

Checks if the value of the field is GPIO_MODE

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, I2CDRIVE_A>[src]

pub fn variant(&self) -> I2CDRIVE_A[src]

Get enumerated values variant

pub fn is_low(&self) -> bool[src]

Checks if the value of the field is LOW

pub fn is_high(&self) -> bool[src]

Checks if the value of the field is HIGH

impl R<bool, I2CFILTER_A>[src]

pub fn variant(&self) -> I2CFILTER_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<u32, Reg<u32, _PIO323>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn i2cslew(&self) -> I2CSLEW_R[src]

Bit 6 - Controls slew rate of I2C pad.

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn i2cdrive(&self) -> I2CDRIVE_R[src]

Bit 10 - Controls the current sink capability of the pin.

pub fn i2cfilter(&self) -> I2CFILTER_R[src]

Bit 11 - Configures I2C features for standard mode, fast mode, and Fast Mode Plus operation.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<bool, I2CSLEW_A>[src]

pub fn variant(&self) -> I2CSLEW_A[src]

Get enumerated values variant

pub fn is_i2c_mode(&self) -> bool[src]

Checks if the value of the field is I2C_MODE

pub fn is_gpio_mode(&self) -> bool[src]

Checks if the value of the field is GPIO_MODE

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, I2CDRIVE_A>[src]

pub fn variant(&self) -> I2CDRIVE_A[src]

Get enumerated values variant

pub fn is_low(&self) -> bool[src]

Checks if the value of the field is LOW

pub fn is_high(&self) -> bool[src]

Checks if the value of the field is HIGH

impl R<bool, I2CFILTER_A>[src]

pub fn variant(&self) -> I2CFILTER_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<u32, Reg<u32, _PIO324>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn i2cslew(&self) -> I2CSLEW_R[src]

Bit 6 - Controls slew rate of I2C pad.

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn i2cdrive(&self) -> I2CDRIVE_R[src]

Bit 10 - Controls the current sink capability of the pin.

pub fn i2cfilter(&self) -> I2CFILTER_R[src]

Bit 11 - Configures I2C features for standard mode, fast mode, and Fast Mode Plus operation.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO325>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO326>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO327>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO328>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO329>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO330>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO331>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO40>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO41>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO42>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO43>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO44>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO45>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO46>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO47>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO48>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO49>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO410>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO411>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO412>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO413>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO414>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO415>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO416>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO417>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO418>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO419>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO420>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO421>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO422>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO423>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO424>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO425>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO426>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO427>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO428>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO429>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO430>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO431>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO50>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO51>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO52>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO53>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO54>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO55>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO56>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO57>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO58>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO59>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO510>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO511>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO512>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO513>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO514>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO515>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO516>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO517>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO518>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO519>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO520>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO521>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO522>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO523>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO524>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO525>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO526>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO527>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO528>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO529>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO530>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<u8, FUNC_A>[src]

pub fn variant(&self) -> Variant<u8, FUNC_A>[src]

Get enumerated values variant

pub fn is_alt0(&self) -> bool[src]

Checks if the value of the field is ALT0

pub fn is_alt1(&self) -> bool[src]

Checks if the value of the field is ALT1

pub fn is_alt2(&self) -> bool[src]

Checks if the value of the field is ALT2

pub fn is_alt3(&self) -> bool[src]

Checks if the value of the field is ALT3

pub fn is_alt4(&self) -> bool[src]

Checks if the value of the field is ALT4

pub fn is_alt5(&self) -> bool[src]

Checks if the value of the field is ALT5

pub fn is_alt6(&self) -> bool[src]

Checks if the value of the field is ALT6

pub fn is_alt7(&self) -> bool[src]

Checks if the value of the field is ALT7

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULL_DOWN

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULL_UP

pub fn is_repeater(&self) -> bool[src]

Checks if the value of the field is REPEATER

impl R<bool, INVERT_A>[src]

pub fn variant(&self) -> INVERT_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DIGIMODE_A>[src]

pub fn variant(&self) -> DIGIMODE_A[src]

Get enumerated values variant

pub fn is_analog(&self) -> bool[src]

Checks if the value of the field is ANALOG

pub fn is_digital(&self) -> bool[src]

Checks if the value of the field is DIGITAL

impl R<bool, FILTEROFF_A>[src]

pub fn variant(&self) -> FILTEROFF_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, SLEW_A>[src]

pub fn variant(&self) -> SLEW_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_fast(&self) -> bool[src]

Checks if the value of the field is FAST

impl R<bool, OD_A>[src]

pub fn variant(&self) -> OD_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_open_drain(&self) -> bool[src]

Checks if the value of the field is OPEN_DRAIN

impl R<u32, Reg<u32, _PIO531>>[src]

pub fn func(&self) -> FUNC_R[src]

Bits 0:3 - Selects pin function.

pub fn mode(&self) -> MODE_R[src]

Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).

pub fn invert(&self) -> INVERT_R[src]

Bit 7 - Input polarity.

pub fn digimode(&self) -> DIGIMODE_R[src]

Bit 8 - Select Analog/Digital mode.

pub fn filteroff(&self) -> FILTEROFF_R[src]

Bit 9 - Controls input glitch filter.

pub fn slew(&self) -> SLEW_R[src]

Bit 10 - Driver slew rate.

pub fn od(&self) -> OD_R[src]

Bit 11 - Controls open-drain mode.

impl R<bool, INT_A>[src]

pub fn variant(&self) -> INT_A[src]

Get enumerated values variant

pub fn is_no_request(&self) -> bool[src]

Checks if the value of the field is NO_REQUEST

pub fn is_request_active(&self) -> bool[src]

Checks if the value of the field is REQUEST_ACTIVE

impl R<bool, COMB_A>[src]

pub fn variant(&self) -> COMB_A[src]

Get enumerated values variant

pub fn is_or(&self) -> bool[src]

Checks if the value of the field is OR

pub fn is_and(&self) -> bool[src]

Checks if the value of the field is AND

impl R<bool, TRIG_A>[src]

pub fn variant(&self) -> TRIG_A[src]

Get enumerated values variant

pub fn is_edge_triggered(&self) -> bool[src]

Checks if the value of the field is EDGE_TRIGGERED

pub fn is_level_triggered(&self) -> bool[src]

Checks if the value of the field is LEVEL_TRIGGERED

impl R<u32, Reg<u32, _CTRL>>[src]

pub fn int(&self) -> INT_R[src]

Bit 0 - Group interrupt status. This bit is cleared by writing a one to it. Writing zero has no effect.

pub fn comb(&self) -> COMB_R[src]

Bit 1 - Combine enabled inputs for group interrupt

pub fn trig(&self) -> TRIG_R[src]

Bit 2 - Group interrupt trigger

impl R<u32, Reg<u32, _PORT_POL>>[src]

pub fn pol(&self) -> POL_R[src]

Bits 0:31 - Configure pin polarity of port m pins for group interrupt. Bit n corresponds to pin PIOm_n of port m. 0 = the pin is active LOW. If the level on this pin is LOW, the pin contributes to the group interrupt. 1 = the pin is active HIGH. If the level on this pin is HIGH, the pin contributes to the group interrupt.

impl R<u32, Reg<u32, _PORT_ENA>>[src]

pub fn ena(&self) -> ENA_R[src]

Bits 0:31 - Enable port 0 pin for group interrupt. Bit n corresponds to pin Pm_n of port m. 0 = the port 0 pin is disabled and does not contribute to the grouped interrupt. 1 = the port 0 pin is enabled and contributes to the grouped interrupt.

impl R<u32, Reg<u32, _ISEL>>[src]

pub fn pmode(&self) -> PMODE_R[src]

Bits 0:7 - Selects the interrupt mode for each pin interrupt. Bit n configures the pin interrupt selected in PINTSELn. 0 = Edge sensitive 1 = Level sensitive

impl R<u32, Reg<u32, _IENR>>[src]

pub fn enrl(&self) -> ENRL_R[src]

Bits 0:7 - Enables the rising edge or level interrupt for each pin interrupt. Bit n configures the pin interrupt selected in PINTSELn. 0 = Disable rising edge or level interrupt. 1 = Enable rising edge or level interrupt.

impl R<u32, Reg<u32, _IENF>>[src]

pub fn enaf(&self) -> ENAF_R[src]

Bits 0:7 - Enables the falling edge or configures the active level interrupt for each pin interrupt. Bit n configures the pin interrupt selected in PINTSELn. 0 = Disable falling edge interrupt or set active interrupt level LOW. 1 = Enable falling edge interrupt enabled or set active interrupt level HIGH.

impl R<u32, Reg<u32, _RISE>>[src]

pub fn rdet(&self) -> RDET_R[src]

Bits 0:7 - Rising edge detect. Bit n detects the rising edge of the pin selected in PINTSELn. Read 0: No rising edge has been detected on this pin since Reset or the last time a one was written to this bit. Write 0: no operation. Read 1: a rising edge has been detected since Reset or the last time a one was written to this bit. Write 1: clear rising edge detection for this pin.

impl R<u32, Reg<u32, _FALL>>[src]

pub fn fdet(&self) -> FDET_R[src]

Bits 0:7 - Falling edge detect. Bit n detects the falling edge of the pin selected in PINTSELn. Read 0: No falling edge has been detected on this pin since Reset or the last time a one was written to this bit. Write 0: no operation. Read 1: a falling edge has been detected since Reset or the last time a one was written to this bit. Write 1: clear falling edge detection for this pin.

impl R<u32, Reg<u32, _IST>>[src]

pub fn pstat(&self) -> PSTAT_R[src]

Bits 0:7 - Pin interrupt status. Bit n returns the status, clears the edge interrupt, or inverts the active level of the pin selected in PINTSELn. Read 0: interrupt is not being requested for this interrupt pin. Write 0: no operation. Read 1: interrupt is being requested for this interrupt pin. Write 1 (edge-sensitive): clear rising- and falling-edge detection for this pin. Write 1 (level-sensitive): switch the active level for this pin (in the IENF register).

impl R<bool, SEL_PMATCH_A>[src]

pub fn variant(&self) -> SEL_PMATCH_A[src]

Get enumerated values variant

pub fn is_pin_interrupt(&self) -> bool[src]

Checks if the value of the field is PIN_INTERRUPT

pub fn is_pattern_match(&self) -> bool[src]

Checks if the value of the field is PATTERN_MATCH

impl R<bool, ENA_RXEV_A>[src]

pub fn variant(&self) -> ENA_RXEV_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<u32, Reg<u32, _PMCTRL>>[src]

pub fn sel_pmatch(&self) -> SEL_PMATCH_R[src]

Bit 0 - Specifies whether the 8 pin interrupts are controlled by the pin interrupt function or by the pattern match function.

pub fn ena_rxev(&self) -> ENA_RXEV_R[src]

Bit 1 - Enables the RXEV output to the CPU and/or to a GPIO output when the specified boolean expression evaluates to true.

pub fn pmat(&self) -> PMAT_R[src]

Bits 24:31 - This field displays the current state of pattern matches. A 1 in any bit of this field indicates that the corresponding product term is matched by the current state of the appropriate inputs.

impl R<u8, SRC0_A>[src]

pub fn variant(&self) -> SRC0_A[src]

Get enumerated values variant

pub fn is_input0(&self) -> bool[src]

Checks if the value of the field is INPUT0

pub fn is_input1(&self) -> bool[src]

Checks if the value of the field is INPUT1

pub fn is_input2(&self) -> bool[src]

Checks if the value of the field is INPUT2

pub fn is_input3(&self) -> bool[src]

Checks if the value of the field is INPUT3

pub fn is_input4(&self) -> bool[src]

Checks if the value of the field is INPUT4

pub fn is_input5(&self) -> bool[src]

Checks if the value of the field is INPUT5

pub fn is_input6(&self) -> bool[src]

Checks if the value of the field is INPUT6

pub fn is_input7(&self) -> bool[src]

Checks if the value of the field is INPUT7

impl R<u8, SRC1_A>[src]

pub fn variant(&self) -> SRC1_A[src]

Get enumerated values variant

pub fn is_input0(&self) -> bool[src]

Checks if the value of the field is INPUT0

pub fn is_input1(&self) -> bool[src]

Checks if the value of the field is INPUT1

pub fn is_input2(&self) -> bool[src]

Checks if the value of the field is INPUT2

pub fn is_input3(&self) -> bool[src]

Checks if the value of the field is INPUT3

pub fn is_input4(&self) -> bool[src]

Checks if the value of the field is INPUT4

pub fn is_input5(&self) -> bool[src]

Checks if the value of the field is INPUT5

pub fn is_input6(&self) -> bool[src]

Checks if the value of the field is INPUT6

pub fn is_input7(&self) -> bool[src]

Checks if the value of the field is INPUT7

impl R<u8, SRC2_A>[src]

pub fn variant(&self) -> SRC2_A[src]

Get enumerated values variant

pub fn is_input0(&self) -> bool[src]

Checks if the value of the field is INPUT0

pub fn is_input1(&self) -> bool[src]

Checks if the value of the field is INPUT1

pub fn is_input2(&self) -> bool[src]

Checks if the value of the field is INPUT2

pub fn is_input3(&self) -> bool[src]

Checks if the value of the field is INPUT3

pub fn is_input4(&self) -> bool[src]

Checks if the value of the field is INPUT4

pub fn is_input5(&self) -> bool[src]

Checks if the value of the field is INPUT5

pub fn is_input6(&self) -> bool[src]

Checks if the value of the field is INPUT6

pub fn is_input7(&self) -> bool[src]

Checks if the value of the field is INPUT7

impl R<u8, SRC3_A>[src]

pub fn variant(&self) -> SRC3_A[src]

Get enumerated values variant

pub fn is_input0(&self) -> bool[src]

Checks if the value of the field is INPUT0

pub fn is_input1(&self) -> bool[src]

Checks if the value of the field is INPUT1

pub fn is_input2(&self) -> bool[src]

Checks if the value of the field is INPUT2

pub fn is_input3(&self) -> bool[src]

Checks if the value of the field is INPUT3

pub fn is_input4(&self) -> bool[src]

Checks if the value of the field is INPUT4

pub fn is_input5(&self) -> bool[src]

Checks if the value of the field is INPUT5

pub fn is_input6(&self) -> bool[src]

Checks if the value of the field is INPUT6

pub fn is_input7(&self) -> bool[src]

Checks if the value of the field is INPUT7

impl R<u8, SRC4_A>[src]

pub fn variant(&self) -> SRC4_A[src]

Get enumerated values variant

pub fn is_input0(&self) -> bool[src]

Checks if the value of the field is INPUT0

pub fn is_input1(&self) -> bool[src]

Checks if the value of the field is INPUT1

pub fn is_input2(&self) -> bool[src]

Checks if the value of the field is INPUT2

pub fn is_input3(&self) -> bool[src]

Checks if the value of the field is INPUT3

pub fn is_input4(&self) -> bool[src]

Checks if the value of the field is INPUT4

pub fn is_input5(&self) -> bool[src]

Checks if the value of the field is INPUT5

pub fn is_input6(&self) -> bool[src]

Checks if the value of the field is INPUT6

pub fn is_input7(&self) -> bool[src]

Checks if the value of the field is INPUT7

impl R<u8, SRC5_A>[src]

pub fn variant(&self) -> SRC5_A[src]

Get enumerated values variant

pub fn is_input0(&self) -> bool[src]

Checks if the value of the field is INPUT0

pub fn is_input1(&self) -> bool[src]

Checks if the value of the field is INPUT1

pub fn is_input2(&self) -> bool[src]

Checks if the value of the field is INPUT2

pub fn is_input3(&self) -> bool[src]

Checks if the value of the field is INPUT3

pub fn is_input4(&self) -> bool[src]

Checks if the value of the field is INPUT4

pub fn is_input5(&self) -> bool[src]

Checks if the value of the field is INPUT5

pub fn is_input6(&self) -> bool[src]

Checks if the value of the field is INPUT6

pub fn is_input7(&self) -> bool[src]

Checks if the value of the field is INPUT7

impl R<u8, SRC6_A>[src]

pub fn variant(&self) -> SRC6_A[src]

Get enumerated values variant

pub fn is_input0(&self) -> bool[src]

Checks if the value of the field is INPUT0

pub fn is_input1(&self) -> bool[src]

Checks if the value of the field is INPUT1

pub fn is_input2(&self) -> bool[src]

Checks if the value of the field is INPUT2

pub fn is_input3(&self) -> bool[src]

Checks if the value of the field is INPUT3

pub fn is_input4(&self) -> bool[src]

Checks if the value of the field is INPUT4

pub fn is_input5(&self) -> bool[src]

Checks if the value of the field is INPUT5

pub fn is_input6(&self) -> bool[src]

Checks if the value of the field is INPUT6

pub fn is_input7(&self) -> bool[src]

Checks if the value of the field is INPUT7

impl R<u8, SRC7_A>[src]

pub fn variant(&self) -> SRC7_A[src]

Get enumerated values variant

pub fn is_input0(&self) -> bool[src]

Checks if the value of the field is INPUT0

pub fn is_input1(&self) -> bool[src]

Checks if the value of the field is INPUT1

pub fn is_input2(&self) -> bool[src]

Checks if the value of the field is INPUT2

pub fn is_input3(&self) -> bool[src]

Checks if the value of the field is INPUT3

pub fn is_input4(&self) -> bool[src]

Checks if the value of the field is INPUT4

pub fn is_input5(&self) -> bool[src]

Checks if the value of the field is INPUT5

pub fn is_input6(&self) -> bool[src]

Checks if the value of the field is INPUT6

pub fn is_input7(&self) -> bool[src]

Checks if the value of the field is INPUT7

impl R<u32, Reg<u32, _PMSRC>>[src]

pub fn src0(&self) -> SRC0_R[src]

Bits 8:10 - Selects the input source for bit slice 0

pub fn src1(&self) -> SRC1_R[src]

Bits 11:13 - Selects the input source for bit slice 1

pub fn src2(&self) -> SRC2_R[src]

Bits 14:16 - Selects the input source for bit slice 2

pub fn src3(&self) -> SRC3_R[src]

Bits 17:19 - Selects the input source for bit slice 3

pub fn src4(&self) -> SRC4_R[src]

Bits 20:22 - Selects the input source for bit slice 4

pub fn src5(&self) -> SRC5_R[src]

Bits 23:25 - Selects the input source for bit slice 5

pub fn src6(&self) -> SRC6_R[src]

Bits 26:28 - Selects the input source for bit slice 6

pub fn src7(&self) -> SRC7_R[src]

Bits 29:31 - Selects the input source for bit slice 7

impl R<bool, PROD_ENDPTS0_A>[src]

pub fn variant(&self) -> PROD_ENDPTS0_A[src]

Get enumerated values variant

pub fn is_no_effect(&self) -> bool[src]

Checks if the value of the field is NO_EFFECT

pub fn is_endpoint(&self) -> bool[src]

Checks if the value of the field is ENDPOINT

impl R<bool, PROD_ENDPTS1_A>[src]

pub fn variant(&self) -> PROD_ENDPTS1_A[src]

Get enumerated values variant

pub fn is_no_effect(&self) -> bool[src]

Checks if the value of the field is NO_EFFECT

pub fn is_endpoint(&self) -> bool[src]

Checks if the value of the field is ENDPOINT

impl R<bool, PROD_ENDPTS2_A>[src]

pub fn variant(&self) -> PROD_ENDPTS2_A[src]

Get enumerated values variant

pub fn is_no_effect(&self) -> bool[src]

Checks if the value of the field is NO_EFFECT

pub fn is_endpoint(&self) -> bool[src]

Checks if the value of the field is ENDPOINT

impl R<bool, PROD_ENDPTS3_A>[src]

pub fn variant(&self) -> PROD_ENDPTS3_A[src]

Get enumerated values variant

pub fn is_no_effect(&self) -> bool[src]

Checks if the value of the field is NO_EFFECT

pub fn is_endpoint(&self) -> bool[src]

Checks if the value of the field is ENDPOINT

impl R<bool, PROD_ENDPTS4_A>[src]

pub fn variant(&self) -> PROD_ENDPTS4_A[src]

Get enumerated values variant

pub fn is_no_effect(&self) -> bool[src]

Checks if the value of the field is NO_EFFECT

pub fn is_endpoint(&self) -> bool[src]

Checks if the value of the field is ENDPOINT

impl R<bool, PROD_ENDPTS5_A>[src]

pub fn variant(&self) -> PROD_ENDPTS5_A[src]

Get enumerated values variant

pub fn is_no_effect(&self) -> bool[src]

Checks if the value of the field is NO_EFFECT

pub fn is_endpoint(&self) -> bool[src]

Checks if the value of the field is ENDPOINT

impl R<bool, PROD_ENDPTS6_A>[src]

pub fn variant(&self) -> PROD_ENDPTS6_A[src]

Get enumerated values variant

pub fn is_no_effect(&self) -> bool[src]

Checks if the value of the field is NO_EFFECT

pub fn is_endpoint(&self) -> bool[src]

Checks if the value of the field is ENDPOINT

impl R<u8, CFG0_A>[src]

pub fn variant(&self) -> CFG0_A[src]

Get enumerated values variant

pub fn is_constant_high(&self) -> bool[src]

Checks if the value of the field is CONSTANT_HIGH

pub fn is_sticky_rising_edge(&self) -> bool[src]

Checks if the value of the field is STICKY_RISING_EDGE

pub fn is_sticky_falling_edge(&self) -> bool[src]

Checks if the value of the field is STICKY_FALLING_EDGE

pub fn is_sticky_rising_falling_edge(&self) -> bool[src]

Checks if the value of the field is STICKY_RISING_FALLING_EDGE

pub fn is_high_level(&self) -> bool[src]

Checks if the value of the field is HIGH_LEVEL

pub fn is_low_level(&self) -> bool[src]

Checks if the value of the field is LOW_LEVEL

pub fn is_constant_zero(&self) -> bool[src]

Checks if the value of the field is CONSTANT_ZERO

pub fn is_event(&self) -> bool[src]

Checks if the value of the field is EVENT

impl R<u8, CFG1_A>[src]

pub fn variant(&self) -> CFG1_A[src]

Get enumerated values variant

pub fn is_constant_high(&self) -> bool[src]

Checks if the value of the field is CONSTANT_HIGH

pub fn is_sticky_rising_edge(&self) -> bool[src]

Checks if the value of the field is STICKY_RISING_EDGE

pub fn is_sticky_falling_edge(&self) -> bool[src]

Checks if the value of the field is STICKY_FALLING_EDGE

pub fn is_sticky_rising_falling_edge(&self) -> bool[src]

Checks if the value of the field is STICKY_RISING_FALLING_EDGE

pub fn is_high_level(&self) -> bool[src]

Checks if the value of the field is HIGH_LEVEL

pub fn is_low_level(&self) -> bool[src]

Checks if the value of the field is LOW_LEVEL

pub fn is_constant_zero(&self) -> bool[src]

Checks if the value of the field is CONSTANT_ZERO

pub fn is_event(&self) -> bool[src]

Checks if the value of the field is EVENT

impl R<u8, CFG2_A>[src]

pub fn variant(&self) -> CFG2_A[src]

Get enumerated values variant

pub fn is_constant_high(&self) -> bool[src]

Checks if the value of the field is CONSTANT_HIGH

pub fn is_sticky_rising_edge(&self) -> bool[src]

Checks if the value of the field is STICKY_RISING_EDGE

pub fn is_sticky_falling_edge(&self) -> bool[src]

Checks if the value of the field is STICKY_FALLING_EDGE

pub fn is_sticky_rising_falling_edge(&self) -> bool[src]

Checks if the value of the field is STICKY_RISING_FALLING_EDGE

pub fn is_high_level(&self) -> bool[src]

Checks if the value of the field is HIGH_LEVEL

pub fn is_low_level(&self) -> bool[src]

Checks if the value of the field is LOW_LEVEL

pub fn is_constant_zero(&self) -> bool[src]

Checks if the value of the field is CONSTANT_ZERO

pub fn is_event(&self) -> bool[src]

Checks if the value of the field is EVENT

impl R<u8, CFG3_A>[src]

pub fn variant(&self) -> CFG3_A[src]

Get enumerated values variant

pub fn is_constant_high(&self) -> bool[src]

Checks if the value of the field is CONSTANT_HIGH

pub fn is_sticky_rising_edge(&self) -> bool[src]

Checks if the value of the field is STICKY_RISING_EDGE

pub fn is_sticky_falling_edge(&self) -> bool[src]

Checks if the value of the field is STICKY_FALLING_EDGE

pub fn is_sticky_rising_falling_edge(&self) -> bool[src]

Checks if the value of the field is STICKY_RISING_FALLING_EDGE

pub fn is_high_level(&self) -> bool[src]

Checks if the value of the field is HIGH_LEVEL

pub fn is_low_level(&self) -> bool[src]

Checks if the value of the field is LOW_LEVEL

pub fn is_constant_zero(&self) -> bool[src]

Checks if the value of the field is CONSTANT_ZERO

pub fn is_event(&self) -> bool[src]

Checks if the value of the field is EVENT

impl R<u8, CFG4_A>[src]

pub fn variant(&self) -> CFG4_A[src]

Get enumerated values variant

pub fn is_constant_high(&self) -> bool[src]

Checks if the value of the field is CONSTANT_HIGH

pub fn is_sticky_rising_edge(&self) -> bool[src]

Checks if the value of the field is STICKY_RISING_EDGE

pub fn is_sticky_falling_edge(&self) -> bool[src]

Checks if the value of the field is STICKY_FALLING_EDGE

pub fn is_sticky_rising_falling_edge(&self) -> bool[src]

Checks if the value of the field is STICKY_RISING_FALLING_EDGE

pub fn is_high_level(&self) -> bool[src]

Checks if the value of the field is HIGH_LEVEL

pub fn is_low_level(&self) -> bool[src]

Checks if the value of the field is LOW_LEVEL

pub fn is_constant_zero(&self) -> bool[src]

Checks if the value of the field is CONSTANT_ZERO

pub fn is_event(&self) -> bool[src]

Checks if the value of the field is EVENT

impl R<u8, CFG5_A>[src]

pub fn variant(&self) -> CFG5_A[src]

Get enumerated values variant

pub fn is_constant_high(&self) -> bool[src]

Checks if the value of the field is CONSTANT_HIGH

pub fn is_sticky_rising_edge(&self) -> bool[src]

Checks if the value of the field is STICKY_RISING_EDGE

pub fn is_sticky_falling_edge(&self) -> bool[src]

Checks if the value of the field is STICKY_FALLING_EDGE

pub fn is_sticky_rising_falling_edge(&self) -> bool[src]

Checks if the value of the field is STICKY_RISING_FALLING_EDGE

pub fn is_high_level(&self) -> bool[src]

Checks if the value of the field is HIGH_LEVEL

pub fn is_low_level(&self) -> bool[src]

Checks if the value of the field is LOW_LEVEL

pub fn is_constant_zero(&self) -> bool[src]

Checks if the value of the field is CONSTANT_ZERO

pub fn is_event(&self) -> bool[src]

Checks if the value of the field is EVENT

impl R<u8, CFG6_A>[src]

pub fn variant(&self) -> CFG6_A[src]

Get enumerated values variant

pub fn is_constant_high(&self) -> bool[src]

Checks if the value of the field is CONSTANT_HIGH

pub fn is_sticky_rising_edge(&self) -> bool[src]

Checks if the value of the field is STICKY_RISING_EDGE

pub fn is_sticky_falling_edge(&self) -> bool[src]

Checks if the value of the field is STICKY_FALLING_EDGE

pub fn is_sticky_rising_falling_edge(&self) -> bool[src]

Checks if the value of the field is STICKY_RISING_FALLING_EDGE

pub fn is_high_level(&self) -> bool[src]

Checks if the value of the field is HIGH_LEVEL

pub fn is_low_level(&self) -> bool[src]

Checks if the value of the field is LOW_LEVEL

pub fn is_constant_zero(&self) -> bool[src]

Checks if the value of the field is CONSTANT_ZERO

pub fn is_event(&self) -> bool[src]

Checks if the value of the field is EVENT

impl R<u8, CFG7_A>[src]

pub fn variant(&self) -> CFG7_A[src]

Get enumerated values variant

pub fn is_constant_high(&self) -> bool[src]

Checks if the value of the field is CONSTANT_HIGH

pub fn is_sticky_rising_edge(&self) -> bool[src]

Checks if the value of the field is STICKY_RISING_EDGE

pub fn is_sticky_falling_edge(&self) -> bool[src]

Checks if the value of the field is STICKY_FALLING_EDGE

pub fn is_sticky_rising_falling_edge(&self) -> bool[src]

Checks if the value of the field is STICKY_RISING_FALLING_EDGE

pub fn is_high_level(&self) -> bool[src]

Checks if the value of the field is HIGH_LEVEL

pub fn is_low_level(&self) -> bool[src]

Checks if the value of the field is LOW_LEVEL

pub fn is_constant_zero(&self) -> bool[src]

Checks if the value of the field is CONSTANT_ZERO

pub fn is_event(&self) -> bool[src]

Checks if the value of the field is EVENT

impl R<u32, Reg<u32, _PMCFG>>[src]

pub fn prod_endpts0(&self) -> PROD_ENDPTS0_R[src]

Bit 0 - Determines whether slice 0 is an endpoint.

pub fn prod_endpts1(&self) -> PROD_ENDPTS1_R[src]

Bit 1 - Determines whether slice 1 is an endpoint.

pub fn prod_endpts2(&self) -> PROD_ENDPTS2_R[src]

Bit 2 - Determines whether slice 2 is an endpoint.

pub fn prod_endpts3(&self) -> PROD_ENDPTS3_R[src]

Bit 3 - Determines whether slice 3 is an endpoint.

pub fn prod_endpts4(&self) -> PROD_ENDPTS4_R[src]

Bit 4 - Determines whether slice 4 is an endpoint.

pub fn prod_endpts5(&self) -> PROD_ENDPTS5_R[src]

Bit 5 - Determines whether slice 5 is an endpoint.

pub fn prod_endpts6(&self) -> PROD_ENDPTS6_R[src]

Bit 6 - Determines whether slice 6 is an endpoint.

pub fn cfg0(&self) -> CFG0_R[src]

Bits 8:10 - Specifies the match contribution condition for bit slice 0.

pub fn cfg1(&self) -> CFG1_R[src]

Bits 11:13 - Specifies the match contribution condition for bit slice 1.

pub fn cfg2(&self) -> CFG2_R[src]

Bits 14:16 - Specifies the match contribution condition for bit slice 2.

pub fn cfg3(&self) -> CFG3_R[src]

Bits 17:19 - Specifies the match contribution condition for bit slice 3.

pub fn cfg4(&self) -> CFG4_R[src]

Bits 20:22 - Specifies the match contribution condition for bit slice 4.

pub fn cfg5(&self) -> CFG5_R[src]

Bits 23:25 - Specifies the match contribution condition for bit slice 5.

pub fn cfg6(&self) -> CFG6_R[src]

Bits 26:28 - Specifies the match contribution condition for bit slice 6.

pub fn cfg7(&self) -> CFG7_R[src]

Bits 29:31 - Specifies the match contribution condition for bit slice 7.

impl R<u32, Reg<u32, _SCT0_INMUX>>[src]

pub fn inp_n(&self) -> INP_N_R[src]

Bits 0:4 - Input number to SCT0 inputs 0 to 6..

impl R<u32, Reg<u32, _PINTSEL>>[src]

pub fn intpin(&self) -> INTPIN_R[src]

Bits 0:7 - Pin number select for pin interrupt or pattern match engine input. (PIO0_0 to PIO1_31 correspond to numbers 0 to 63).

impl R<u32, Reg<u32, _DMA_ITRIG_INMUX>>[src]

pub fn inp(&self) -> INP_R[src]

Bits 0:4 - Trigger input number (decimal value) for DMA channel n (n = 0 to 21). 0 = ADC0 Sequence A interrupt 1 = ADC0 Sequence B interrupt 2 = SCT0 DMA request 0 3 = SCT0 DMA request 1 4 = Timer CTIMER0 Match 0 5 = Timer CTIMER0 Match 1 6 = Timer CTIMER1 Match 0 7 = Timer CTIMER2 Match 0 8 = Timer CTIMER2 Match 1 9 = Timer CTIMER3 Match 0 10 = Timer CTIMER4 Match 0 11 = Timer CTIMER4 Match 1 12 = Pin interrupt 0 13 = Pin interrupt 1 14 = Pin interrupt 2 15 = Pin interrupt 3 16 = DMA output trigger mux 0 17 = DMA output trigger mux 1 18 = DMA output trigger mux 2 19 = DMA output trigger mux 3

impl R<u32, Reg<u32, _DMA_OTRIG_INMUX>>[src]

pub fn inp(&self) -> INP_R[src]

Bits 0:4 - DMA trigger output number (decimal value) for DMA channel n (n = 0 to 19).

impl R<u32, Reg<u32, _FREQMEAS_REF>>[src]

pub fn clkin(&self) -> CLKIN_R[src]

Bits 0:4 - Clock source number (decimal value) for frequency measure function target clock: 0 = CLK_IN 1 = FRO 12 MHz oscillator 2 = Watchdog oscillator 3 = 32 kHz RTC oscillator 4 = Main clock (see Section 4.5.23) 5 = PIO0_4 6 = PIO0_20 7 = PIO0_24 8 = PIO1_4

impl R<u32, Reg<u32, _FREQMEAS_TARGET>>[src]

pub fn clkin(&self) -> CLKIN_R[src]

Bits 0:4 - Clock source number (decimal value) for frequency measure function target clock: 0 = CLK_IN 1 = FRO 12 MHz oscillator 2 = Watchdog oscillator 3 = 32 kHz RTC oscillator 4 = Main clock (see Section 4.5.23) 5 = PIO0_4 6 = PIO0_20 7 = PIO0_24 8 = PIO1_4

impl R<u32, Reg<u32, _IR>>[src]

pub fn mr0int(&self) -> MR0INT_R[src]

Bit 0 - Interrupt flag for match channel 0.

pub fn mr1int(&self) -> MR1INT_R[src]

Bit 1 - Interrupt flag for match channel 1.

pub fn mr2int(&self) -> MR2INT_R[src]

Bit 2 - Interrupt flag for match channel 2.

pub fn mr3int(&self) -> MR3INT_R[src]

Bit 3 - Interrupt flag for match channel 3.

pub fn cr0int(&self) -> CR0INT_R[src]

Bit 4 - Interrupt flag for capture channel 0 event.

pub fn cr1int(&self) -> CR1INT_R[src]

Bit 5 - Interrupt flag for capture channel 1 event.

pub fn cr2int(&self) -> CR2INT_R[src]

Bit 6 - Interrupt flag for capture channel 2 event.

pub fn cr3int(&self) -> CR3INT_R[src]

Bit 7 - Interrupt flag for capture channel 3 event.

impl R<bool, CEN_A>[src]

pub fn variant(&self) -> CEN_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, CRST_A>[src]

pub fn variant(&self) -> CRST_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<u32, Reg<u32, _TCR>>[src]

pub fn cen(&self) -> CEN_R[src]

Bit 0 - Counter enable.

pub fn crst(&self) -> CRST_R[src]

Bit 1 - Counter reset.

impl R<u32, Reg<u32, _TC>>[src]

pub fn tcval(&self) -> TCVAL_R[src]

Bits 0:31 - Timer counter value.

impl R<u32, Reg<u32, _PR>>[src]

pub fn prval(&self) -> PRVAL_R[src]

Bits 0:31 - Prescale counter value.

impl R<u32, Reg<u32, _PC>>[src]

pub fn pcval(&self) -> PCVAL_R[src]

Bits 0:31 - Prescale counter value.

impl R<u32, Reg<u32, _MCR>>[src]

pub fn mr0i(&self) -> MR0I_R[src]

Bit 0 - Interrupt on MR0: an interrupt is generated when MR0 matches the value in the TC.

pub fn mr0r(&self) -> MR0R_R[src]

Bit 1 - Reset on MR0: the TC will be reset if MR0 matches it.

pub fn mr0s(&self) -> MR0S_R[src]

Bit 2 - Stop on MR0: the TC and PC will be stopped and TCR[0] will be set to 0 if MR0 matches the TC.

pub fn mr1i(&self) -> MR1I_R[src]

Bit 3 - Interrupt on MR1: an interrupt is generated when MR1 matches the value in the TC.

pub fn mr1r(&self) -> MR1R_R[src]

Bit 4 - Reset on MR1: the TC will be reset if MR1 matches it.

pub fn mr1s(&self) -> MR1S_R[src]

Bit 5 - Stop on MR1: the TC and PC will be stopped and TCR[0] will be set to 0 if MR1 matches the TC.

pub fn mr2i(&self) -> MR2I_R[src]

Bit 6 - Interrupt on MR2: an interrupt is generated when MR2 matches the value in the TC.

pub fn mr2r(&self) -> MR2R_R[src]

Bit 7 - Reset on MR2: the TC will be reset if MR2 matches it.

pub fn mr2s(&self) -> MR2S_R[src]

Bit 8 - Stop on MR2: the TC and PC will be stopped and TCR[0] will be set to 0 if MR2 matches the TC.

pub fn mr3i(&self) -> MR3I_R[src]

Bit 9 - Interrupt on MR3: an interrupt is generated when MR3 matches the value in the TC.

pub fn mr3r(&self) -> MR3R_R[src]

Bit 10 - Reset on MR3: the TC will be reset if MR3 matches it.

pub fn mr3s(&self) -> MR3S_R[src]

Bit 11 - Stop on MR3: the TC and PC will be stopped and TCR[0] will be set to 0 if MR3 matches the TC.

pub fn mr0rl(&self) -> MR0RL_R[src]

Bit 24 - Reload MR0 with the contents of the Match 0 Shadow Register when the TC is reset to zero (either via a match event or a write to bit 1 of the TCR).

pub fn mr1rl(&self) -> MR1RL_R[src]

Bit 25 - Reload MR1 with the contents of the Match 1 Shadow Register when the TC is reset to zero (either via a match event or a write to bit 1 of the TCR).

pub fn mr2rl(&self) -> MR2RL_R[src]

Bit 26 - Reload MR2 with the contents of the Match 2 Shadow Register when the TC is reset to zero (either via a match event or a write to bit 1 of the TCR).

pub fn mr3rl(&self) -> MR3RL_R[src]

Bit 27 - Reload MR3 with the contents of the Match 3 Shadow Register when the TC is reset to zero (either via a match event or a write to bit 1 of the TCR).

impl R<u32, Reg<u32, _MR>>[src]

pub fn match_(&self) -> MATCH_R[src]

Bits 0:31 - Timer counter match value.

impl R<u32, Reg<u32, _CCR>>[src]

pub fn cap0re(&self) -> CAP0RE_R[src]

Bit 0 - Rising edge of capture channel 0: a sequence of 0 then 1 causes CR0 to be loaded with the contents of TC. 0 = disabled. 1 = enabled.

pub fn cap0fe(&self) -> CAP0FE_R[src]

Bit 1 - Falling edge of capture channel 0: a sequence of 1 then 0 causes CR0 to be loaded with the contents of TC. 0 = disabled. 1 = enabled.

pub fn cap0i(&self) -> CAP0I_R[src]

Bit 2 - Generate interrupt on channel 0 capture event: a CR0 load generates an interrupt.

pub fn cap1re(&self) -> CAP1RE_R[src]

Bit 3 - Rising edge of capture channel 1: a sequence of 0 then 1 causes CR1 to be loaded with the contents of TC. 0 = disabled. 1 = enabled.

pub fn cap1fe(&self) -> CAP1FE_R[src]

Bit 4 - Falling edge of capture channel 1: a sequence of 1 then 0 causes CR1 to be loaded with the contents of TC. 0 = disabled. 1 = enabled.

pub fn cap1i(&self) -> CAP1I_R[src]

Bit 5 - Generate interrupt on channel 1 capture event: a CR1 load generates an interrupt.

pub fn cap2re(&self) -> CAP2RE_R[src]

Bit 6 - Rising edge of capture channel 2: a sequence of 0 then 1 causes CR2 to be loaded with the contents of TC. 0 = disabled. 1 = enabled.

pub fn cap2fe(&self) -> CAP2FE_R[src]

Bit 7 - Falling edge of capture channel 2: a sequence of 1 then 0 causes CR2 to be loaded with the contents of TC. 0 = disabled. 1 = enabled.

pub fn cap2i(&self) -> CAP2I_R[src]

Bit 8 - Generate interrupt on channel 2 capture event: a CR2 load generates an interrupt.

pub fn cap3re(&self) -> CAP3RE_R[src]

Bit 9 - Rising edge of capture channel 3: a sequence of 0 then 1 causes CR3 to be loaded with the contents of TC. 0 = disabled. 1 = enabled.

pub fn cap3fe(&self) -> CAP3FE_R[src]

Bit 10 - Falling edge of capture channel 3: a sequence of 1 then 0 causes CR3 to be loaded with the contents of TC. 0 = disabled. 1 = enabled.

pub fn cap3i(&self) -> CAP3I_R[src]

Bit 11 - Generate interrupt on channel 3 capture event: a CR3 load generates an interrupt.

impl R<u32, Reg<u32, _CR>>[src]

pub fn cap(&self) -> CAP_R[src]

Bits 0:31 - Timer counter capture value.

impl R<u8, EMC0_A>[src]

pub fn variant(&self) -> EMC0_A[src]

Get enumerated values variant

pub fn is_do_nothing(&self) -> bool[src]

Checks if the value of the field is DO_NOTHING

pub fn is_clear(&self) -> bool[src]

Checks if the value of the field is CLEAR

pub fn is_set(&self) -> bool[src]

Checks if the value of the field is SET

pub fn is_toggle(&self) -> bool[src]

Checks if the value of the field is TOGGLE

impl R<u8, EMC1_A>[src]

pub fn variant(&self) -> EMC1_A[src]

Get enumerated values variant

pub fn is_do_nothing(&self) -> bool[src]

Checks if the value of the field is DO_NOTHING

pub fn is_clear(&self) -> bool[src]

Checks if the value of the field is CLEAR

pub fn is_set(&self) -> bool[src]

Checks if the value of the field is SET

pub fn is_toggle(&self) -> bool[src]

Checks if the value of the field is TOGGLE

impl R<u8, EMC2_A>[src]

pub fn variant(&self) -> EMC2_A[src]

Get enumerated values variant

pub fn is_do_nothing(&self) -> bool[src]

Checks if the value of the field is DO_NOTHING

pub fn is_clear(&self) -> bool[src]

Checks if the value of the field is CLEAR

pub fn is_set(&self) -> bool[src]

Checks if the value of the field is SET

pub fn is_toggle(&self) -> bool[src]

Checks if the value of the field is TOGGLE

impl R<u8, EMC3_A>[src]

pub fn variant(&self) -> EMC3_A[src]

Get enumerated values variant

pub fn is_do_nothing(&self) -> bool[src]

Checks if the value of the field is DO_NOTHING

pub fn is_clear(&self) -> bool[src]

Checks if the value of the field is CLEAR

pub fn is_set(&self) -> bool[src]

Checks if the value of the field is SET

pub fn is_toggle(&self) -> bool[src]

Checks if the value of the field is TOGGLE

impl R<u32, Reg<u32, _EMR>>[src]

pub fn em0(&self) -> EM0_R[src]

Bit 0 - External Match 0. This bit reflects the state of output MAT0, whether or not this output is connected to a pin. When a match occurs between the TC and MR0, this bit can either toggle, go LOW, go HIGH, or do nothing, as selected by EMR[5:4]. This bit is driven to the MAT pins if the match function is selected via IOCON. 0 = LOW. 1 = HIGH.

pub fn em1(&self) -> EM1_R[src]

Bit 1 - External Match 1. This bit reflects the state of output MAT1, whether or not this output is connected to a pin. When a match occurs between the TC and MR1, this bit can either toggle, go LOW, go HIGH, or do nothing, as selected by EMR[7:6]. This bit is driven to the MAT pins if the match function is selected via IOCON. 0 = LOW. 1 = HIGH.

pub fn em2(&self) -> EM2_R[src]

Bit 2 - External Match 2. This bit reflects the state of output MAT2, whether or not this output is connected to a pin. When a match occurs between the TC and MR2, this bit can either toggle, go LOW, go HIGH, or do nothing, as selected by EMR[9:8]. This bit is driven to the MAT pins if the match function is selected via IOCON. 0 = LOW. 1 = HIGH.

pub fn em3(&self) -> EM3_R[src]

Bit 3 - External Match 3. This bit reflects the state of output MAT3, whether or not this output is connected to a pin. When a match occurs between the TC and MR3, this bit can either toggle, go LOW, go HIGH, or do nothing, as selected by MR[11:10]. This bit is driven to the MAT pins if the match function is selected via IOCON. 0 = LOW. 1 = HIGH.

pub fn emc0(&self) -> EMC0_R[src]

Bits 4:5 - External Match Control 0. Determines the functionality of External Match 0.

pub fn emc1(&self) -> EMC1_R[src]

Bits 6:7 - External Match Control 1. Determines the functionality of External Match 1.

pub fn emc2(&self) -> EMC2_R[src]

Bits 8:9 - External Match Control 2. Determines the functionality of External Match 2.

pub fn emc3(&self) -> EMC3_R[src]

Bits 10:11 - External Match Control 3. Determines the functionality of External Match 3.

impl R<u8, CTMODE_A>[src]

pub fn variant(&self) -> CTMODE_A[src]

Get enumerated values variant

pub fn is_timer(&self) -> bool[src]

Checks if the value of the field is TIMER

pub fn is_counter_rising_edge(&self) -> bool[src]

Checks if the value of the field is COUNTER_RISING_EDGE

pub fn is_counter_falling_edge(&self) -> bool[src]

Checks if the value of the field is COUNTER_FALLING_EDGE

pub fn is_counter_dual_edge(&self) -> bool[src]

Checks if the value of the field is COUNTER_DUAL_EDGE

impl R<u8, CINSEL_A>[src]

pub fn variant(&self) -> CINSEL_A[src]

Get enumerated values variant

pub fn is_channel_0(&self) -> bool[src]

Checks if the value of the field is CHANNEL_0

pub fn is_channel_1(&self) -> bool[src]

Checks if the value of the field is CHANNEL_1

pub fn is_channel_2(&self) -> bool[src]

Checks if the value of the field is CHANNEL_2

pub fn is_channel_3(&self) -> bool[src]

Checks if the value of the field is CHANNEL_3

impl R<u8, SELCC_A>[src]

pub fn variant(&self) -> Variant<u8, SELCC_A>[src]

Get enumerated values variant

pub fn is_channel_0_rising(&self) -> bool[src]

Checks if the value of the field is CHANNEL_0_RISING

pub fn is_channel_0_falling(&self) -> bool[src]

Checks if the value of the field is CHANNEL_0_FALLING

pub fn is_channel_1_rising(&self) -> bool[src]

Checks if the value of the field is CHANNEL_1_RISING

pub fn is_channel_1_falling(&self) -> bool[src]

Checks if the value of the field is CHANNEL_1_FALLING

pub fn is_channel_2_rising(&self) -> bool[src]

Checks if the value of the field is CHANNEL_2_RISING

pub fn is_channel_2_falling(&self) -> bool[src]

Checks if the value of the field is CHANNEL_2_FALLING

impl R<u32, Reg<u32, _CTCR>>[src]

pub fn ctmode(&self) -> CTMODE_R[src]

Bits 0:1 - Counter/Timer Mode This field selects which rising APB bus clock edges can increment Timer's Prescale Counter (PC), or clear PC and increment Timer Counter (TC). Timer Mode: the TC is incremented when the Prescale Counter matches the Prescale Register.

pub fn cinsel(&self) -> CINSEL_R[src]

Bits 2:3 - Count Input Select When bits 1:0 in this register are not 00, these bits select which CAP pin is sampled for clocking. Note: If Counter mode is selected for a particular CAPn input in the CTCR, the 3 bits for that input in the Capture Control Register (CCR) must be programmed as 000. However, capture and/or interrupt can be selected for the other 3 CAPn inputs in the same timer.

pub fn encc(&self) -> ENCC_R[src]

Bit 4 - Setting this bit to 1 enables clearing of the timer and the prescaler when the capture-edge event specified in bits 7:5 occurs.

pub fn selcc(&self) -> SELCC_R[src]

Bits 5:7 - Edge select. When bit 4 is 1, these bits select which capture input edge will cause the timer and prescaler to be cleared. These bits have no effect when bit 4 is low. Values 0x2 to 0x3 and 0x6 to 0x7 are reserved.

impl R<bool, PWMEN0_A>[src]

pub fn variant(&self) -> PWMEN0_A[src]

Get enumerated values variant

pub fn is_match_(&self) -> bool[src]

Checks if the value of the field is MATCH

pub fn is_pwm(&self) -> bool[src]

Checks if the value of the field is PWM

impl R<bool, PWMEN1_A>[src]

pub fn variant(&self) -> PWMEN1_A[src]

Get enumerated values variant

pub fn is_match_(&self) -> bool[src]

Checks if the value of the field is MATCH

pub fn is_pwm(&self) -> bool[src]

Checks if the value of the field is PWM

impl R<bool, PWMEN2_A>[src]

pub fn variant(&self) -> PWMEN2_A[src]

Get enumerated values variant

pub fn is_match_(&self) -> bool[src]

Checks if the value of the field is MATCH

pub fn is_pwm(&self) -> bool[src]

Checks if the value of the field is PWM

impl R<bool, PWMEN3_A>[src]

pub fn variant(&self) -> PWMEN3_A[src]

Get enumerated values variant

pub fn is_match_(&self) -> bool[src]

Checks if the value of the field is MATCH

pub fn is_pwm(&self) -> bool[src]

Checks if the value of the field is PWM

impl R<u32, Reg<u32, _PWMC>>[src]

pub fn pwmen0(&self) -> PWMEN0_R[src]

Bit 0 - PWM mode enable for channel0.

pub fn pwmen1(&self) -> PWMEN1_R[src]

Bit 1 - PWM mode enable for channel1.

pub fn pwmen2(&self) -> PWMEN2_R[src]

Bit 2 - PWM mode enable for channel2.

pub fn pwmen3(&self) -> PWMEN3_R[src]

Bit 3 - PWM mode enable for channel3. Note: It is recommended to use match channel 3 to set the PWM cycle.

impl R<u32, Reg<u32, _MSR>>[src]

pub fn shadoww(&self) -> SHADOWW_R[src]

Bits 0:31 - Timer counter match shadow value.

impl R<bool, WDEN_A>[src]

pub fn variant(&self) -> WDEN_A[src]

Get enumerated values variant

pub fn is_stop(&self) -> bool[src]

Checks if the value of the field is STOP

pub fn is_run(&self) -> bool[src]

Checks if the value of the field is RUN

impl R<bool, WDRESET_A>[src]

pub fn variant(&self) -> WDRESET_A[src]

Get enumerated values variant

pub fn is_interrupt(&self) -> bool[src]

Checks if the value of the field is INTERRUPT

pub fn is_reset(&self) -> bool[src]

Checks if the value of the field is RESET

impl R<bool, WDPROTECT_A>[src]

pub fn variant(&self) -> WDPROTECT_A[src]

Get enumerated values variant

pub fn is_flexible(&self) -> bool[src]

Checks if the value of the field is FLEXIBLE

pub fn is_threshold(&self) -> bool[src]

Checks if the value of the field is THRESHOLD

impl R<u32, Reg<u32, _MOD>>[src]

pub fn wden(&self) -> WDEN_R[src]

Bit 0 - Watchdog enable bit. Once this bit is set to one and a watchdog feed is performed, the watchdog timer will run permanently.

pub fn wdreset(&self) -> WDRESET_R[src]

Bit 1 - Watchdog reset enable bit. Once this bit has been written with a 1 it cannot be re-written with a 0.

pub fn wdtof(&self) -> WDTOF_R[src]

Bit 2 - Watchdog time-out flag. Set when the watchdog timer times out, by a feed error, or by events associated with WDPROTECT. Cleared by software writing a 0 to this bit position. Causes a chip reset if WDRESET = 1.

pub fn wdint(&self) -> WDINT_R[src]

Bit 3 - Warning interrupt flag. Set when the timer is at or below the value in WDWARNINT. Cleared by software writing a 1 to this bit position. Note that this bit cannot be cleared while the WARNINT value is equal to the value of the TV register. This can occur if the value of WARNINT is 0 and the WDRESET bit is 0 when TV decrements to 0.

pub fn wdprotect(&self) -> WDPROTECT_R[src]

Bit 4 - Watchdog update mode. This bit can be set once by software and is only cleared by a reset.

pub fn lock(&self) -> LOCK_R[src]

Bit 5 - Once this bit is set to one and a watchdog feed is performed, disabling or powering down the watchdog oscillator is prevented by hardware. This bit can be set once by software and is only cleared by any reset.

impl R<u32, Reg<u32, _TC>>[src]

pub fn count(&self) -> COUNT_R[src]

Bits 0:23 - Watchdog time-out value.

impl R<u32, Reg<u32, _TV>>[src]

pub fn count(&self) -> COUNT_R[src]

Bits 0:23 - Counter timer value.

impl R<u32, Reg<u32, _WARNINT>>[src]

pub fn warnint(&self) -> WARNINT_R[src]

Bits 0:9 - Watchdog warning interrupt compare value.

impl R<u32, Reg<u32, _WINDOW>>[src]

pub fn window(&self) -> WINDOW_R[src]

Bits 0:23 - Watchdog window value.

impl R<bool, LOAD_A>[src]

pub fn variant(&self) -> LOAD_A[src]

Get enumerated values variant

pub fn is_no_force_load(&self) -> bool[src]

Checks if the value of the field is NO_FORCE_LOAD

pub fn is_force_load(&self) -> bool[src]

Checks if the value of the field is FORCE_LOAD

impl R<u32, Reg<u32, _INTVAL>>[src]

pub fn ivalue(&self) -> IVALUE_R[src]

Bits 0:23 - Time interval load value. This value is loaded into the TIMERn register and the MRT channel n starts counting down from IVALUE -1. If the timer is idle, writing a non-zero value to this bit field starts the timer immediately. If the timer is running, writing a zero to this bit field does the following: If LOAD = 1, the timer stops immediately. If LOAD = 0, the timer stops at the end of the time interval.

pub fn load(&self) -> LOAD_R[src]

Bit 31 - Determines how the timer interval value IVALUE -1 is loaded into the TIMERn register. This bit is write-only. Reading this bit always returns 0.

impl R<u32, Reg<u32, _TIMER>>[src]

pub fn value(&self) -> VALUE_R[src]

Bits 0:23 - Holds the current timer value of the down-counter. The initial value of the TIMERn register is loaded as IVALUE - 1 from the INTVALn register either at the end of the time interval or immediately in the following cases: INTVALn register is updated in the idle state. INTVALn register is updated with LOAD = 1. When the timer is in idle state, reading this bit fields returns -1 (0x00FF FFFF).

impl R<bool, INTEN_A>[src]

pub fn variant(&self) -> INTEN_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> Variant<u8, MODE_A>[src]

Get enumerated values variant

pub fn is_repeat_interrupt_mode(&self) -> bool[src]

Checks if the value of the field is REPEAT_INTERRUPT_MODE

pub fn is_one_shot_interrupt_mode(&self) -> bool[src]

Checks if the value of the field is ONE_SHOT_INTERRUPT_MODE

pub fn is_one_shot_stall_mode(&self) -> bool[src]

Checks if the value of the field is ONE_SHOT_STALL_MODE

impl R<u32, Reg<u32, _CTRL>>[src]

pub fn inten(&self) -> INTEN_R[src]

Bit 0 - Enable the TIMERn interrupt.

pub fn mode(&self) -> MODE_R[src]

Bits 1:2 - Selects timer mode.

impl R<bool, INTFLAG_A>[src]

pub fn variant(&self) -> INTFLAG_A[src]

Get enumerated values variant

pub fn is_no_pending_interrupt(&self) -> bool[src]

Checks if the value of the field is NO_PENDING_INTERRUPT

pub fn is_pending_interrupt(&self) -> bool[src]

Checks if the value of the field is PENDING_INTERRUPT

impl R<bool, RUN_A>[src]

pub fn variant(&self) -> RUN_A[src]

Get enumerated values variant

pub fn is_idle_state(&self) -> bool[src]

Checks if the value of the field is IDLE_STATE

pub fn is_running(&self) -> bool[src]

Checks if the value of the field is RUNNING

impl R<bool, INUSE_A>[src]

pub fn variant(&self) -> INUSE_A[src]

Get enumerated values variant

pub fn is_no(&self) -> bool[src]

Checks if the value of the field is NO

pub fn is_yes(&self) -> bool[src]

Checks if the value of the field is YES

impl R<u32, Reg<u32, _STAT>>[src]

pub fn intflag(&self) -> INTFLAG_R[src]

Bit 0 - Monitors the interrupt flag.

pub fn run(&self) -> RUN_R[src]

Bit 1 - Indicates the state of TIMERn. This bit is read-only.

pub fn inuse(&self) -> INUSE_R[src]

Bit 2 - Channel In Use flag. Operating details depend on the MULTITASK bit in the MODCFG register, and affects the use of IDLE_CH. See Idle channel register for details of the two operating modes.

impl R<bool, MULTITASK_A>[src]

pub fn variant(&self) -> MULTITASK_A[src]

Get enumerated values variant

pub fn is_hardware_status_mode(&self) -> bool[src]

Checks if the value of the field is HARDWARE_STATUS_MODE

pub fn is_multi_task_mode(&self) -> bool[src]

Checks if the value of the field is MULTI_TASK_MODE

impl R<u32, Reg<u32, _MODCFG>>[src]

pub fn noc(&self) -> NOC_R[src]

Bits 0:3 - Identifies the number of channels in this MRT.(4 channels on this device.)

pub fn nob(&self) -> NOB_R[src]

Bits 4:8 - Identifies the number of timer bits in this MRT. (24 bits wide on this device.)

pub fn multitask(&self) -> MULTITASK_R[src]

Bit 31 - Selects the operating mode for the INUSE flags and the IDLE_CH register.

impl R<u32, Reg<u32, _IDLE_CH>>[src]

pub fn chan(&self) -> CHAN_R[src]

Bits 4:7 - Idle channel. Reading the CHAN bits, returns the lowest idle timer channel. The number is positioned such that it can be used as an offset from the MRT base address in order to access the registers for the allocated channel. If all timer channels are running, CHAN = 0xF. See text above for more details.

impl R<bool, GFLAG0_A>[src]

pub fn variant(&self) -> GFLAG0_A[src]

Get enumerated values variant

pub fn is_no_pending_interrupt(&self) -> bool[src]

Checks if the value of the field is NO_PENDING_INTERRUPT

pub fn is_pending_interrupt(&self) -> bool[src]

Checks if the value of the field is PENDING_INTERRUPT

impl R<u32, Reg<u32, _IRQ_FLAG>>[src]

pub fn gflag0(&self) -> GFLAG0_R[src]

Bit 0 - Monitors the interrupt flag of TIMER0.

pub fn gflag1(&self) -> GFLAG1_R[src]

Bit 1 - Monitors the interrupt flag of TIMER1. See description of channel 0.

pub fn gflag2(&self) -> GFLAG2_R[src]

Bit 2 - Monitors the interrupt flag of TIMER2. See description of channel 0.

pub fn gflag3(&self) -> GFLAG3_R[src]

Bit 3 - Monitors the interrupt flag of TIMER3. See description of channel 0.

impl R<u32, Reg<u32, _CTRL>>[src]

pub fn delayval(&self) -> DELAYVAL_R[src]

Bits 0:30 - Tick interval value. The delay will be equal to DELAYVAL + 1 periods of the timer clock. The minimum usable value is 1, for a delay of 2 timer clocks. A value of 0 stops the timer.

pub fn repeat(&self) -> REPEAT_R[src]

Bit 31 - Repeat delay. 0 = One-time delay. 1 = Delay repeats continuously.

impl R<u32, Reg<u32, _STAT>>[src]

pub fn intr(&self) -> INTR_R[src]

Bit 0 - Interrupt flag. 0 = No interrupt is pending. 1 = An interrupt is pending. A write of any value to this register clears this flag.

pub fn active(&self) -> ACTIVE_R[src]

Bit 1 - Active flag. 0 = The Micro-Tick Timer is stopped. 1 = The Micro-Tick Timer is currently active.

impl R<u32, Reg<u32, _CFG>>[src]

pub fn capen0(&self) -> CAPEN0_R[src]

Bit 0 - Enable Capture 0. 1 = Enabled, 0 = Disabled.

pub fn capen1(&self) -> CAPEN1_R[src]

Bit 1 - Enable Capture 1. 1 = Enabled, 0 = Disabled.

pub fn capen2(&self) -> CAPEN2_R[src]

Bit 2 - Enable Capture 2. 1 = Enabled, 0 = Disabled.

pub fn capen3(&self) -> CAPEN3_R[src]

Bit 3 - Enable Capture 3. 1 = Enabled, 0 = Disabled.

pub fn cappol0(&self) -> CAPPOL0_R[src]

Bit 8 - Capture Polarity 0. 0 = Positive edge capture, 1 = Negative edge capture.

pub fn cappol1(&self) -> CAPPOL1_R[src]

Bit 9 - Capture Polarity 1. 0 = Positive edge capture, 1 = Negative edge capture.

pub fn cappol2(&self) -> CAPPOL2_R[src]

Bit 10 - Capture Polarity 2. 0 = Positive edge capture, 1 = Negative edge capture.

pub fn cappol3(&self) -> CAPPOL3_R[src]

Bit 11 - Capture Polarity 3. 0 = Positive edge capture, 1 = Negative edge capture.

impl R<u32, Reg<u32, _CAP>>[src]

pub fn cap_value(&self) -> CAP_VALUE_R[src]

Bits 0:30 - Capture value for the related capture event (UTICK_CAPn. Note: the value is 1 lower than the actual value of the Micro-tick Timer at the moment of the capture event.

pub fn valid(&self) -> VALID_R[src]

Bit 31 - Capture Valid. When 1, a value has been captured based on a transition of the related UTICK_CAPn pin. Cleared by writing to the related bit in the CAPCLR register.

impl R<u32, Reg<u32, _CMD>>[src]

pub fn cmd(&self) -> CMD_R[src]

Bits 0:2 - Command.

impl R<u32, Reg<u32, _RWSTATE>>[src]

pub fn rphase2(&self) -> RPHASE2_R[src]

Bits 0:7 - Wait states 2 (minus 1 encoded).

pub fn rphase1(&self) -> RPHASE1_R[src]

Bits 8:15 - Wait states 1 (minus 1 encoded).

impl R<u32, Reg<u32, _AUTOPROG>>[src]

pub fn autoprog(&self) -> AUTOPROG_R[src]

Bits 0:1 - Auto programming mode: 00 = auto programming off 01 = erase/program cycle is triggered after 1 word is written 10 = erase/program cycle is triggered after a write to AHB address ending with .

impl R<u32, Reg<u32, _WSTATE>>[src]

pub fn phase3(&self) -> PHASE3_R[src]

Bits 0:7 - Wait states for phase 3 (minus 1 encoded).

pub fn phase2(&self) -> PHASE2_R[src]

Bits 8:15 - Wait states for phase 2 (minus 1 encoded).

pub fn phase1(&self) -> PHASE1_R[src]

Bits 16:23 - Wait states for phase 1 (minus 1 encoded).

pub fn lck_parwep(&self) -> LCK_PARWEP_R[src]

Bit 31 - Lock timing parameters for write, erase and program operation 0 = WSTATE and CLKDIV registers have R/W access 1 = WSTATE and CLKDIV registers have R only access.

impl R<u32, Reg<u32, _CLKDIV>>[src]

pub fn clkdiv(&self) -> CLKDIV_R[src]

Bits 0:15 - Division factor (minus 1 encoded).

impl R<u32, Reg<u32, _PWRDWN>>[src]

pub fn pwrdwn(&self) -> PWRDWN_R[src]

Bit 0 - Power down mode bit.

impl R<u32, Reg<u32, _INTSTAT>>[src]

pub fn end_of_prog(&self) -> END_OF_PROG_R[src]

Bit 2 - EEPROM program operation finished interrupt status bit.

impl R<u32, Reg<u32, _INTEN>>[src]

pub fn ee_prog_done(&self) -> EE_PROG_DONE_R[src]

Bit 2 - EEPROM program operation finished interrupt enable bit.

impl R<u32, Reg<u32, _AESKEY>>[src]

pub fn key(&self) -> KEY_R[src]

Bits 0:31 - AES key.

impl R<u32, Reg<u32, _ECRP>>[src]

pub fn crp_mass_erase_disable(&self) -> CRP_MASS_ERASE_DISABLE_R[src]

Bit 4 - Disable or enable CRP mass erase.

pub fn iap_protection_enable(&self) -> IAP_PROTECTION_ENABLE_R[src]

Bit 5 - This bit controls the ability to enable checking for ECRP in IAP functions.

pub fn crp_isp_disable_pin(&self) -> CRP_ISP_DISABLE_PIN_R[src]

Bit 6 - This bit controls the ability to enter ISP mode using the ISP pin.

pub fn crp_isp_disable_iap(&self) -> CRP_ISP_DISABLE_IAP_R[src]

Bit 7 - This bit controls the ability to re-invoke ISP using IAP routines.

pub fn crp_allow_zero(&self) -> CRP_ALLOW_ZERO_R[src]

Bit 9 - This bit controls how 0 is treated when read as a ECRP value..

pub fn jtag_disable(&self) -> JTAG_DISABLE_R[src]

Bit 31 - 0 => Enable SWD/JTAG; 1 => Disable SWD/JTAG..

impl R<u32, Reg<u32, _USER0>>[src]

pub fn user0(&self) -> USER0_R[src]

Bits 0:31 - User application specific option.

impl R<u32, Reg<u32, _USER1>>[src]

pub fn user1(&self) -> USER1_R[src]

Bits 0:31 - User application specific option.

impl R<bool, SWRESET_A>[src]

pub fn variant(&self) -> SWRESET_A[src]

Get enumerated values variant

pub fn is_not_in_reset(&self) -> bool[src]

Checks if the value of the field is NOT_IN_RESET

pub fn is_in_reset(&self) -> bool[src]

Checks if the value of the field is IN_RESET

impl R<bool, ALARM1HZ_A>[src]

pub fn variant(&self) -> ALARM1HZ_A[src]

Get enumerated values variant

pub fn is_no_match(&self) -> bool[src]

Checks if the value of the field is NO_MATCH

pub fn is_match_(&self) -> bool[src]

Checks if the value of the field is MATCH

impl R<bool, WAKE1KHZ_A>[src]

pub fn variant(&self) -> WAKE1KHZ_A[src]

Get enumerated values variant

pub fn is_run(&self) -> bool[src]

Checks if the value of the field is RUN

pub fn is_timeout(&self) -> bool[src]

Checks if the value of the field is TIMEOUT

impl R<bool, ALARMDPD_EN_A>[src]

pub fn variant(&self) -> ALARMDPD_EN_A[src]

Get enumerated values variant

pub fn is_disable(&self) -> bool[src]

Checks if the value of the field is DISABLE

pub fn is_enable(&self) -> bool[src]

Checks if the value of the field is ENABLE

impl R<bool, WAKEDPD_EN_A>[src]

pub fn variant(&self) -> WAKEDPD_EN_A[src]

Get enumerated values variant

pub fn is_disable(&self) -> bool[src]

Checks if the value of the field is DISABLE

pub fn is_enable(&self) -> bool[src]

Checks if the value of the field is ENABLE

impl R<bool, RTC1KHZ_EN_A>[src]

pub fn variant(&self) -> RTC1KHZ_EN_A[src]

Get enumerated values variant

pub fn is_disable(&self) -> bool[src]

Checks if the value of the field is DISABLE

pub fn is_enable(&self) -> bool[src]

Checks if the value of the field is ENABLE

impl R<bool, RTC_EN_A>[src]

pub fn variant(&self) -> RTC_EN_A[src]

Get enumerated values variant

pub fn is_disable(&self) -> bool[src]

Checks if the value of the field is DISABLE

pub fn is_enable(&self) -> bool[src]

Checks if the value of the field is ENABLE

impl R<bool, RTC_OSC_PD_A>[src]

pub fn variant(&self) -> RTC_OSC_PD_A[src]

Get enumerated values variant

pub fn is_power_up(&self) -> bool[src]

Checks if the value of the field is POWER_UP

pub fn is_powered_down(&self) -> bool[src]

Checks if the value of the field is POWERED_DOWN

impl R<u32, Reg<u32, _CTRL>>[src]

pub fn swreset(&self) -> SWRESET_R[src]

Bit 0 - Software reset control

pub fn alarm1hz(&self) -> ALARM1HZ_R[src]

Bit 2 - RTC 1 Hz timer alarm flag status.

pub fn wake1khz(&self) -> WAKE1KHZ_R[src]

Bit 3 - RTC 1 kHz timer wake-up flag status.

pub fn alarmdpd_en(&self) -> ALARMDPD_EN_R[src]

Bit 4 - RTC 1 Hz timer alarm enable for Deep power-down.

pub fn wakedpd_en(&self) -> WAKEDPD_EN_R[src]

Bit 5 - RTC 1 kHz timer wake-up enable for Deep power-down.

pub fn rtc1khz_en(&self) -> RTC1KHZ_EN_R[src]

Bit 6 - RTC 1 kHz clock enable. This bit can be set to 0 to conserve power if the 1 kHz timer is not used. This bit has no effect when the RTC is disabled (bit 7 of this register is 0).

pub fn rtc_en(&self) -> RTC_EN_R[src]

Bit 7 - RTC enable.

pub fn rtc_osc_pd(&self) -> RTC_OSC_PD_R[src]

Bit 8 - RTC oscillator power-down control.

impl R<u32, Reg<u32, _MATCH>>[src]

pub fn matval(&self) -> MATVAL_R[src]

Bits 0:31 - Contains the match value against which the 1 Hz RTC timer will be compared to set the alarm flag RTC_ALARM and generate an alarm interrupt/wake-up if enabled.

impl R<u32, Reg<u32, _COUNT>>[src]

pub fn val(&self) -> VAL_R[src]

Bits 0:31 - A read reflects the current value of the main, 1 Hz RTC timer. A write loads a new initial value into the timer. The RTC counter will count up continuously at a 1 Hz rate once the RTC Software Reset is removed (by clearing bit 0 of the CTRL register). Only write to this register when the RTC_EN bit in the RTC CTRL Register is 0. The counter increments one second after the RTC_EN bit is set.

impl R<u32, Reg<u32, _WAKE>>[src]

pub fn val(&self) -> VAL_R[src]

Bits 0:15 - A read reflects the current value of the high-resolution/wake-up timer. A write pre-loads a start count value into the wake-up timer and initializes a count-down sequence. Do not write to this register while counting is in progress.

impl R<u32, Reg<u32, _GPREG>>[src]

pub fn gpdata(&self) -> GPDATA_R[src]

Bits 0:31 - Data retained during Deep power-down mode or loss of main power as long as VBAT is supplied.

impl R<u32, Reg<u32, _COMPVAL>>[src]

pub fn ricomp(&self) -> RICOMP_R[src]

Bits 0:31 - .

impl R<u32, Reg<u32, _MASK>>[src]

pub fn rimask(&self) -> RIMASK_R[src]

Bits 0:31 - Mask register.

impl R<u32, Reg<u32, _CTRL>>[src]

pub fn ritint(&self) -> RITINT_R[src]

Bit 0 - Interrupt flag.

pub fn ritenclr(&self) -> RITENCLR_R[src]

Bit 1 - Timer enable clear.

pub fn ritenbr(&self) -> RITENBR_R[src]

Bit 2 - Timer enable for debug.

pub fn riten(&self) -> RITEN_R[src]

Bit 3 - Timer enable.

impl R<u32, Reg<u32, _COUNTER>>[src]

pub fn ricounter(&self) -> RICOUNTER_R[src]

Bits 0:31 - 32 LSBs of the up counter.

impl R<u32, Reg<u32, _COMPVAL_H>>[src]

pub fn ricomp(&self) -> RICOMP_R[src]

Bits 0:15 - Compare value MSB register.

impl R<u32, Reg<u32, _MASK_H>>[src]

pub fn rimask(&self) -> RIMASK_R[src]

Bits 0:15 - Mask register.

impl R<u32, Reg<u32, _COUNTER_H>>[src]

pub fn ricounter(&self) -> RICOUNTER_R[src]

Bits 0:15 - 16 LSBs of the up counter.

impl R<u32, Reg<u32, _FCTR>>[src]

pub fn fs_rd0(&self) -> FS_RD0_R[src]

Bit 3 - Value must be 0 for signature generation.

pub fn fs_rd1(&self) -> FS_RD1_R[src]

Bit 4 - Value must be 1 for signature generation.

impl R<u32, Reg<u32, _FBWST>>[src]

pub fn waitstates(&self) -> WAITSTATES_R[src]

Bits 0:7 - Wait states for signature generation.

impl R<u32, Reg<u32, _FMSSTART>>[src]

pub fn start(&self) -> START_R[src]

Bits 0:16 - Signature generation start address (corresponds to AHB byte address bits[20:4]).

impl R<u32, Reg<u32, _FMSSTOP>>[src]

pub fn stop(&self) -> STOP_R[src]

Bits 0:16 - Stop address for signature generation (the word specified by STOP is included in the address range).

pub fn sig_start(&self) -> SIG_START_R[src]

Bit 17 - When this bit is written to 1, signature generation starts.

impl R<u32, Reg<u32, _FMSW>>[src]

pub fn sw(&self) -> SW_R[src]

Bits 0:31 - Words of 128-bit signature (bits).

impl R<u32, Reg<u32, _FMSTAT>>[src]

pub fn sig_done(&self) -> SIG_DONE_R[src]

Bit 2 - When 1, a previously started signature generation has completed.

impl R<u32, Reg<u32, _DLL>>[src]

pub fn dllsb(&self) -> DLLSB_R[src]

Bits 0:7 - The SCIn Divisor Latch LSB Register, along with the SCInDLM register, determines the baud rate of the SCIn.

impl R<u32, Reg<u32, _RBR>>[src]

pub fn rbr(&self) -> RBR_R[src]

Bits 0:7 - The SCIn Receiver Buffer Register contains the oldest received byte in the SCIn Rx FIFO.

impl R<u32, Reg<u32, _DLM>>[src]

pub fn dlmsb(&self) -> DLMSB_R[src]

Bits 0:7 - The SCIn Divisor Latch MSB Register, along with the DLL register, determines the baud rate of the SCIn.

impl R<u32, Reg<u32, _IER>>[src]

pub fn rbrie(&self) -> RBRIE_R[src]

Bit 0 - RBR Interrupt Enable.

pub fn threie(&self) -> THREIE_R[src]

Bit 1 - THRE Interrupt Enable.

pub fn rxie(&self) -> RXIE_R[src]

Bit 2 - RX Line Status Interrupt Enable.

impl R<u32, Reg<u32, _IIR>>[src]

pub fn intstatus(&self) -> INTSTATUS_R[src]

Bit 0 - Interrupt status.

pub fn intid(&self) -> INTID_R[src]

Bits 1:3 - Interrupt identification.

pub fn fifoenable(&self) -> FIFOENABLE_R[src]

Bits 6:7 - Copies of SCInFCR[0].

impl R<u32, Reg<u32, _LCR>>[src]

pub fn wls(&self) -> WLS_R[src]

Bits 0:1 - Word Length Select.

pub fn sbs(&self) -> SBS_R[src]

Bit 2 - Stop Bit Select.

pub fn pe(&self) -> PE_R[src]

Bit 3 - Parity Enable.

pub fn ps(&self) -> PS_R[src]

Bits 4:5 - Parity Select.

pub fn dlab(&self) -> DLAB_R[src]

Bit 7 - Divisor Latch Access Bit.

impl R<u32, Reg<u32, _LSR>>[src]

pub fn rdr(&self) -> RDR_R[src]

Bit 0 - Receiver Data Ready.

pub fn oe(&self) -> OE_R[src]

Bit 1 - Overrun Error.

pub fn pe(&self) -> PE_R[src]

Bit 2 - Parity Error.

pub fn fe(&self) -> FE_R[src]

Bit 3 - Framing Error.

pub fn thre(&self) -> THRE_R[src]

Bit 5 - Transmitter Holding Register Empty.

pub fn temt(&self) -> TEMT_R[src]

Bit 6 - Transmitter Empty.

pub fn rxfe(&self) -> RXFE_R[src]

Bit 7 - Error in RX FIFO.

impl R<u32, Reg<u32, _SCR>>[src]

pub fn pad(&self) -> PAD_R[src]

Bits 0:7 - A readable, writable byte.

impl R<u32, Reg<u32, _OSR>>[src]

pub fn osfrac(&self) -> OSFRAC_R[src]

Bits 1:3 - Fractional part of the oversampling ratio, in units of 1/8th of an input clock period.

pub fn osint(&self) -> OSINT_R[src]

Bits 4:7 - Integer part of the oversampling ratio, minus 1.

pub fn fdint(&self) -> FDINT_R[src]

Bits 8:14 - These bits act as a more-significant extension of the OSint field, allowing an oversampling ratio up to 2048 as required by ISO7816-3.

impl R<u32, Reg<u32, _SCICTRL>>[src]

pub fn scien(&self) -> SCIEN_R[src]

Bit 0 - Smart Card Interface Enable.

pub fn nackdis(&self) -> NACKDIS_R[src]

Bit 1 - NACK response disable.

pub fn protsel(&self) -> PROTSEL_R[src]

Bit 2 - Protocol selection as defined in the ISO7816-3 standard.

pub fn txretry(&self) -> TXRETRY_R[src]

Bits 5:7 - Maximum number of retransmissions in case of a negative acknowledge (protocol T=0).

pub fn guardtime(&self) -> GUARDTIME_R[src]

Bits 8:15 - Extra guard time.

impl R<u32, Reg<u32, _ASYNCPRESETCTRL>>[src]

pub fn ctimer3(&self) -> CTIMER3_R[src]

Bit 13 - Standard counter/timer CTIMER3 reset control. 0 = Clear reset to this function. 1 = Assert reset to this function.

pub fn ctimer4(&self) -> CTIMER4_R[src]

Bit 14 - Standard counter/timer CTIMER4 reset control. 0 = Clear reset to this function. 1 = Assert reset to this function.

impl R<u32, Reg<u32, _ASYNCAPBCLKCTRL>>[src]

pub fn ctimer3(&self) -> CTIMER3_R[src]

Bit 13 - Controls the clock for CTIMER3. 0 = Disable; 1 = Enable.

pub fn ctimer4(&self) -> CTIMER4_R[src]

Bit 14 - Controls the clock for CTIMER4. 0 = Disable; 1 = Enable.

impl R<u8, SEL_A>[src]

pub fn variant(&self) -> SEL_A[src]

Get enumerated values variant

pub fn is_main_clock(&self) -> bool[src]

Checks if the value of the field is MAIN_CLOCK

pub fn is_fro_12_mhz(&self) -> bool[src]

Checks if the value of the field is FRO_12_MHZ

pub fn is_audio_pll_clock(&self) -> bool[src]

Checks if the value of the field is AUDIO_PLL_CLOCK

pub fn is_fc6_fclk(&self) -> bool[src]

Checks if the value of the field is FC6_FCLK

impl R<u32, Reg<u32, _ASYNCAPBCLKSELA>>[src]

pub fn sel(&self) -> SEL_R[src]

Bits 0:1 - Clock source for asynchronous clock source selector A

impl R<bool, MODE3_A>[src]

pub fn variant(&self) -> MODE3_A[src]

Get enumerated values variant

pub fn is_sck_low(&self) -> bool[src]

Checks if the value of the field is SCK_LOW

pub fn is_sck_high(&self) -> bool[src]

Checks if the value of the field is SCK_HIGH

impl R<bool, PRFTCH_DIS_A>[src]

pub fn variant(&self) -> PRFTCH_DIS_A[src]

Get enumerated values variant

pub fn is_enable(&self) -> bool[src]

Checks if the value of the field is ENABLE

pub fn is_disable(&self) -> bool[src]

Checks if the value of the field is DISABLE

impl R<bool, DUAL_A>[src]

pub fn variant(&self) -> DUAL_A[src]

Get enumerated values variant

pub fn is_quad(&self) -> bool[src]

Checks if the value of the field is QUAD

pub fn is_dual(&self) -> bool[src]

Checks if the value of the field is DUAL

impl R<bool, RFCLK_A>[src]

pub fn variant(&self) -> RFCLK_A[src]

Get enumerated values variant

pub fn is_rising_edge(&self) -> bool[src]

Checks if the value of the field is RISING_EDGE

pub fn is_falling_edge(&self) -> bool[src]

Checks if the value of the field is FALLING_EDGE

impl R<bool, FBCLK_A>[src]

pub fn variant(&self) -> FBCLK_A[src]

Get enumerated values variant

pub fn is_internal_clock(&self) -> bool[src]

Checks if the value of the field is INTERNAL_CLOCK

pub fn is_feedback_clock(&self) -> bool[src]

Checks if the value of the field is FEEDBACK_CLOCK

impl R<u32, Reg<u32, _CTRL>>[src]

pub fn timeout(&self) -> TIMEOUT_R[src]

Bits 0:15 - This field contains the number of serial clock periods without the processor reading data in memory mode, which will cause the SPIFI hardware to terminate the command by driving the CS pin high and negating the CMD bit in the Status register. (This allows the flash memory to enter a lower-power state.) If the processor reads data from the flash region after a time-out, the command in the Memory Command Register is issued again.

pub fn cshigh(&self) -> CSHIGH_R[src]

Bits 16:19 - This field controls the minimum CS high time, expressed as a number of serial clock periods minus one.

pub fn d_prftch_dis(&self) -> D_PRFTCH_DIS_R[src]

Bit 21 - This bit allows conditioning of memory mode prefetches based on the AHB HPROT (instruction/data) access information. A 1 in this register means that the SPIFI will not attempt a speculative prefetch when it encounters data accesses.

pub fn inten(&self) -> INTEN_R[src]

Bit 22 - If this bit is 1 when a command ends, the SPIFI will assert its interrupt request output. See INTRQ in the status register for further details.

pub fn mode3(&self) -> MODE3_R[src]

Bit 23 - SPI Mode 3 select.

pub fn prftch_dis(&self) -> PRFTCH_DIS_R[src]

Bit 27 - Cache prefetching enable. The SPIFI includes an internal cache. A 1 in this bit disables prefetching of cache lines.

pub fn dual(&self) -> DUAL_R[src]

Bit 28 - Select dual protocol.

pub fn rfclk(&self) -> RFCLK_R[src]

Bit 29 - Select active clock edge for input data.

pub fn fbclk(&self) -> FBCLK_R[src]

Bit 30 - Feedback clock select.

pub fn dmaen(&self) -> DMAEN_R[src]

Bit 31 - A 1 in this bit enables the DMA Request output from the SPIFI. Set this bit only when a DMA channel is used to transfer data in peripheral mode. Do not set this bit when a DMA channel is used for memory-to-memory transfers from the SPIFI memory area. DMAEN should only be used in Command mode.

impl R<bool, DOUT_A>[src]

pub fn variant(&self) -> DOUT_A[src]

Get enumerated values variant

pub fn is_input(&self) -> bool[src]

Checks if the value of the field is INPUT

pub fn is_output(&self) -> bool[src]

Checks if the value of the field is OUTPUT

impl R<u8, FIELDFORM_A>[src]

pub fn variant(&self) -> FIELDFORM_A[src]

Get enumerated values variant

pub fn is_all_serial(&self) -> bool[src]

Checks if the value of the field is ALL_SERIAL

pub fn is_quad_dual_data(&self) -> bool[src]

Checks if the value of the field is QUAD_DUAL_DATA

pub fn is_serial_opcode(&self) -> bool[src]

Checks if the value of the field is SERIAL_OPCODE

pub fn is_all_quad_dual(&self) -> bool[src]

Checks if the value of the field is ALL_QUAD_DUAL

impl R<u8, FRAMEFORM_A>[src]

pub fn variant(&self) -> Variant<u8, FRAMEFORM_A>[src]

Get enumerated values variant

pub fn is_opcode(&self) -> bool[src]

Checks if the value of the field is OPCODE

pub fn is_opcode_1_byte(&self) -> bool[src]

Checks if the value of the field is OPCODE_1_BYTE

pub fn is_opcode_2_bytes(&self) -> bool[src]

Checks if the value of the field is OPCODE_2_BYTES

pub fn is_opcode_3_bytes(&self) -> bool[src]

Checks if the value of the field is OPCODE_3_BYTES

pub fn is_opcode_4_bytes(&self) -> bool[src]

Checks if the value of the field is OPCODE_4_BYTES

pub fn is_no_opcode_3_bytes(&self) -> bool[src]

Checks if the value of the field is NO_OPCODE_3_BYTES

pub fn is_no_opcode_4_bytes(&self) -> bool[src]

Checks if the value of the field is NO_OPCODE_4_BYTES

impl R<u32, Reg<u32, _CMD>>[src]

pub fn datalen(&self) -> DATALEN_R[src]

Bits 0:13 - Except when the POLL bit in this register is 1, this field controls how many data bytes are in the command. 0 indicates that the command does not contain a data field.

pub fn poll(&self) -> POLL_R[src]

Bit 14 - This bit should be written as 1 only with an opcode that a) contains an input data field, and b) causes the serial flash device to return byte status repetitively (e.g., a Read Status command). When this bit is 1, the SPIFI hardware continues to read bytes until the test specified by the DATALEN field is met. The hardware tests the bit in each status byte selected by DATALEN bits 2:0, until a bit is found that is equal to DATALEN bit 3. When the test succeeds, the SPIFI captures the byte that meets this test so that it can be read from the Data Register, and terminates the command by raising CS. The end-of-command interrupt can be enabled to inform software when this occurs

pub fn dout(&self) -> DOUT_R[src]

Bit 15 - If the DATALEN field is not zero, this bit controls the direction of the data:

pub fn intlen(&self) -> INTLEN_R[src]

Bits 16:18 - This field controls how many intermediate bytes precede the data. (Each such byte may require 8 or 2 SCK cycles, depending on whether the intermediate field is in serial, 2-bit, or 4-bit format.) Intermediate bytes are output by the SPIFI, and include post-address control information, dummy and delay bytes. See the description of the Intermediate Data register for the contents of such bytes.

pub fn fieldform(&self) -> FIELDFORM_R[src]

Bits 19:20 - This field controls how the fields of the command are sent.

pub fn frameform(&self) -> FRAMEFORM_R[src]

Bits 21:23 - This field controls the opcode and address fields.

pub fn opcode(&self) -> OPCODE_R[src]

Bits 24:31 - The opcode of the command (not used for some FRAMEFORM values).

impl R<u32, Reg<u32, _ADDR>>[src]

pub fn address(&self) -> ADDRESS_R[src]

Bits 0:31 - Address.

impl R<u32, Reg<u32, _IDATA>>[src]

pub fn idata(&self) -> IDATA_R[src]

Bits 0:31 - Value of intermediate bytes.

impl R<u32, Reg<u32, _CLIMIT>>[src]

pub fn climit(&self) -> CLIMIT_R[src]

Bits 0:31 - Zero-based upper limit of cacheable memory

impl R<u32, Reg<u32, _DATA>>[src]

pub fn data(&self) -> DATA_R[src]

Bits 0:31 - Input or output data

impl R<u8, FIELDFORM_A>[src]

pub fn variant(&self) -> FIELDFORM_A[src]

Get enumerated values variant

pub fn is_all_serial(&self) -> bool[src]

Checks if the value of the field is ALL_SERIAL

pub fn is_quad_dual_data(&self) -> bool[src]

Checks if the value of the field is QUAD_DUAL_DATA

pub fn is_serial_opcode(&self) -> bool[src]

Checks if the value of the field is SERIAL_OPCODE

pub fn is_all_quad_dual(&self) -> bool[src]

Checks if the value of the field is ALL_QUAD_DUAL

impl R<u8, FRAMEFORM_A>[src]

pub fn variant(&self) -> Variant<u8, FRAMEFORM_A>[src]

Get enumerated values variant

pub fn is_opcode(&self) -> bool[src]

Checks if the value of the field is OPCODE

pub fn is_opcode_1_byte(&self) -> bool[src]

Checks if the value of the field is OPCODE_1_BYTE

pub fn is_opcode_2_bytes(&self) -> bool[src]

Checks if the value of the field is OPCODE_2_BYTES

pub fn is_opcode_3_bytes(&self) -> bool[src]

Checks if the value of the field is OPCODE_3_BYTES

pub fn is_opcode_4_bytes(&self) -> bool[src]

Checks if the value of the field is OPCODE_4_BYTES

pub fn is_no_opcode_3_bytes(&self) -> bool[src]

Checks if the value of the field is NO_OPCODE_3_BYTES

pub fn is_no_opcode_4_bytes(&self) -> bool[src]

Checks if the value of the field is NO_OPCODE_4_BYTES

impl R<u32, Reg<u32, _MCMD>>[src]

pub fn poll(&self) -> POLL_R[src]

Bit 14 - This bit should be written as 0.

pub fn dout(&self) -> DOUT_R[src]

Bit 15 - This bit should be written as 0.

pub fn intlen(&self) -> INTLEN_R[src]

Bits 16:18 - This field controls how many intermediate bytes precede the data. (Each such byte may require 8 or 2 SCK cycles, depending on whether the intermediate field is in serial, 2-bit, or 4-bit format.) Intermediate bytes are output by the SPIFI, and include post-address control information, dummy and delay bytes. See the description of the Intermediate Data register for the contents of such bytes.

pub fn fieldform(&self) -> FIELDFORM_R[src]

Bits 19:20 - This field controls how the fields of the command are sent.

pub fn frameform(&self) -> FRAMEFORM_R[src]

Bits 21:23 - This field controls the opcode and address fields.

pub fn opcode(&self) -> OPCODE_R[src]

Bits 24:31 - The opcode of the command (not used for some FRAMEFORM values).

impl R<u32, Reg<u32, _STAT>>[src]

pub fn mcinit(&self) -> MCINIT_R[src]

Bit 0 - This bit is set when software successfully writes the Memory Command register, and is cleared by Reset or by writing a 1 to the RESET bit in this register.

pub fn cmd(&self) -> CMD_R[src]

Bit 1 - This bit is 1 when the Command register is written. It is cleared by a hardware reset, a write to the RESET bit in this register, or the deassertion of CS which indicates that the command has completed communication with the SPI Flash.

pub fn reset(&self) -> RESET_R[src]

Bit 4 - Write a 1 to this bit to abort a current command or memory mode. This bit is cleared when the hardware is ready for a new command to be written to the Command register.

pub fn intrq(&self) -> INTRQ_R[src]

Bit 5 - This bit reflects the SPIFI interrupt request. Write a 1 to this bit to clear it. This bit is set when a CMD was previously 1 and has been cleared due to the deassertion of CS.

impl R<u32, Reg<u32, _DYNAMICCONFIG>>[src]

pub fn md(&self) -> MD_R[src]

Bits 3:4 - Memory device.

pub fn am0(&self) -> AM0_R[src]

Bits 7:12 - See Table 933.

pub fn am1(&self) -> AM1_R[src]

Bit 14 - See Table 933.

pub fn b(&self) -> B_R[src]

Bit 19 - Buffer enable.

pub fn p(&self) -> P_R[src]

Bit 20 - Write protect.

impl R<u32, Reg<u32, _DYNAMICRASCAS>>[src]

pub fn ras(&self) -> RAS_R[src]

Bits 0:1 - RAS latency (active to read/write delay).

pub fn cas(&self) -> CAS_R[src]

Bits 8:9 - CAS latency.

impl R<u32, Reg<u32, _STATICCONFIG>>[src]

pub fn mw(&self) -> MW_R[src]

Bits 0:1 - Memory width.

pub fn pm(&self) -> PM_R[src]

Bit 3 - Page mode.

pub fn pc(&self) -> PC_R[src]

Bit 6 - Chip select polarity.

pub fn pb(&self) -> PB_R[src]

Bit 7 - Byte lane state.

pub fn ew(&self) -> EW_R[src]

Bit 8 - Extended wait (EW) uses the EMCStaticExtendedWait register to time both the read and write transfers rather than the EMCStaticWaitRd and EMCStaticWaitWr registers.

pub fn b(&self) -> B_R[src]

Bit 19 - Buffer enable [2].

pub fn p(&self) -> P_R[src]

Bit 20 - Write protect.

impl R<u32, Reg<u32, _STATICWAITWEN>>[src]

pub fn waitwen(&self) -> WAITWEN_R[src]

Bits 0:3 - Wait write enable.

impl R<u32, Reg<u32, _STATICWAITOEN>>[src]

pub fn waitoen(&self) -> WAITOEN_R[src]

Bits 0:3 - Wait output enable.

impl R<u32, Reg<u32, _STATICWAITRD>>[src]

pub fn waitrd(&self) -> WAITRD_R[src]

Bits 0:4 - .

impl R<u32, Reg<u32, _STATICWAITPAGE>>[src]

pub fn waitpage(&self) -> WAITPAGE_R[src]

Bits 0:4 - Asynchronous page mode read after the first read wait states.

impl R<u32, Reg<u32, _STATICWAITWR>>[src]

pub fn waitwr(&self) -> WAITWR_R[src]

Bits 0:4 - Write wait states.

impl R<u32, Reg<u32, _STATICWAITTURN>>[src]

pub fn waitturn(&self) -> WAITTURN_R[src]

Bits 0:3 - Bus turn-around cycles.

impl R<u32, Reg<u32, _CONTROL>>[src]

pub fn e(&self) -> E_R[src]

Bit 0 - EMC Enable.

pub fn m(&self) -> M_R[src]

Bit 1 - Address mirror.

pub fn l(&self) -> L_R[src]

Bit 2 - Low-power mode.

impl R<u32, Reg<u32, _STATUS>>[src]

pub fn b(&self) -> B_R[src]

Bit 0 - Busy.

pub fn s(&self) -> S_R[src]

Bit 1 - Write buffer status.

pub fn sa(&self) -> SA_R[src]

Bit 2 - Self-refresh acknowledge.

impl R<u32, Reg<u32, _CONFIG>>[src]

pub fn em(&self) -> EM_R[src]

Bit 0 - Endian mode.

pub fn clkr(&self) -> CLKR_R[src]

Bit 8 - This bit must contain 0 for proper operation of the EMC.

impl R<u32, Reg<u32, _DYNAMICCONTROL>>[src]

pub fn ce(&self) -> CE_R[src]

Bit 0 - Dynamic memory clock enable.

pub fn cs(&self) -> CS_R[src]

Bit 1 - Dynamic memory clock control.

pub fn sr(&self) -> SR_R[src]

Bit 2 - Self-refresh request, EMCSREFREQ.

pub fn mmc(&self) -> MMC_R[src]

Bit 5 - Memory clock control.

pub fn i(&self) -> I_R[src]

Bits 7:8 - SDRAM initialization.

impl R<u32, Reg<u32, _DYNAMICREFRESH>>[src]

pub fn refresh(&self) -> REFRESH_R[src]

Bits 0:10 - Refresh timer.

impl R<u32, Reg<u32, _DYNAMICREADCONFIG>>[src]

pub fn rd(&self) -> RD_R[src]

Bits 0:1 - Read data strategy.

impl R<u32, Reg<u32, _DYNAMICRP>>[src]

pub fn trp(&self) -> TRP_R[src]

Bits 0:3 - Precharge command period.

impl R<u32, Reg<u32, _DYNAMICRAS>>[src]

pub fn tras(&self) -> TRAS_R[src]

Bits 0:3 - Active to precharge command period.

impl R<u32, Reg<u32, _DYNAMICSREX>>[src]

pub fn tsrex(&self) -> TSREX_R[src]

Bits 0:3 - Self-refresh exit time.

impl R<u32, Reg<u32, _DYNAMICAPR>>[src]

pub fn tapr(&self) -> TAPR_R[src]

Bits 0:3 - Last-data-out to active command time.

impl R<u32, Reg<u32, _DYNAMICDAL>>[src]

pub fn tdal(&self) -> TDAL_R[src]

Bits 0:3 - Data-in to active command.

impl R<u32, Reg<u32, _DYNAMICWR>>[src]

pub fn twr(&self) -> TWR_R[src]

Bits 0:3 - Write recovery time.

impl R<u32, Reg<u32, _DYNAMICRC>>[src]

pub fn trc(&self) -> TRC_R[src]

Bits 0:4 - Active to active command period.

impl R<u32, Reg<u32, _DYNAMICRFC>>[src]

pub fn trfc(&self) -> TRFC_R[src]

Bits 0:4 - Auto-refresh period and auto-refresh to active command period.

impl R<u32, Reg<u32, _DYNAMICXSR>>[src]

pub fn txsr(&self) -> TXSR_R[src]

Bits 0:4 - Exit self-refresh to active command time.

impl R<u32, Reg<u32, _DYNAMICRRD>>[src]

pub fn trrd(&self) -> TRRD_R[src]

Bits 0:3 - Active bank A to active bank B latency 0x0 - 0xE = n + 1 clock cycles.

impl R<u32, Reg<u32, _DYNAMICMRD>>[src]

pub fn tmrd(&self) -> TMRD_R[src]

Bits 0:3 - Load mode register to active command time.

impl R<u32, Reg<u32, _STATICEXTENDEDWAIT>>[src]

pub fn extendedwait(&self) -> EXTENDEDWAIT_R[src]

Bits 0:9 - Extended wait time out.

impl R<bool, PERIPHREQEN_A>[src]

pub fn variant(&self) -> PERIPHREQEN_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, HWTRIGEN_A>[src]

pub fn variant(&self) -> HWTRIGEN_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, TRIGPOL_A>[src]

pub fn variant(&self) -> TRIGPOL_A[src]

Get enumerated values variant

pub fn is_active_low_falling(&self) -> bool[src]

Checks if the value of the field is ACTIVE_LOW_FALLING

pub fn is_active_high_rising(&self) -> bool[src]

Checks if the value of the field is ACTIVE_HIGH_RISING

impl R<bool, TRIGTYPE_A>[src]

pub fn variant(&self) -> TRIGTYPE_A[src]

Get enumerated values variant

pub fn is_edge(&self) -> bool[src]

Checks if the value of the field is EDGE

pub fn is_level(&self) -> bool[src]

Checks if the value of the field is LEVEL

impl R<bool, TRIGBURST_A>[src]

pub fn variant(&self) -> TRIGBURST_A[src]

Get enumerated values variant

pub fn is_single(&self) -> bool[src]

Checks if the value of the field is SINGLE

pub fn is_burst(&self) -> bool[src]

Checks if the value of the field is BURST

impl R<bool, SRCBURSTWRAP_A>[src]

pub fn variant(&self) -> SRCBURSTWRAP_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DSTBURSTWRAP_A>[src]

pub fn variant(&self) -> DSTBURSTWRAP_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<u32, Reg<u32, _CFG>>[src]

pub fn periphreqen(&self) -> PERIPHREQEN_R[src]

Bit 0 - Peripheral request Enable. If a DMA channel is used to perform a memory-to-memory move, any peripheral DMA request associated with that channel can be disabled to prevent any interaction between the peripheral and the DMA controller.

pub fn hwtrigen(&self) -> HWTRIGEN_R[src]

Bit 1 - Hardware Triggering Enable for this channel.

pub fn trigpol(&self) -> TRIGPOL_R[src]

Bit 4 - Trigger Polarity. Selects the polarity of a hardware trigger for this channel.

pub fn trigtype(&self) -> TRIGTYPE_R[src]

Bit 5 - Trigger Type. Selects hardware trigger as edge triggered or level triggered.

pub fn trigburst(&self) -> TRIGBURST_R[src]

Bit 6 - Trigger Burst. Selects whether hardware triggers cause a single or burst transfer.

pub fn burstpower(&self) -> BURSTPOWER_R[src]

Bits 8:11 - Burst Power is used in two ways. It always selects the address wrap size when SRCBURSTWRAP and/or DSTBURSTWRAP modes are selected (see descriptions elsewhere in this register). When the TRIGBURST field elsewhere in this register = 1, Burst Power selects how many transfers are performed for each DMA trigger. This can be used, for example, with peripherals that contain a FIFO that can initiate a DMA operation when the FIFO reaches a certain level. 0000: Burst size = 1 (20). 0001: Burst size = 2 (21). 0010: Burst size = 4 (22). 1010: Burst size = 1024 (210). This corresponds to the maximum supported transfer count. others: not supported. The total transfer length as defined in the XFERCOUNT bits in the XFERCFG register must be an even multiple of the burst size.

pub fn srcburstwrap(&self) -> SRCBURSTWRAP_R[src]

Bit 14 - Source Burst Wrap. When enabled, the source data address for the DMA is 'wrapped', meaning that the source address range for each burst will be the same. As an example, this could be used to read several sequential registers from a peripheral for each DMA burst, reading the same registers again for each burst.

pub fn dstburstwrap(&self) -> DSTBURSTWRAP_R[src]

Bit 15 - Destination Burst Wrap. When enabled, the destination data address for the DMA is 'wrapped', meaning that the destination address range for each burst will be the same. As an example, this could be used to write several sequential registers to a peripheral for each DMA burst, writing the same registers again for each burst.

pub fn chpriority(&self) -> CHPRIORITY_R[src]

Bits 16:18 - Priority of this channel when multiple DMA requests are pending. Eight priority levels are supported: 0x0 = highest priority. 0x7 = lowest priority.

impl R<bool, VALIDPENDING_A>[src]

pub fn variant(&self) -> VALIDPENDING_A[src]

Get enumerated values variant

pub fn is_no_effect(&self) -> bool[src]

Checks if the value of the field is NO_EFFECT

pub fn is_valid_pending(&self) -> bool[src]

Checks if the value of the field is VALID_PENDING

impl R<bool, TRIG_A>[src]

pub fn variant(&self) -> TRIG_A[src]

Get enumerated values variant

pub fn is_not_triggered(&self) -> bool[src]

Checks if the value of the field is NOT_TRIGGERED

pub fn is_triggered(&self) -> bool[src]

Checks if the value of the field is TRIGGERED

impl R<u32, Reg<u32, _CTLSTAT>>[src]

pub fn validpending(&self) -> VALIDPENDING_R[src]

Bit 0 - Valid pending flag for this channel. This bit is set when a 1 is written to the corresponding bit in the related SETVALID register when CFGVALID = 1 for the same channel.

pub fn trig(&self) -> TRIG_R[src]

Bit 2 - Trigger flag. Indicates that the trigger for this channel is currently set. This bit is cleared at the end of an entire transfer or upon reload when CLRTRIG = 1.

impl R<bool, CFGVALID_A>[src]

pub fn variant(&self) -> CFGVALID_A[src]

Get enumerated values variant

pub fn is_not_valid(&self) -> bool[src]

Checks if the value of the field is NOT_VALID

pub fn is_valid(&self) -> bool[src]

Checks if the value of the field is VALID

impl R<bool, RELOAD_A>[src]

pub fn variant(&self) -> RELOAD_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, SWTRIG_A>[src]

pub fn variant(&self) -> SWTRIG_A[src]

Get enumerated values variant

pub fn is_not_set(&self) -> bool[src]

Checks if the value of the field is NOT_SET

pub fn is_set(&self) -> bool[src]

Checks if the value of the field is SET

impl R<bool, CLRTRIG_A>[src]

pub fn variant(&self) -> CLRTRIG_A[src]

Get enumerated values variant

pub fn is_not_cleared(&self) -> bool[src]

Checks if the value of the field is NOT_CLEARED

pub fn is_cleared(&self) -> bool[src]

Checks if the value of the field is CLEARED

impl R<bool, SETINTA_A>[src]

pub fn variant(&self) -> SETINTA_A[src]

Get enumerated values variant

pub fn is_no_effect(&self) -> bool[src]

Checks if the value of the field is NO_EFFECT

pub fn is_set(&self) -> bool[src]

Checks if the value of the field is SET

impl R<bool, SETINTB_A>[src]

pub fn variant(&self) -> SETINTB_A[src]

Get enumerated values variant

pub fn is_no_effect(&self) -> bool[src]

Checks if the value of the field is NO_EFFECT

pub fn is_set(&self) -> bool[src]

Checks if the value of the field is SET

impl R<u8, WIDTH_A>[src]

pub fn variant(&self) -> Variant<u8, WIDTH_A>[src]

Get enumerated values variant

pub fn is_bit_8(&self) -> bool[src]

Checks if the value of the field is BIT_8

pub fn is_bit_16(&self) -> bool[src]

Checks if the value of the field is BIT_16

pub fn is_bit_32(&self) -> bool[src]

Checks if the value of the field is BIT_32

impl R<u8, SRCINC_A>[src]

pub fn variant(&self) -> SRCINC_A[src]

Get enumerated values variant

pub fn is_no_increment(&self) -> bool[src]

Checks if the value of the field is NO_INCREMENT

pub fn is_width_x_1(&self) -> bool[src]

Checks if the value of the field is WIDTH_X_1

pub fn is_width_x_2(&self) -> bool[src]

Checks if the value of the field is WIDTH_X_2

pub fn is_width_x_4(&self) -> bool[src]

Checks if the value of the field is WIDTH_X_4

impl R<u8, DSTINC_A>[src]

pub fn variant(&self) -> DSTINC_A[src]

Get enumerated values variant

pub fn is_no_increment(&self) -> bool[src]

Checks if the value of the field is NO_INCREMENT

pub fn is_width_x_1(&self) -> bool[src]

Checks if the value of the field is WIDTH_X_1

pub fn is_width_x_2(&self) -> bool[src]

Checks if the value of the field is WIDTH_X_2

pub fn is_width_x_4(&self) -> bool[src]

Checks if the value of the field is WIDTH_X_4

impl R<u32, Reg<u32, _XFERCFG>>[src]

pub fn cfgvalid(&self) -> CFGVALID_R[src]

Bit 0 - Configuration Valid flag. This bit indicates whether the current channel descriptor is valid and can potentially be acted upon, if all other activation criteria are fulfilled.

pub fn reload(&self) -> RELOAD_R[src]

Bit 1 - Indicates whether the channel's control structure will be reloaded when the current descriptor is exhausted. Reloading allows ping-pong and linked transfers.

pub fn swtrig(&self) -> SWTRIG_R[src]

Bit 2 - Software Trigger.

pub fn clrtrig(&self) -> CLRTRIG_R[src]

Bit 3 - Clear Trigger.

pub fn setinta(&self) -> SETINTA_R[src]

Bit 4 - Set Interrupt flag A for this channel. There is no hardware distinction between interrupt A and B. They can be used by software to assist with more complex descriptor usage. By convention, interrupt A may be used when only one interrupt flag is needed.

pub fn setintb(&self) -> SETINTB_R[src]

Bit 5 - Set Interrupt flag B for this channel. There is no hardware distinction between interrupt A and B. They can be used by software to assist with more complex descriptor usage. By convention, interrupt A may be used when only one interrupt flag is needed.

pub fn width(&self) -> WIDTH_R[src]

Bits 8:9 - Transfer width used for this DMA channel.

pub fn srcinc(&self) -> SRCINC_R[src]

Bits 12:13 - Determines whether the source address is incremented for each DMA transfer.

pub fn dstinc(&self) -> DSTINC_R[src]

Bits 14:15 - Determines whether the destination address is incremented for each DMA transfer.

pub fn xfercount(&self) -> XFERCOUNT_R[src]

Bits 16:25 - Total number of transfers to be performed, minus 1 encoded. The number of bytes transferred is: (XFERCOUNT + 1) x data width (as defined by the WIDTH field). The DMA controller uses this bit field during transfer to count down. Hence, it cannot be used by software to read back the size of the transfer, for instance, in an interrupt handler. 0x0 = a total of 1 transfer will be performed. 0x1 = a total of 2 transfers will be performed. 0x3FF = a total of 1,024 transfers will be performed.

impl R<bool, ENABLE_A>[src]

pub fn variant(&self) -> ENABLE_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<u32, Reg<u32, _CTRL>>[src]

pub fn enable(&self) -> ENABLE_R[src]

Bit 0 - DMA controller master enable.

impl R<bool, ACTIVEINT_A>[src]

pub fn variant(&self) -> ACTIVEINT_A[src]

Get enumerated values variant

pub fn is_not_pending(&self) -> bool[src]

Checks if the value of the field is NOT_PENDING

pub fn is_pending(&self) -> bool[src]

Checks if the value of the field is PENDING

impl R<bool, ACTIVEERRINT_A>[src]

pub fn variant(&self) -> ACTIVEERRINT_A[src]

Get enumerated values variant

pub fn is_not_pending(&self) -> bool[src]

Checks if the value of the field is NOT_PENDING

pub fn is_pending(&self) -> bool[src]

Checks if the value of the field is PENDING

impl R<u32, Reg<u32, _INTSTAT>>[src]

pub fn activeint(&self) -> ACTIVEINT_R[src]

Bit 1 - Summarizes whether any enabled interrupts (other than error interrupts) are pending.

pub fn activeerrint(&self) -> ACTIVEERRINT_R[src]

Bit 2 - Summarizes whether any error interrupts are pending.

impl R<u32, Reg<u32, _SRAMBASE>>[src]

pub fn offset(&self) -> OFFSET_R[src]

Bits 9:31 - Address bits 31:9 of the beginning of the DMA descriptor table. For 18 channels, the table must begin on a 512 byte boundary.

impl R<u32, Reg<u32, _ENABLESET0>>[src]

pub fn ena(&self) -> ENA_R[src]

Bits 0:31 - Enable for DMA channels. Bit n enables or disables DMA channel n. The number of bits = number of DMA channels in this device. Other bits are reserved. 0 = disabled. 1 = enabled.

impl R<u32, Reg<u32, _ACTIVE0>>[src]

pub fn act(&self) -> ACT_R[src]

Bits 0:31 - Active flag for DMA channel n. Bit n corresponds to DMA channel n. The number of bits = number of DMA channels in this device. Other bits are reserved. 0 = not active. 1 = active.

impl R<u32, Reg<u32, _BUSY0>>[src]

pub fn bsy(&self) -> BSY_R[src]

Bits 0:31 - Busy flag for DMA channel n. Bit n corresponds to DMA channel n. The number of bits = number of DMA channels in this device. Other bits are reserved. 0 = not busy. 1 = busy.

impl R<u32, Reg<u32, _ERRINT0>>[src]

pub fn err(&self) -> ERR_R[src]

Bits 0:31 - Error Interrupt flag for DMA channel n. Bit n corresponds to DMA channel n. The number of bits = number of DMA channels in this device. Other bits are reserved. 0 = error interrupt is not active. 1 = error interrupt is active.

impl R<u32, Reg<u32, _INTENSET0>>[src]

pub fn inten(&self) -> INTEN_R[src]

Bits 0:31 - Interrupt Enable read and set for DMA channel n. Bit n corresponds to DMA channel n. The number of bits = number of DMA channels in this device. Other bits are reserved. 0 = interrupt for DMA channel is disabled. 1 = interrupt for DMA channel is enabled.

impl R<u32, Reg<u32, _INTA0>>[src]

pub fn ia(&self) -> IA_R[src]

Bits 0:31 - Interrupt A status for DMA channel n. Bit n corresponds to DMA channel n. The number of bits = number of DMA channels in this device. Other bits are reserved. 0 = the DMA channel interrupt A is not active. 1 = the DMA channel interrupt A is active.

impl R<u32, Reg<u32, _INTB0>>[src]

pub fn ib(&self) -> IB_R[src]

Bits 0:31 - Interrupt B status for DMA channel n. Bit n corresponds to DMA channel n. The number of bits = number of DMA channels in this device. Other bits are reserved. 0 = the DMA channel interrupt B is not active. 1 = the DMA channel interrupt B is active.

impl R<bool, FORCE_NEEDCLK_A>[src]

pub fn variant(&self) -> FORCE_NEEDCLK_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_always_on(&self) -> bool[src]

Checks if the value of the field is ALWAYS_ON

impl R<bool, LPM_SUP_A>[src]

pub fn variant(&self) -> LPM_SUP_A[src]

Get enumerated values variant

pub fn is_no(&self) -> bool[src]

Checks if the value of the field is NO

pub fn is_yes(&self) -> bool[src]

Checks if the value of the field is YES

impl R<bool, INTONNAK_AO_A>[src]

pub fn variant(&self) -> INTONNAK_AO_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, INTONNAK_AI_A>[src]

pub fn variant(&self) -> INTONNAK_AI_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, INTONNAK_CO_A>[src]

pub fn variant(&self) -> INTONNAK_CO_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, INTONNAK_CI_A>[src]

pub fn variant(&self) -> INTONNAK_CI_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<u32, Reg<u32, _DEVCMDSTAT>>[src]

pub fn dev_addr(&self) -> DEV_ADDR_R[src]

Bits 0:6 - USB device address. After bus reset, the address is reset to 0x00. If the enable bit is set, the device will respond on packets for function address DEV_ADDR. When receiving a SetAddress Control Request from the USB host, software must program the new address before completing the status phase of the SetAddress Control Request.

pub fn dev_en(&self) -> DEV_EN_R[src]

Bit 7 - USB device enable. If this bit is set, the HW will start responding on packets for function address DEV_ADDR.

pub fn setup(&self) -> SETUP_R[src]

Bit 8 - SETUP token received. If a SETUP token is received and acknowledged by the device, this bit is set. As long as this bit is set all received IN and OUT tokens will be NAKed by HW. SW must clear this bit by writing a one. If this bit is zero, HW will handle the tokens to the CTRL EP0 as indicated by the CTRL EP0 IN and OUT data information programmed by SW.

pub fn force_needclk(&self) -> FORCE_NEEDCLK_R[src]

Bit 9 - Forces the NEEDCLK output to always be on:

pub fn lpm_sup(&self) -> LPM_SUP_R[src]

Bit 11 - LPM Supported:

pub fn intonnak_ao(&self) -> INTONNAK_AO_R[src]

Bit 12 - Interrupt on NAK for interrupt and bulk OUT EP

pub fn intonnak_ai(&self) -> INTONNAK_AI_R[src]

Bit 13 - Interrupt on NAK for interrupt and bulk IN EP

pub fn intonnak_co(&self) -> INTONNAK_CO_R[src]

Bit 14 - Interrupt on NAK for control OUT EP

pub fn intonnak_ci(&self) -> INTONNAK_CI_R[src]

Bit 15 - Interrupt on NAK for control IN EP

pub fn dcon(&self) -> DCON_R[src]

Bit 16 - Device status - connect. The connect bit must be set by SW to indicate that the device must signal a connect. The pull-up resistor on USB_DP will be enabled when this bit is set and the VBUSDEBOUNCED bit is one.

pub fn dsus(&self) -> DSUS_R[src]

Bit 17 - Device status - suspend. The suspend bit indicates the current suspend state. It is set to 1 when the device hasn't seen any activity on its upstream port for more than 3 milliseconds. It is reset to 0 on any activity. When the device is suspended (Suspend bit DSUS = 1) and the software writes a 0 to it, the device will generate a remote wake-up. This will only happen when the device is connected (Connect bit = 1). When the device is not connected or not suspended, a writing a 0 has no effect. Writing a 1 never has an effect.

pub fn lpm_sus(&self) -> LPM_SUS_R[src]

Bit 19 - Device status - LPM Suspend. This bit represents the current LPM suspend state. It is set to 1 by HW when the device has acknowledged the LPM request from the USB host and the Token Retry Time of 10 ms has elapsed. When the device is in the LPM suspended state (LPM suspend bit = 1) and the software writes a zero to this bit, the device will generate a remote walk-up. Software can only write a zero to this bit when the LPM_REWP bit is set to 1. HW resets this bit when it receives a host initiated resume. HW only updates the LPM_SUS bit when the LPM_SUPP bit is equal to one.

pub fn lpm_rewp(&self) -> LPM_REWP_R[src]

Bit 20 - LPM Remote Wake-up Enabled by USB host. HW sets this bit to one when the bRemoteWake bit in the LPM extended token is set to 1. HW will reset this bit to 0 when it receives the host initiated LPM resume, when a remote wake-up is sent by the device or when a USB bus reset is received. Software can use this bit to check if the remote wake-up feature is enabled by the host for the LPM transaction.

pub fn dcon_c(&self) -> DCON_C_R[src]

Bit 24 - Device status - connect change. The Connect Change bit is set when the device's pull-up resistor is disconnected because VBus disappeared. The bit is reset by writing a one to it.

pub fn dsus_c(&self) -> DSUS_C_R[src]

Bit 25 - Device status - suspend change. The suspend change bit is set to 1 when the suspend bit toggles. The suspend bit can toggle because: - The device goes in the suspended state - The device is disconnected - The device receives resume signaling on its upstream port. The bit is reset by writing a one to it.

pub fn dres_c(&self) -> DRES_C_R[src]

Bit 26 - Device status - reset change. This bit is set when the device received a bus reset. On a bus reset the device will automatically go to the default state (unconfigured and responding to address 0). The bit is reset by writing a one to it.

pub fn vbusdebounced(&self) -> VBUSDEBOUNCED_R[src]

Bit 28 - This bit indicates if Vbus is detected or not. The bit raises immediately when Vbus becomes high. It drops to zero if Vbus is low for at least 3 ms. If this bit is high and the DCon bit is set, the HW will enable the pull-up resistor to signal a connect.

impl R<u8, ERR_CODE_A>[src]

pub fn variant(&self) -> ERR_CODE_A[src]

Get enumerated values variant

pub fn is_no_error(&self) -> bool[src]

Checks if the value of the field is NO_ERROR

pub fn is_pid_encoding_error(&self) -> bool[src]

Checks if the value of the field is PID_ENCODING_ERROR

pub fn is_pid_unknown(&self) -> bool[src]

Checks if the value of the field is PID_UNKNOWN

pub fn is_packet_unexpected(&self) -> bool[src]

Checks if the value of the field is PACKET_UNEXPECTED

pub fn is_token_crc_error(&self) -> bool[src]

Checks if the value of the field is TOKEN_CRC_ERROR

pub fn is_data_crc_error(&self) -> bool[src]

Checks if the value of the field is DATA_CRC_ERROR

pub fn is_timeout(&self) -> bool[src]

Checks if the value of the field is TIMEOUT

pub fn is_babble(&self) -> bool[src]

Checks if the value of the field is BABBLE

pub fn is_truncated_eop(&self) -> bool[src]

Checks if the value of the field is TRUNCATED_EOP

pub fn is_sent_received_nak(&self) -> bool[src]

Checks if the value of the field is SENT_RECEIVED_NAK

pub fn is_sent_stall(&self) -> bool[src]

Checks if the value of the field is SENT_STALL

pub fn is_overrun(&self) -> bool[src]

Checks if the value of the field is OVERRUN

pub fn is_sent_empty_packet(&self) -> bool[src]

Checks if the value of the field is SENT_EMPTY_PACKET

pub fn is_bitstuff_error(&self) -> bool[src]

Checks if the value of the field is BITSTUFF_ERROR

pub fn is_sync_error(&self) -> bool[src]

Checks if the value of the field is SYNC_ERROR

pub fn is_wrong_data_toggle(&self) -> bool[src]

Checks if the value of the field is WRONG_DATA_TOGGLE

impl R<u32, Reg<u32, _INFO>>[src]

pub fn frame_nr(&self) -> FRAME_NR_R[src]

Bits 0:10 - Frame number. This contains the frame number of the last successfully received SOF. In case no SOF was received by the device at the beginning of a frame, the frame number returned is that of the last successfully received SOF. In case the SOF frame number contained a CRC error, the frame number returned will be the corrupted frame number as received by the device.

pub fn err_code(&self) -> ERR_CODE_R[src]

Bits 11:14 - The error code which last occurred:

pub fn minrev(&self) -> MINREV_R[src]

Bits 16:23 - Minor Revision.

pub fn majrev(&self) -> MAJREV_R[src]

Bits 24:31 - Major Revision.

impl R<u32, Reg<u32, _EPLISTSTART>>[src]

pub fn ep_list(&self) -> EP_LIST_R[src]

Bits 8:31 - Start address of the USB EP Command/Status List.

impl R<u32, Reg<u32, _DATABUFSTART>>[src]

pub fn da_buf(&self) -> DA_BUF_R[src]

Bits 22:31 - Start address of the buffer pointer page where all endpoint data buffers are located.

impl R<u32, Reg<u32, _LPM>>[src]

pub fn hird_hw(&self) -> HIRD_HW_R[src]

Bits 0:3 - Host Initiated Resume Duration - HW. This is the HIRD value from the last received LPM token

pub fn hird_sw(&self) -> HIRD_SW_R[src]

Bits 4:7 - Host Initiated Resume Duration - SW. This is the time duration required by the USB device system to come out of LPM initiated suspend after receiving the host initiated LPM resume.

pub fn data_pending(&self) -> DATA_PENDING_R[src]

Bit 8 - As long as this bit is set to one and LPM supported bit is set to one, HW will return a NYET handshake on every LPM token it receives. If LPM supported bit is set to one and this bit is zero, HW will return an ACK handshake on every LPM token it receives. If SW has still data pending and LPM is supported, it must set this bit to 1.

impl R<u32, Reg<u32, _EPSKIP>>[src]

pub fn skip(&self) -> SKIP_R[src]

Bits 0:9 - Endpoint skip: Writing 1 to one of these bits, will indicate to HW that it must deactivate the buffer assigned to this endpoint and return control back to software. When HW has deactivated the endpoint, it will clear this bit, but it will not modify the EPINUSE bit. An interrupt will be generated when the Active bit goes from 1 to 0. Note: In case of double-buffering, HW will only clear the Active bit of the buffer indicated by the EPINUSE bit.

impl R<u32, Reg<u32, _EPINUSE>>[src]

pub fn buf(&self) -> BUF_R[src]

Bits 2:9 - Buffer in use: This register has one bit per physical endpoint. 0: HW is accessing buffer 0. 1: HW is accessing buffer 1.

impl R<u32, Reg<u32, _EPBUFCFG>>[src]

pub fn buf_sb(&self) -> BUF_SB_R[src]

Bits 2:9 - Buffer usage: This register has one bit per physical endpoint. 0: Single-buffer. 1: Double-buffer. If the bit is set to single-buffer (0), it will not toggle the corresponding EPINUSE bit when it clears the active bit. If the bit is set to double-buffer (1), HW will toggle the EPINUSE bit when it clears the Active bit for the buffer.

impl R<u32, Reg<u32, _INTSTAT>>[src]

pub fn ep0out(&self) -> EP0OUT_R[src]

Bit 0 - Interrupt status register bit for the Control EP0 OUT direction. This bit will be set if NBytes transitions to zero or the skip bit is set by software or a SETUP packet is successfully received for the control EP0. If the IntOnNAK_CO is set, this bit will also be set when a NAK is transmitted for the Control EP0 OUT direction. Software can clear this bit by writing a one to it.

pub fn ep0in(&self) -> EP0IN_R[src]

Bit 1 - Interrupt status register bit for the Control EP0 IN direction. This bit will be set if NBytes transitions to zero or the skip bit is set by software. If the IntOnNAK_CI is set, this bit will also be set when a NAK is transmitted for the Control EP0 IN direction. Software can clear this bit by writing a one to it.

pub fn ep1out(&self) -> EP1OUT_R[src]

Bit 2 - Interrupt status register bit for the EP1 OUT direction. This bit will be set if the corresponding Active bit is cleared by HW. This is done in case the programmed NBytes transitions to zero or the skip bit is set by software. If the IntOnNAK_AO is set, this bit will also be set when a NAK is transmitted for the EP1 OUT direction. Software can clear this bit by writing a one to it.

pub fn ep1in(&self) -> EP1IN_R[src]

Bit 3 - Interrupt status register bit for the EP1 IN direction. This bit will be set if the corresponding Active bit is cleared by HW. This is done in case the programmed NBytes transitions to zero or the skip bit is set by software. If the IntOnNAK_AI is set, this bit will also be set when a NAK is transmitted for the EP1 IN direction. Software can clear this bit by writing a one to it.

pub fn ep2out(&self) -> EP2OUT_R[src]

Bit 4 - Interrupt status register bit for the EP2 OUT direction. This bit will be set if the corresponding Active bit is cleared by HW. This is done in case the programmed NBytes transitions to zero or the skip bit is set by software. If the IntOnNAK_AO is set, this bit will also be set when a NAK is transmitted for the EP2 OUT direction. Software can clear this bit by writing a one to it.

pub fn ep2in(&self) -> EP2IN_R[src]

Bit 5 - Interrupt status register bit for the EP2 IN direction. This bit will be set if the corresponding Active bit is cleared by HW. This is done in case the programmed NBytes transitions to zero or the skip bit is set by software. If the IntOnNAK_AI is set, this bit will also be set when a NAK is transmitted for the EP2 IN direction. Software can clear this bit by writing a one to it.

pub fn ep3out(&self) -> EP3OUT_R[src]

Bit 6 - Interrupt status register bit for the EP3 OUT direction. This bit will be set if the corresponding Active bit is cleared by HW. This is done in case the programmed NBytes transitions to zero or the skip bit is set by software. If the IntOnNAK_AO is set, this bit will also be set when a NAK is transmitted for the EP3 OUT direction. Software can clear this bit by writing a one to it.

pub fn ep3in(&self) -> EP3IN_R[src]

Bit 7 - Interrupt status register bit for the EP3 IN direction. This bit will be set if the corresponding Active bit is cleared by HW. This is done in case the programmed NBytes transitions to zero or the skip bit is set by software. If the IntOnNAK_AI is set, this bit will also be set when a NAK is transmitted for the EP3 IN direction. Software can clear this bit by writing a one to it.

pub fn ep4out(&self) -> EP4OUT_R[src]

Bit 8 - Interrupt status register bit for the EP4 OUT direction. This bit will be set if the corresponding Active bit is cleared by HW. This is done in case the programmed NBytes transitions to zero or the skip bit is set by software. If the IntOnNAK_AO is set, this bit will also be set when a NAK is transmitted for the EP4 OUT direction. Software can clear this bit by writing a one to it.

pub fn ep4in(&self) -> EP4IN_R[src]

Bit 9 - Interrupt status register bit for the EP4 IN direction. This bit will be set if the corresponding Active bit is cleared by HW. This is done in case the programmed NBytes transitions to zero or the skip bit is set by software. If the IntOnNAK_AI is set, this bit will also be set when a NAK is transmitted for the EP4 IN direction. Software can clear this bit by writing a one to it.

pub fn frame_int(&self) -> FRAME_INT_R[src]

Bit 30 - Frame interrupt. This bit is set to one every millisecond when the VbusDebounced bit and the DCON bit are set. This bit can be used by software when handling isochronous endpoints. Software can clear this bit by writing a one to it.

pub fn dev_int(&self) -> DEV_INT_R[src]

Bit 31 - Device status interrupt. This bit is set by HW when one of the bits in the Device Status Change register are set. Software can clear this bit by writing a one to it.

impl R<u32, Reg<u32, _INTEN>>[src]

pub fn ep_int_en(&self) -> EP_INT_EN_R[src]

Bits 0:9 - If this bit is set and the corresponding USB interrupt status bit is set, a HW interrupt is generated on the interrupt line indicated by the corresponding USB interrupt routing bit.

pub fn frame_int_en(&self) -> FRAME_INT_EN_R[src]

Bit 30 - If this bit is set and the corresponding USB interrupt status bit is set, a HW interrupt is generated on the interrupt line indicated by the corresponding USB interrupt routing bit.

pub fn dev_int_en(&self) -> DEV_INT_EN_R[src]

Bit 31 - If this bit is set and the corresponding USB interrupt status bit is set, a HW interrupt is generated on the interrupt line indicated by the corresponding USB interrupt routing bit.

impl R<u32, Reg<u32, _INTSETSTAT>>[src]

pub fn ep_set_int(&self) -> EP_SET_INT_R[src]

Bits 0:9 - If software writes a one to one of these bits, the corresponding USB interrupt status bit is set. When this register is read, the same value as the USB interrupt status register is returned.

pub fn frame_set_int(&self) -> FRAME_SET_INT_R[src]

Bit 30 - If software writes a one to one of these bits, the corresponding USB interrupt status bit is set. When this register is read, the same value as the USB interrupt status register is returned.

pub fn dev_set_int(&self) -> DEV_SET_INT_R[src]

Bit 31 - If software writes a one to one of these bits, the corresponding USB interrupt status bit is set. When this register is read, the same value as the USB interrupt status register is returned.

impl R<u32, Reg<u32, _EPTOGGLE>>[src]

pub fn toggle(&self) -> TOGGLE_R[src]

Bits 0:9 - Endpoint data toggle: This field indicates the current value of the data toggle for the corresponding endpoint.

impl R<u32, Reg<u32, _EV_STATE>>[src]

pub fn statemskn(&self) -> STATEMSKN_R[src]

Bits 0:15 - If bit m is one, event n happens in state m of the counter selected by the HEVENT bit (n = event number, m = state number; state 0 = bit 0, state 1= bit 1, etc.). The number of bits = number of states in this SCT.

impl R<bool, HEVENT_A>[src]

pub fn variant(&self) -> HEVENT_A[src]

Get enumerated values variant

pub fn is_l_counter(&self) -> bool[src]

Checks if the value of the field is L_COUNTER

pub fn is_h_counter(&self) -> bool[src]

Checks if the value of the field is H_COUNTER

impl R<bool, OUTSEL_A>[src]

pub fn variant(&self) -> OUTSEL_A[src]

Get enumerated values variant

pub fn is_input(&self) -> bool[src]

Checks if the value of the field is INPUT

pub fn is_output(&self) -> bool[src]

Checks if the value of the field is OUTPUT

impl R<u8, IOCOND_A>[src]

pub fn variant(&self) -> IOCOND_A[src]

Get enumerated values variant

pub fn is_low(&self) -> bool[src]

Checks if the value of the field is LOW

pub fn is_rise(&self) -> bool[src]

Checks if the value of the field is RISE

pub fn is_fall(&self) -> bool[src]

Checks if the value of the field is FALL

pub fn is_high(&self) -> bool[src]

Checks if the value of the field is HIGH

impl R<u8, COMBMODE_A>[src]

pub fn variant(&self) -> COMBMODE_A[src]

Get enumerated values variant

pub fn is_or(&self) -> bool[src]

Checks if the value of the field is OR

pub fn is_match_(&self) -> bool[src]

Checks if the value of the field is MATCH

pub fn is_io(&self) -> bool[src]

Checks if the value of the field is IO

pub fn is_and(&self) -> bool[src]

Checks if the value of the field is AND

impl R<bool, STATELD_A>[src]

pub fn variant(&self) -> STATELD_A[src]

Get enumerated values variant

pub fn is_add(&self) -> bool[src]

Checks if the value of the field is ADD

pub fn is_load(&self) -> bool[src]

Checks if the value of the field is LOAD

impl R<u8, DIRECTION_A>[src]

pub fn variant(&self) -> Variant<u8, DIRECTION_A>[src]

Get enumerated values variant

pub fn is_direction_independent(&self) -> bool[src]

Checks if the value of the field is DIRECTION_INDEPENDENT

pub fn is_counting_up(&self) -> bool[src]

Checks if the value of the field is COUNTING_UP

pub fn is_counting_down(&self) -> bool[src]

Checks if the value of the field is COUNTING_DOWN

impl R<u32, Reg<u32, _EV_CTRL>>[src]

pub fn matchsel(&self) -> MATCHSEL_R[src]

Bits 0:3 - Selects the Match register associated with this event (if any). A match can occur only when the counter selected by the HEVENT bit is running.

pub fn hevent(&self) -> HEVENT_R[src]

Bit 4 - Select L/H counter. Do not set this bit if UNIFY = 1.

pub fn outsel(&self) -> OUTSEL_R[src]

Bit 5 - Input/output select

pub fn iosel(&self) -> IOSEL_R[src]

Bits 6:9 - Selects the input or output signal number associated with this event (if any). Do not select an input in this register if CKMODE is 1x. In this case the clock input is an implicit ingredient of every event.

pub fn iocond(&self) -> IOCOND_R[src]

Bits 10:11 - Selects the I/O condition for event n. (The detection of edges on outputs lag the conditions that switch the outputs by one SCT clock). In order to guarantee proper edge/state detection, an input must have a minimum pulse width of at least one SCT clock period .

pub fn combmode(&self) -> COMBMODE_R[src]

Bits 12:13 - Selects how the specified match and I/O condition are used and combined.

pub fn stateld(&self) -> STATELD_R[src]

Bit 14 - This bit controls how the STATEV value modifies the state selected by HEVENT when this event is the highest-numbered event occurring for that state.

pub fn statev(&self) -> STATEV_R[src]

Bits 15:19 - This value is loaded into or added to the state selected by HEVENT, depending on STATELD, when this event is the highest-numbered event occurring for that state. If STATELD and STATEV are both zero, there is no change to the STATE value.

pub fn matchmem(&self) -> MATCHMEM_R[src]

Bit 20 - If this bit is one and the COMBMODE field specifies a match component to the triggering of this event, then a match is considered to be active whenever the counter value is GREATER THAN OR EQUAL TO the value specified in the match register when counting up, LESS THEN OR EQUAL TO the match value when counting down. If this bit is zero, a match is only be active during the cycle when the counter is equal to the match value.

pub fn direction(&self) -> DIRECTION_R[src]

Bits 21:22 - Direction qualifier for event generation. This field only applies when the counters are operating in BIDIR mode. If BIDIR = 0, the SCT ignores this field. Value 0x3 is reserved.

impl R<u32, Reg<u32, _OUT_SET>>[src]

pub fn set(&self) -> SET_R[src]

Bits 0:15 - A 1 in bit m selects event m to set output n (or clear it if SETCLRn = 0x1 or 0x2) output 0 = bit 0, output 1 = bit 1, etc. The number of bits = number of events in this SCT. When the counter is used in bi-directional mode, it is possible to reverse the action specified by the output set and clear registers when counting down, See the OUTPUTCTRL register.

impl R<u32, Reg<u32, _OUT_CLR>>[src]

pub fn clr(&self) -> CLR_R[src]

Bits 0:15 - A 1 in bit m selects event m to clear output n (or set it if SETCLRn = 0x1 or 0x2) event 0 = bit 0, event 1 = bit 1, etc. The number of bits = number of events in this SCT. When the counter is used in bi-directional mode, it is possible to reverse the action specified by the output set and clear registers when counting down, See the OUTPUTCTRL register.

impl R<bool, UNIFY_A>[src]

pub fn variant(&self) -> UNIFY_A[src]

Get enumerated values variant

pub fn is_dual_counter(&self) -> bool[src]

Checks if the value of the field is DUAL_COUNTER

pub fn is_unified_counter(&self) -> bool[src]

Checks if the value of the field is UNIFIED_COUNTER

impl R<u8, CLKMODE_A>[src]

pub fn variant(&self) -> CLKMODE_A[src]

Get enumerated values variant

pub fn is_system_clock_mode(&self) -> bool[src]

Checks if the value of the field is SYSTEM_CLOCK_MODE

pub fn is_sampled_system_clock_mode(&self) -> bool[src]

Checks if the value of the field is SAMPLED_SYSTEM_CLOCK_MODE

pub fn is_sct_input_clock_mode(&self) -> bool[src]

Checks if the value of the field is SCT_INPUT_CLOCK_MODE

pub fn is_asynchronous_mode(&self) -> bool[src]

Checks if the value of the field is ASYNCHRONOUS_MODE

impl R<u8, CKSEL_A>[src]

pub fn variant(&self) -> CKSEL_A[src]

Get enumerated values variant

pub fn is_input_0_rising_edges(&self) -> bool[src]

Checks if the value of the field is INPUT_0_RISING_EDGES

pub fn is_input_0_falling_edge(&self) -> bool[src]

Checks if the value of the field is INPUT_0_FALLING_EDGE

pub fn is_input_1_rising_edges(&self) -> bool[src]

Checks if the value of the field is INPUT_1_RISING_EDGES

pub fn is_input_1_falling_edge(&self) -> bool[src]

Checks if the value of the field is INPUT_1_FALLING_EDGE

pub fn is_input_2_rising_edges(&self) -> bool[src]

Checks if the value of the field is INPUT_2_RISING_EDGES

pub fn is_input_2_falling_edge(&self) -> bool[src]

Checks if the value of the field is INPUT_2_FALLING_EDGE

pub fn is_input_3_rising_edges(&self) -> bool[src]

Checks if the value of the field is INPUT_3_RISING_EDGES

pub fn is_input_3_falling_edge(&self) -> bool[src]

Checks if the value of the field is INPUT_3_FALLING_EDGE

pub fn is_input_4_rising_edges(&self) -> bool[src]

Checks if the value of the field is INPUT_4_RISING_EDGES

pub fn is_input_4_falling_edge(&self) -> bool[src]

Checks if the value of the field is INPUT_4_FALLING_EDGE

pub fn is_input_5_rising_edges(&self) -> bool[src]

Checks if the value of the field is INPUT_5_RISING_EDGES

pub fn is_input_5_falling_edge(&self) -> bool[src]

Checks if the value of the field is INPUT_5_FALLING_EDGE

pub fn is_input_6_rising_edges(&self) -> bool[src]

Checks if the value of the field is INPUT_6_RISING_EDGES

pub fn is_input_6_falling_edge(&self) -> bool[src]

Checks if the value of the field is INPUT_6_FALLING_EDGE

pub fn is_input_7_rising_edges(&self) -> bool[src]

Checks if the value of the field is INPUT_7_RISING_EDGES

pub fn is_input_7_falling_edge(&self) -> bool[src]

Checks if the value of the field is INPUT_7_FALLING_EDGE

impl R<u32, Reg<u32, _CONFIG>>[src]

pub fn unify(&self) -> UNIFY_R[src]

Bit 0 - SCT operation

pub fn clkmode(&self) -> CLKMODE_R[src]

Bits 1:2 - SCT clock mode

pub fn cksel(&self) -> CKSEL_R[src]

Bits 3:6 - SCT clock select. The specific functionality of the designated input/edge is dependent on the CLKMODE bit selection in this register.

pub fn noreload_l(&self) -> NORELOAD_L_R[src]

Bit 7 - A 1 in this bit prevents the lower match registers from being reloaded from their respective reload registers. Setting this bit eliminates the need to write to the reload registers MATCHREL if the match values are fixed. Software can write to set or clear this bit at any time. This bit applies to both the higher and lower registers when the UNIFY bit is set.

pub fn noreload_h(&self) -> NORELOAD_H_R[src]

Bit 8 - A 1 in this bit prevents the higher match registers from being reloaded from their respective reload registers. Setting this bit eliminates the need to write to the reload registers MATCHREL if the match values are fixed. Software can write to set or clear this bit at any time. This bit is not used when the UNIFY bit is set.

pub fn insync(&self) -> INSYNC_R[src]

Bits 9:12 - Synchronization for input N (bit 9 = input 0, bit 10 = input 1,, bit 12 = input 3); all other bits are reserved. A 1 in one of these bits subjects the corresponding input to synchronization to the SCT clock, before it is used to create an event. If an input is known to already be synchronous to the SCT clock, this bit may be set to 0 for faster input response. (Note: The SCT clock is the system clock for CKMODEs 0-2. It is the selected, asynchronous SCT input clock for CKMODE3). Note that the INSYNC field only affects inputs used for event generation. It does not apply to the clock input specified in the CKSEL field.

pub fn autolimit_l(&self) -> AUTOLIMIT_L_R[src]

Bit 17 - A one in this bit causes a match on match register 0 to be treated as a de-facto LIMIT condition without the need to define an associated event. As with any LIMIT event, this automatic limit causes the counter to be cleared to zero in unidirectional mode or to change the direction of count in bi-directional mode. Software can write to set or clear this bit at any time. This bit applies to both the higher and lower registers when the UNIFY bit is set.

pub fn autolimit_h(&self) -> AUTOLIMIT_H_R[src]

Bit 18 - A one in this bit will cause a match on match register 0 to be treated as a de-facto LIMIT condition without the need to define an associated event. As with any LIMIT event, this automatic limit causes the counter to be cleared to zero in unidirectional mode or to change the direction of count in bi-directional mode. Software can write to set or clear this bit at any time. This bit is not used when the UNIFY bit is set.

impl R<bool, BIDIR_L_A>[src]

pub fn variant(&self) -> BIDIR_L_A[src]

Get enumerated values variant

pub fn is_up(&self) -> bool[src]

Checks if the value of the field is UP

pub fn is_up_down(&self) -> bool[src]

Checks if the value of the field is UP_DOWN

impl R<bool, BIDIR_H_A>[src]

pub fn variant(&self) -> BIDIR_H_A[src]

Get enumerated values variant

pub fn is_up(&self) -> bool[src]

Checks if the value of the field is UP

pub fn is_up_down(&self) -> bool[src]

Checks if the value of the field is UP_DOWN

impl R<u32, Reg<u32, _CTRL>>[src]

pub fn down_l(&self) -> DOWN_L_R[src]

Bit 0 - This bit is 1 when the L or unified counter is counting down. Hardware sets this bit when the counter is counting up, counter limit occurs, and BIDIR = 1.Hardware clears this bit when the counter is counting down and a limit condition occurs or when the counter reaches 0.

pub fn stop_l(&self) -> STOP_L_R[src]

Bit 1 - When this bit is 1 and HALT is 0, the L or unified counter does not run, but I/O events related to the counter can occur. If a designated start event occurs, this bit is cleared and counting resumes.

pub fn halt_l(&self) -> HALT_L_R[src]

Bit 2 - When this bit is 1, the L or unified counter does not run and no events can occur. A reset sets this bit. When the HALT_L bit is one, the STOP_L bit is cleared. It is possible to remove the halt condition while keeping the SCT in the stop condition (not running) with a single write to this register to simultaneously clear the HALT bit and set the STOP bit. Once set, only software can clear this bit to restore counter operation. This bit is set on reset.

pub fn clrctr_l(&self) -> CLRCTR_L_R[src]

Bit 3 - Writing a 1 to this bit clears the L or unified counter. This bit always reads as 0.

pub fn bidir_l(&self) -> BIDIR_L_R[src]

Bit 4 - L or unified counter direction select

pub fn pre_l(&self) -> PRE_L_R[src]

Bits 5:12 - Specifies the factor by which the SCT clock is prescaled to produce the L or unified counter clock. The counter clock is clocked at the rate of the SCT clock divided by PRE_L+1. Clear the counter (by writing a 1 to the CLRCTR bit) whenever changing the PRE value.

pub fn down_h(&self) -> DOWN_H_R[src]

Bit 16 - This bit is 1 when the H counter is counting down. Hardware sets this bit when the counter is counting, a counter limit condition occurs, and BIDIR is 1. Hardware clears this bit when the counter is counting down and a limit condition occurs or when the counter reaches 0.

pub fn stop_h(&self) -> STOP_H_R[src]

Bit 17 - When this bit is 1 and HALT is 0, the H counter does not, run but I/O events related to the counter can occur. If such an event matches the mask in the Start register, this bit is cleared and counting resumes.

pub fn halt_h(&self) -> HALT_H_R[src]

Bit 18 - When this bit is 1, the H counter does not run and no events can occur. A reset sets this bit. When the HALT_H bit is one, the STOP_H bit is cleared. It is possible to remove the halt condition while keeping the SCT in the stop condition (not running) with a single write to this register to simultaneously clear the HALT bit and set the STOP bit. Once set, this bit can only be cleared by software to restore counter operation. This bit is set on reset.

pub fn clrctr_h(&self) -> CLRCTR_H_R[src]

Bit 19 - Writing a 1 to this bit clears the H counter. This bit always reads as 0.

pub fn bidir_h(&self) -> BIDIR_H_R[src]

Bit 20 - Direction select

pub fn pre_h(&self) -> PRE_H_R[src]

Bits 21:28 - Specifies the factor by which the SCT clock is prescaled to produce the H counter clock. The counter clock is clocked at the rate of the SCT clock divided by PRELH+1. Clear the counter (by writing a 1 to the CLRCTR bit) whenever changing the PRE value.

impl R<u32, Reg<u32, _LIMIT>>[src]

pub fn limmsk_l(&self) -> LIMMSK_L_R[src]

Bits 0:15 - If bit n is one, event n is used as a counter limit for the L or unified counter (event 0 = bit 0, event 1 = bit 1, etc.). The number of bits = number of events in this SCT.

pub fn limmsk_h(&self) -> LIMMSK_H_R[src]

Bits 16:31 - If bit n is one, event n is used as a counter limit for the H counter (event 0 = bit 16, event 1 = bit 17, etc.). The number of bits = number of events in this SCT.

impl R<u32, Reg<u32, _HALT>>[src]

pub fn haltmsk_l(&self) -> HALTMSK_L_R[src]

Bits 0:15 - If bit n is one, event n sets the HALT_L bit in the CTRL register (event 0 = bit 0, event 1 = bit 1, etc.). The number of bits = number of events in this SCT.

pub fn haltmsk_h(&self) -> HALTMSK_H_R[src]

Bits 16:31 - If bit n is one, event n sets the HALT_H bit in the CTRL register (event 0 = bit 16, event 1 = bit 17, etc.). The number of bits = number of events in this SCT.

impl R<u32, Reg<u32, _STOP>>[src]

pub fn stopmsk_l(&self) -> STOPMSK_L_R[src]

Bits 0:15 - If bit n is one, event n sets the STOP_L bit in the CTRL register (event 0 = bit 0, event 1 = bit 1, etc.). The number of bits = number of events in this SCT.

pub fn stopmsk_h(&self) -> STOPMSK_H_R[src]

Bits 16:31 - If bit n is one, event n sets the STOP_H bit in the CTRL register (event 0 = bit 16, event 1 = bit 17, etc.). The number of bits = number of events in this SCT.

impl R<u32, Reg<u32, _START>>[src]

pub fn startmsk_l(&self) -> STARTMSK_L_R[src]

Bits 0:15 - If bit n is one, event n clears the STOP_L bit in the CTRL register (event 0 = bit 0, event 1 = bit 1, etc.). The number of bits = number of events in this SCT.

pub fn startmsk_h(&self) -> STARTMSK_H_R[src]

Bits 16:31 - If bit n is one, event n clears the STOP_H bit in the CTRL register (event 0 = bit 16, event 1 = bit 17, etc.). The number of bits = number of events in this SCT.

impl R<u32, Reg<u32, _COUNT>>[src]

pub fn ctr_l(&self) -> CTR_L_R[src]

Bits 0:15 - When UNIFY = 0, read or write the 16-bit L counter value. When UNIFY = 1, read or write the lower 16 bits of the 32-bit unified counter.

pub fn ctr_h(&self) -> CTR_H_R[src]

Bits 16:31 - When UNIFY = 0, read or write the 16-bit H counter value. When UNIFY = 1, read or write the upper 16 bits of the 32-bit unified counter.

impl R<u32, Reg<u32, _STATE>>[src]

pub fn state_l(&self) -> STATE_L_R[src]

Bits 0:4 - State variable.

pub fn state_h(&self) -> STATE_H_R[src]

Bits 16:20 - State variable.

impl R<u32, Reg<u32, _INPUT>>[src]

pub fn ain0(&self) -> AIN0_R[src]

Bit 0 - Input 0 state. Input 0 state on the last SCT clock edge.

pub fn ain1(&self) -> AIN1_R[src]

Bit 1 - Input 1 state. Input 1 state on the last SCT clock edge.

pub fn ain2(&self) -> AIN2_R[src]

Bit 2 - Input 2 state. Input 2 state on the last SCT clock edge.

pub fn ain3(&self) -> AIN3_R[src]

Bit 3 - Input 3 state. Input 3 state on the last SCT clock edge.

pub fn ain4(&self) -> AIN4_R[src]

Bit 4 - Input 4 state. Input 4 state on the last SCT clock edge.

pub fn ain5(&self) -> AIN5_R[src]

Bit 5 - Input 5 state. Input 5 state on the last SCT clock edge.

pub fn ain6(&self) -> AIN6_R[src]

Bit 6 - Input 6 state. Input 6 state on the last SCT clock edge.

pub fn ain7(&self) -> AIN7_R[src]

Bit 7 - Input 7 state. Input 7 state on the last SCT clock edge.

pub fn ain8(&self) -> AIN8_R[src]

Bit 8 - Input 8 state. Input 8 state on the last SCT clock edge.

pub fn ain9(&self) -> AIN9_R[src]

Bit 9 - Input 9 state. Input 9 state on the last SCT clock edge.

pub fn ain10(&self) -> AIN10_R[src]

Bit 10 - Input 10 state. Input 10 state on the last SCT clock edge.

pub fn ain11(&self) -> AIN11_R[src]

Bit 11 - Input 11 state. Input 11 state on the last SCT clock edge.

pub fn ain12(&self) -> AIN12_R[src]

Bit 12 - Input 12 state. Input 12 state on the last SCT clock edge.

pub fn ain13(&self) -> AIN13_R[src]

Bit 13 - Input 13 state. Input 13 state on the last SCT clock edge.

pub fn ain14(&self) -> AIN14_R[src]

Bit 14 - Input 14 state. Input 14 state on the last SCT clock edge.

pub fn ain15(&self) -> AIN15_R[src]

Bit 15 - Input 15 state. Input 15 state on the last SCT clock edge.

pub fn sin0(&self) -> SIN0_R[src]

Bit 16 - Input 0 state. Input 0 state following the synchronization specified by INSYNC.

pub fn sin1(&self) -> SIN1_R[src]

Bit 17 - Input 1 state. Input 1 state following the synchronization specified by INSYNC.

pub fn sin2(&self) -> SIN2_R[src]

Bit 18 - Input 2 state. Input 2 state following the synchronization specified by INSYNC.

pub fn sin3(&self) -> SIN3_R[src]

Bit 19 - Input 3 state. Input 3 state following the synchronization specified by INSYNC.

pub fn sin4(&self) -> SIN4_R[src]

Bit 20 - Input 4 state. Input 4 state following the synchronization specified by INSYNC.

pub fn sin5(&self) -> SIN5_R[src]

Bit 21 - Input 5 state. Input 5 state following the synchronization specified by INSYNC.

pub fn sin6(&self) -> SIN6_R[src]

Bit 22 - Input 6 state. Input 6 state following the synchronization specified by INSYNC.

pub fn sin7(&self) -> SIN7_R[src]

Bit 23 - Input 7 state. Input 7 state following the synchronization specified by INSYNC.

pub fn sin8(&self) -> SIN8_R[src]

Bit 24 - Input 8 state. Input 8 state following the synchronization specified by INSYNC.

pub fn sin9(&self) -> SIN9_R[src]

Bit 25 - Input 9 state. Input 9 state following the synchronization specified by INSYNC.

pub fn sin10(&self) -> SIN10_R[src]

Bit 26 - Input 10 state. Input 10 state following the synchronization specified by INSYNC.

pub fn sin11(&self) -> SIN11_R[src]

Bit 27 - Input 11 state. Input 11 state following the synchronization specified by INSYNC.

pub fn sin12(&self) -> SIN12_R[src]

Bit 28 - Input 12 state. Input 12 state following the synchronization specified by INSYNC.

pub fn sin13(&self) -> SIN13_R[src]

Bit 29 - Input 13 state. Input 13 state following the synchronization specified by INSYNC.

pub fn sin14(&self) -> SIN14_R[src]

Bit 30 - Input 14 state. Input 14 state following the synchronization specified by INSYNC.

pub fn sin15(&self) -> SIN15_R[src]

Bit 31 - Input 15 state. Input 15 state following the synchronization specified by INSYNC.

impl R<u32, Reg<u32, _REGMODE>>[src]

pub fn regmod_l(&self) -> REGMOD_L_R[src]

Bits 0:15 - Each bit controls one match/capture register (register 0 = bit 0, register 1 = bit 1, etc.). The number of bits = number of match/captures in this SCT. 0 = register operates as match register. 1 = register operates as capture register.

pub fn regmod_h(&self) -> REGMOD_H_R[src]

Bits 16:31 - Each bit controls one match/capture register (register 0 = bit 16, register 1 = bit 17, etc.). The number of bits = number of match/captures in this SCT. 0 = register operates as match registers. 1 = register operates as capture registers.

impl R<u32, Reg<u32, _OUTPUT>>[src]

pub fn out(&self) -> OUT_R[src]

Bits 0:15 - Writing a 1 to bit n forces the corresponding output HIGH. Writing a 0 forces the corresponding output LOW (output 0 = bit 0, output 1 = bit 1, etc.). The number of bits = number of outputs in this SCT.

impl R<u8, SETCLR0_A>[src]

pub fn variant(&self) -> Variant<u8, SETCLR0_A>[src]

Get enumerated values variant

pub fn is_independent(&self) -> bool[src]

Checks if the value of the field is INDEPENDENT

pub fn is_l_reversed(&self) -> bool[src]

Checks if the value of the field is L_REVERSED

pub fn is_h_reversed(&self) -> bool[src]

Checks if the value of the field is H_REVERSED

impl R<u8, SETCLR1_A>[src]

pub fn variant(&self) -> Variant<u8, SETCLR1_A>[src]

Get enumerated values variant

pub fn is_independent(&self) -> bool[src]

Checks if the value of the field is INDEPENDENT

pub fn is_l_reversed(&self) -> bool[src]

Checks if the value of the field is L_REVERSED

pub fn is_h_reversed(&self) -> bool[src]

Checks if the value of the field is H_REVERSED

impl R<u8, SETCLR2_A>[src]

pub fn variant(&self) -> Variant<u8, SETCLR2_A>[src]

Get enumerated values variant

pub fn is_independent(&self) -> bool[src]

Checks if the value of the field is INDEPENDENT

pub fn is_l_reversed(&self) -> bool[src]

Checks if the value of the field is L_REVERSED

pub fn is_h_reversed(&self) -> bool[src]

Checks if the value of the field is H_REVERSED

impl R<u8, SETCLR3_A>[src]

pub fn variant(&self) -> Variant<u8, SETCLR3_A>[src]

Get enumerated values variant

pub fn is_independent(&self) -> bool[src]

Checks if the value of the field is INDEPENDENT

pub fn is_l_reversed(&self) -> bool[src]

Checks if the value of the field is L_REVERSED

pub fn is_h_reversed(&self) -> bool[src]

Checks if the value of the field is H_REVERSED

impl R<u8, SETCLR4_A>[src]

pub fn variant(&self) -> Variant<u8, SETCLR4_A>[src]

Get enumerated values variant

pub fn is_independent(&self) -> bool[src]

Checks if the value of the field is INDEPENDENT

pub fn is_l_reversed(&self) -> bool[src]

Checks if the value of the field is L_REVERSED

pub fn is_h_reversed(&self) -> bool[src]

Checks if the value of the field is H_REVERSED

impl R<u8, SETCLR5_A>[src]

pub fn variant(&self) -> Variant<u8, SETCLR5_A>[src]

Get enumerated values variant

pub fn is_independent(&self) -> bool[src]

Checks if the value of the field is INDEPENDENT

pub fn is_l_reversed(&self) -> bool[src]

Checks if the value of the field is L_REVERSED

pub fn is_h_reversed(&self) -> bool[src]

Checks if the value of the field is H_REVERSED

impl R<u8, SETCLR6_A>[src]

pub fn variant(&self) -> Variant<u8, SETCLR6_A>[src]

Get enumerated values variant

pub fn is_independent(&self) -> bool[src]

Checks if the value of the field is INDEPENDENT

pub fn is_l_reversed(&self) -> bool[src]

Checks if the value of the field is L_REVERSED

pub fn is_h_reversed(&self) -> bool[src]

Checks if the value of the field is H_REVERSED

impl R<u8, SETCLR7_A>[src]

pub fn variant(&self) -> Variant<u8, SETCLR7_A>[src]

Get enumerated values variant

pub fn is_independent(&self) -> bool[src]

Checks if the value of the field is INDEPENDENT

pub fn is_l_reversed(&self) -> bool[src]

Checks if the value of the field is L_REVERSED

pub fn is_h_reversed(&self) -> bool[src]

Checks if the value of the field is H_REVERSED

impl R<u8, SETCLR8_A>[src]

pub fn variant(&self) -> Variant<u8, SETCLR8_A>[src]

Get enumerated values variant

pub fn is_independent(&self) -> bool[src]

Checks if the value of the field is INDEPENDENT

pub fn is_l_reversed(&self) -> bool[src]

Checks if the value of the field is L_REVERSED

pub fn is_h_reversed(&self) -> bool[src]

Checks if the value of the field is H_REVERSED

impl R<u8, SETCLR9_A>[src]

pub fn variant(&self) -> Variant<u8, SETCLR9_A>[src]

Get enumerated values variant

pub fn is_independent(&self) -> bool[src]

Checks if the value of the field is INDEPENDENT

pub fn is_l_reversed(&self) -> bool[src]

Checks if the value of the field is L_REVERSED

pub fn is_h_reversed(&self) -> bool[src]

Checks if the value of the field is H_REVERSED

impl R<u8, SETCLR10_A>[src]

pub fn variant(&self) -> Variant<u8, SETCLR10_A>[src]

Get enumerated values variant

pub fn is_independent(&self) -> bool[src]

Checks if the value of the field is INDEPENDENT

pub fn is_l_reversed(&self) -> bool[src]

Checks if the value of the field is L_REVERSED

pub fn is_h_reversed(&self) -> bool[src]

Checks if the value of the field is H_REVERSED

impl R<u8, SETCLR11_A>[src]

pub fn variant(&self) -> Variant<u8, SETCLR11_A>[src]

Get enumerated values variant

pub fn is_independent(&self) -> bool[src]

Checks if the value of the field is INDEPENDENT

pub fn is_l_reversed(&self) -> bool[src]

Checks if the value of the field is L_REVERSED

pub fn is_h_reversed(&self) -> bool[src]

Checks if the value of the field is H_REVERSED

impl R<u8, SETCLR12_A>[src]

pub fn variant(&self) -> Variant<u8, SETCLR12_A>[src]

Get enumerated values variant

pub fn is_independent(&self) -> bool[src]

Checks if the value of the field is INDEPENDENT

pub fn is_l_reversed(&self) -> bool[src]

Checks if the value of the field is L_REVERSED

pub fn is_h_reversed(&self) -> bool[src]

Checks if the value of the field is H_REVERSED

impl R<u8, SETCLR13_A>[src]

pub fn variant(&self) -> Variant<u8, SETCLR13_A>[src]

Get enumerated values variant

pub fn is_independent(&self) -> bool[src]

Checks if the value of the field is INDEPENDENT

pub fn is_l_reversed(&self) -> bool[src]

Checks if the value of the field is L_REVERSED

pub fn is_h_reversed(&self) -> bool[src]

Checks if the value of the field is H_REVERSED

impl R<u8, SETCLR14_A>[src]

pub fn variant(&self) -> Variant<u8, SETCLR14_A>[src]

Get enumerated values variant

pub fn is_independent(&self) -> bool[src]

Checks if the value of the field is INDEPENDENT

pub fn is_l_reversed(&self) -> bool[src]

Checks if the value of the field is L_REVERSED

pub fn is_h_reversed(&self) -> bool[src]

Checks if the value of the field is H_REVERSED

impl R<u8, SETCLR15_A>[src]

pub fn variant(&self) -> Variant<u8, SETCLR15_A>[src]

Get enumerated values variant

pub fn is_independent(&self) -> bool[src]

Checks if the value of the field is INDEPENDENT

pub fn is_l_reversed(&self) -> bool[src]

Checks if the value of the field is L_REVERSED

pub fn is_h_reversed(&self) -> bool[src]

Checks if the value of the field is H_REVERSED

impl R<u32, Reg<u32, _OUTPUTDIRCTRL>>[src]

pub fn setclr0(&self) -> SETCLR0_R[src]

Bits 0:1 - Set/clear operation on output 0. Value 0x3 is reserved. Do not program this value.

pub fn setclr1(&self) -> SETCLR1_R[src]

Bits 2:3 - Set/clear operation on output 1. Value 0x3 is reserved. Do not program this value.

pub fn setclr2(&self) -> SETCLR2_R[src]

Bits 4:5 - Set/clear operation on output 2. Value 0x3 is reserved. Do not program this value.

pub fn setclr3(&self) -> SETCLR3_R[src]

Bits 6:7 - Set/clear operation on output 3. Value 0x3 is reserved. Do not program this value.

pub fn setclr4(&self) -> SETCLR4_R[src]

Bits 8:9 - Set/clear operation on output 4. Value 0x3 is reserved. Do not program this value.

pub fn setclr5(&self) -> SETCLR5_R[src]

Bits 10:11 - Set/clear operation on output 5. Value 0x3 is reserved. Do not program this value.

pub fn setclr6(&self) -> SETCLR6_R[src]

Bits 12:13 - Set/clear operation on output 6. Value 0x3 is reserved. Do not program this value.

pub fn setclr7(&self) -> SETCLR7_R[src]

Bits 14:15 - Set/clear operation on output 7. Value 0x3 is reserved. Do not program this value.

pub fn setclr8(&self) -> SETCLR8_R[src]

Bits 16:17 - Set/clear operation on output 8. Value 0x3 is reserved. Do not program this value.

pub fn setclr9(&self) -> SETCLR9_R[src]

Bits 18:19 - Set/clear operation on output 9. Value 0x3 is reserved. Do not program this value.

pub fn setclr10(&self) -> SETCLR10_R[src]

Bits 20:21 - Set/clear operation on output 10. Value 0x3 is reserved. Do not program this value.

pub fn setclr11(&self) -> SETCLR11_R[src]

Bits 22:23 - Set/clear operation on output 11. Value 0x3 is reserved. Do not program this value.

pub fn setclr12(&self) -> SETCLR12_R[src]

Bits 24:25 - Set/clear operation on output 12. Value 0x3 is reserved. Do not program this value.

pub fn setclr13(&self) -> SETCLR13_R[src]

Bits 26:27 - Set/clear operation on output 13. Value 0x3 is reserved. Do not program this value.

pub fn setclr14(&self) -> SETCLR14_R[src]

Bits 28:29 - Set/clear operation on output 14. Value 0x3 is reserved. Do not program this value.

pub fn setclr15(&self) -> SETCLR15_R[src]

Bits 30:31 - Set/clear operation on output 15. Value 0x3 is reserved. Do not program this value.

impl R<u8, O0RES_A>[src]

pub fn variant(&self) -> O0RES_A[src]

Get enumerated values variant

pub fn is_no_change(&self) -> bool[src]

Checks if the value of the field is NO_CHANGE

pub fn is_set(&self) -> bool[src]

Checks if the value of the field is SET

pub fn is_clear(&self) -> bool[src]

Checks if the value of the field is CLEAR

pub fn is_toggle_output(&self) -> bool[src]

Checks if the value of the field is TOGGLE_OUTPUT

impl R<u8, O1RES_A>[src]

pub fn variant(&self) -> O1RES_A[src]

Get enumerated values variant

pub fn is_no_change(&self) -> bool[src]

Checks if the value of the field is NO_CHANGE

pub fn is_set(&self) -> bool[src]

Checks if the value of the field is SET

pub fn is_clear(&self) -> bool[src]

Checks if the value of the field is CLEAR

pub fn is_toggle_output(&self) -> bool[src]

Checks if the value of the field is TOGGLE_OUTPUT

impl R<u8, O2RES_A>[src]

pub fn variant(&self) -> O2RES_A[src]

Get enumerated values variant

pub fn is_no_change(&self) -> bool[src]

Checks if the value of the field is NO_CHANGE

pub fn is_set(&self) -> bool[src]

Checks if the value of the field is SET

pub fn is_clear(&self) -> bool[src]

Checks if the value of the field is CLEAR

pub fn is_toggle_output(&self) -> bool[src]

Checks if the value of the field is TOGGLE_OUTPUT

impl R<u8, O3RES_A>[src]

pub fn variant(&self) -> O3RES_A[src]

Get enumerated values variant

pub fn is_no_change(&self) -> bool[src]

Checks if the value of the field is NO_CHANGE

pub fn is_set(&self) -> bool[src]

Checks if the value of the field is SET

pub fn is_clear(&self) -> bool[src]

Checks if the value of the field is CLEAR

pub fn is_toggle_output(&self) -> bool[src]

Checks if the value of the field is TOGGLE_OUTPUT

impl R<u8, O4RES_A>[src]

pub fn variant(&self) -> O4RES_A[src]

Get enumerated values variant

pub fn is_no_change(&self) -> bool[src]

Checks if the value of the field is NO_CHANGE

pub fn is_set(&self) -> bool[src]

Checks if the value of the field is SET

pub fn is_clear(&self) -> bool[src]

Checks if the value of the field is CLEAR

pub fn is_toggle_output(&self) -> bool[src]

Checks if the value of the field is TOGGLE_OUTPUT

impl R<u8, O5RES_A>[src]

pub fn variant(&self) -> O5RES_A[src]

Get enumerated values variant

pub fn is_no_change(&self) -> bool[src]

Checks if the value of the field is NO_CHANGE

pub fn is_set(&self) -> bool[src]

Checks if the value of the field is SET

pub fn is_clear(&self) -> bool[src]

Checks if the value of the field is CLEAR

pub fn is_toggle_output(&self) -> bool[src]

Checks if the value of the field is TOGGLE_OUTPUT

impl R<u8, O6RES_A>[src]

pub fn variant(&self) -> O6RES_A[src]

Get enumerated values variant

pub fn is_no_change(&self) -> bool[src]

Checks if the value of the field is NO_CHANGE

pub fn is_set(&self) -> bool[src]

Checks if the value of the field is SET

pub fn is_clear(&self) -> bool[src]

Checks if the value of the field is CLEAR

pub fn is_toggle_output(&self) -> bool[src]

Checks if the value of the field is TOGGLE_OUTPUT

impl R<u8, O7RES_A>[src]

pub fn variant(&self) -> O7RES_A[src]

Get enumerated values variant

pub fn is_no_change(&self) -> bool[src]

Checks if the value of the field is NO_CHANGE

pub fn is_set(&self) -> bool[src]

Checks if the value of the field is SET

pub fn is_clear(&self) -> bool[src]

Checks if the value of the field is CLEAR

pub fn is_toggle_output(&self) -> bool[src]

Checks if the value of the field is TOGGLE_OUTPUT

impl R<u8, O8RES_A>[src]

pub fn variant(&self) -> O8RES_A[src]

Get enumerated values variant

pub fn is_no_change(&self) -> bool[src]

Checks if the value of the field is NO_CHANGE

pub fn is_set(&self) -> bool[src]

Checks if the value of the field is SET

pub fn is_clear(&self) -> bool[src]

Checks if the value of the field is CLEAR

pub fn is_toggle_output(&self) -> bool[src]

Checks if the value of the field is TOGGLE_OUTPUT

impl R<u8, O9RES_A>[src]

pub fn variant(&self) -> O9RES_A[src]

Get enumerated values variant

pub fn is_no_change(&self) -> bool[src]

Checks if the value of the field is NO_CHANGE

pub fn is_set(&self) -> bool[src]

Checks if the value of the field is SET

pub fn is_clear(&self) -> bool[src]

Checks if the value of the field is CLEAR

pub fn is_toggle_output(&self) -> bool[src]

Checks if the value of the field is TOGGLE_OUTPUT

impl R<u8, O10RES_A>[src]

pub fn variant(&self) -> O10RES_A[src]

Get enumerated values variant

pub fn is_no_change(&self) -> bool[src]

Checks if the value of the field is NO_CHANGE

pub fn is_set(&self) -> bool[src]

Checks if the value of the field is SET

pub fn is_clear(&self) -> bool[src]

Checks if the value of the field is CLEAR

pub fn is_toggle_output(&self) -> bool[src]

Checks if the value of the field is TOGGLE_OUTPUT

impl R<u8, O11RES_A>[src]

pub fn variant(&self) -> O11RES_A[src]

Get enumerated values variant

pub fn is_no_change(&self) -> bool[src]

Checks if the value of the field is NO_CHANGE

pub fn is_set(&self) -> bool[src]

Checks if the value of the field is SET

pub fn is_clear(&self) -> bool[src]

Checks if the value of the field is CLEAR

pub fn is_toggle_output(&self) -> bool[src]

Checks if the value of the field is TOGGLE_OUTPUT

impl R<u8, O12RES_A>[src]

pub fn variant(&self) -> O12RES_A[src]

Get enumerated values variant

pub fn is_no_change(&self) -> bool[src]

Checks if the value of the field is NO_CHANGE

pub fn is_set(&self) -> bool[src]

Checks if the value of the field is SET

pub fn is_clear(&self) -> bool[src]

Checks if the value of the field is CLEAR

pub fn is_toggle_output(&self) -> bool[src]

Checks if the value of the field is TOGGLE_OUTPUT

impl R<u8, O13RES_A>[src]

pub fn variant(&self) -> O13RES_A[src]

Get enumerated values variant

pub fn is_no_change(&self) -> bool[src]

Checks if the value of the field is NO_CHANGE

pub fn is_set(&self) -> bool[src]

Checks if the value of the field is SET

pub fn is_clear(&self) -> bool[src]

Checks if the value of the field is CLEAR

pub fn is_toggle_output(&self) -> bool[src]

Checks if the value of the field is TOGGLE_OUTPUT

impl R<u8, O14RES_A>[src]

pub fn variant(&self) -> O14RES_A[src]

Get enumerated values variant

pub fn is_no_change(&self) -> bool[src]

Checks if the value of the field is NO_CHANGE

pub fn is_set(&self) -> bool[src]

Checks if the value of the field is SET

pub fn is_clear(&self) -> bool[src]

Checks if the value of the field is CLEAR

pub fn is_toggle_output(&self) -> bool[src]

Checks if the value of the field is TOGGLE_OUTPUT

impl R<u8, O15RES_A>[src]

pub fn variant(&self) -> O15RES_A[src]

Get enumerated values variant

pub fn is_no_change(&self) -> bool[src]

Checks if the value of the field is NO_CHANGE

pub fn is_set(&self) -> bool[src]

Checks if the value of the field is SET

pub fn is_clear(&self) -> bool[src]

Checks if the value of the field is CLEAR

pub fn is_toggle_output(&self) -> bool[src]

Checks if the value of the field is TOGGLE_OUTPUT

impl R<u32, Reg<u32, _RES>>[src]

pub fn o0res(&self) -> O0RES_R[src]

Bits 0:1 - Effect of simultaneous set and clear on output 0.

pub fn o1res(&self) -> O1RES_R[src]

Bits 2:3 - Effect of simultaneous set and clear on output 1.

pub fn o2res(&self) -> O2RES_R[src]

Bits 4:5 - Effect of simultaneous set and clear on output 2.

pub fn o3res(&self) -> O3RES_R[src]

Bits 6:7 - Effect of simultaneous set and clear on output 3.

pub fn o4res(&self) -> O4RES_R[src]

Bits 8:9 - Effect of simultaneous set and clear on output 4.

pub fn o5res(&self) -> O5RES_R[src]

Bits 10:11 - Effect of simultaneous set and clear on output 5.

pub fn o6res(&self) -> O6RES_R[src]

Bits 12:13 - Effect of simultaneous set and clear on output 6.

pub fn o7res(&self) -> O7RES_R[src]

Bits 14:15 - Effect of simultaneous set and clear on output 7.

pub fn o8res(&self) -> O8RES_R[src]

Bits 16:17 - Effect of simultaneous set and clear on output 8.

pub fn o9res(&self) -> O9RES_R[src]

Bits 18:19 - Effect of simultaneous set and clear on output 9.

pub fn o10res(&self) -> O10RES_R[src]

Bits 20:21 - Effect of simultaneous set and clear on output 10.

pub fn o11res(&self) -> O11RES_R[src]

Bits 22:23 - Effect of simultaneous set and clear on output 11.

pub fn o12res(&self) -> O12RES_R[src]

Bits 24:25 - Effect of simultaneous set and clear on output 12.

pub fn o13res(&self) -> O13RES_R[src]

Bits 26:27 - Effect of simultaneous set and clear on output 13.

pub fn o14res(&self) -> O14RES_R[src]

Bits 28:29 - Effect of simultaneous set and clear on output 14.

pub fn o15res(&self) -> O15RES_R[src]

Bits 30:31 - Effect of simultaneous set and clear on output 15.

impl R<u32, Reg<u32, _DMAREQ0>>[src]

pub fn dev_0(&self) -> DEV_0_R[src]

Bits 0:15 - If bit n is one, event n triggers DMA request 0 (event 0 = bit 0, event 1 = bit 1, etc.). The number of bits = number of events in this SCT.

pub fn drl0(&self) -> DRL0_R[src]

Bit 30 - A 1 in this bit triggers DMA request 0 when it loads the MATCH_L/Unified registers from the RELOAD_L/Unified registers.

pub fn drq0(&self) -> DRQ0_R[src]

Bit 31 - This read-only bit indicates the state of DMA Request 0. Note that if the related DMA channel is enabled and properly set up, it is unlikely that software will see this flag, it will be cleared rapidly by the DMA service. The flag remaining set could point to an issue with DMA setup.

impl R<u32, Reg<u32, _DMAREQ1>>[src]

pub fn dev_1(&self) -> DEV_1_R[src]

Bits 0:15 - If bit n is one, event n triggers DMA request 1 (event 0 = bit 0, event 1 = bit 1, etc.). The number of bits = number of events in this SCT.

pub fn drl1(&self) -> DRL1_R[src]

Bit 30 - A 1 in this bit triggers DMA request 1 when it loads the Match L/Unified registers from the Reload L/Unified registers.

pub fn drq1(&self) -> DRQ1_R[src]

Bit 31 - This read-only bit indicates the state of DMA Request 1. Note that if the related DMA channel is enabled and properly set up, it is unlikely that software will see this flag, it will be cleared rapidly by the DMA service. The flag remaining set could point to an issue with DMA setup.

impl R<u32, Reg<u32, _EVEN>>[src]

pub fn ien(&self) -> IEN_R[src]

Bits 0:15 - The SCT requests an interrupt when bit n of this register and the event flag register are both one (event 0 = bit 0, event 1 = bit 1, etc.). The number of bits = number of events in this SCT.

impl R<u32, Reg<u32, _EVFLAG>>[src]

pub fn flag(&self) -> FLAG_R[src]

Bits 0:15 - Bit n is one if event n has occurred since reset or a 1 was last written to this bit (event 0 = bit 0, event 1 = bit 1, etc.). The number of bits = number of events in this SCT.

impl R<u32, Reg<u32, _CONEN>>[src]

pub fn ncen(&self) -> NCEN_R[src]

Bits 0:15 - The SCT requests an interrupt when bit n of this register and the SCT conflict flag register are both one (output 0 = bit 0, output 1 = bit 1, etc.). The number of bits = number of outputs in this SCT.

impl R<u32, Reg<u32, _CONFLAG>>[src]

pub fn ncflag(&self) -> NCFLAG_R[src]

Bits 0:15 - Bit n is one if a no-change conflict event occurred on output n since reset or a 1 was last written to this bit (output 0 = bit 0, output 1 = bit 1, etc.). The number of bits = number of outputs in this SCT.

pub fn buserrl(&self) -> BUSERRL_R[src]

Bit 30 - The most recent bus error from this SCT involved writing CTR L/Unified, STATE L/Unified, MATCH L/Unified, or the Output register when the L/U counter was not halted. A word write to certain L and H registers can be half successful and half unsuccessful.

pub fn buserrh(&self) -> BUSERRH_R[src]

Bit 31 - The most recent bus error from this SCT involved writing CTR H, STATE H, MATCH H, or the Output register when the H counter was not halted.

impl R<u32, Reg<u32, _CAP0>>[src]

pub fn capn_l(&self) -> CAPN_L_R[src]

Bits 0:15 - When UNIFY = 0, read the 16-bit counter value at which this register was last captured. When UNIFY = 1, read the lower 16 bits of the 32-bit value at which this register was last captured.

pub fn capn_h(&self) -> CAPN_H_R[src]

Bits 16:31 - When UNIFY = 0, read the 16-bit counter value at which this register was last captured. When UNIFY = 1, read the upper 16 bits of the 32-bit value at which this register was last captured.

impl R<u32, Reg<u32, _MATCH0>>[src]

pub fn matchn_l(&self) -> MATCHN_L_R[src]

Bits 0:15 - When UNIFY = 0, read or write the 16-bit value to be compared to the L counter. When UNIFY = 1, read or write the lower 16 bits of the 32-bit value to be compared to the unified counter.

pub fn matchn_h(&self) -> MATCHN_H_R[src]

Bits 16:31 - When UNIFY = 0, read or write the 16-bit value to be compared to the H counter. When UNIFY = 1, read or write the upper 16 bits of the 32-bit value to be compared to the unified counter.

impl R<u32, Reg<u32, _CAP1>>[src]

pub fn capn_l(&self) -> CAPN_L_R[src]

Bits 0:15 - When UNIFY = 0, read the 16-bit counter value at which this register was last captured. When UNIFY = 1, read the lower 16 bits of the 32-bit value at which this register was last captured.

pub fn capn_h(&self) -> CAPN_H_R[src]

Bits 16:31 - When UNIFY = 0, read the 16-bit counter value at which this register was last captured. When UNIFY = 1, read the upper 16 bits of the 32-bit value at which this register was last captured.

impl R<u32, Reg<u32, _MATCH1>>[src]

pub fn matchn_l(&self) -> MATCHN_L_R[src]

Bits 0:15 - When UNIFY = 0, read or write the 16-bit value to be compared to the L counter. When UNIFY = 1, read or write the lower 16 bits of the 32-bit value to be compared to the unified counter.

pub fn matchn_h(&self) -> MATCHN_H_R[src]

Bits 16:31 - When UNIFY = 0, read or write the 16-bit value to be compared to the H counter. When UNIFY = 1, read or write the upper 16 bits of the 32-bit value to be compared to the unified counter.

impl R<u32, Reg<u32, _CAP2>>[src]

pub fn capn_l(&self) -> CAPN_L_R[src]

Bits 0:15 - When UNIFY = 0, read the 16-bit counter value at which this register was last captured. When UNIFY = 1, read the lower 16 bits of the 32-bit value at which this register was last captured.

pub fn capn_h(&self) -> CAPN_H_R[src]

Bits 16:31 - When UNIFY = 0, read the 16-bit counter value at which this register was last captured. When UNIFY = 1, read the upper 16 bits of the 32-bit value at which this register was last captured.

impl R<u32, Reg<u32, _MATCH2>>[src]

pub fn matchn_l(&self) -> MATCHN_L_R[src]

Bits 0:15 - When UNIFY = 0, read or write the 16-bit value to be compared to the L counter. When UNIFY = 1, read or write the lower 16 bits of the 32-bit value to be compared to the unified counter.

pub fn matchn_h(&self) -> MATCHN_H_R[src]

Bits 16:31 - When UNIFY = 0, read or write the 16-bit value to be compared to the H counter. When UNIFY = 1, read or write the upper 16 bits of the 32-bit value to be compared to the unified counter.

impl R<u32, Reg<u32, _CAP3>>[src]

pub fn capn_l(&self) -> CAPN_L_R[src]

Bits 0:15 - When UNIFY = 0, read the 16-bit counter value at which this register was last captured. When UNIFY = 1, read the lower 16 bits of the 32-bit value at which this register was last captured.

pub fn capn_h(&self) -> CAPN_H_R[src]

Bits 16:31 - When UNIFY = 0, read the 16-bit counter value at which this register was last captured. When UNIFY = 1, read the upper 16 bits of the 32-bit value at which this register was last captured.

impl R<u32, Reg<u32, _MATCH3>>[src]

pub fn matchn_l(&self) -> MATCHN_L_R[src]

Bits 0:15 - When UNIFY = 0, read or write the 16-bit value to be compared to the L counter. When UNIFY = 1, read or write the lower 16 bits of the 32-bit value to be compared to the unified counter.

pub fn matchn_h(&self) -> MATCHN_H_R[src]

Bits 16:31 - When UNIFY = 0, read or write the 16-bit value to be compared to the H counter. When UNIFY = 1, read or write the upper 16 bits of the 32-bit value to be compared to the unified counter.

impl R<u32, Reg<u32, _CAP4>>[src]

pub fn capn_l(&self) -> CAPN_L_R[src]

Bits 0:15 - When UNIFY = 0, read the 16-bit counter value at which this register was last captured. When UNIFY = 1, read the lower 16 bits of the 32-bit value at which this register was last captured.

pub fn capn_h(&self) -> CAPN_H_R[src]

Bits 16:31 - When UNIFY = 0, read the 16-bit counter value at which this register was last captured. When UNIFY = 1, read the upper 16 bits of the 32-bit value at which this register was last captured.

impl R<u32, Reg<u32, _MATCH4>>[src]

pub fn matchn_l(&self) -> MATCHN_L_R[src]

Bits 0:15 - When UNIFY = 0, read or write the 16-bit value to be compared to the L counter. When UNIFY = 1, read or write the lower 16 bits of the 32-bit value to be compared to the unified counter.

pub fn matchn_h(&self) -> MATCHN_H_R[src]

Bits 16:31 - When UNIFY = 0, read or write the 16-bit value to be compared to the H counter. When UNIFY = 1, read or write the upper 16 bits of the 32-bit value to be compared to the unified counter.

impl R<u32, Reg<u32, _CAP5>>[src]

pub fn capn_l(&self) -> CAPN_L_R[src]

Bits 0:15 - When UNIFY = 0, read the 16-bit counter value at which this register was last captured. When UNIFY = 1, read the lower 16 bits of the 32-bit value at which this register was last captured.

pub fn capn_h(&self) -> CAPN_H_R[src]

Bits 16:31 - When UNIFY = 0, read the 16-bit counter value at which this register was last captured. When UNIFY = 1, read the upper 16 bits of the 32-bit value at which this register was last captured.

impl R<u32, Reg<u32, _MATCH5>>[src]

pub fn matchn_l(&self) -> MATCHN_L_R[src]

Bits 0:15 - When UNIFY = 0, read or write the 16-bit value to be compared to the L counter. When UNIFY = 1, read or write the lower 16 bits of the 32-bit value to be compared to the unified counter.

pub fn matchn_h(&self) -> MATCHN_H_R[src]

Bits 16:31 - When UNIFY = 0, read or write the 16-bit value to be compared to the H counter. When UNIFY = 1, read or write the upper 16 bits of the 32-bit value to be compared to the unified counter.

impl R<u32, Reg<u32, _CAP6>>[src]

pub fn capn_l(&self) -> CAPN_L_R[src]

Bits 0:15 - When UNIFY = 0, read the 16-bit counter value at which this register was last captured. When UNIFY = 1, read the lower 16 bits of the 32-bit value at which this register was last captured.

pub fn capn_h(&self) -> CAPN_H_R[src]

Bits 16:31 - When UNIFY = 0, read the 16-bit counter value at which this register was last captured. When UNIFY = 1, read the upper 16 bits of the 32-bit value at which this register was last captured.

impl R<u32, Reg<u32, _MATCH6>>[src]

pub fn matchn_l(&self) -> MATCHN_L_R[src]

Bits 0:15 - When UNIFY = 0, read or write the 16-bit value to be compared to the L counter. When UNIFY = 1, read or write the lower 16 bits of the 32-bit value to be compared to the unified counter.

pub fn matchn_h(&self) -> MATCHN_H_R[src]

Bits 16:31 - When UNIFY = 0, read or write the 16-bit value to be compared to the H counter. When UNIFY = 1, read or write the upper 16 bits of the 32-bit value to be compared to the unified counter.

impl R<u32, Reg<u32, _CAP7>>[src]

pub fn capn_l(&self) -> CAPN_L_R[src]

Bits 0:15 - When UNIFY = 0, read the 16-bit counter value at which this register was last captured. When UNIFY = 1, read the lower 16 bits of the 32-bit value at which this register was last captured.

pub fn capn_h(&self) -> CAPN_H_R[src]

Bits 16:31 - When UNIFY = 0, read the 16-bit counter value at which this register was last captured. When UNIFY = 1, read the upper 16 bits of the 32-bit value at which this register was last captured.

impl R<u32, Reg<u32, _MATCH7>>[src]

pub fn matchn_l(&self) -> MATCHN_L_R[src]

Bits 0:15 - When UNIFY = 0, read or write the 16-bit value to be compared to the L counter. When UNIFY = 1, read or write the lower 16 bits of the 32-bit value to be compared to the unified counter.

pub fn matchn_h(&self) -> MATCHN_H_R[src]

Bits 16:31 - When UNIFY = 0, read or write the 16-bit value to be compared to the H counter. When UNIFY = 1, read or write the upper 16 bits of the 32-bit value to be compared to the unified counter.

impl R<u32, Reg<u32, _CAP8>>[src]

pub fn capn_l(&self) -> CAPN_L_R[src]

Bits 0:15 - When UNIFY = 0, read the 16-bit counter value at which this register was last captured. When UNIFY = 1, read the lower 16 bits of the 32-bit value at which this register was last captured.

pub fn capn_h(&self) -> CAPN_H_R[src]

Bits 16:31 - When UNIFY = 0, read the 16-bit counter value at which this register was last captured. When UNIFY = 1, read the upper 16 bits of the 32-bit value at which this register was last captured.

impl R<u32, Reg<u32, _MATCH8>>[src]

pub fn matchn_l(&self) -> MATCHN_L_R[src]

Bits 0:15 - When UNIFY = 0, read or write the 16-bit value to be compared to the L counter. When UNIFY = 1, read or write the lower 16 bits of the 32-bit value to be compared to the unified counter.

pub fn matchn_h(&self) -> MATCHN_H_R[src]

Bits 16:31 - When UNIFY = 0, read or write the 16-bit value to be compared to the H counter. When UNIFY = 1, read or write the upper 16 bits of the 32-bit value to be compared to the unified counter.

impl R<u32, Reg<u32, _CAP9>>[src]

pub fn capn_l(&self) -> CAPN_L_R[src]

Bits 0:15 - When UNIFY = 0, read the 16-bit counter value at which this register was last captured. When UNIFY = 1, read the lower 16 bits of the 32-bit value at which this register was last captured.

pub fn capn_h(&self) -> CAPN_H_R[src]

Bits 16:31 - When UNIFY = 0, read the 16-bit counter value at which this register was last captured. When UNIFY = 1, read the upper 16 bits of the 32-bit value at which this register was last captured.

impl R<u32, Reg<u32, _MATCH9>>[src]

pub fn matchn_l(&self) -> MATCHN_L_R[src]

Bits 0:15 - When UNIFY = 0, read or write the 16-bit value to be compared to the L counter. When UNIFY = 1, read or write the lower 16 bits of the 32-bit value to be compared to the unified counter.

pub fn matchn_h(&self) -> MATCHN_H_R[src]

Bits 16:31 - When UNIFY = 0, read or write the 16-bit value to be compared to the H counter. When UNIFY = 1, read or write the upper 16 bits of the 32-bit value to be compared to the unified counter.

impl R<u32, Reg<u32, _CAPCTRL0>>[src]

pub fn capconn_l(&self) -> CAPCONN_L_R[src]

Bits 0:15 - If bit m is one, event m causes the CAPn_L (UNIFY = 0) or the CAPn (UNIFY = 1) register to be loaded (event 0 = bit 0, event 1 = bit 1, etc.). The number of bits = number of match/captures in this SCT.

pub fn capconn_h(&self) -> CAPCONN_H_R[src]

Bits 16:31 - If bit m is one, event m causes the CAPn_H (UNIFY = 0) register to be loaded (event 0 = bit 16, event 1 = bit 17, etc.). The number of bits = number of match/captures in this SCT.

impl R<u32, Reg<u32, _MATCHREL0>>[src]

pub fn reloadn_l(&self) -> RELOADN_L_R[src]

Bits 0:15 - When UNIFY = 0, specifies the 16-bit value to be loaded into the MATCHn_L register. When UNIFY = 1, specifies the lower 16 bits of the 32-bit value to be loaded into the MATCHn register.

pub fn reloadn_h(&self) -> RELOADN_H_R[src]

Bits 16:31 - When UNIFY = 0, specifies the 16-bit to be loaded into the MATCHn_H register. When UNIFY = 1, specifies the upper 16 bits of the 32-bit value to be loaded into the MATCHn register.

impl R<u32, Reg<u32, _CAPCTRL1>>[src]

pub fn capconn_l(&self) -> CAPCONN_L_R[src]

Bits 0:15 - If bit m is one, event m causes the CAPn_L (UNIFY = 0) or the CAPn (UNIFY = 1) register to be loaded (event 0 = bit 0, event 1 = bit 1, etc.). The number of bits = number of match/captures in this SCT.

pub fn capconn_h(&self) -> CAPCONN_H_R[src]

Bits 16:31 - If bit m is one, event m causes the CAPn_H (UNIFY = 0) register to be loaded (event 0 = bit 16, event 1 = bit 17, etc.). The number of bits = number of match/captures in this SCT.

impl R<u32, Reg<u32, _MATCHREL1>>[src]

pub fn reloadn_l(&self) -> RELOADN_L_R[src]

Bits 0:15 - When UNIFY = 0, specifies the 16-bit value to be loaded into the MATCHn_L register. When UNIFY = 1, specifies the lower 16 bits of the 32-bit value to be loaded into the MATCHn register.

pub fn reloadn_h(&self) -> RELOADN_H_R[src]

Bits 16:31 - When UNIFY = 0, specifies the 16-bit to be loaded into the MATCHn_H register. When UNIFY = 1, specifies the upper 16 bits of the 32-bit value to be loaded into the MATCHn register.

impl R<u32, Reg<u32, _CAPCTRL2>>[src]

pub fn capconn_l(&self) -> CAPCONN_L_R[src]

Bits 0:15 - If bit m is one, event m causes the CAPn_L (UNIFY = 0) or the CAPn (UNIFY = 1) register to be loaded (event 0 = bit 0, event 1 = bit 1, etc.). The number of bits = number of match/captures in this SCT.

pub fn capconn_h(&self) -> CAPCONN_H_R[src]

Bits 16:31 - If bit m is one, event m causes the CAPn_H (UNIFY = 0) register to be loaded (event 0 = bit 16, event 1 = bit 17, etc.). The number of bits = number of match/captures in this SCT.

impl R<u32, Reg<u32, _MATCHREL2>>[src]

pub fn reloadn_l(&self) -> RELOADN_L_R[src]

Bits 0:15 - When UNIFY = 0, specifies the 16-bit value to be loaded into the MATCHn_L register. When UNIFY = 1, specifies the lower 16 bits of the 32-bit value to be loaded into the MATCHn register.

pub fn reloadn_h(&self) -> RELOADN_H_R[src]

Bits 16:31 - When UNIFY = 0, specifies the 16-bit to be loaded into the MATCHn_H register. When UNIFY = 1, specifies the upper 16 bits of the 32-bit value to be loaded into the MATCHn register.

impl R<u32, Reg<u32, _CAPCTRL3>>[src]

pub fn capconn_l(&self) -> CAPCONN_L_R[src]

Bits 0:15 - If bit m is one, event m causes the CAPn_L (UNIFY = 0) or the CAPn (UNIFY = 1) register to be loaded (event 0 = bit 0, event 1 = bit 1, etc.). The number of bits = number of match/captures in this SCT.

pub fn capconn_h(&self) -> CAPCONN_H_R[src]

Bits 16:31 - If bit m is one, event m causes the CAPn_H (UNIFY = 0) register to be loaded (event 0 = bit 16, event 1 = bit 17, etc.). The number of bits = number of match/captures in this SCT.

impl R<u32, Reg<u32, _MATCHREL3>>[src]

pub fn reloadn_l(&self) -> RELOADN_L_R[src]

Bits 0:15 - When UNIFY = 0, specifies the 16-bit value to be loaded into the MATCHn_L register. When UNIFY = 1, specifies the lower 16 bits of the 32-bit value to be loaded into the MATCHn register.

pub fn reloadn_h(&self) -> RELOADN_H_R[src]

Bits 16:31 - When UNIFY = 0, specifies the 16-bit to be loaded into the MATCHn_H register. When UNIFY = 1, specifies the upper 16 bits of the 32-bit value to be loaded into the MATCHn register.

impl R<u32, Reg<u32, _CAPCTRL4>>[src]

pub fn capconn_l(&self) -> CAPCONN_L_R[src]

Bits 0:15 - If bit m is one, event m causes the CAPn_L (UNIFY = 0) or the CAPn (UNIFY = 1) register to be loaded (event 0 = bit 0, event 1 = bit 1, etc.). The number of bits = number of match/captures in this SCT.

pub fn capconn_h(&self) -> CAPCONN_H_R[src]

Bits 16:31 - If bit m is one, event m causes the CAPn_H (UNIFY = 0) register to be loaded (event 0 = bit 16, event 1 = bit 17, etc.). The number of bits = number of match/captures in this SCT.

impl R<u32, Reg<u32, _MATCHREL4>>[src]

pub fn reloadn_l(&self) -> RELOADN_L_R[src]

Bits 0:15 - When UNIFY = 0, specifies the 16-bit value to be loaded into the MATCHn_L register. When UNIFY = 1, specifies the lower 16 bits of the 32-bit value to be loaded into the MATCHn register.

pub fn reloadn_h(&self) -> RELOADN_H_R[src]

Bits 16:31 - When UNIFY = 0, specifies the 16-bit to be loaded into the MATCHn_H register. When UNIFY = 1, specifies the upper 16 bits of the 32-bit value to be loaded into the MATCHn register.

impl R<u32, Reg<u32, _CAPCTRL5>>[src]

pub fn capconn_l(&self) -> CAPCONN_L_R[src]

Bits 0:15 - If bit m is one, event m causes the CAPn_L (UNIFY = 0) or the CAPn (UNIFY = 1) register to be loaded (event 0 = bit 0, event 1 = bit 1, etc.). The number of bits = number of match/captures in this SCT.

pub fn capconn_h(&self) -> CAPCONN_H_R[src]

Bits 16:31 - If bit m is one, event m causes the CAPn_H (UNIFY = 0) register to be loaded (event 0 = bit 16, event 1 = bit 17, etc.). The number of bits = number of match/captures in this SCT.

impl R<u32, Reg<u32, _MATCHREL5>>[src]

pub fn reloadn_l(&self) -> RELOADN_L_R[src]

Bits 0:15 - When UNIFY = 0, specifies the 16-bit value to be loaded into the MATCHn_L register. When UNIFY = 1, specifies the lower 16 bits of the 32-bit value to be loaded into the MATCHn register.

pub fn reloadn_h(&self) -> RELOADN_H_R[src]

Bits 16:31 - When UNIFY = 0, specifies the 16-bit to be loaded into the MATCHn_H register. When UNIFY = 1, specifies the upper 16 bits of the 32-bit value to be loaded into the MATCHn register.

impl R<u32, Reg<u32, _CAPCTRL6>>[src]

pub fn capconn_l(&self) -> CAPCONN_L_R[src]

Bits 0:15 - If bit m is one, event m causes the CAPn_L (UNIFY = 0) or the CAPn (UNIFY = 1) register to be loaded (event 0 = bit 0, event 1 = bit 1, etc.). The number of bits = number of match/captures in this SCT.

pub fn capconn_h(&self) -> CAPCONN_H_R[src]

Bits 16:31 - If bit m is one, event m causes the CAPn_H (UNIFY = 0) register to be loaded (event 0 = bit 16, event 1 = bit 17, etc.). The number of bits = number of match/captures in this SCT.

impl R<u32, Reg<u32, _MATCHREL6>>[src]

pub fn reloadn_l(&self) -> RELOADN_L_R[src]

Bits 0:15 - When UNIFY = 0, specifies the 16-bit value to be loaded into the MATCHn_L register. When UNIFY = 1, specifies the lower 16 bits of the 32-bit value to be loaded into the MATCHn register.

pub fn reloadn_h(&self) -> RELOADN_H_R[src]

Bits 16:31 - When UNIFY = 0, specifies the 16-bit to be loaded into the MATCHn_H register. When UNIFY = 1, specifies the upper 16 bits of the 32-bit value to be loaded into the MATCHn register.

impl R<u32, Reg<u32, _CAPCTRL7>>[src]

pub fn capconn_l(&self) -> CAPCONN_L_R[src]

Bits 0:15 - If bit m is one, event m causes the CAPn_L (UNIFY = 0) or the CAPn (UNIFY = 1) register to be loaded (event 0 = bit 0, event 1 = bit 1, etc.). The number of bits = number of match/captures in this SCT.

pub fn capconn_h(&self) -> CAPCONN_H_R[src]

Bits 16:31 - If bit m is one, event m causes the CAPn_H (UNIFY = 0) register to be loaded (event 0 = bit 16, event 1 = bit 17, etc.). The number of bits = number of match/captures in this SCT.

impl R<u32, Reg<u32, _MATCHREL7>>[src]

pub fn reloadn_l(&self) -> RELOADN_L_R[src]

Bits 0:15 - When UNIFY = 0, specifies the 16-bit value to be loaded into the MATCHn_L register. When UNIFY = 1, specifies the lower 16 bits of the 32-bit value to be loaded into the MATCHn register.

pub fn reloadn_h(&self) -> RELOADN_H_R[src]

Bits 16:31 - When UNIFY = 0, specifies the 16-bit to be loaded into the MATCHn_H register. When UNIFY = 1, specifies the upper 16 bits of the 32-bit value to be loaded into the MATCHn register.

impl R<u32, Reg<u32, _CAPCTRL8>>[src]

pub fn capconn_l(&self) -> CAPCONN_L_R[src]

Bits 0:15 - If bit m is one, event m causes the CAPn_L (UNIFY = 0) or the CAPn (UNIFY = 1) register to be loaded (event 0 = bit 0, event 1 = bit 1, etc.). The number of bits = number of match/captures in this SCT.

pub fn capconn_h(&self) -> CAPCONN_H_R[src]

Bits 16:31 - If bit m is one, event m causes the CAPn_H (UNIFY = 0) register to be loaded (event 0 = bit 16, event 1 = bit 17, etc.). The number of bits = number of match/captures in this SCT.

impl R<u32, Reg<u32, _MATCHREL8>>[src]

pub fn reloadn_l(&self) -> RELOADN_L_R[src]

Bits 0:15 - When UNIFY = 0, specifies the 16-bit value to be loaded into the MATCHn_L register. When UNIFY = 1, specifies the lower 16 bits of the 32-bit value to be loaded into the MATCHn register.

pub fn reloadn_h(&self) -> RELOADN_H_R[src]

Bits 16:31 - When UNIFY = 0, specifies the 16-bit to be loaded into the MATCHn_H register. When UNIFY = 1, specifies the upper 16 bits of the 32-bit value to be loaded into the MATCHn register.

impl R<u32, Reg<u32, _CAPCTRL9>>[src]

pub fn capconn_l(&self) -> CAPCONN_L_R[src]

Bits 0:15 - If bit m is one, event m causes the CAPn_L (UNIFY = 0) or the CAPn (UNIFY = 1) register to be loaded (event 0 = bit 0, event 1 = bit 1, etc.). The number of bits = number of match/captures in this SCT.

pub fn capconn_h(&self) -> CAPCONN_H_R[src]

Bits 16:31 - If bit m is one, event m causes the CAPn_H (UNIFY = 0) register to be loaded (event 0 = bit 16, event 1 = bit 17, etc.). The number of bits = number of match/captures in this SCT.

impl R<u32, Reg<u32, _MATCHREL9>>[src]

pub fn reloadn_l(&self) -> RELOADN_L_R[src]

Bits 0:15 - When UNIFY = 0, specifies the 16-bit value to be loaded into the MATCHn_L register. When UNIFY = 1, specifies the lower 16 bits of the 32-bit value to be loaded into the MATCHn register.

pub fn reloadn_h(&self) -> RELOADN_H_R[src]

Bits 16:31 - When UNIFY = 0, specifies the 16-bit to be loaded into the MATCHn_H register. When UNIFY = 1, specifies the upper 16 bits of the 32-bit value to be loaded into the MATCHn register.

impl R<u8, PERSEL_A>[src]

pub fn variant(&self) -> Variant<u8, PERSEL_A>[src]

Get enumerated values variant

pub fn is_no_periph_selected(&self) -> bool[src]

Checks if the value of the field is NO_PERIPH_SELECTED

pub fn is_usart(&self) -> bool[src]

Checks if the value of the field is USART

pub fn is_spi(&self) -> bool[src]

Checks if the value of the field is SPI

pub fn is_i2c(&self) -> bool[src]

Checks if the value of the field is I2C

pub fn is_i2s_transmit(&self) -> bool[src]

Checks if the value of the field is I2S_TRANSMIT

pub fn is_i2s_receive(&self) -> bool[src]

Checks if the value of the field is I2S_RECEIVE

impl R<bool, LOCK_A>[src]

pub fn variant(&self) -> LOCK_A[src]

Get enumerated values variant

pub fn is_unlocked(&self) -> bool[src]

Checks if the value of the field is UNLOCKED

pub fn is_locked(&self) -> bool[src]

Checks if the value of the field is LOCKED

impl R<bool, USARTPRESENT_A>[src]

pub fn variant(&self) -> USARTPRESENT_A[src]

Get enumerated values variant

pub fn is_not_present(&self) -> bool[src]

Checks if the value of the field is NOT_PRESENT

pub fn is_present(&self) -> bool[src]

Checks if the value of the field is PRESENT

impl R<bool, SPIPRESENT_A>[src]

pub fn variant(&self) -> SPIPRESENT_A[src]

Get enumerated values variant

pub fn is_not_present(&self) -> bool[src]

Checks if the value of the field is NOT_PRESENT

pub fn is_present(&self) -> bool[src]

Checks if the value of the field is PRESENT

impl R<bool, I2CPRESENT_A>[src]

pub fn variant(&self) -> I2CPRESENT_A[src]

Get enumerated values variant

pub fn is_not_present(&self) -> bool[src]

Checks if the value of the field is NOT_PRESENT

pub fn is_present(&self) -> bool[src]

Checks if the value of the field is PRESENT

impl R<bool, I2SPRESENT_A>[src]

pub fn variant(&self) -> I2SPRESENT_A[src]

Get enumerated values variant

pub fn is_not_present(&self) -> bool[src]

Checks if the value of the field is NOT_PRESENT

pub fn is_present(&self) -> bool[src]

Checks if the value of the field is PRESENT

impl R<u32, Reg<u32, _PSELID>>[src]

pub fn persel(&self) -> PERSEL_R[src]

Bits 0:2 - Peripheral Select. This field is writable by software.

pub fn lock(&self) -> LOCK_R[src]

Bit 3 - Lock the peripheral select. This field is writable by software.

pub fn usartpresent(&self) -> USARTPRESENT_R[src]

Bit 4 - USART present indicator. This field is Read-only.

pub fn spipresent(&self) -> SPIPRESENT_R[src]

Bit 5 - SPI present indicator. This field is Read-only.

pub fn i2cpresent(&self) -> I2CPRESENT_R[src]

Bit 6 - I2C present indicator. This field is Read-only.

pub fn i2spresent(&self) -> I2SPRESENT_R[src]

Bit 7 - I 2S present indicator. This field is Read-only.

pub fn id(&self) -> ID_R[src]

Bits 12:31 - Flexcomm ID.

impl R<u32, Reg<u32, _PID>>[src]

pub fn minor_rev(&self) -> MINOR_REV_R[src]

Bits 8:11 - Minor revision of module implementation.

pub fn major_rev(&self) -> MAJOR_REV_R[src]

Bits 12:15 - Major revision of module implementation.

pub fn id(&self) -> ID_R[src]

Bits 16:31 - Module identifier for the selected function.

impl R<bool, MSTEN_A>[src]

pub fn variant(&self) -> MSTEN_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, SLVEN_A>[src]

pub fn variant(&self) -> SLVEN_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, MONEN_A>[src]

pub fn variant(&self) -> MONEN_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, TIMEOUTEN_A>[src]

pub fn variant(&self) -> TIMEOUTEN_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, MONCLKSTR_A>[src]

pub fn variant(&self) -> MONCLKSTR_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, HSCAPABLE_A>[src]

pub fn variant(&self) -> HSCAPABLE_A[src]

Get enumerated values variant

pub fn is_fast_mode_plus(&self) -> bool[src]

Checks if the value of the field is FAST_MODE_PLUS

pub fn is_high_speed(&self) -> bool[src]

Checks if the value of the field is HIGH_SPEED

impl R<u32, Reg<u32, _CFG>>[src]

pub fn msten(&self) -> MSTEN_R[src]

Bit 0 - Master Enable. When disabled, configurations settings for the Master function are not changed, but the Master function is internally reset.

pub fn slven(&self) -> SLVEN_R[src]

Bit 1 - Slave Enable. When disabled, configurations settings for the Slave function are not changed, but the Slave function is internally reset.

pub fn monen(&self) -> MONEN_R[src]

Bit 2 - Monitor Enable. When disabled, configurations settings for the Monitor function are not changed, but the Monitor function is internally reset.

pub fn timeouten(&self) -> TIMEOUTEN_R[src]

Bit 3 - I2C bus Time-out Enable. When disabled, the time-out function is internally reset.

pub fn monclkstr(&self) -> MONCLKSTR_R[src]

Bit 4 - Monitor function Clock Stretching.

pub fn hscapable(&self) -> HSCAPABLE_R[src]

Bit 5 - High-speed mode Capable enable. Since High Speed mode alters the way I2C pins drive and filter, as well as the timing for certain I2C signalling, enabling High-speed mode applies to all functions: Master, Slave, and Monitor.

impl R<bool, MSTPENDING_A>[src]

pub fn variant(&self) -> MSTPENDING_A[src]

Get enumerated values variant

pub fn is_in_progress(&self) -> bool[src]

Checks if the value of the field is IN_PROGRESS

pub fn is_pending(&self) -> bool[src]

Checks if the value of the field is PENDING

impl R<u8, MSTSTATE_A>[src]

pub fn variant(&self) -> Variant<u8, MSTSTATE_A>[src]

Get enumerated values variant

pub fn is_idle(&self) -> bool[src]

Checks if the value of the field is IDLE

pub fn is_receive_ready(&self) -> bool[src]

Checks if the value of the field is RECEIVE_READY

pub fn is_transmit_ready(&self) -> bool[src]

Checks if the value of the field is TRANSMIT_READY

pub fn is_nack_address(&self) -> bool[src]

Checks if the value of the field is NACK_ADDRESS

pub fn is_nack_data(&self) -> bool[src]

Checks if the value of the field is NACK_DATA

impl R<bool, MSTARBLOSS_A>[src]

pub fn variant(&self) -> MSTARBLOSS_A[src]

Get enumerated values variant

pub fn is_no_loss(&self) -> bool[src]

Checks if the value of the field is NO_LOSS

pub fn is_arbitration_loss(&self) -> bool[src]

Checks if the value of the field is ARBITRATION_LOSS

impl R<bool, MSTSTSTPERR_A>[src]

pub fn variant(&self) -> MSTSTSTPERR_A[src]

Get enumerated values variant

pub fn is_no_error(&self) -> bool[src]

Checks if the value of the field is NO_ERROR

pub fn is_error(&self) -> bool[src]

Checks if the value of the field is ERROR

impl R<bool, SLVPENDING_A>[src]

pub fn variant(&self) -> SLVPENDING_A[src]

Get enumerated values variant

pub fn is_in_progress(&self) -> bool[src]

Checks if the value of the field is IN_PROGRESS

pub fn is_pending(&self) -> bool[src]

Checks if the value of the field is PENDING

impl R<u8, SLVSTATE_A>[src]

pub fn variant(&self) -> Variant<u8, SLVSTATE_A>[src]

Get enumerated values variant

pub fn is_slave_address(&self) -> bool[src]

Checks if the value of the field is SLAVE_ADDRESS

pub fn is_slave_receive(&self) -> bool[src]

Checks if the value of the field is SLAVE_RECEIVE

pub fn is_slave_transmit(&self) -> bool[src]

Checks if the value of the field is SLAVE_TRANSMIT

impl R<bool, SLVNOTSTR_A>[src]

pub fn variant(&self) -> SLVNOTSTR_A[src]

Get enumerated values variant

pub fn is_stretching(&self) -> bool[src]

Checks if the value of the field is STRETCHING

pub fn is_not_stretching(&self) -> bool[src]

Checks if the value of the field is NOT_STRETCHING

impl R<u8, SLVIDX_A>[src]

pub fn variant(&self) -> SLVIDX_A[src]

Get enumerated values variant

pub fn is_address0(&self) -> bool[src]

Checks if the value of the field is ADDRESS0

pub fn is_address1(&self) -> bool[src]

Checks if the value of the field is ADDRESS1

pub fn is_address2(&self) -> bool[src]

Checks if the value of the field is ADDRESS2

pub fn is_address3(&self) -> bool[src]

Checks if the value of the field is ADDRESS3

impl R<bool, SLVSEL_A>[src]

pub fn variant(&self) -> SLVSEL_A[src]

Get enumerated values variant

pub fn is_not_selected(&self) -> bool[src]

Checks if the value of the field is NOT_SELECTED

pub fn is_selected(&self) -> bool[src]

Checks if the value of the field is SELECTED

impl R<bool, SLVDESEL_A>[src]

pub fn variant(&self) -> SLVDESEL_A[src]

Get enumerated values variant

pub fn is_not_deselected(&self) -> bool[src]

Checks if the value of the field is NOT_DESELECTED

pub fn is_deselected(&self) -> bool[src]

Checks if the value of the field is DESELECTED

impl R<bool, MONRDY_A>[src]

pub fn variant(&self) -> MONRDY_A[src]

Get enumerated values variant

pub fn is_no_data(&self) -> bool[src]

Checks if the value of the field is NO_DATA

pub fn is_data_waiting(&self) -> bool[src]

Checks if the value of the field is DATA_WAITING

impl R<bool, MONOV_A>[src]

pub fn variant(&self) -> MONOV_A[src]

Get enumerated values variant

pub fn is_no_overrun(&self) -> bool[src]

Checks if the value of the field is NO_OVERRUN

pub fn is_overrun(&self) -> bool[src]

Checks if the value of the field is OVERRUN

impl R<bool, MONACTIVE_A>[src]

pub fn variant(&self) -> MONACTIVE_A[src]

Get enumerated values variant

pub fn is_inactive(&self) -> bool[src]

Checks if the value of the field is INACTIVE

pub fn is_active(&self) -> bool[src]

Checks if the value of the field is ACTIVE

impl R<bool, MONIDLE_A>[src]

pub fn variant(&self) -> MONIDLE_A[src]

Get enumerated values variant

pub fn is_not_idle(&self) -> bool[src]

Checks if the value of the field is NOT_IDLE

pub fn is_idle(&self) -> bool[src]

Checks if the value of the field is IDLE

impl R<bool, EVENTTIMEOUT_A>[src]

pub fn variant(&self) -> EVENTTIMEOUT_A[src]

Get enumerated values variant

pub fn is_no_timeout(&self) -> bool[src]

Checks if the value of the field is NO_TIMEOUT

pub fn is_even_timeout(&self) -> bool[src]

Checks if the value of the field is EVEN_TIMEOUT

impl R<bool, SCLTIMEOUT_A>[src]

pub fn variant(&self) -> SCLTIMEOUT_A[src]

Get enumerated values variant

pub fn is_no_timeout(&self) -> bool[src]

Checks if the value of the field is NO_TIMEOUT

pub fn is_timeout(&self) -> bool[src]

Checks if the value of the field is TIMEOUT

impl R<u32, Reg<u32, _STAT>>[src]

pub fn mstpending(&self) -> MSTPENDING_R[src]

Bit 0 - Master Pending. Indicates that the Master is waiting to continue communication on the I2C-bus (pending) or is idle. When the master is pending, the MSTSTATE bits indicate what type of software service if any the master expects. This flag will cause an interrupt when set if, enabled via the INTENSET register. The MSTPENDING flag is not set when the DMA is handling an event (if the MSTDMA bit in the MSTCTL register is set). If the master is in the idle state, and no communication is needed, mask this interrupt.

pub fn mststate(&self) -> MSTSTATE_R[src]

Bits 1:3 - Master State code. The master state code reflects the master state when the MSTPENDING bit is set, that is the master is pending or in the idle state. Each value of this field indicates a specific required service for the Master function. All other values are reserved. See Table 400 for details of state values and appropriate responses.

pub fn mstarbloss(&self) -> MSTARBLOSS_R[src]

Bit 4 - Master Arbitration Loss flag. This flag can be cleared by software writing a 1 to this bit. It is also cleared automatically a 1 is written to MSTCONTINUE.

pub fn mstststperr(&self) -> MSTSTSTPERR_R[src]

Bit 6 - Master Start/Stop Error flag. This flag can be cleared by software writing a 1 to this bit. It is also cleared automatically a 1 is written to MSTCONTINUE.

pub fn slvpending(&self) -> SLVPENDING_R[src]

Bit 8 - Slave Pending. Indicates that the Slave function is waiting to continue communication on the I2C-bus and needs software service. This flag will cause an interrupt when set if enabled via INTENSET. The SLVPENDING flag is not set when the DMA is handling an event (if the SLVDMA bit in the SLVCTL register is set). The SLVPENDING flag is read-only and is automatically cleared when a 1 is written to the SLVCONTINUE bit in the SLVCTL register. The point in time when SlvPending is set depends on whether the I2C interface is in HSCAPABLE mode. See Section 25.7.2.2.2. When the I2C interface is configured to be HSCAPABLE, HS master codes are detected automatically. Due to the requirements of the HS I2C specification, slave addresses must also be detected automatically, since the address must be acknowledged before the clock can be stretched.

pub fn slvstate(&self) -> SLVSTATE_R[src]

Bits 9:10 - Slave State code. Each value of this field indicates a specific required service for the Slave function. All other values are reserved. See Table 401 for state values and actions. note that the occurrence of some states and how they are handled are affected by DMA mode and Automatic Operation modes.

pub fn slvnotstr(&self) -> SLVNOTSTR_R[src]

Bit 11 - Slave Not Stretching. Indicates when the slave function is stretching the I2C clock. This is needed in order to gracefully invoke Deep Sleep or Power-down modes during slave operation. This read-only flag reflects the slave function status in real time.

pub fn slvidx(&self) -> SLVIDX_R[src]

Bits 12:13 - Slave address match Index. This field is valid when the I2C slave function has been selected by receiving an address that matches one of the slave addresses defined by any enabled slave address registers, and provides an identification of the address that was matched. It is possible that more than one address could be matched, but only one match can be reported here.

pub fn slvsel(&self) -> SLVSEL_R[src]

Bit 14 - Slave selected flag. SLVSEL is set after an address match when software tells the Slave function to acknowledge the address, or when the address has been automatically acknowledged. It is cleared when another address cycle presents an address that does not match an enabled address on the Slave function, when slave software decides to NACK a matched address, when there is a Stop detected on the bus, when the master NACKs slave data, and in some combinations of Automatic Operation. SLVSEL is not cleared if software NACKs data.

pub fn slvdesel(&self) -> SLVDESEL_R[src]

Bit 15 - Slave Deselected flag. This flag will cause an interrupt when set if enabled via INTENSET. This flag can be cleared by writing a 1 to this bit.

pub fn monrdy(&self) -> MONRDY_R[src]

Bit 16 - Monitor Ready. This flag is cleared when the MONRXDAT register is read.

pub fn monov(&self) -> MONOV_R[src]

Bit 17 - Monitor Overflow flag.

pub fn monactive(&self) -> MONACTIVE_R[src]

Bit 18 - Monitor Active flag. Indicates when the Monitor function considers the I 2C bus to be active. Active is defined here as when some Master is on the bus: a bus Start has occurred more recently than a bus Stop.

pub fn monidle(&self) -> MONIDLE_R[src]

Bit 19 - Monitor Idle flag. This flag is set when the Monitor function sees the I2C bus change from active to inactive. This can be used by software to decide when to process data accumulated by the Monitor function. This flag will cause an interrupt when set if enabled via the INTENSET register. The flag can be cleared by writing a 1 to this bit.

pub fn eventtimeout(&self) -> EVENTTIMEOUT_R[src]

Bit 24 - Event Time-out Interrupt flag. Indicates when the time between events has been longer than the time specified by the TIMEOUT register. Events include Start, Stop, and clock edges. The flag is cleared by writing a 1 to this bit. No time-out is created when the I2C-bus is idle.

pub fn scltimeout(&self) -> SCLTIMEOUT_R[src]

Bit 25 - SCL Time-out Interrupt flag. Indicates when SCL has remained low longer than the time specific by the TIMEOUT register. The flag is cleared by writing a 1 to this bit.

impl R<bool, MSTPENDINGEN_A>[src]

pub fn variant(&self) -> MSTPENDINGEN_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, MSTARBLOSSEN_A>[src]

pub fn variant(&self) -> MSTARBLOSSEN_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, MSTSTSTPERREN_A>[src]

pub fn variant(&self) -> MSTSTSTPERREN_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, SLVPENDINGEN_A>[src]

pub fn variant(&self) -> SLVPENDINGEN_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, SLVNOTSTREN_A>[src]

pub fn variant(&self) -> SLVNOTSTREN_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, SLVDESELEN_A>[src]

pub fn variant(&self) -> SLVDESELEN_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, MONRDYEN_A>[src]

pub fn variant(&self) -> MONRDYEN_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, MONOVEN_A>[src]

pub fn variant(&self) -> MONOVEN_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, MONIDLEEN_A>[src]

pub fn variant(&self) -> MONIDLEEN_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, EVENTTIMEOUTEN_A>[src]

pub fn variant(&self) -> EVENTTIMEOUTEN_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, SCLTIMEOUTEN_A>[src]

pub fn variant(&self) -> SCLTIMEOUTEN_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<u32, Reg<u32, _INTENSET>>[src]

pub fn mstpendingen(&self) -> MSTPENDINGEN_R[src]

Bit 0 - Master Pending interrupt Enable.

pub fn mstarblossen(&self) -> MSTARBLOSSEN_R[src]

Bit 4 - Master Arbitration Loss interrupt Enable.

pub fn mstststperren(&self) -> MSTSTSTPERREN_R[src]

Bit 6 - Master Start/Stop Error interrupt Enable.

pub fn slvpendingen(&self) -> SLVPENDINGEN_R[src]

Bit 8 - Slave Pending interrupt Enable.

pub fn slvnotstren(&self) -> SLVNOTSTREN_R[src]

Bit 11 - Slave Not Stretching interrupt Enable.

pub fn slvdeselen(&self) -> SLVDESELEN_R[src]

Bit 15 - Slave Deselect interrupt Enable.

pub fn monrdyen(&self) -> MONRDYEN_R[src]

Bit 16 - Monitor data Ready interrupt Enable.

pub fn monoven(&self) -> MONOVEN_R[src]

Bit 17 - Monitor Overrun interrupt Enable.

pub fn monidleen(&self) -> MONIDLEEN_R[src]

Bit 19 - Monitor Idle interrupt Enable.

pub fn eventtimeouten(&self) -> EVENTTIMEOUTEN_R[src]

Bit 24 - Event time-out interrupt Enable.

pub fn scltimeouten(&self) -> SCLTIMEOUTEN_R[src]

Bit 25 - SCL time-out interrupt Enable.

impl R<u32, Reg<u32, _TIMEOUT>>[src]

pub fn tomin(&self) -> TOMIN_R[src]

Bits 0:3 - Time-out time value, bottom four bits. These are hard-wired to 0xF. This gives a minimum time-out of 16 I2C function clocks and also a time-out resolution of 16 I2C function clocks.

pub fn to(&self) -> TO_R[src]

Bits 4:15 - Time-out time value. Specifies the time-out interval value in increments of 16 I 2C function clocks, as defined by the CLKDIV register. To change this value while I2C is in operation, disable all time-outs, write a new value to TIMEOUT, then re-enable time-outs. 0x000 = A time-out will occur after 16 counts of the I2C function clock. 0x001 = A time-out will occur after 32 counts of the I2C function clock. 0xFFF = A time-out will occur after 65,536 counts of the I2C function clock.

impl R<u32, Reg<u32, _CLKDIV>>[src]

pub fn divval(&self) -> DIVVAL_R[src]

Bits 0:15 - This field controls how the Flexcomm clock (FCLK) is used by the I2C functions that need an internal clock in order to operate. 0x0000 = FCLK is used directly by the I2C. 0x0001 = FCLK is divided by 2 before use. 0x0002 = FCLK is divided by 3 before use. 0xFFFF = FCLK is divided by 65,536 before use.

impl R<u32, Reg<u32, _INTSTAT>>[src]

pub fn mstpending(&self) -> MSTPENDING_R[src]

Bit 0 - Master Pending.

pub fn mstarbloss(&self) -> MSTARBLOSS_R[src]

Bit 4 - Master Arbitration Loss flag.

pub fn mstststperr(&self) -> MSTSTSTPERR_R[src]

Bit 6 - Master Start/Stop Error flag.

pub fn slvpending(&self) -> SLVPENDING_R[src]

Bit 8 - Slave Pending.

pub fn slvnotstr(&self) -> SLVNOTSTR_R[src]

Bit 11 - Slave Not Stretching status.

pub fn slvdesel(&self) -> SLVDESEL_R[src]

Bit 15 - Slave Deselected flag.

pub fn monrdy(&self) -> MONRDY_R[src]

Bit 16 - Monitor Ready.

pub fn monov(&self) -> MONOV_R[src]

Bit 17 - Monitor Overflow flag.

pub fn monidle(&self) -> MONIDLE_R[src]

Bit 19 - Monitor Idle flag.

pub fn eventtimeout(&self) -> EVENTTIMEOUT_R[src]

Bit 24 - Event time-out Interrupt flag.

pub fn scltimeout(&self) -> SCLTIMEOUT_R[src]

Bit 25 - SCL time-out Interrupt flag.

impl R<bool, MSTSTART_A>[src]

pub fn variant(&self) -> MSTSTART_A[src]

Get enumerated values variant

pub fn is_no_effect(&self) -> bool[src]

Checks if the value of the field is NO_EFFECT

pub fn is_start(&self) -> bool[src]

Checks if the value of the field is START

impl R<bool, MSTSTOP_A>[src]

pub fn variant(&self) -> MSTSTOP_A[src]

Get enumerated values variant

pub fn is_no_effect(&self) -> bool[src]

Checks if the value of the field is NO_EFFECT

pub fn is_stop(&self) -> bool[src]

Checks if the value of the field is STOP

impl R<bool, MSTDMA_A>[src]

pub fn variant(&self) -> MSTDMA_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<u32, Reg<u32, _MSTCTL>>[src]

pub fn mststart(&self) -> MSTSTART_R[src]

Bit 1 - Master Start control. This bit is write-only.

pub fn mststop(&self) -> MSTSTOP_R[src]

Bit 2 - Master Stop control. This bit is write-only.

pub fn mstdma(&self) -> MSTDMA_R[src]

Bit 3 - Master DMA enable. Data operations of the I2C can be performed with DMA. Protocol type operations such as Start, address, Stop, and address match must always be done with software, typically via an interrupt. Address acknowledgement must also be done by software except when the I2C is configured to be HSCAPABLE (and address acknowledgement is handled entirely by hardware) or when Automatic Operation is enabled. When a DMA data transfer is complete, MSTDMA must be cleared prior to beginning the next operation, typically a Start or Stop.This bit is read/write.

impl R<u8, MSTSCLLOW_A>[src]

pub fn variant(&self) -> MSTSCLLOW_A[src]

Get enumerated values variant

pub fn is_clocks_2(&self) -> bool[src]

Checks if the value of the field is CLOCKS_2

pub fn is_clocks_3(&self) -> bool[src]

Checks if the value of the field is CLOCKS_3

pub fn is_clocks_4(&self) -> bool[src]

Checks if the value of the field is CLOCKS_4

pub fn is_clocks_5(&self) -> bool[src]

Checks if the value of the field is CLOCKS_5

pub fn is_clocks_6(&self) -> bool[src]

Checks if the value of the field is CLOCKS_6

pub fn is_clocks_7(&self) -> bool[src]

Checks if the value of the field is CLOCKS_7

pub fn is_clocks_8(&self) -> bool[src]

Checks if the value of the field is CLOCKS_8

pub fn is_clocks_9(&self) -> bool[src]

Checks if the value of the field is CLOCKS_9

impl R<u8, MSTSCLHIGH_A>[src]

pub fn variant(&self) -> MSTSCLHIGH_A[src]

Get enumerated values variant

pub fn is_clocks_2(&self) -> bool[src]

Checks if the value of the field is CLOCKS_2

pub fn is_clocks_3(&self) -> bool[src]

Checks if the value of the field is CLOCKS_3

pub fn is_clocks_4(&self) -> bool[src]

Checks if the value of the field is CLOCKS_4

pub fn is_clocks_5(&self) -> bool[src]

Checks if the value of the field is CLOCKS_5

pub fn is_clocks_6(&self) -> bool[src]

Checks if the value of the field is CLOCKS_6

pub fn is_clocks_7(&self) -> bool[src]

Checks if the value of the field is CLOCKS_7

pub fn is_clocks_8(&self) -> bool[src]

Checks if the value of the field is CLOCKS_8

pub fn is_clocks_9(&self) -> bool[src]

Checks if the value of the field is CLOCKS_9

impl R<u32, Reg<u32, _MSTTIME>>[src]

pub fn mstscllow(&self) -> MSTSCLLOW_R[src]

Bits 0:2 - Master SCL Low time. Specifies the minimum low time that will be asserted by this master on SCL. Other devices on the bus (masters or slaves) could lengthen this time. This corresponds to the parameter t LOW in the I2C bus specification. I2C bus specification parameters tBUF and tSU;STA have the same values and are also controlled by MSTSCLLOW.

pub fn mstsclhigh(&self) -> MSTSCLHIGH_R[src]

Bits 4:6 - Master SCL High time. Specifies the minimum high time that will be asserted by this master on SCL. Other masters in a multi-master system could shorten this time. This corresponds to the parameter tHIGH in the I2C bus specification. I2C bus specification parameters tSU;STO and tHD;STA have the same values and are also controlled by MSTSCLHIGH.

impl R<u32, Reg<u32, _MSTDAT>>[src]

pub fn data(&self) -> DATA_R[src]

Bits 0:7 - Master function data register. Read: read the most recently received data for the Master function. Write: transmit data using the Master function.

impl R<bool, SLVCONTINUE_A>[src]

pub fn variant(&self) -> SLVCONTINUE_A[src]

Get enumerated values variant

pub fn is_no_effect(&self) -> bool[src]

Checks if the value of the field is NO_EFFECT

pub fn is_continue_(&self) -> bool[src]

Checks if the value of the field is CONTINUE

impl R<bool, SLVNACK_A>[src]

pub fn variant(&self) -> SLVNACK_A[src]

Get enumerated values variant

pub fn is_no_effect(&self) -> bool[src]

Checks if the value of the field is NO_EFFECT

pub fn is_nack(&self) -> bool[src]

Checks if the value of the field is NACK

impl R<bool, SLVDMA_A>[src]

pub fn variant(&self) -> SLVDMA_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, AUTOACK_A>[src]

pub fn variant(&self) -> AUTOACK_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_automatic_ack(&self) -> bool[src]

Checks if the value of the field is AUTOMATIC_ACK

impl R<bool, AUTOMATCHREAD_A>[src]

pub fn variant(&self) -> AUTOMATCHREAD_A[src]

Get enumerated values variant

pub fn is_i2c_write(&self) -> bool[src]

Checks if the value of the field is I2C_WRITE

pub fn is_i2c_read(&self) -> bool[src]

Checks if the value of the field is I2C_READ

impl R<u32, Reg<u32, _SLVCTL>>[src]

pub fn slvcontinue(&self) -> SLVCONTINUE_R[src]

Bit 0 - Slave Continue.

pub fn slvnack(&self) -> SLVNACK_R[src]

Bit 1 - Slave NACK.

pub fn slvdma(&self) -> SLVDMA_R[src]

Bit 3 - Slave DMA enable.

pub fn autoack(&self) -> AUTOACK_R[src]

Bit 8 - Automatic Acknowledge.When this bit is set, it will cause an I2C header which matches SLVADR0 and the direction set by AUTOMATCHREAD to be ACKed immediately; this is used with DMA to allow processing of the data without intervention. If this bit is clear and a header matches SLVADR0, the behavior is controlled by AUTONACK in the SLVADR0 register: allowing NACK or interrupt.

pub fn automatchread(&self) -> AUTOMATCHREAD_R[src]

Bit 9 - When AUTOACK is set, this bit controls whether it matches a read or write request on the next header with an address matching SLVADR0. Since DMA needs to be configured to match the transfer direction, the direction needs to be specified. This bit allows a direction to be chosen for the next operation.

impl R<u32, Reg<u32, _SLVDAT>>[src]

pub fn data(&self) -> DATA_R[src]

Bits 0:7 - Slave function data register. Read: read the most recently received data for the Slave function. Write: transmit data using the Slave function.

impl R<bool, SADISABLE_A>[src]

pub fn variant(&self) -> SADISABLE_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, AUTONACK_A>[src]

pub fn variant(&self) -> AUTONACK_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_automatic(&self) -> bool[src]

Checks if the value of the field is AUTOMATIC

impl R<u32, Reg<u32, _SLVADR>>[src]

pub fn sadisable(&self) -> SADISABLE_R[src]

Bit 0 - Slave Address n Disable.

pub fn slvadr(&self) -> SLVADR_R[src]

Bits 1:7 - Slave Address. Seven bit slave address that is compared to received addresses if enabled.

pub fn autonack(&self) -> AUTONACK_R[src]

Bit 15 - Automatic NACK operation. Used in conjunction with AUTOACK and AUTOMATCHREAD, allows software to ignore I2C traffic while handling previous I2C data or other operations.

impl R<bool, QUALMODE0_A>[src]

pub fn variant(&self) -> QUALMODE0_A[src]

Get enumerated values variant

pub fn is_mask(&self) -> bool[src]

Checks if the value of the field is MASK

pub fn is_extend(&self) -> bool[src]

Checks if the value of the field is EXTEND

impl R<u32, Reg<u32, _SLVQUAL0>>[src]

pub fn qualmode0(&self) -> QUALMODE0_R[src]

Bit 0 - Qualify mode for slave address 0.

pub fn slvqual0(&self) -> SLVQUAL0_R[src]

Bits 1:7 - Slave address Qualifier for address 0. A value of 0 causes the address in SLVADR0 to be used as-is, assuming that it is enabled. If QUALMODE0 = 0, any bit in this field which is set to 1 will cause an automatic match of the corresponding bit of the received address when it is compared to the SLVADR0 register. If QUALMODE0 = 1, an address range is matched for address 0. This range extends from the value defined by SLVADR0 to the address defined by SLVQUAL0 (address matches when SLVADR0[7:1] <= received address <= SLVQUAL0[7:1]).

impl R<bool, MONSTART_A>[src]

pub fn variant(&self) -> MONSTART_A[src]

Get enumerated values variant

pub fn is_no_start_detected(&self) -> bool[src]

Checks if the value of the field is NO_START_DETECTED

pub fn is_start_detected(&self) -> bool[src]

Checks if the value of the field is START_DETECTED

impl R<bool, MONRESTART_A>[src]

pub fn variant(&self) -> MONRESTART_A[src]

Get enumerated values variant

pub fn is_not_detected(&self) -> bool[src]

Checks if the value of the field is NOT_DETECTED

pub fn is_detected(&self) -> bool[src]

Checks if the value of the field is DETECTED

impl R<bool, MONNACK_A>[src]

pub fn variant(&self) -> MONNACK_A[src]

Get enumerated values variant

pub fn is_acknowledged(&self) -> bool[src]

Checks if the value of the field is ACKNOWLEDGED

pub fn is_not_acknowledged(&self) -> bool[src]

Checks if the value of the field is NOT_ACKNOWLEDGED

impl R<u32, Reg<u32, _MONRXDAT>>[src]

pub fn monrxdat(&self) -> MONRXDAT_R[src]

Bits 0:7 - Monitor function Receiver Data. This reflects every data byte that passes on the I2C pins.

pub fn monstart(&self) -> MONSTART_R[src]

Bit 8 - Monitor Received Start.

pub fn monrestart(&self) -> MONRESTART_R[src]

Bit 9 - Monitor Received Repeated Start.

pub fn monnack(&self) -> MONNACK_R[src]

Bit 10 - Monitor Received NACK.

impl R<u32, Reg<u32, _ID>>[src]

pub fn aperture(&self) -> APERTURE_R[src]

Bits 0:7 - Aperture: encoded as (aperture size/4K) -1, so 0x00 means a 4K aperture.

pub fn minor_rev(&self) -> MINOR_REV_R[src]

Bits 8:11 - Minor revision of module implementation.

pub fn major_rev(&self) -> MAJOR_REV_R[src]

Bits 12:15 - Major revision of module implementation.

pub fn id(&self) -> ID_R[src]

Bits 16:31 - Module identifier for the selected function.

impl R<bool, ENABLE_A>[src]

pub fn variant(&self) -> ENABLE_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, MASTER_A>[src]

pub fn variant(&self) -> MASTER_A[src]

Get enumerated values variant

pub fn is_slave_mode(&self) -> bool[src]

Checks if the value of the field is SLAVE_MODE

pub fn is_master_mode(&self) -> bool[src]

Checks if the value of the field is MASTER_MODE

impl R<bool, LSBF_A>[src]

pub fn variant(&self) -> LSBF_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_reverse(&self) -> bool[src]

Checks if the value of the field is REVERSE

impl R<bool, CPHA_A>[src]

pub fn variant(&self) -> CPHA_A[src]

Get enumerated values variant

pub fn is_change(&self) -> bool[src]

Checks if the value of the field is CHANGE

pub fn is_capture(&self) -> bool[src]

Checks if the value of the field is CAPTURE

impl R<bool, CPOL_A>[src]

pub fn variant(&self) -> CPOL_A[src]

Get enumerated values variant

pub fn is_low(&self) -> bool[src]

Checks if the value of the field is LOW

pub fn is_high(&self) -> bool[src]

Checks if the value of the field is HIGH

impl R<bool, LOOP_A>[src]

pub fn variant(&self) -> LOOP_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, SPOL0_A>[src]

pub fn variant(&self) -> SPOL0_A[src]

Get enumerated values variant

pub fn is_low(&self) -> bool[src]

Checks if the value of the field is LOW

pub fn is_high(&self) -> bool[src]

Checks if the value of the field is HIGH

impl R<bool, SPOL1_A>[src]

pub fn variant(&self) -> SPOL1_A[src]

Get enumerated values variant

pub fn is_low(&self) -> bool[src]

Checks if the value of the field is LOW

pub fn is_high(&self) -> bool[src]

Checks if the value of the field is HIGH

impl R<bool, SPOL2_A>[src]

pub fn variant(&self) -> SPOL2_A[src]

Get enumerated values variant

pub fn is_low(&self) -> bool[src]

Checks if the value of the field is LOW

pub fn is_high(&self) -> bool[src]

Checks if the value of the field is HIGH

impl R<bool, SPOL3_A>[src]

pub fn variant(&self) -> SPOL3_A[src]

Get enumerated values variant

pub fn is_low(&self) -> bool[src]

Checks if the value of the field is LOW

pub fn is_high(&self) -> bool[src]

Checks if the value of the field is HIGH

impl R<u32, Reg<u32, _CFG>>[src]

pub fn enable(&self) -> ENABLE_R[src]

Bit 0 - SPI enable.

pub fn master(&self) -> MASTER_R[src]

Bit 2 - Master mode select.

pub fn lsbf(&self) -> LSBF_R[src]

Bit 3 - LSB First mode enable.

pub fn cpha(&self) -> CPHA_R[src]

Bit 4 - Clock Phase select.

pub fn cpol(&self) -> CPOL_R[src]

Bit 5 - Clock Polarity select.

pub fn loop_(&self) -> LOOP_R[src]

Bit 7 - Loopback mode enable. Loopback mode applies only to Master mode, and connects transmit and receive data connected together to allow simple software testing.

pub fn spol0(&self) -> SPOL0_R[src]

Bit 8 - SSEL0 Polarity select.

pub fn spol1(&self) -> SPOL1_R[src]

Bit 9 - SSEL1 Polarity select.

pub fn spol2(&self) -> SPOL2_R[src]

Bit 10 - SSEL2 Polarity select.

pub fn spol3(&self) -> SPOL3_R[src]

Bit 11 - SSEL3 Polarity select.

impl R<u32, Reg<u32, _DLY>>[src]

pub fn pre_delay(&self) -> PRE_DELAY_R[src]

Bits 0:3 - Controls the amount of time between SSEL assertion and the beginning of a data transfer. There is always one SPI clock time between SSEL assertion and the first clock edge. This is not considered part of the pre-delay. 0x0 = No additional time is inserted. 0x1 = 1 SPI clock time is inserted. 0x2 = 2 SPI clock times are inserted. 0xF = 15 SPI clock times are inserted.

pub fn post_delay(&self) -> POST_DELAY_R[src]

Bits 4:7 - Controls the amount of time between the end of a data transfer and SSEL deassertion. 0x0 = No additional time is inserted. 0x1 = 1 SPI clock time is inserted. 0x2 = 2 SPI clock times are inserted. 0xF = 15 SPI clock times are inserted.

pub fn frame_delay(&self) -> FRAME_DELAY_R[src]

Bits 8:11 - If the EOF flag is set, controls the minimum amount of time between the current frame and the next frame (or SSEL deassertion if EOT). 0x0 = No additional time is inserted. 0x1 = 1 SPI clock time is inserted. 0x2 = 2 SPI clock times are inserted. 0xF = 15 SPI clock times are inserted.

pub fn transfer_delay(&self) -> TRANSFER_DELAY_R[src]

Bits 12:15 - Controls the minimum amount of time that the SSEL is deasserted between transfers. 0x0 = The minimum time that SSEL is deasserted is 1 SPI clock time. (Zero added time.) 0x1 = The minimum time that SSEL is deasserted is 2 SPI clock times. 0x2 = The minimum time that SSEL is deasserted is 3 SPI clock times. 0xF = The minimum time that SSEL is deasserted is 16 SPI clock times.

impl R<u32, Reg<u32, _STAT>>[src]

pub fn stalled(&self) -> STALLED_R[src]

Bit 6 - Stalled status flag. This indicates whether the SPI is currently in a stall condition.

pub fn endtransfer(&self) -> ENDTRANSFER_R[src]

Bit 7 - End Transfer control bit. Software can set this bit to force an end to the current transfer when the transmitter finishes any activity already in progress, as if the EOT flag had been set prior to the last transmission. This capability is included to support cases where it is not known when transmit data is written that it will be the end of a transfer. The bit is cleared when the transmitter becomes idle as the transfer comes to an end. Forcing an end of transfer in this manner causes any specified FRAME_DELAY and TRANSFER_DELAY to be inserted.

pub fn mstidle(&self) -> MSTIDLE_R[src]

Bit 8 - Master idle status flag. This bit is 1 whenever the SPI master function is fully idle. This means that the transmit holding register is empty and the transmitter is not in the process of sending data.

impl R<bool, SSAEN_A>[src]

pub fn variant(&self) -> SSAEN_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, SSDEN_A>[src]

pub fn variant(&self) -> SSDEN_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, MSTIDLEEN_A>[src]

pub fn variant(&self) -> MSTIDLEEN_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<u32, Reg<u32, _INTENSET>>[src]

pub fn ssaen(&self) -> SSAEN_R[src]

Bit 4 - Slave select assert interrupt enable. Determines whether an interrupt occurs when the Slave Select is asserted.

pub fn ssden(&self) -> SSDEN_R[src]

Bit 5 - Slave select deassert interrupt enable. Determines whether an interrupt occurs when the Slave Select is deasserted.

pub fn mstidleen(&self) -> MSTIDLEEN_R[src]

Bit 8 - Master idle interrupt enable.

impl R<u32, Reg<u32, _DIV>>[src]

pub fn divval(&self) -> DIVVAL_R[src]

Bits 0:15 - Rate divider value. Specifies how the Flexcomm clock (FCLK) is divided to produce the SPI clock rate in master mode. DIVVAL is -1 encoded such that the value 0 results in FCLK/1, the value 1 results in FCLK/2, up to the maximum possible divide value of 0xFFFF, which results in FCLK/65536.

impl R<u32, Reg<u32, _INTSTAT>>[src]

pub fn ssa(&self) -> SSA_R[src]

Bit 4 - Slave Select Assert.

pub fn ssd(&self) -> SSD_R[src]

Bit 5 - Slave Select Deassert.

pub fn mstidle(&self) -> MSTIDLE_R[src]

Bit 8 - Master Idle status flag.

impl R<bool, ENABLETX_A>[src]

pub fn variant(&self) -> ENABLETX_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, ENABLERX_A>[src]

pub fn variant(&self) -> ENABLERX_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DMATX_A>[src]

pub fn variant(&self) -> DMATX_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DMARX_A>[src]

pub fn variant(&self) -> DMARX_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, WAKETX_A>[src]

pub fn variant(&self) -> WAKETX_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, WAKERX_A>[src]

pub fn variant(&self) -> WAKERX_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, POPDBG_A>[src]

pub fn variant(&self) -> POPDBG_A[src]

Get enumerated values variant

pub fn is_do_not_pop(&self) -> bool[src]

Checks if the value of the field is DO_NOT_POP

pub fn is_pop(&self) -> bool[src]

Checks if the value of the field is POP

impl R<u32, Reg<u32, _FIFOCFG>>[src]

pub fn enabletx(&self) -> ENABLETX_R[src]

Bit 0 - Enable the transmit FIFO.

pub fn enablerx(&self) -> ENABLERX_R[src]

Bit 1 - Enable the receive FIFO.

pub fn size(&self) -> SIZE_R[src]

Bits 4:5 - FIFO size configuration. This is a read-only field. 0x0 = FIFO is configured as 16 entries of 8 bits. 0x1, 0x2, 0x3 = not applicable to USART.

pub fn dmatx(&self) -> DMATX_R[src]

Bit 12 - DMA configuration for transmit.

pub fn dmarx(&self) -> DMARX_R[src]

Bit 13 - DMA configuration for receive.

pub fn waketx(&self) -> WAKETX_R[src]

Bit 14 - Wake-up for transmit FIFO level. This allows the device to be woken from reduced power modes (up to power-down, as long as the peripheral function works in that power mode) without enabling the TXLVL interrupt. Only DMA wakes up, processes data, and goes back to sleep. The CPU will remain stopped until woken by another cause, such as DMA completion. See Hardware Wake-up control register.

pub fn wakerx(&self) -> WAKERX_R[src]

Bit 15 - Wake-up for receive FIFO level. This allows the device to be woken from reduced power modes (up to power-down, as long as the peripheral function works in that power mode) without enabling the TXLVL interrupt. Only DMA wakes up, processes data, and goes back to sleep. The CPU will remain stopped until woken by another cause, such as DMA completion. See Hardware Wake-up control register.

pub fn emptytx(&self) -> EMPTYTX_R[src]

Bit 16 - Empty command for the transmit FIFO. When a 1 is written to this bit, the TX FIFO is emptied.

pub fn emptyrx(&self) -> EMPTYRX_R[src]

Bit 17 - Empty command for the receive FIFO. When a 1 is written to this bit, the RX FIFO is emptied.

pub fn popdbg(&self) -> POPDBG_R[src]

Bit 18 - Pop FIFO for debug reads.

impl R<u32, Reg<u32, _FIFOSTAT>>[src]

pub fn txerr(&self) -> TXERR_R[src]

Bit 0 - TX FIFO error. Will be set if a transmit FIFO error occurs. This could be an overflow caused by pushing data into a full FIFO, or by an underflow if the FIFO is empty when data is needed. Cleared by writing a 1 to this bit.

pub fn rxerr(&self) -> RXERR_R[src]

Bit 1 - RX FIFO error. Will be set if a receive FIFO overflow occurs, caused by software or DMA not emptying the FIFO fast enough. Cleared by writing a 1 to this bit.

pub fn perint(&self) -> PERINT_R[src]

Bit 3 - Peripheral interrupt. When 1, this indicates that the peripheral function has asserted an interrupt. The details can be found by reading the peripheral's STAT register.

pub fn txempty(&self) -> TXEMPTY_R[src]

Bit 4 - Transmit FIFO empty. When 1, the transmit FIFO is empty. The peripheral may still be processing the last piece of data.

pub fn txnotfull(&self) -> TXNOTFULL_R[src]

Bit 5 - Transmit FIFO not full. When 1, the transmit FIFO is not full, so more data can be written. When 0, the transmit FIFO is full and another write would cause it to overflow.

pub fn rxnotempty(&self) -> RXNOTEMPTY_R[src]

Bit 6 - Receive FIFO not empty. When 1, the receive FIFO is not empty, so data can be read. When 0, the receive FIFO is empty.

pub fn rxfull(&self) -> RXFULL_R[src]

Bit 7 - Receive FIFO full. When 1, the receive FIFO is full. Data needs to be read out to prevent the peripheral from causing an overflow.

pub fn txlvl(&self) -> TXLVL_R[src]

Bits 8:12 - Transmit FIFO current level. A 0 means the TX FIFO is currently empty, and the TXEMPTY and TXNOTFULL flags will be 1. Other values tell how much data is actually in the TX FIFO at the point where the read occurs. If the TX FIFO is full, the TXEMPTY and TXNOTFULL flags will be 0.

pub fn rxlvl(&self) -> RXLVL_R[src]

Bits 16:20 - Receive FIFO current level. A 0 means the RX FIFO is currently empty, and the RXFULL and RXNOTEMPTY flags will be 0. Other values tell how much data is actually in the RX FIFO at the point where the read occurs. If the RX FIFO is full, the RXFULL and RXNOTEMPTY flags will be 1.

impl R<bool, TXLVLENA_A>[src]

pub fn variant(&self) -> TXLVLENA_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, RXLVLENA_A>[src]

pub fn variant(&self) -> RXLVLENA_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<u32, Reg<u32, _FIFOTRIG>>[src]

pub fn txlvlena(&self) -> TXLVLENA_R[src]

Bit 0 - Transmit FIFO level trigger enable. This trigger will become an interrupt if enabled in FIFOINTENSET, or a DMA trigger if DMATX in FIFOCFG is set.

pub fn rxlvlena(&self) -> RXLVLENA_R[src]

Bit 1 - Receive FIFO level trigger enable. This trigger will become an interrupt if enabled in FIFOINTENSET, or a DMA trigger if DMARX in FIFOCFG is set.

pub fn txlvl(&self) -> TXLVL_R[src]

Bits 8:11 - Transmit FIFO level trigger point. This field is used only when TXLVLENA = 1. If enabled to do so, the FIFO level can wake up the device just enough to perform DMA, then return to the reduced power mode. See Hardware Wake-up control register. 0 = trigger when the TX FIFO becomes empty. 1 = trigger when the TX FIFO level decreases to one entry. 15 = trigger when the TX FIFO level decreases to 15 entries (is no longer full).

pub fn rxlvl(&self) -> RXLVL_R[src]

Bits 16:19 - Receive FIFO level trigger point. The RX FIFO level is checked when a new piece of data is received. This field is used only when RXLVLENA = 1. If enabled to do so, the FIFO level can wake up the device just enough to perform DMA, then return to the reduced power mode. See Hardware Wake-up control register. 0 = trigger when the RX FIFO has received one entry (is no longer empty). 1 = trigger when the RX FIFO has received two entries. 15 = trigger when the RX FIFO has received 16 entries (has become full).

impl R<bool, TXERR_A>[src]

pub fn variant(&self) -> TXERR_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, RXERR_A>[src]

pub fn variant(&self) -> RXERR_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, TXLVL_A>[src]

pub fn variant(&self) -> TXLVL_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, RXLVL_A>[src]

pub fn variant(&self) -> RXLVL_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<u32, Reg<u32, _FIFOINTENSET>>[src]

pub fn txerr(&self) -> TXERR_R[src]

Bit 0 - Determines whether an interrupt occurs when a transmit error occurs, based on the TXERR flag in the FIFOSTAT register.

pub fn rxerr(&self) -> RXERR_R[src]

Bit 1 - Determines whether an interrupt occurs when a receive error occurs, based on the RXERR flag in the FIFOSTAT register.

pub fn txlvl(&self) -> TXLVL_R[src]

Bit 2 - Determines whether an interrupt occurs when a the transmit FIFO reaches the level specified by the TXLVL field in the FIFOTRIG register.

pub fn rxlvl(&self) -> RXLVL_R[src]

Bit 3 - Determines whether an interrupt occurs when a the receive FIFO reaches the level specified by the TXLVL field in the FIFOTRIG register.

impl R<u32, Reg<u32, _FIFOINTENCLR>>[src]

pub fn txerr(&self) -> TXERR_R[src]

Bit 0 - Writing one clears the corresponding bits in the FIFOINTENSET register.

pub fn rxerr(&self) -> RXERR_R[src]

Bit 1 - Writing one clears the corresponding bits in the FIFOINTENSET register.

pub fn txlvl(&self) -> TXLVL_R[src]

Bit 2 - Writing one clears the corresponding bits in the FIFOINTENSET register.

pub fn rxlvl(&self) -> RXLVL_R[src]

Bit 3 - Writing one clears the corresponding bits in the FIFOINTENSET register.

impl R<u32, Reg<u32, _FIFOINTSTAT>>[src]

pub fn txerr(&self) -> TXERR_R[src]

Bit 0 - TX FIFO error.

pub fn rxerr(&self) -> RXERR_R[src]

Bit 1 - RX FIFO error.

pub fn txlvl(&self) -> TXLVL_R[src]

Bit 2 - Transmit FIFO level interrupt.

pub fn rxlvl(&self) -> RXLVL_R[src]

Bit 3 - Receive FIFO level interrupt.

pub fn perint(&self) -> PERINT_R[src]

Bit 4 - Peripheral interrupt.

impl R<u32, Reg<u32, _FIFOWR>>[src]

pub fn txdata(&self) -> TXDATA_R[src]

Bits 0:15 - Transmit data to the FIFO.

impl R<u32, Reg<u32, _FIFORD>>[src]

pub fn rxdata(&self) -> RXDATA_R[src]

Bits 0:15 - Received data from the FIFO.

pub fn rxssel0_n(&self) -> RXSSEL0_N_R[src]

Bit 16 - Slave Select for receive. This field allows the state of the SSEL0 pin to be saved along with received data. The value will reflect the SSEL0 pin for both master and slave operation. A zero indicates that a slave select is active. The actual polarity of each slave select pin is configured by the related SPOL bit in CFG.

pub fn rxssel1_n(&self) -> RXSSEL1_N_R[src]

Bit 17 - Slave Select for receive. This field allows the state of the SSEL1 pin to be saved along with received data. The value will reflect the SSEL1 pin for both master and slave operation. A zero indicates that a slave select is active. The actual polarity of each slave select pin is configured by the related SPOL bit in CFG.

pub fn rxssel2_n(&self) -> RXSSEL2_N_R[src]

Bit 18 - Slave Select for receive. This field allows the state of the SSEL2 pin to be saved along with received data. The value will reflect the SSEL2 pin for both master and slave operation. A zero indicates that a slave select is active. The actual polarity of each slave select pin is configured by the related SPOL bit in CFG.

pub fn rxssel3_n(&self) -> RXSSEL3_N_R[src]

Bit 19 - Slave Select for receive. This field allows the state of the SSEL3 pin to be saved along with received data. The value will reflect the SSEL3 pin for both master and slave operation. A zero indicates that a slave select is active. The actual polarity of each slave select pin is configured by the related SPOL bit in CFG.

pub fn sot(&self) -> SOT_R[src]

Bit 20 - Start of Transfer flag. This flag will be 1 if this is the first data after the SSELs went from deasserted to asserted (i.e., any previous transfer has ended). This information can be used to identify the first piece of data in cases where the transfer length is greater than 16 bits.

impl R<u32, Reg<u32, _FIFORDNOPOP>>[src]

pub fn rxdata(&self) -> RXDATA_R[src]

Bits 0:15 - Received data from the FIFO.

pub fn rxssel0_n(&self) -> RXSSEL0_N_R[src]

Bit 16 - Slave Select for receive.

pub fn rxssel1_n(&self) -> RXSSEL1_N_R[src]

Bit 17 - Slave Select for receive.

pub fn rxssel2_n(&self) -> RXSSEL2_N_R[src]

Bit 18 - Slave Select for receive.

pub fn rxssel3_n(&self) -> RXSSEL3_N_R[src]

Bit 19 - Slave Select for receive.

pub fn sot(&self) -> SOT_R[src]

Bit 20 - Start of transfer flag.

impl R<u32, Reg<u32, _ID>>[src]

pub fn aperture(&self) -> APERTURE_R[src]

Bits 0:7 - Aperture: encoded as (aperture size/4K) -1, so 0x00 means a 4K aperture.

pub fn minor_rev(&self) -> MINOR_REV_R[src]

Bits 8:11 - Minor revision of module implementation.

pub fn major_rev(&self) -> MAJOR_REV_R[src]

Bits 12:15 - Major revision of module implementation.

pub fn id(&self) -> ID_R[src]

Bits 16:31 - Module identifier for the selected function.

impl R<bool, ENABLE_A>[src]

pub fn variant(&self) -> ENABLE_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<u8, DATALEN_A>[src]

pub fn variant(&self) -> Variant<u8, DATALEN_A>[src]

Get enumerated values variant

pub fn is_bit_7(&self) -> bool[src]

Checks if the value of the field is BIT_7

pub fn is_bit_8(&self) -> bool[src]

Checks if the value of the field is BIT_8

pub fn is_bit_9(&self) -> bool[src]

Checks if the value of the field is BIT_9

impl R<u8, PARITYSEL_A>[src]

pub fn variant(&self) -> Variant<u8, PARITYSEL_A>[src]

Get enumerated values variant

pub fn is_no_parity(&self) -> bool[src]

Checks if the value of the field is NO_PARITY

pub fn is_even_parity(&self) -> bool[src]

Checks if the value of the field is EVEN_PARITY

pub fn is_odd_parity(&self) -> bool[src]

Checks if the value of the field is ODD_PARITY

impl R<bool, STOPLEN_A>[src]

pub fn variant(&self) -> STOPLEN_A[src]

Get enumerated values variant

pub fn is_bit_1(&self) -> bool[src]

Checks if the value of the field is BIT_1

pub fn is_bits_2(&self) -> bool[src]

Checks if the value of the field is BITS_2

impl R<bool, MODE32K_A>[src]

pub fn variant(&self) -> MODE32K_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, LINMODE_A>[src]

pub fn variant(&self) -> LINMODE_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, CTSEN_A>[src]

pub fn variant(&self) -> CTSEN_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, SYNCEN_A>[src]

pub fn variant(&self) -> SYNCEN_A[src]

Get enumerated values variant

pub fn is_asynchronous_mode(&self) -> bool[src]

Checks if the value of the field is ASYNCHRONOUS_MODE

pub fn is_synchronous_mode(&self) -> bool[src]

Checks if the value of the field is SYNCHRONOUS_MODE

impl R<bool, CLKPOL_A>[src]

pub fn variant(&self) -> CLKPOL_A[src]

Get enumerated values variant

pub fn is_falling_edge(&self) -> bool[src]

Checks if the value of the field is FALLING_EDGE

pub fn is_rising_edge(&self) -> bool[src]

Checks if the value of the field is RISING_EDGE

impl R<bool, SYNCMST_A>[src]

pub fn variant(&self) -> SYNCMST_A[src]

Get enumerated values variant

pub fn is_slave(&self) -> bool[src]

Checks if the value of the field is SLAVE

pub fn is_master(&self) -> bool[src]

Checks if the value of the field is MASTER

impl R<bool, LOOP_A>[src]

pub fn variant(&self) -> LOOP_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_loopback(&self) -> bool[src]

Checks if the value of the field is LOOPBACK

impl R<bool, OETA_A>[src]

pub fn variant(&self) -> OETA_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, AUTOADDR_A>[src]

pub fn variant(&self) -> AUTOADDR_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, OESEL_A>[src]

pub fn variant(&self) -> OESEL_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_rs_485(&self) -> bool[src]

Checks if the value of the field is RS_485

impl R<bool, OEPOL_A>[src]

pub fn variant(&self) -> OEPOL_A[src]

Get enumerated values variant

pub fn is_low(&self) -> bool[src]

Checks if the value of the field is LOW

pub fn is_high(&self) -> bool[src]

Checks if the value of the field is HIGH

impl R<bool, RXPOL_A>[src]

pub fn variant(&self) -> RXPOL_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_inverted(&self) -> bool[src]

Checks if the value of the field is INVERTED

impl R<bool, TXPOL_A>[src]

pub fn variant(&self) -> TXPOL_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_inverted(&self) -> bool[src]

Checks if the value of the field is INVERTED

impl R<u32, Reg<u32, _CFG>>[src]

pub fn enable(&self) -> ENABLE_R[src]

Bit 0 - USART Enable.

pub fn datalen(&self) -> DATALEN_R[src]

Bits 2:3 - Selects the data size for the USART.

pub fn paritysel(&self) -> PARITYSEL_R[src]

Bits 4:5 - Selects what type of parity is used by the USART.

pub fn stoplen(&self) -> STOPLEN_R[src]

Bit 6 - Number of stop bits appended to transmitted data. Only a single stop bit is required for received data.

pub fn mode32k(&self) -> MODE32K_R[src]

Bit 7 - Selects standard or 32 kHz clocking mode.

pub fn linmode(&self) -> LINMODE_R[src]

Bit 8 - LIN break mode enable.

pub fn ctsen(&self) -> CTSEN_R[src]

Bit 9 - CTS Enable. Determines whether CTS is used for flow control. CTS can be from the input pin, or from the USART's own RTS if loopback mode is enabled.

pub fn syncen(&self) -> SYNCEN_R[src]

Bit 11 - Selects synchronous or asynchronous operation.

pub fn clkpol(&self) -> CLKPOL_R[src]

Bit 12 - Selects the clock polarity and sampling edge of received data in synchronous mode.

pub fn syncmst(&self) -> SYNCMST_R[src]

Bit 14 - Synchronous mode Master select.

pub fn loop_(&self) -> LOOP_R[src]

Bit 15 - Selects data loopback mode.

pub fn oeta(&self) -> OETA_R[src]

Bit 18 - Output Enable Turnaround time enable for RS-485 operation.

pub fn autoaddr(&self) -> AUTOADDR_R[src]

Bit 19 - Automatic Address matching enable.

pub fn oesel(&self) -> OESEL_R[src]

Bit 20 - Output Enable Select.

pub fn oepol(&self) -> OEPOL_R[src]

Bit 21 - Output Enable Polarity.

pub fn rxpol(&self) -> RXPOL_R[src]

Bit 22 - Receive data polarity.

pub fn txpol(&self) -> TXPOL_R[src]

Bit 23 - Transmit data polarity.

impl R<bool, TXBRKEN_A>[src]

pub fn variant(&self) -> TXBRKEN_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_continous(&self) -> bool[src]

Checks if the value of the field is CONTINOUS

impl R<bool, ADDRDET_A>[src]

pub fn variant(&self) -> ADDRDET_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, TXDIS_A>[src]

pub fn variant(&self) -> TXDIS_A[src]

Get enumerated values variant

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

impl R<bool, CC_A>[src]

pub fn variant(&self) -> CC_A[src]

Get enumerated values variant

pub fn is_clock_on_character(&self) -> bool[src]

Checks if the value of the field is CLOCK_ON_CHARACTER

pub fn is_continous_clock(&self) -> bool[src]

Checks if the value of the field is CONTINOUS_CLOCK

impl R<bool, CLRCCONRX_A>[src]

pub fn variant(&self) -> CLRCCONRX_A[src]

Get enumerated values variant

pub fn is_no_effect(&self) -> bool[src]

Checks if the value of the field is NO_EFFECT

pub fn is_auto_clear(&self) -> bool[src]

Checks if the value of the field is AUTO_CLEAR

impl R<bool, AUTOBAUD_A>[src]

pub fn variant(&self) -> AUTOBAUD_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<u32, Reg<u32, _CTL>>[src]

pub fn txbrken(&self) -> TXBRKEN_R[src]

Bit 1 - Break Enable.

pub fn addrdet(&self) -> ADDRDET_R[src]

Bit 2 - Enable address detect mode.

pub fn txdis(&self) -> TXDIS_R[src]

Bit 6 - Transmit Disable.

pub fn cc(&self) -> CC_R[src]

Bit 8 - Continuous Clock generation. By default, SCLK is only output while data is being transmitted in synchronous mode.

pub fn clrcconrx(&self) -> CLRCCONRX_R[src]

Bit 9 - Clear Continuous Clock.

pub fn autobaud(&self) -> AUTOBAUD_R[src]

Bit 16 - Autobaud enable.

impl R<u32, Reg<u32, _STAT>>[src]

pub fn rxidle(&self) -> RXIDLE_R[src]

Bit 1 - Receiver Idle. When 0, indicates that the receiver is currently in the process of receiving data. When 1, indicates that the receiver is not currently in the process of receiving data.

pub fn txidle(&self) -> TXIDLE_R[src]

Bit 3 - Transmitter Idle. When 0, indicates that the transmitter is currently in the process of sending data.When 1, indicate that the transmitter is not currently in the process of sending data.

pub fn cts(&self) -> CTS_R[src]

Bit 4 - This bit reflects the current state of the CTS signal, regardless of the setting of the CTSEN bit in the CFG register. This will be the value of the CTS input pin unless loopback mode is enabled.

pub fn txdisstat(&self) -> TXDISSTAT_R[src]

Bit 6 - Transmitter Disabled Status flag. When 1, this bit indicates that the USART transmitter is fully idle after being disabled via the TXDIS bit in the CFG register (TXDIS = 1).

pub fn rxbrk(&self) -> RXBRK_R[src]

Bit 10 - Received Break. This bit reflects the current state of the receiver break detection logic. It is set when the Un_RXD pin remains low for 16 bit times. Note that FRAMERRINT will also be set when this condition occurs because the stop bit(s) for the character would be missing. RXBRK is cleared when the Un_RXD pin goes high.

impl R<u32, Reg<u32, _INTENSET>>[src]

pub fn txidleen(&self) -> TXIDLEEN_R[src]

Bit 3 - When 1, enables an interrupt when the transmitter becomes idle (TXIDLE = 1).

pub fn deltactsen(&self) -> DELTACTSEN_R[src]

Bit 5 - When 1, enables an interrupt when there is a change in the state of the CTS input.

pub fn txdisen(&self) -> TXDISEN_R[src]

Bit 6 - When 1, enables an interrupt when the transmitter is fully disabled as indicated by the TXDISINT flag in STAT. See description of the TXDISINT bit for details.

pub fn deltarxbrken(&self) -> DELTARXBRKEN_R[src]

Bit 11 - When 1, enables an interrupt when a change of state has occurred in the detection of a received break condition (break condition asserted or deasserted).

pub fn starten(&self) -> STARTEN_R[src]

Bit 12 - When 1, enables an interrupt when a received start bit has been detected.

pub fn framerren(&self) -> FRAMERREN_R[src]

Bit 13 - When 1, enables an interrupt when a framing error has been detected.

pub fn parityerren(&self) -> PARITYERREN_R[src]

Bit 14 - When 1, enables an interrupt when a parity error has been detected.

pub fn rxnoiseen(&self) -> RXNOISEEN_R[src]

Bit 15 - When 1, enables an interrupt when noise is detected. See description of the RXNOISEINT bit in Table 354.

pub fn aberren(&self) -> ABERREN_R[src]

Bit 16 - When 1, enables an interrupt when an auto baud error occurs.

impl R<u32, Reg<u32, _BRG>>[src]

pub fn brgval(&self) -> BRGVAL_R[src]

Bits 0:15 - This value is used to divide the USART input clock to determine the baud rate, based on the input clock from the FRG. 0 = FCLK is used directly by the USART function. 1 = FCLK is divided by 2 before use by the USART function. 2 = FCLK is divided by 3 before use by the USART function. 0xFFFF = FCLK is divided by 65,536 before use by the USART function.

impl R<u32, Reg<u32, _INTSTAT>>[src]

pub fn txidle(&self) -> TXIDLE_R[src]

Bit 3 - Transmitter Idle status.

pub fn deltacts(&self) -> DELTACTS_R[src]

Bit 5 - This bit is set when a change in the state of the CTS input is detected.

pub fn txdisint(&self) -> TXDISINT_R[src]

Bit 6 - Transmitter Disabled Interrupt flag.

pub fn deltarxbrk(&self) -> DELTARXBRK_R[src]

Bit 11 - This bit is set when a change in the state of receiver break detection occurs.

pub fn start(&self) -> START_R[src]

Bit 12 - This bit is set when a start is detected on the receiver input.

pub fn framerrint(&self) -> FRAMERRINT_R[src]

Bit 13 - Framing Error interrupt flag.

pub fn parityerrint(&self) -> PARITYERRINT_R[src]

Bit 14 - Parity Error interrupt flag.

pub fn rxnoiseint(&self) -> RXNOISEINT_R[src]

Bit 15 - Received Noise interrupt flag.

pub fn aberrint(&self) -> ABERRINT_R[src]

Bit 16 - Auto baud Error Interrupt flag.

impl R<u32, Reg<u32, _OSR>>[src]

pub fn osrval(&self) -> OSRVAL_R[src]

Bits 0:3 - Oversample Selection Value. 0 to 3 = not supported 0x4 = 5 function clocks are used to transmit and receive each data bit. 0x5 = 6 function clocks are used to transmit and receive each data bit. 0xF= 16 function clocks are used to transmit and receive each data bit.

impl R<u32, Reg<u32, _ADDR>>[src]

pub fn address(&self) -> ADDRESS_R[src]

Bits 0:7 - 8-bit address used with automatic address matching. Used when address detection is enabled (ADDRDET in CTL = 1) and automatic address matching is enabled (AUTOADDR in CFG = 1).

impl R<bool, ENABLETX_A>[src]

pub fn variant(&self) -> ENABLETX_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, ENABLERX_A>[src]

pub fn variant(&self) -> ENABLERX_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DMATX_A>[src]

pub fn variant(&self) -> DMATX_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DMARX_A>[src]

pub fn variant(&self) -> DMARX_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, WAKETX_A>[src]

pub fn variant(&self) -> WAKETX_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, WAKERX_A>[src]

pub fn variant(&self) -> WAKERX_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, POPDBG_A>[src]

pub fn variant(&self) -> POPDBG_A[src]

Get enumerated values variant

pub fn is_do_not_pop(&self) -> bool[src]

Checks if the value of the field is DO_NOT_POP

pub fn is_pop(&self) -> bool[src]

Checks if the value of the field is POP

impl R<u32, Reg<u32, _FIFOCFG>>[src]

pub fn enabletx(&self) -> ENABLETX_R[src]

Bit 0 - Enable the transmit FIFO.

pub fn enablerx(&self) -> ENABLERX_R[src]

Bit 1 - Enable the receive FIFO.

pub fn size(&self) -> SIZE_R[src]

Bits 4:5 - FIFO size configuration. This is a read-only field. 0x0 = FIFO is configured as 16 entries of 8 bits. 0x1, 0x2, 0x3 = not applicable to USART.

pub fn dmatx(&self) -> DMATX_R[src]

Bit 12 - DMA configuration for transmit.

pub fn dmarx(&self) -> DMARX_R[src]

Bit 13 - DMA configuration for receive.

pub fn waketx(&self) -> WAKETX_R[src]

Bit 14 - Wake-up for transmit FIFO level. This allows the device to be woken from reduced power modes (up to power-down, as long as the peripheral function works in that power mode) without enabling the TXLVL interrupt. Only DMA wakes up, processes data, and goes back to sleep. The CPU will remain stopped until woken by another cause, such as DMA completion. See Hardware Wake-up control register.

pub fn wakerx(&self) -> WAKERX_R[src]

Bit 15 - Wake-up for receive FIFO level. This allows the device to be woken from reduced power modes (up to power-down, as long as the peripheral function works in that power mode) without enabling the TXLVL interrupt. Only DMA wakes up, processes data, and goes back to sleep. The CPU will remain stopped until woken by another cause, such as DMA completion. See Hardware Wake-up control register.

pub fn emptytx(&self) -> EMPTYTX_R[src]

Bit 16 - Empty command for the transmit FIFO. When a 1 is written to this bit, the TX FIFO is emptied.

pub fn emptyrx(&self) -> EMPTYRX_R[src]

Bit 17 - Empty command for the receive FIFO. When a 1 is written to this bit, the RX FIFO is emptied.

pub fn popdbg(&self) -> POPDBG_R[src]

Bit 18 - Pop FIFO for debug reads.

impl R<u32, Reg<u32, _FIFOSTAT>>[src]

pub fn txerr(&self) -> TXERR_R[src]

Bit 0 - TX FIFO error. Will be set if a transmit FIFO error occurs. This could be an overflow caused by pushing data into a full FIFO, or by an underflow if the FIFO is empty when data is needed. Cleared by writing a 1 to this bit.

pub fn rxerr(&self) -> RXERR_R[src]

Bit 1 - RX FIFO error. Will be set if a receive FIFO overflow occurs, caused by software or DMA not emptying the FIFO fast enough. Cleared by writing a 1 to this bit.

pub fn perint(&self) -> PERINT_R[src]

Bit 3 - Peripheral interrupt. When 1, this indicates that the peripheral function has asserted an interrupt. The details can be found by reading the peripheral's STAT register.

pub fn txempty(&self) -> TXEMPTY_R[src]

Bit 4 - Transmit FIFO empty. When 1, the transmit FIFO is empty. The peripheral may still be processing the last piece of data.

pub fn txnotfull(&self) -> TXNOTFULL_R[src]

Bit 5 - Transmit FIFO not full. When 1, the transmit FIFO is not full, so more data can be written. When 0, the transmit FIFO is full and another write would cause it to overflow.

pub fn rxnotempty(&self) -> RXNOTEMPTY_R[src]

Bit 6 - Receive FIFO not empty. When 1, the receive FIFO is not empty, so data can be read. When 0, the receive FIFO is empty.

pub fn rxfull(&self) -> RXFULL_R[src]

Bit 7 - Receive FIFO full. When 1, the receive FIFO is full. Data needs to be read out to prevent the peripheral from causing an overflow.

pub fn txlvl(&self) -> TXLVL_R[src]

Bits 8:12 - Transmit FIFO current level. A 0 means the TX FIFO is currently empty, and the TXEMPTY and TXNOTFULL flags will be 1. Other values tell how much data is actually in the TX FIFO at the point where the read occurs. If the TX FIFO is full, the TXEMPTY and TXNOTFULL flags will be 0.

pub fn rxlvl(&self) -> RXLVL_R[src]

Bits 16:20 - Receive FIFO current level. A 0 means the RX FIFO is currently empty, and the RXFULL and RXNOTEMPTY flags will be 0. Other values tell how much data is actually in the RX FIFO at the point where the read occurs. If the RX FIFO is full, the RXFULL and RXNOTEMPTY flags will be 1.

impl R<bool, TXLVLENA_A>[src]

pub fn variant(&self) -> TXLVLENA_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, RXLVLENA_A>[src]

pub fn variant(&self) -> RXLVLENA_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<u32, Reg<u32, _FIFOTRIG>>[src]

pub fn txlvlena(&self) -> TXLVLENA_R[src]

Bit 0 - Transmit FIFO level trigger enable. This trigger will become an interrupt if enabled in FIFOINTENSET, or a DMA trigger if DMATX in FIFOCFG is set.

pub fn rxlvlena(&self) -> RXLVLENA_R[src]

Bit 1 - Receive FIFO level trigger enable. This trigger will become an interrupt if enabled in FIFOINTENSET, or a DMA trigger if DMARX in FIFOCFG is set.

pub fn txlvl(&self) -> TXLVL_R[src]

Bits 8:11 - Transmit FIFO level trigger point. This field is used only when TXLVLENA = 1. If enabled to do so, the FIFO level can wake up the device just enough to perform DMA, then return to the reduced power mode. See Hardware Wake-up control register. 0 = trigger when the TX FIFO becomes empty. 1 = trigger when the TX FIFO level decreases to one entry. 15 = trigger when the TX FIFO level decreases to 15 entries (is no longer full).

pub fn rxlvl(&self) -> RXLVL_R[src]

Bits 16:19 - Receive FIFO level trigger point. The RX FIFO level is checked when a new piece of data is received. This field is used only when RXLVLENA = 1. If enabled to do so, the FIFO level can wake up the device just enough to perform DMA, then return to the reduced power mode. See Hardware Wake-up control register. 0 = trigger when the RX FIFO has received one entry (is no longer empty). 1 = trigger when the RX FIFO has received two entries. 15 = trigger when the RX FIFO has received 16 entries (has become full).

impl R<bool, TXERR_A>[src]

pub fn variant(&self) -> TXERR_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, RXERR_A>[src]

pub fn variant(&self) -> RXERR_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, TXLVL_A>[src]

pub fn variant(&self) -> TXLVL_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, RXLVL_A>[src]

pub fn variant(&self) -> RXLVL_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<u32, Reg<u32, _FIFOINTENSET>>[src]

pub fn txerr(&self) -> TXERR_R[src]

Bit 0 - Determines whether an interrupt occurs when a transmit error occurs, based on the TXERR flag in the FIFOSTAT register.

pub fn rxerr(&self) -> RXERR_R[src]

Bit 1 - Determines whether an interrupt occurs when a receive error occurs, based on the RXERR flag in the FIFOSTAT register.

pub fn txlvl(&self) -> TXLVL_R[src]

Bit 2 - Determines whether an interrupt occurs when a the transmit FIFO reaches the level specified by the TXLVL field in the FIFOTRIG register.

pub fn rxlvl(&self) -> RXLVL_R[src]

Bit 3 - Determines whether an interrupt occurs when a the receive FIFO reaches the level specified by the TXLVL field in the FIFOTRIG register.

impl R<u32, Reg<u32, _FIFOINTENCLR>>[src]

pub fn txerr(&self) -> TXERR_R[src]

Bit 0 - Writing one clears the corresponding bits in the FIFOINTENSET register.

pub fn rxerr(&self) -> RXERR_R[src]

Bit 1 - Writing one clears the corresponding bits in the FIFOINTENSET register.

pub fn txlvl(&self) -> TXLVL_R[src]

Bit 2 - Writing one clears the corresponding bits in the FIFOINTENSET register.

pub fn rxlvl(&self) -> RXLVL_R[src]

Bit 3 - Writing one clears the corresponding bits in the FIFOINTENSET register.

impl R<u32, Reg<u32, _FIFOINTSTAT>>[src]

pub fn txerr(&self) -> TXERR_R[src]

Bit 0 - TX FIFO error.

pub fn rxerr(&self) -> RXERR_R[src]

Bit 1 - RX FIFO error.

pub fn txlvl(&self) -> TXLVL_R[src]

Bit 2 - Transmit FIFO level interrupt.

pub fn rxlvl(&self) -> RXLVL_R[src]

Bit 3 - Receive FIFO level interrupt.

pub fn perint(&self) -> PERINT_R[src]

Bit 4 - Peripheral interrupt.

impl R<u32, Reg<u32, _FIFOWR>>[src]

pub fn txdata(&self) -> TXDATA_R[src]

Bits 0:8 - Transmit data to the FIFO.

impl R<u32, Reg<u32, _FIFORD>>[src]

pub fn rxdata(&self) -> RXDATA_R[src]

Bits 0:8 - Received data from the FIFO. The number of bits used depends on the DATALEN and PARITYSEL settings.

pub fn framerr(&self) -> FRAMERR_R[src]

Bit 13 - Framing Error status flag. This bit reflects the status for the data it is read along with from the FIFO, and indicates that the character was received with a missing stop bit at the expected location. This could be an indication of a baud rate or configuration mismatch with the transmitting source.

pub fn parityerr(&self) -> PARITYERR_R[src]

Bit 14 - Parity Error status flag. This bit reflects the status for the data it is read along with from the FIFO. This bit will be set when a parity error is detected in a received character.

pub fn rxnoise(&self) -> RXNOISE_R[src]

Bit 15 - Received Noise flag. See description of the RxNoiseInt bit in Table 354.

impl R<u32, Reg<u32, _FIFORDNOPOP>>[src]

pub fn rxdata(&self) -> RXDATA_R[src]

Bits 0:8 - Received data from the FIFO. The number of bits used depends on the DATALEN and PARITYSEL settings.

pub fn framerr(&self) -> FRAMERR_R[src]

Bit 13 - Framing Error status flag. This bit reflects the status for the data it is read along with from the FIFO, and indicates that the character was received with a missing stop bit at the expected location. This could be an indication of a baud rate or configuration mismatch with the transmitting source.

pub fn parityerr(&self) -> PARITYERR_R[src]

Bit 14 - Parity Error status flag. This bit reflects the status for the data it is read along with from the FIFO. This bit will be set when a parity error is detected in a received character.

pub fn rxnoise(&self) -> RXNOISE_R[src]

Bit 15 - Received Noise flag. See description of the RxNoiseInt bit in Table 354.

impl R<u32, Reg<u32, _ID>>[src]

pub fn aperture(&self) -> APERTURE_R[src]

Bits 0:7 - Aperture: encoded as (aperture size/4K) -1, so 0x00 means a 4K aperture.

pub fn minor_rev(&self) -> MINOR_REV_R[src]

Bits 8:11 - Minor revision of module implementation.

pub fn major_rev(&self) -> MAJOR_REV_R[src]

Bits 12:15 - Major revision of module implementation.

pub fn id(&self) -> ID_R[src]

Bits 16:31 - Module identifier for the selected function.

impl R<u8, Reg<u8, _B_>>[src]

pub fn pbyte(&self) -> PBYTE_R[src]

Bit 0 - Read: state of the pin PIOm_n, regardless of direction, masking, or alternate function, except that pins configured as analog I/O always read as 0. One register for each port pin. Supported pins depends on the specific device and package. Write: loads the pin's output bit. One register for each port pin. Supported pins depends on the specific device and package.

impl R<u32, Reg<u32, _W_>>[src]

pub fn pword(&self) -> PWORD_R[src]

Bits 0:31 - Read 0: pin PIOm_n is LOW. Write 0: clear output bit. Read 0xFFFF FFFF: pin PIOm_n is HIGH. Write any value 0x0000 0001 to 0xFFFF FFFF: set output bit. Only 0 or 0xFFFF FFFF can be read. Writing any value other than 0 will set the output bit. One register for each port pin. Supported pins depends on the specific device and package.

impl R<u32, Reg<u32, _DIR>>[src]

pub fn dirp(&self) -> DIRP_R[src]

Bits 0:31 - Selects pin direction for pin PIOm_n (bit 0 = PIOn_0, bit 1 = PIOn_1, etc.). Supported pins depends on the specific device and package. 0 = input. 1 = output.

impl R<u32, Reg<u32, _MASK>>[src]

pub fn maskp(&self) -> MASKP_R[src]

Bits 0:31 - Controls which bits corresponding to PIOm_n are active in the MPORT register (bit 0 = PIOn_0, bit 1 = PIOn_1, etc.). Supported pins depends on the specific device and package. 0 = Read MPORT: pin state; write MPORT: load output bit. 1 = Read MPORT: 0; write MPORT: output bit not affected.

impl R<u32, Reg<u32, _PIN>>[src]

pub fn port(&self) -> PORT_R[src]

Bits 0:31 - Reads pin states or loads output bits (bit 0 = PIOn_0, bit 1 = PIOn_1, etc.). Supported pins depends on the specific device and package. 0 = Read: pin is low; write: clear output bit. 1 = Read: pin is high; write: set output bit.

impl R<u32, Reg<u32, _MPIN>>[src]

pub fn mportp(&self) -> MPORTP_R[src]

Bits 0:31 - Masked port register (bit 0 = PIOn_0, bit 1 = PIOn_1, etc.). Supported pins depends on the specific device and package. 0 = Read: pin is LOW and/or the corresponding bit in the MASK register is 1; write: clear output bit if the corresponding bit in the MASK register is 0. 1 = Read: pin is HIGH and the corresponding bit in the MASK register is 0; write: set output bit if the corresponding bit in the MASK register is 0.

impl R<u32, Reg<u32, _SET>>[src]

pub fn setp(&self) -> SETP_R[src]

Bits 0:31 - Read or set output bits (bit 0 = PIOn_0, bit 1 = PIOn_1, etc.). Supported pins depends on the specific device and package. 0 = Read: output bit: write: no operation. 1 = Read: output bit; write: set output bit.

impl R<u32, Reg<u32, _OSR>>[src]

pub fn osr(&self) -> OSR_R[src]

Bits 0:7 - Selects the oversample rate for the related input channel.

impl R<u32, Reg<u32, _DIVHFCLK>>[src]

pub fn pdmdiv(&self) -> PDMDIV_R[src]

Bits 0:3 - PDM clock divider value. 0 = divide by 1 1 = divide by 2 2 = divide by 3 3 = divide by 4 4 = divide by 6 5 = divide by 8 6 = divide by 12 7 = divide by 16 8 = divide by 24 9 = divide by 32 10 = divide by 48 11 = divide by 64 12 = divide by 96 13 = divide by 128 others = reserved.

impl R<u32, Reg<u32, _PREAC2FSCOEF>>[src]

pub fn comp(&self) -> COMP_R[src]

Bits 0:1 - Pre-emphasis filer coefficient for 2 FS mode. 0 = Compensation = 0 1 = Compensation = 16 2 = Compensation = 15 3 = Compensation = 13

impl R<u32, Reg<u32, _PREAC4FSCOEF>>[src]

pub fn comp(&self) -> COMP_R[src]

Bits 0:1 - Pre-emphasis filer coefficient for 4 FS mode. 0 = Compensation = 0 1 = Compensation = 16 2 = Compensation = 15 3 = Compensation = 13

impl R<u32, Reg<u32, _GAINSHIFT>>[src]

pub fn gain(&self) -> GAIN_R[src]

Bits 0:5 - Gain control, as a positive or negative (two's complement) number of bits to shift.

impl R<bool, ENABLE_A>[src]

pub fn variant(&self) -> ENABLE_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, RESETN_A>[src]

pub fn variant(&self) -> RESETN_A[src]

Get enumerated values variant

pub fn is_reset(&self) -> bool[src]

Checks if the value of the field is RESET

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

impl R<bool, INTEN_A>[src]

pub fn variant(&self) -> INTEN_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DMAEN_A>[src]

pub fn variant(&self) -> DMAEN_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<u32, Reg<u32, _FIFO_CTRL>>[src]

pub fn enable(&self) -> ENABLE_R[src]

Bit 0 - FIFO enable.

pub fn resetn(&self) -> RESETN_R[src]

Bit 1 - FIFO reset.

pub fn inten(&self) -> INTEN_R[src]

Bit 2 - Interrupt enable.

pub fn dmaen(&self) -> DMAEN_R[src]

Bit 3 - DMA enable

pub fn triglvl(&self) -> TRIGLVL_R[src]

Bits 16:20 - FIFO trigger level. Selects the data trigger level for interrupt or DMA operation. If enabled to do so, the FIFO level can wake up the device just enough to perform DMA, then return to the reduced power mode See Section 4.5.66 'Hardware Wake-up control register'. 0 = trigger when the FIFO has received one entry (is no longer empty). 1 = trigger when the FIFO has received two entries. 15 = trigger when the FIFO has received 16 entries (has become full).

impl R<u32, Reg<u32, _FIFO_STATUS>>[src]

pub fn int(&self) -> INT_R[src]

Bit 0 - Interrupt flag. Asserted when FIFO data reaches the level specified in the FIFOCTRL register. Writing a one to this bit clears the flag. Remark: note that the bus clock to the DMIC subsystem must be running in order for an interrupt to occur.

pub fn overrun(&self) -> OVERRUN_R[src]

Bit 1 - Overrun flag. Indicates that a FIFO overflow has occurred at some point. Writing a one to this bit clears the flag. This flag does not cause an interrupt.

pub fn underrun(&self) -> UNDERRUN_R[src]

Bit 2 - Underrun flag. Indicates that a FIFO underflow has occurred at some point. Writing a one to this bit clears the flag.

impl R<u32, Reg<u32, _FIFO_DATA>>[src]

pub fn data(&self) -> DATA_R[src]

Bits 0:23 - Data from the top of the input filter FIFO.

impl R<bool, PHY_FALL_A>[src]

pub fn variant(&self) -> PHY_FALL_A[src]

Get enumerated values variant

pub fn is_rising_edge(&self) -> bool[src]

Checks if the value of the field is RISING_EDGE

pub fn is_falling_edge(&self) -> bool[src]

Checks if the value of the field is FALLING_EDGE

impl R<bool, PHY_HALF_A>[src]

pub fn variant(&self) -> PHY_HALF_A[src]

Get enumerated values variant

pub fn is_standard(&self) -> bool[src]

Checks if the value of the field is STANDARD

pub fn is_half_rate(&self) -> bool[src]

Checks if the value of the field is HALF_RATE

impl R<u32, Reg<u32, _PHY_CTRL>>[src]

pub fn phy_fall(&self) -> PHY_FALL_R[src]

Bit 0 - Capture PDM_DATA

pub fn phy_half(&self) -> PHY_HALF_R[src]

Bit 1 - Half rate sampling

impl R<u8, DCPOLE_A>[src]

pub fn variant(&self) -> DCPOLE_A[src]

Get enumerated values variant

pub fn is_flat_response(&self) -> bool[src]

Checks if the value of the field is FLAT_RESPONSE

pub fn is_hz_155(&self) -> bool[src]

Checks if the value of the field is HZ_155

pub fn is_hz_78(&self) -> bool[src]

Checks if the value of the field is HZ_78

pub fn is_hz_39(&self) -> bool[src]

Checks if the value of the field is HZ_39

impl R<bool, SATURATEAT16BIT_A>[src]

pub fn variant(&self) -> SATURATEAT16BIT_A[src]

Get enumerated values variant

pub fn is_do_not_saturate(&self) -> bool[src]

Checks if the value of the field is DO_NOT_SATURATE

pub fn is_saturate(&self) -> bool[src]

Checks if the value of the field is SATURATE

impl R<u32, Reg<u32, _DC_CTRL>>[src]

pub fn dcpole(&self) -> DCPOLE_R[src]

Bits 0:1 - DC block filter

pub fn dcgain(&self) -> DCGAIN_R[src]

Bits 4:7 - Fine gain adjustment in the form of a number of bits to downshift.

pub fn saturateat16bit(&self) -> SATURATEAT16BIT_R[src]

Bit 8 - Selects 16-bit saturation.

impl R<u32, Reg<u32, _CHANEN>>[src]

pub fn en_ch0(&self) -> EN_CH0_R[src]

Bit 0 - Enable channel 0. When 1, PDM channel 0 is enabled.

pub fn en_ch1(&self) -> EN_CH1_R[src]

Bit 1 - Enable channel 1. When 1, PDM channel 1 is enabled.

impl R<u32, Reg<u32, _IOCFG>>[src]

pub fn clk_bypass0(&self) -> CLK_BYPASS0_R[src]

Bit 0 - Bypass CLK0. When 1, PDM_DATA1 becomes the clock for PDM channel 0. This provides for the possibility of an external codec taking over the PDM bus.

pub fn clk_bypass1(&self) -> CLK_BYPASS1_R[src]

Bit 1 - Bypass CLK1. When 1, PDM_DATA1 becomes the clock for PDM channel 1. This provides for the possibility of an external codec taking over the PDM bus.

pub fn stereo_data0(&self) -> STEREO_DATA0_R[src]

Bit 2 - Stereo PDM select. When 1, PDM_DATA0 is routed to both PDM channels in a configuration that supports a single stereo digital microphone.

impl R<bool, USE2FS_A>[src]

pub fn variant(&self) -> USE2FS_A[src]

Get enumerated values variant

pub fn is_use_1fs(&self) -> bool[src]

Checks if the value of the field is USE_1FS

pub fn is_use_2fs(&self) -> bool[src]

Checks if the value of the field is USE_2FS

impl R<u32, Reg<u32, _USE2FS>>[src]

pub fn use2fs(&self) -> USE2FS_R[src]

Bit 0 - Use 2FS register

impl R<u32, Reg<u32, _HWVADGAIN>>[src]

pub fn inputgain(&self) -> INPUTGAIN_R[src]

Bits 0:3 - Shift value for input bits 0x00 -10 bits 0x01 -8 bits 0x02 -6 bits 0x03 -4 bits 0x04 -2 bits 0x05 0 bits (default) 0x06 +2 bits 0x07 +4 bits 0x08 +6 bits 0x09 +8 bits 0x0A +10 bits 0x0B +12 bits 0x0C +14 bits 0x0D to 0x0F Reserved.

impl R<u8, HPFS_A>[src]

pub fn variant(&self) -> Variant<u8, HPFS_A>[src]

Get enumerated values variant

pub fn is_bypass(&self) -> bool[src]

Checks if the value of the field is BYPASS

pub fn is_high_pass_1750hz(&self) -> bool[src]

Checks if the value of the field is HIGH_PASS_1750HZ

pub fn is_high_pass_215hz(&self) -> bool[src]

Checks if the value of the field is HIGH_PASS_215HZ

impl R<u32, Reg<u32, _HWVADHPFS>>[src]

pub fn hpfs(&self) -> HPFS_R[src]

Bits 0:1 - High pass filter

impl R<bool, ST10_A>[src]

pub fn variant(&self) -> ST10_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_reset(&self) -> bool[src]

Checks if the value of the field is RESET

impl R<u32, Reg<u32, _HWVADST10>>[src]

pub fn st10(&self) -> ST10_R[src]

Bit 0 - Stage 0

impl R<u32, Reg<u32, _HWVADRSTT>>[src]

pub fn rstt(&self) -> RSTT_R[src]

Bit 0 - Writing a 1 resets all filter values

impl R<u32, Reg<u32, _HWVADTHGN>>[src]

pub fn thgn(&self) -> THGN_R[src]

Bits 0:3 - Gain value for the noise estimator. Values 0 to 14. 0 corresponds to a gain of 1.

impl R<u32, Reg<u32, _HWVADTHGS>>[src]

pub fn thgs(&self) -> THGS_R[src]

Bits 0:3 - Gain value for the signal estimator. Values 0 to 14. 0 corresponds to a gain of 1.

impl R<u32, Reg<u32, _HWVADLOWZ>>[src]

pub fn lowz(&self) -> LOWZ_R[src]

Bits 0:15 - Noise envelope estimator value.

impl R<u32, Reg<u32, _ID>>[src]

pub fn id(&self) -> ID_R[src]

Bits 0:31 - Indicates module ID and the number of channels in this DMIC interface.

impl R<u32, Reg<u32, _MTL_TXQX_OP_MODE>>[src]

pub fn ftq(&self) -> FTQ_R[src]

Bit 0 - Flush Transmit Queue When this bit is set, the Tx queue controller logic is reset to its default values.

pub fn tsf(&self) -> TSF_R[src]

Bit 1 - Transmit Store and Forward When this bit is set, the transmission starts when a full packet resides in the MTL Tx queue.

pub fn txqen(&self) -> TXQEN_R[src]

Bits 2:3 - Transmit Queue Enable This field is used to enable/disable the transmit queue 0.

pub fn ttc(&self) -> TTC_R[src]

Bits 4:6 - Transmit Threshold Control These bits control the threshold level of the MTL Tx Queue.

pub fn tqs(&self) -> TQS_R[src]

Bits 16:18 - Transmit Queue Size This field indicates the size of the allocated Transmit queues in blocks of 256 bytes.

impl R<u32, Reg<u32, _MTL_TXQX_UNDRFLW>>[src]

pub fn uffrmcnt(&self) -> UFFRMCNT_R[src]

Bits 0:10 - Underflow Packet Counter This field indicates the number of packets aborted by the controller because of Tx Queue Underflow.

pub fn ufcntovf(&self) -> UFCNTOVF_R[src]

Bit 11 - Overflow Bit for Underflow Packet Counter This bit is set every time the Tx queue Underflow Packet Counter field overflows, that is, it has crossed the maximum count.

impl R<u32, Reg<u32, _MTL_TXQX_DBG>>[src]

pub fn txqpaused(&self) -> TXQPAUSED_R[src]

Bit 0 - Transmit Queue in Pause When this bit is high and the Rx flow control is enabled, it indicates that the Tx Queue is in the Pause condition (in the full-duplex only mode) because of the following: - Reception of the PFC packet for the priorities assigned to the Tx Queue when PFC is enabled - Reception of 802.

pub fn trcsts(&self) -> TRCSTS_R[src]

Bits 1:2 - MTL Tx Queue Read Controller Status This field indicates the state of the Tx Queue Read Controller: 00: Idle state 01: Read state (transferring data to the MAC transmitter) 10: Waiting for pending Tx Status from the MAC transmitter 11: Flushing the Tx queue because of the Packet Abort request from the MAC.

pub fn twcsts(&self) -> TWCSTS_R[src]

Bit 3 - MTL Tx Queue Write Controller Status When high, this bit indicates that the MTL Tx Queue Write Controller is active, and it is transferring the data to the Tx Queue.

pub fn txqsts(&self) -> TXQSTS_R[src]

Bit 4 - MTL Tx Queue Not Empty Status When this bit is high, it indicates that the MTL Tx Queue is not empty and some data is left for transmission.

pub fn txstsfsts(&self) -> TXSTSFSTS_R[src]

Bit 5 - MTL Tx Status FIFO Full Status When high, this bit indicates that the MTL Tx Status FIFO is full.

pub fn ptxq(&self) -> PTXQ_R[src]

Bits 16:18 - Number of Packets in the Transmit Queue This field indicates the current number of packets in the Tx Queue.

pub fn stsxstsf(&self) -> STSXSTSF_R[src]

Bits 20:22 - Number of Status Words in Tx Status FIFO of Queue This field indicates the current number of status in the Tx Status FIFO of this queue.

impl R<u32, Reg<u32, _MTL_TXQX_ETS_CTRL>>[src]

pub fn avalg(&self) -> AVALG_R[src]

Bit 2 - AV Algorithm.

pub fn cc(&self) -> CC_R[src]

Bit 3 - Credit Control.

pub fn slc(&self) -> SLC_R[src]

Bits 4:6 - Credit Control.

impl R<u32, Reg<u32, _MTL_TXQX_ETS_STAT>>[src]

pub fn abs(&self) -> ABS_R[src]

Bits 0:23 - Average Bits per Slot.

impl R<u32, Reg<u32, _MTL_TXQX_QNTM_WGHT>>[src]

pub fn iscqw(&self) -> ISCQW_R[src]

Bits 0:20 - Average Bits per Slot.

impl R<u32, Reg<u32, _MTL_TXQX_SNDSLP_CRDT>>[src]

pub fn ssc(&self) -> SSC_R[src]

Bits 0:13 - sendSlopeCredit.

impl R<u32, Reg<u32, _MTL_TXQX_HI_CRDT>>[src]

pub fn hc(&self) -> HC_R[src]

Bits 0:28 - hiCredit.

impl R<u32, Reg<u32, _MTL_TXQX_LO_CRDT>>[src]

pub fn lc(&self) -> LC_R[src]

Bits 0:28 - loCredit.

impl R<u32, Reg<u32, _MTL_TXQX_INTCTRL_STAT>>[src]

pub fn txunfis(&self) -> TXUNFIS_R[src]

Bit 0 - Transmit Queue Underflow Interrupt Status This bit indicates that the Transmit Queue had an underflow while transmitting the packet.

pub fn abpsis(&self) -> ABPSIS_R[src]

Bit 1 - Average Bits Per Slot Interrupt Status When set, this bit indicates that the MAC has updated the ABS value.

pub fn txuie(&self) -> TXUIE_R[src]

Bit 8 - Transmit Queue Underflow Interrupt Enable When this bit is set, the Transmit Queue Underflow interrupt is enabled.

pub fn abpsie(&self) -> ABPSIE_R[src]

Bit 9 - Average Bits Per Slot Interrupt Enable When this bit is set, the MAC asserts the interrupt when the average bits per slot status is updated.

pub fn rxovfis(&self) -> RXOVFIS_R[src]

Bit 16 - Receive Queue Overflow Interrupt Status This bit indicates that the Receive Queue had an overflow while receiving the packet.

pub fn rxoie(&self) -> RXOIE_R[src]

Bit 24 - Receive Queue Overflow Interrupt Enable When this bit is set, the Receive Queue Overflow interrupt is enabled.

impl R<u32, Reg<u32, _MTL_RXQX_OP_MODE>>[src]

pub fn rtc(&self) -> RTC_R[src]

Bits 0:1 - Receive Queue Threshold Control These bits control the threshold level of the MTL Rx queue (in bytes): 00: 64 01: 32 10: 96 11: 128 The packet received is transferred to the application or DMA when the packet size within the MTL Rx queue is larger than the threshold.

pub fn fup(&self) -> FUP_R[src]

Bit 3 - Forward Undersized Good Packets When this bit is set, the Rx queue forwards the undersized good packets (packets with no error and length less than 64 bytes), including pad-bytes and CRC.

pub fn fep(&self) -> FEP_R[src]

Bit 4 - Forward Error Packets When this bit is reset, the Rx queue drops packets with error status (CRC error, Mll_ER, watchdog timeout, or overflow).

pub fn rsf(&self) -> RSF_R[src]

Bit 5 - Receive Queue Store and Forward When this bit is set, the ethernet block on this chip reads a packet from the Rx queue only after the complete packet has been written to it, ignoring the RTC field of this register.

pub fn dis_tcp_ef(&self) -> DIS_TCP_EF_R[src]

Bit 6 - Disable Dropping of TCP/IP Checksum Error Packets When this bit is set, the MAC does not drop the packets which only have the errors detected by the Receive Checksum Offload engine.

pub fn rqs(&self) -> RQS_R[src]

Bits 20:22 - This field indicates the size of the allocated Receive queues in blocks of 256 bytes.

impl R<u32, Reg<u32, _MTL_RXQX_MISSPKT_OVRFLW_CNT>>[src]

pub fn ovfpktcnt(&self) -> OVFPKTCNT_R[src]

Bits 0:10 - Overflow Packet Counter This field indicates the number of packets discarded by the Ethernet block because of Receive queue overflow.

pub fn ovfcntovf(&self) -> OVFCNTOVF_R[src]

Bit 11 - Overflow Counter Overflow Bit When set, this bit indicates that the Rx Queue Overflow Packet Counter field crossed the maximum limit.

impl R<u32, Reg<u32, _MTL_RXQX_DBG>>[src]

pub fn rwcsts(&self) -> RWCSTS_R[src]

Bit 0 - MTL Rx Queue Write Controller Active Status When high, this bit indicates that the MTL Rx queue Write controller is active, and it is transferring a received packet to the Rx Queue.

pub fn rrcsts(&self) -> RRCSTS_R[src]

Bits 1:2 - MTL Rx Queue Read Controller State This field gives the state of the Rx queue Read controller: 00: Idle state 01: Reading packet data 10: Reading packet status (or timestamp) 11: Flushing the packet data and status.

pub fn rxqsts(&self) -> RXQSTS_R[src]

Bits 4:5 - MTL Rx Queue Fill-Level Status This field gives the status of the fill-level of the Rx Queue: 0x0: Rx Queue empty 0x1: Rx Queue fill-level below flow-control deactivate threshold 0x2: Rx Queue fill-level above flow-control activate threshold 0x3: Rx Queue full.

pub fn prxq(&self) -> PRXQ_R[src]

Bits 16:29 - Number of Packets in Receive Queue This field indicates the current number of packets in the Rx Queue.

impl R<u32, Reg<u32, _MTL_RXQX_CTRL>>[src]

pub fn rxq_wegt(&self) -> RXQ_WEGT_R[src]

Bits 0:2 - Receive Queue Weight This field indicates the weight assigned to the Rx Queue 0.

pub fn rxq_frm_arbit(&self) -> RXQ_FRM_ARBIT_R[src]

Bit 3 - Receive Queue Packet Arbitration When this bit is set, the The ethernet block drives the packet data to the ARI interface such that the entire packet data of currently-selected queue is transmitted before switching to other queue.

impl R<u32, Reg<u32, _DMA_CHX_CTRL>>[src]

pub fn pblx8(&self) -> PBLX8_R[src]

Bit 16 - 8xPBL mode When this bit is set, the PBL value programmed in Bits[21:16] in DMA Channel Transmit Control Table 780 is multiplied eight times.

pub fn dsl(&self) -> DSL_R[src]

Bits 18:20 - Skip Length This bit specifies the Word, Dword, or Lword number (depending on the 32- bit, 64-bit, or 128-bit bus) to skip between two unchained s.

impl R<u32, Reg<u32, _DMA_CHX_TX_CTRL>>[src]

pub fn st(&self) -> ST_R[src]

Bit 0 - Start or Stop Transmission Command When this bit is set, transmission is placed in the Running state.

pub fn tcw(&self) -> TCW_R[src]

Bits 1:3 - Transmit Channel Weight This field indicates the weight assigned to the corresponding Transmit channel.

pub fn osf(&self) -> OSF_R[src]

Bit 4 - Operate on Second Frame When this bit is set, it instructs the DMA to process the second packet of the Transmit data even before the status for the first packet is obtained.

pub fn tx_pbl(&self) -> TXPBL_R[src]

Bits 16:21 - Transmit Programmable Burst Length These bits indicate the maximum number of beats to be transferred in one DMA data transfer.

impl R<u32, Reg<u32, _DMA_CHX_RX_CTRL>>[src]

pub fn sr(&self) -> SR_R[src]

Bit 0 - Start or Stop Receive When this bit is set, the DMA tries to acquire the from the receive list and processes the incoming packets.

pub fn rbsz(&self) -> RBSZ_R[src]

Bits 3:14 - Receive Buffer size This field indicates the size of the Rx buffers specified in bytes.

pub fn rx_pbl(&self) -> RXPBL_R[src]

Bits 16:21 - Receive Programmable Burst Length These bits indicate the maximum number of beats to be transferred in one DMA data transfer.

pub fn rpf(&self) -> RPF_R[src]

Bit 31 - DMA Rx Channel 0 Packet Flush When this bit is set to 1, the DMA will automatically flush the packet from the Rx Queues destined to DMA Rx Channel 0 when the DMA Rx Channel 0 is stopped after a system bus error has occurred.

impl R<u32, Reg<u32, _DMA_CHX_TXDESC_LIST_ADDR>>[src]

pub fn stl(&self) -> STL_R[src]

Bits 2:31 - Start of transmit list This field contains the base address of the first in the Transmit list.

impl R<u32, Reg<u32, _DMA_CHX_RXDESC_LIST_ADDR>>[src]

pub fn srl(&self) -> SRL_R[src]

Bits 2:31 - Start of receive list This field contains the base address of the First in the Receive list.

impl R<u32, Reg<u32, _DMA_CHX_TXDESC_TAIL_PTR>>[src]

pub fn tdtp(&self) -> TDTP_R[src]

Bits 2:31 - Transmit Tail Pointer This field contains the tail pointer for the Tx ring.

impl R<u32, Reg<u32, _DMA_CHX_RXDESC_TAIL_PTR>>[src]

pub fn rdtp(&self) -> RDTP_R[src]

Bits 2:31 - Receive Tail Pointer This field contains the tail pointer for the Rx ring.

impl R<u32, Reg<u32, _DMA_CHX_TXDESC_RING_LENGTH>>[src]

pub fn tdrl(&self) -> TDRL_R[src]

Bits 0:9 - Transmit Ring Length This field sets the maximum number of Tx descriptors in the circular ring.

impl R<u32, Reg<u32, _DMA_CHX_RXDESC_RING_LENGTH>>[src]

pub fn rdrl(&self) -> RDRL_R[src]

Bits 0:9 - Receive Ring Length This register sets the maximum number of Rx descriptors in the circular ring.

impl R<u32, Reg<u32, _DMA_CHX_INT_EN>>[src]

pub fn tie(&self) -> TIE_R[src]

Bit 0 - Transmit interrupt enable When this bit is set with Normal Interrupt Summary Enable (bit 16 in this register), Transmit Interrupt is enabled.

pub fn tse(&self) -> TSE_R[src]

Bit 1 - Transmit stopped enable When this bit is set with Abnormal Interrupt Summary Enable (bit 15 in this register), Transmission Stopped Interrupt is enabled.

pub fn tbue(&self) -> TBUE_R[src]

Bit 2 - Transmit buffer unavailable enable When this bit is set with Normal Interrupt Summary Enable (bit 16 in this register), Transmit Buffer Unavailable Interrupt is enabled.

pub fn rie(&self) -> RIE_R[src]

Bit 6 - Receive interrupt enable When this bit is set with Normal Interrupt Summary Enable (bit 16 in this register), Receive Interrupt is enabled.

pub fn rbue(&self) -> RBUE_R[src]

Bit 7 - Receive buffer unavailable enable When this bit is set with Abnormal Interrupt Summary Enable (bit 15 in this register), Receive Buffer Unavailable Interrupt is enabled.

pub fn rse(&self) -> RSE_R[src]

Bit 8 - Received stopped enable When this bit is set with Abnormal Interrupt Summary Enable (bit 15 in this register), Receive Stopped Interrupt is enabled.

pub fn rwte(&self) -> RWTE_R[src]

Bit 9 - Receive watchdog timeout enable When this bit is set with Abnormal Interrupt Summary Enable (bit 15 in this register), the Receive Watchdog Timeout Interrupt is enabled.

pub fn etie(&self) -> ETIE_R[src]

Bit 10 - Early transmit interrupt enable When this bit is set with an Abnormal Interrupt Summary Enable (bit 15 in this register), Early Transmit Interrupt is enabled.

pub fn erie(&self) -> ERIE_R[src]

Bit 11 - Early receive interrupt enable When this bit is set with Normal Interrupt Summary Enable (bit 16 in this register), Early Receive Interrupt is enabled.

pub fn fbee(&self) -> FBEE_R[src]

Bit 12 - Fatal bus error enable When this bit is set with Abnormal Interrupt Summary Enable (bit 15 in this register), the Fatal Bus Error Interrupt is enabled.

pub fn aie(&self) -> AIE_R[src]

Bit 14 - Abnormal interrupt summary enable When this bit is set, an Abnormal Interrupt summary is enabled.

pub fn nie(&self) -> NIE_R[src]

Bit 15 - Normal interrupt summary enable When this bit is set, a normal interrupt is enabled.

impl R<u32, Reg<u32, _DMA_CHX_RX_INT_WDTIMER>>[src]

pub fn riwt(&self) -> RIWT_R[src]

Bits 0:7 - Receive Interrupt Watchdog Timer Count Indicates the number of system clock cycles multiplied by 256 for which the watchdog timer is set.

impl R<u32, Reg<u32, _DMA_CHX_SLOT_FUNC_CTRL_STAT>>[src]

pub fn esc(&self) -> ESC_R[src]

Bit 0 - Enable Slot Comparison When set, this bit enables the checking of the slot numbers programmed in the Tx descriptor with the current reference given in the RSN field.

pub fn asc(&self) -> ASC_R[src]

Bit 1 - Advance Slot Check When set, this bit enables the D MA to fetch the data from the buffer when the slot number (SLOTNUM) programmed in the Tx descriptor is equal to the reference slot number given in the RSN field or, ahead of the reference slot number by up to two slots This bit is applicable only when the ESC bit is set.

pub fn rsn(&self) -> RSN_R[src]

Bits 16:19 - Reference Slot Number This field gives the current value of the reference slot number in the DMA.

impl R<u32, Reg<u32, _DMA_CHX_CUR_HST_TXDESC>>[src]

pub fn htd(&self) -> HTD_R[src]

Bits 0:31 - Host Transmit descriptor Address Pointer Cleared on Reset.

impl R<u32, Reg<u32, _DMA_CHX_CUR_HST_RXDESC>>[src]

pub fn hrd(&self) -> HRD_R[src]

Bits 0:31 - Host Receive descriptor Address Pointer Cleared on Reset.

impl R<u32, Reg<u32, _DMA_CHX_CUR_HST_TXBUF>>[src]

pub fn htb(&self) -> HTB_R[src]

Bits 0:31 - Host Transmit Buffer Address Pointer Cleared on Reset.

impl R<u32, Reg<u32, _DMA_CHX_CUR_HST_RXBUF>>[src]

pub fn hrb(&self) -> HRB_R[src]

Bits 0:31 - Host Receive Buffer Address Pointer Cleared on Reset.

impl R<u32, Reg<u32, _DMA_CHX_STAT>>[src]

pub fn ti(&self) -> TI_R[src]

Bit 0 - Transmit Interrupt This bit indicates that the packet transmission is complete.

pub fn tps(&self) -> TPS_R[src]

Bit 1 - Transmit Process Stopped This bit is set when the transmission is stopped.

pub fn tbu(&self) -> TBU_R[src]

Bit 2 - Transmit Buffer Unavailable This bit indicates that the application owns the next descriptor in the transmit list, and the DMA cannot acquire it.

pub fn ri(&self) -> RI_R[src]

Bit 6 - Receive Interrupt This bit indicates that the packet reception is complete.

pub fn rbu(&self) -> RBU_R[src]

Bit 7 - Receive Buffer Unavailable This bit indicates that the application owns the next in the receive list, and the DMA cannot acquire it.

pub fn rps(&self) -> RPS_R[src]

Bit 8 - Receive Process Stopped This bit is asserted when the Rx process enters the Stopped state.

pub fn rwt(&self) -> RWT_R[src]

Bit 9 - Receive Watchdog time out This bit is asserted when a packet with length greater than 2,048 bytes (10,240 bytes when Jumbo Packet mode is enabled) is received.

pub fn eti(&self) -> ETI_R[src]

Bit 10 - Early Transmit Interrupt This bit indicates that the packet to be transmitted is fully transferred to the MTL Tx FIFO.

pub fn eri(&self) -> ERI_R[src]

Bit 11 - Early Receive Interrupt This bit indicates that the DMA filled the first data buffer of the packet.

pub fn fbe(&self) -> FBE_R[src]

Bit 12 - Fatal Bus Error This bit indicates that a bus error occurred (as described in the EB field).

pub fn ais(&self) -> AIS_R[src]

Bit 14 - Abnormal Interrupt Summary Abnormal Interrupt Summary bit value is the logical OR of the following when the corresponding interrupt bits are enabled in the DMA Channel Interrupt Enable register Table 778: Bit 1: Transmit Process Stopped Bit 7: Receive Buffer Unavailable Bit 8: Receive Process Stopped Bit 10: Ear1y Transmit Interrupt Bit 12: Fatal Bus Error Only unmasked bits affect the Abnormal Interrupt Summary bit.

pub fn nis(&self) -> NIS_R[src]

Bit 15 - Normal Interrupt Summary Normal Interrupt Summary bit value is the logical OR of the following bits when the corresponding interrupt bits are enabled in the DMA Channel Interrupt Enable register Table 778: Bit 0: Transmit Interrupt Bit 2: Transmit Buffer Unavailable Bit 6: Receive Interrupt Bit 11: Early Receive Interrupt Only unmasked bits (interrupts for which interrupt enable is set in DMA Channel Interrupt Enable register Table 778) affect the Normal Interrupt Summary bit.

pub fn eb(&self) -> EB_R[src]

Bits 16:18 - DMA Error Bits This field indicates the type of error that caused a Bus Error.

impl R<u32, Reg<u32, _MAC_CONFIG>>[src]

pub fn re(&self) -> RE_R[src]

Bit 0 - Receiver Enable When this bit is set, the receiver state machine of the MAC is enabled for receiving frames from the MII.

pub fn te(&self) -> TE_R[src]

Bit 1 - Transmitter Enable When this bit is set, the transmit state machine of the MAC is enabled for transmission on the MII.

pub fn prelen(&self) -> PRELEN_R[src]

Bits 2:3 - Preamble Length for Transmit packets These bits control the number of preamble bytes that are added to the beginning of every Tx packet.

pub fn dc(&self) -> DC_R[src]

Bit 4 - Deferral Check When this bit is set, the deferral check function is enabled in the MAC.

pub fn bl(&self) -> BL_R[src]

Bits 5:6 - Back-Off Limit The Back-Off limit determines the random integer number (r) of slot time delays (4,096 bit times for 1000 Mbps and 512 bit times for 10/100 Mbps) the MAC waits before rescheduling a transmission attempt during retries after a collision.

pub fn dr(&self) -> DR_R[src]

Bit 8 - Disable Retry When this bit is set, the MAC will attempt only one transmission.

pub fn dcrs(&self) -> DCRS_R[src]

Bit 9 - Disable Carrier Sense During Transmission When this bit is set, the MAC transmitter ignores the MII CRS signal during packet transmission in the half-duplex mode.

pub fn do_(&self) -> DO_R[src]

Bit 10 - Disable Receive Own When this bit is set, the MAC disables the reception of frames when the gmii_txen_o is asserted in Half-Duplex mode.

pub fn ecrsfd(&self) -> ECRSFD_R[src]

Bit 11 - Enable Carrier Sense Before Transmission in Full-Duplex Mode When this bit is set, the MAC transmitter checks the CRS signal before packet transmission in the full-duplex mode.

pub fn lm(&self) -> LM_R[src]

Bit 12 - Loopback Mode When this bit is set, the MAC operates in loopback mode at MII.

pub fn dm(&self) -> DM_R[src]

Bit 13 - Duplex Mode When this bit is set, the MAC operates in a Full-Duplex mode where it can transmit and receive simultaneously.

pub fn fes(&self) -> FES_R[src]

Bit 14 - Speed Indicates the speed in Fast Ethernet (MII) mode: This bit is reserved (RO) by default and is enabled only when RMII/SMII is enabled during configuration.

pub fn ps(&self) -> PS_R[src]

Bit 15 - Portselect.

pub fn je(&self) -> JE_R[src]

Bit 16 - Jumbo Frame Enable When this bit is set, MAC allows Jumbo frames of 9,018 bytes (9,022 bytes for tagged frames) without reporting a giant frame error in the receive frame status.

pub fn jd(&self) -> JD_R[src]

Bit 17 - Jabber Disable When this bit is set, the MAC disables the jabber timer on the transmitter, and can transfer frames of up to 16,384 bytes.

pub fn be(&self) -> BE_R[src]

Bit 18 - Packet Burst Enable When this bit is set, the MAC allows packet bursting during transmission in the MII half-duplex mode.

pub fn wd(&self) -> WD_R[src]

Bit 19 - Watchdog Disable When this bit is set, the MAC disables the watchdog timer on the receiver, and can receive frames of up to 16,384 bytes.

pub fn acs(&self) -> ACS_R[src]

Bit 20 - Automatic Pad or CRC Stripping When this bit is set, the MAC strips the Pad or FCS field on the incoming packets only if the value of the length field is less than 1,536 bytes.

pub fn cst(&self) -> CST_R[src]

Bit 21 - CRC stripping for Type packets When this bit is set, the last four bytes (FCS) of all packets of Ether type (type field greater than 1,536) are stripped and dropped before forwarding the packet to the application.

pub fn s2kp(&self) -> S2KP_R[src]

Bit 22 - IEEE 802.

pub fn gpslce(&self) -> GPSLCE_R[src]

Bit 23 - Giant Packet Size Limit Control Enable When this bit is set, the MAC considers the value in GPSL field in MAC Ext Configuration register to declare a received packet as Giant packet.

pub fn ipg(&self) -> IPG_R[src]

Bits 24:26 - Inter-Packet Gap These bits control the minimum IPG between packets during transmission.

pub fn ipc(&self) -> IPC_R[src]

Bit 27 - Checksum Offload When set, this bit enables the IPv4 header checksum checking and IPv4 or IPv6 TCP, UDP, or ICMP payload checksum checking.

impl R<u32, Reg<u32, _MAC_EXT_CONFIG>>[src]

pub fn gpsl(&self) -> GPSL_R[src]

Bits 0:13 - Giant Packet Size Limit If the received packet size is greater than the value programmed in this field in units of bytes, the MAC declares the received packet as Giant packet.

pub fn dcrcc(&self) -> DCRCC_R[src]

Bit 16 - Disable CRC Checking for Received Packets When this bit is set, the MAC receiver does not check the CRC field in the received packets.

pub fn spen(&self) -> SPEN_R[src]

Bit 17 - Slow Protocol Detection Enable When this bit is set, MAC processes the Slow Protocol packets (Ether Type 0x8809) and provides the Rx status.

pub fn usp(&self) -> USP_R[src]

Bit 18 - Unicast Slow Protocol Packet Detect When this bit is set, the MAC detects the Slow Protocol packets with unicast address of the station specified in the MAC Address High Table 747 and MAC Address Low Table 748 registers.

impl R<u32, Reg<u32, _MAC_FRAME_FILTER>>[src]

pub fn pr(&self) -> PR_R[src]

Bit 0 - Promiscuous Mode When this bit is set, the Address Filter module passes all incoming frames regardless of its destination or source address.

pub fn daif(&self) -> DAIF_R[src]

Bit 3 - DA Inverse Filtering When this bit is set, the Address Check block operates in inverse filtering mode for the DA address comparison for both unicast and multicast frames.

pub fn pm(&self) -> PM_R[src]

Bit 4 - Pass All Multicast When set, this bit indicates that all received frames with a multicast destination address (first bit in the destination address field is '1') are passed.

pub fn dbf(&self) -> DBF_R[src]

Bit 5 - Disable Broadcast Frames When this bit is set, the AFM module filters all incoming broadcast frames.

pub fn pcf(&self) -> PCF_R[src]

Bits 6:7 - Pass Control Frames These bits control the forwarding of all control frames (including unicast and multicast PAUSE frames).

pub fn saif(&self) -> SAIF_R[src]

Bit 8 - SA Inverse Filtering When this bit is set, the Address Check block operates in the inverse filtering mode for SA address comparison.

pub fn saf(&self) -> SAF_R[src]

Bit 9 - Source Address Filter Enable When this bit is set, the MAC compares the SA field of the received packets with the values programmed in the enabled SA registers.

pub fn ra(&self) -> RA_R[src]

Bit 31 - Receive all When this bit is set, the MAC Receiver module passes to the Application all frames received irrespective of whether they pass the address filter.

impl R<u32, Reg<u32, _MAC_WD_TIMEROUT>>[src]

pub fn wto(&self) -> WTO_R[src]

Bits 0:3 - Watchdog Timeout When the PWE bit is set and the WD bit of the MAC Configuration register Table 722 is reset, this field is used as watchdog timeout for a received packet.

pub fn pwe(&self) -> PWE_R[src]

Bit 8 - Programmable Watchdog Enable When this bit is set and the WD bit of the MAC Configuration register Table 722 is reset, the WTO field is used as watchdog timeout for a received packet.

impl R<u32, Reg<u32, _MAC_VLAN_TAG>>[src]

pub fn vl(&self) -> VL_R[src]

Bits 0:15 - VLAN Tag Identifier for Receive Packets.

pub fn etv(&self) -> ETV_R[src]

Bit 16 - Enable 12-Bit VLAN Tag Comparison.

pub fn vtim(&self) -> VTIM_R[src]

Bit 17 - VLAN Tag Inverse Match Enable.

pub fn esvl(&self) -> ESVL_R[src]

Bit 18 - Enable S-VLAN.

pub fn ersvlm(&self) -> ERSVLM_R[src]

Bit 19 - Enable Receive S-VLAN Match.

pub fn dovltc(&self) -> DOVLTC_R[src]

Bit 20 - Disable VLAN Type Check.

pub fn evls(&self) -> EVLS_R[src]

Bits 21:22 - Enable VLAN Tag Stripping on Receive.

pub fn evlrxs(&self) -> EVLRXS_R[src]

Bit 24 - Enable VLAN Tag in Rx status.

pub fn vthm(&self) -> VTHM_R[src]

Bit 25 - Disable VLAN Type Check.

pub fn edvlp(&self) -> EDVLP_R[src]

Bit 26 - Enable Double VLAN Processing.

pub fn erivlt(&self) -> ERIVLT_R[src]

Bit 27 - Enable Inner VLAN Tag.

pub fn eivls(&self) -> EIVLS_R[src]

Bits 28:29 - Enable Inner VLAN Tag Stripping on Receive.

pub fn eivlrxs(&self) -> EIVLRXS_R[src]

Bit 31 - Enable Inner VLAN Tag in Rx Status.

impl R<u32, Reg<u32, _MAC_TX_FLOW_CTRL_Q>>[src]

pub fn fcb(&self) -> FCB_R[src]

Bit 0 - Flow Control Busy/Backpressure Activate This register field can be read by the application (Read), can be set to 1 by the application with a register write of 1 (Write Set), and is cleared to 0 by the core (Self Clear).

pub fn tfe(&self) -> TFE_R[src]

Bit 1 - Transmit Flow Control Enable In Full-Duplex mode, when this bit is set, the MAC enables the flow control operation to transmit Pause frames.

pub fn plt(&self) -> PLT_R[src]

Bits 4:6 - Pause Low Threshold This field configures the threshold of the PAUSE timer at which the input flow control signal is checked for automatic retransmission of PAUSE Frame.

pub fn dzpq(&self) -> DZPQ_R[src]

Bit 7 - Disable Zero-Quanta Pause When set, this bit disables the automatic generation of Zero-Quanta Pause Control frames on the deassertion of the flow-control signal from the FIFO layer.

pub fn pt(&self) -> PT_R[src]

Bits 16:31 - Pause time This field holds the value to be used in the Pause Time field in the transmit control frame.

impl R<u32, Reg<u32, _MAC_RX_FLOW_CTRL>>[src]

pub fn rfe(&self) -> RFE_R[src]

Bit 0 - Receive Flow Control Enable When this bit is set and the MAC is operating in full-duplex mode, the MAC decodes the received Pause packet and disables its transmitter for a specified (Pause) time.

pub fn up(&self) -> UP_R[src]

Bit 1 - Unicast Pause Packet Detect A pause packet is processed when it has the unique multicast address specified in the IEEE 802.

impl R<u32, Reg<u32, _MAC_TXQ_PRIO_MAP>>[src]

pub fn pstq0(&self) -> PSTQ0_R[src]

Bits 0:7 - Priorities Selected in Transmit Queue 0 This field holds the priorities assigned to Tx Queue 0 by the software.

pub fn pstq1(&self) -> PSTQ1_R[src]

Bits 8:15 - Priorities Selected in Transmit Queue 1 This bit is similar to the PSTQ0 bit.

impl R<u32, Reg<u32, _MAC_RXQ_CTRL0>>[src]

pub fn rxq0en(&self) -> RXQ0EN_R[src]

Bits 0:1 - Receive Queue 0 Enable.

pub fn rxq1en(&self) -> RXQ1EN_R[src]

Bits 2:3 - Receive Queue 1 Enable.

impl R<u32, Reg<u32, _MAC_RXQ_CTRL1>>[src]

pub fn avcpq(&self) -> AVCPQ_R[src]

Bits 0:2 - AV Untagged Control Packets Queue.

pub fn avptpq(&self) -> AVPTPQ_R[src]

Bits 4:6 - AV PTP Packets Queue.

pub fn upq(&self) -> UPQ_R[src]

Bits 12:14 - Untagged Packet Queue.

pub fn mcbcq(&self) -> MCBCQ_R[src]

Bits 16:18 - Multicast and Broadcast Queue.

pub fn mcbcqen(&self) -> MCBCQEN_R[src]

Bit 20 - Multicast and Broadcast Queue Enable.

impl R<u32, Reg<u32, _MAC_RXQ_CTRL2>>[src]

pub fn psrq0(&self) -> PSRQ0_R[src]

Bits 0:7 - Priorities Selected in the Receive Queue 0.

pub fn psrq1(&self) -> PSRQ1_R[src]

Bits 8:15 - Priorities Selected in the Receive Queue 1.

pub fn psrq2(&self) -> PSRQ2_R[src]

Bits 16:23 - Priorities Selected in the Receive Queue 2.

pub fn psrq3(&self) -> PSRQ3_R[src]

Bits 24:31 - Priorities Selected in the Receive Queue 3.

impl R<u32, Reg<u32, _MAC_INTR_STAT>>[src]

pub fn phyis(&self) -> PHYIS_R[src]

Bit 3 - PHY Interrupt.

pub fn pmtis(&self) -> PMTIS_R[src]

Bit 4 - PMT Interrupt Status.

pub fn lpiis(&self) -> LPIIS_R[src]

Bit 5 - LPI Interrupt Status.

pub fn tsis(&self) -> TSIS_R[src]

Bit 12 - Timestamp interrupt status.

pub fn txstsis(&self) -> TXSTSIS_R[src]

Bit 13 - Transmit Status Interrupt.

pub fn rxstsis(&self) -> RXSTSIS_R[src]

Bit 14 - Receive Status Interrupt.

impl R<u32, Reg<u32, _MAC_INTR_EN>>[src]

pub fn phyie(&self) -> PHYIE_R[src]

Bit 3 - PHY Interrupt Enable.

pub fn pmtie(&self) -> PMTIE_R[src]

Bit 4 - PMT Interrupt Enable.

pub fn lpiie(&self) -> LPIIE_R[src]

Bit 5 - LPI Interrupt Enable.

pub fn tsie(&self) -> TSIE_R[src]

Bit 12 - Timestamp Interrupt Enable.

pub fn txstsie(&self) -> TXSTSIE_R[src]

Bit 13 - Transmit Status Interrupt Enable.

pub fn rxstsis(&self) -> RXSTSIS_R[src]

Bit 14 - Receive Status Interrupt Enable.

impl R<u32, Reg<u32, _MAC_RXTX_STAT>>[src]

pub fn tjt(&self) -> TJT_R[src]

Bit 0 - PHY Interrupt Enable When this bit is set, it enables the assertion of the interrupt signal because of the setting of PHYIS bit in MAC Interrupt Status register Table 731.

pub fn ncarr(&self) -> NCARR_R[src]

Bit 1 - No Carrier When the DTXSTS bit is set in the MTL Operation Mode register Table 758, this bit indicates that the carrier signal from the PHY is not present at the end of preamble transmission.

pub fn lcarr(&self) -> LCARR_R[src]

Bit 2 - Loss of Carrier When the DTXSTS bit is set in the MTL Operation Mode register Table 758, this bit indicates that the loss of carrier occurred during packet transmission, that is, the PHY Carrier signal was inactive for one or more transmission clock periods during packet transmission.

pub fn exdef(&self) -> EXDEF_R[src]

Bit 3 - Excessive Deferral When the DTXSTS bit is set in the MTL Operation Mode register Table 758 and the DC bit is set in the MAC Configuration register Table 758, this bit indicates that the transmission ended because of excessive deferral of over 24,288 bit times (155,680 when Jumbo packet is enabled).

pub fn lcol(&self) -> LCOL_R[src]

Bit 4 - Late Collision When the DTXSTS bit is set in the MTL Operation Mode register Table 758, this bit indicates that the packet transmission aborted because a collision occurred after the collision window (64 bytes including Preamble in MII mode).

pub fn excol(&self) -> EXCOL_R[src]

Bit 5 - Excessive Collisions When the DTXSTS bit is set in the MTL Operation Mode register Table 758, this bit indicates that the transmission aborted after 16 successive collisions while attempting to transmit the current packet.

pub fn rwt(&self) -> RWT_R[src]

Bit 8 - Receive Watchdog Timeout This bit is set when a packet with length greater than 2,048 bytes is received (10,240 bytes when Jumbo Packet mode is enabled) and the WD bit is reset in the MAC Configuration register Table 722.

impl R<u32, Reg<u32, _MAC_PMT_CRTL_STAT>>[src]

pub fn pwrdwn(&self) -> PWRDWN_R[src]

Bit 0 - Transmit LPI Entry When this bit is set, it indicates that the MAC Transmitter has entered the LPI state because of the setting of the LPIEN bit.

pub fn mgkpkten(&self) -> MGKPKTEN_R[src]

Bit 1 - Magic Packet Enable.

pub fn rwkpkten(&self) -> RWKPKTEN_R[src]

Bit 2 - Remote Wake-Up Packet Enable When this bit is set, a power management event is generated when the MAC receives a remote wake-up packet.

pub fn mgkprcvd(&self) -> MGKPRCVD_R[src]

Bit 5 - Magic Packet Received.

pub fn rwkprcvd(&self) -> RWKPRCVD_R[src]

Bit 6 - Remote Wake-Up Packet Received.

pub fn glblucast(&self) -> GLBLUCAST_R[src]

Bit 9 - Global Unicast When this bit set, any unicast packet filtered by the MAC (DAF) address recognition is detected as a remote wake-up packet.

pub fn rwkpfe(&self) -> RWKPFE_R[src]

Bit 10 - Remote Wake-up Packet Forwarding Enable When this bit is set along with RWKPKTEN, the MAC receiver drops all received frames until it receives the expected wake-up frame.

pub fn rwkptr(&self) -> RWKPTR_R[src]

Bits 24:28 - Remote Wake-up FIFO Pointer This field gives the current value (0 to 7) of the Remote Wake-up Packet Filter register pointer.

pub fn rwkfiltrst(&self) -> RWKFILTRST_R[src]

Bit 31 - Remote Wake-Up Packet Filter Register Pointer Reset When this bit is set, the remote wake-up packet filter register pointer is reset to 3'b000.

impl R<u32, Reg<u32, _MAC_RWAKE_FRFLT>>[src]

pub fn addr(&self) -> ADDR_R[src]

Bits 0:31 - WKUPFMFILTER address.

impl R<u32, Reg<u32, _MAC_LPI_CTRL_STAT>>[src]

pub fn tlpien(&self) -> TLPIEN_R[src]

Bit 0 - Transmit LPI Entry When this bit is set, it indicates that the MAC Transmitter has entered the LPI state because of the setting of the LPIEN bit.

pub fn tlpiex(&self) -> TLPIEX_R[src]

Bit 1 - Transmit LPI Exit When this bit is set, it indicates that the MAC transmitter exited the LPI state after the application cleared the LPIEN bit and the LPI TW Timer has expired.

pub fn rlpien(&self) -> RLPIEN_R[src]

Bit 2 - Receive LPI Entry When this bit is set, it indicates that the MAC Receiver has received an LPI pattern and entered the LPI state.

pub fn rlpiex(&self) -> RLPIEX_R[src]

Bit 3 - Receive LPI Exit When this bit is set, it indicates that the MAC Receiver has stopped receiving the LPI pattern on the MII interface, exited the LPI state, and resumed the normal reception.

pub fn tlpist(&self) -> TLPIST_R[src]

Bit 8 - Transmit LPI State When this bit is set, it indicates that the MAC is transmitting the LPI pattern on the MII interface.

pub fn rlpist(&self) -> RLPIST_R[src]

Bit 9 - Receive LPI State When this bit is set, it indicates that the MAC is receiving the LPI pattern on the MII interface.

pub fn lpien(&self) -> LPIEN_R[src]

Bit 16 - LPI Enable When this bit is set, it instructs the MAC Transmitter to enter the LPI state.

pub fn pls(&self) -> PLS_R[src]

Bit 17 - PHY Link Status This bit indicates the link status of the PHY.

pub fn lpitxa(&self) -> LPITXA_R[src]

Bit 19 - LPI Tx Automate This bit controls the behavior of the MAC when it is entering or coming out of the LPI mode on the Transmit side.

pub fn lpiate(&self) -> LPIATE_R[src]

Bit 20 - LPI Timer Enable This bit controls the automatic entry of the MAC Transmitter into and exit out of the LPI state.

pub fn lpitcse(&self) -> LPITCSE_R[src]

Bit 21 - LPI Tx Clock Stop Enable When this bit is set, the MAC asserts LPI Tx Clock Gating Control signal high after it enters Tx LPI mode to indicate that the Tx clock to MAC can be stopped.

impl R<u32, Reg<u32, _MAC_LPI_TIMER_CTRL>>[src]

pub fn twt(&self) -> TWT_R[src]

Bits 0:15 - LPI TW Timer This field specifies the minimum time (in microseconds) for which the MAC waits after it stops transmitting the LPI pattern to the PHY and before it resumes the normal transmission.

pub fn lst(&self) -> LST_R[src]

Bits 16:25 - LPI LS Timer This field specifies the minimum time (in milliseconds) for which the link status from the PHY should be up (OKAY) before the LPI pattern can be transmitted to the PHY.

impl R<u32, Reg<u32, _MAC_LPI_ENTR_TIMR>>[src]

pub fn lpiet(&self) -> LPIET_R[src]

Bits 3:19 - LPI Entry Timer This field specifies the time in microseconds the MAC will wait to enter LPI mode, after it has transmitted all the frames.

impl R<u32, Reg<u32, _MAC_1US_TIC_COUNTR>>[src]

pub fn tic_1us_cntr(&self) -> TIC_1US_CNTR_R[src]

Bits 0:11 - 1US TIC Counter The application must program this counter so that the number of clock cycles of CSR clock is 1us.

impl R<u32, Reg<u32, _MAC_VERSION>>[src]

pub fn snpver(&self) -> SNPVER_R[src]

Bits 0:7 - NXP defined version.

pub fn userver(&self) -> USERVER_R[src]

Bits 8:15 - User defined version.

impl R<u32, Reg<u32, _MAC_DBG>>[src]

pub fn repests(&self) -> REPESTS_R[src]

Bit 0 - MAC MII Receive Protocol Engine Status When this bit is set, it indicates that the MAC MII receive protocol engine is actively receiving data, and it is not in the Idle state.

pub fn rfcfcsts(&self) -> RFCFCSTS_R[src]

Bits 1:2 - MAC Receive Packet Controller FIFO Status When this bit is set, this field indicates the active state of the small FIFO Read and Write controllers of the MAC Receive Packet Controller module.

pub fn tpests(&self) -> TPESTS_R[src]

Bit 16 - MAC MII Transmit Protocol Engine Status When this bit is set, it indicates that the MAC or MII transmit protocol engine is actively transmitting data, and it is not in the Idle state.

pub fn tfcsts(&self) -> TFCSTS_R[src]

Bits 17:18 - MAC Transmit Packet Controller Status This field indicates the state of the MAC Transmit Packet Controller module.

impl R<u32, Reg<u32, _MAC_HW_FEAT0>>[src]

pub fn miisel(&self) -> MIISEL_R[src]

Bit 0 - 10 or 100 Mbps Support.

pub fn hdsel(&self) -> HDSEL_R[src]

Bit 2 - Half-duplex Support.

pub fn vlhash(&self) -> VLHASH_R[src]

Bit 4 - Hash Table Based Filtering option.

pub fn smasel(&self) -> SMASEL_R[src]

Bit 5 - SMA (MDIO) Interface.

pub fn rwksel(&self) -> RWKSEL_R[src]

Bit 6 - PMT Remote Wake-up Packet Detection.

pub fn mgksel(&self) -> MGKSEL_R[src]

Bit 7 - PMT magic packet detection.

pub fn mmcsel(&self) -> MMCSEL_R[src]

Bit 8 - RMON Module Enable.

pub fn arpoffsel(&self) -> ARPOFFSEL_R[src]

Bit 9 - ARP Offload Enabled.

pub fn tssel(&self) -> TSSEL_R[src]

Bit 12 - IEEE 1588-2008 Timestamp support .

pub fn eeesel(&self) -> EEESEL_R[src]

Bit 13 - Energy Efficient Ethernet Support .

pub fn txcoesel(&self) -> TXCOESEL_R[src]

Bit 14 - Transmit Checksum Offload Support.

pub fn rxcoesel(&self) -> RXCOESEL_R[src]

Bit 16 - Receive Checksum Offload Support.

pub fn tsstssel(&self) -> TSSTSSEL_R[src]

Bits 25:26 - Timestamp System Time Source.

pub fn actphysel(&self) -> ACTPHYSEL_R[src]

Bits 28:30 - Active PHY Selected.

impl R<u32, Reg<u32, _MAC_HW_FEAT1>>[src]

pub fn rxfifosize(&self) -> RXFIFOSIZE_R[src]

Bits 0:4 - MTL Receive FIFO Size.

pub fn txfifosize(&self) -> TXFIFOSIZE_R[src]

Bits 6:10 - MTL Transmit FIFO Size.

pub fn osten(&self) -> OSTEN_R[src]

Bit 11 - One-Step Timestamping Feature.

pub fn ptoen(&self) -> PTOEN_R[src]

Bit 12 - PTP OffLoad Feature.

pub fn advthword(&self) -> ADVTHWORD_R[src]

Bit 13 - IEEE 1588 High Word Register Feature.

pub fn addr64(&self) -> ADDR64_R[src]

Bits 14:15 - Address width.

pub fn dcben(&self) -> DCBEN_R[src]

Bit 16 - Data Center Bridging feature.

pub fn spen(&self) -> SPEN_R[src]

Bit 17 - Split Header Structure feature.

pub fn tsoen(&self) -> TSOEN_R[src]

Bit 18 - TCP Segment Offload Feature.

pub fn dbgmema(&self) -> DBGMEMA_R[src]

Bit 19 - DMA Debug Register Feature.

pub fn avsel(&self) -> AVSEL_R[src]

Bit 20 - Audio Video Bridging Feature.

pub fn lpmodeen(&self) -> LPMODEEN_R[src]

Bit 23 - Low Power Mode Feature Support .

pub fn hashtblsz(&self) -> HASHTBLSZ_R[src]

Bits 24:25 - Hash Table Size.

pub fn l3_l4_filter(&self) -> L3_L4_FILTER_R[src]

Bits 27:30 - Total Number of L3 and L4 Filters .

impl R<u32, Reg<u32, _MAC_HW_FEAT2>>[src]

pub fn rxqcnt(&self) -> RXQCNT_R[src]

Bits 0:3 - Number of MTL Receive Queues.

pub fn txqcnt(&self) -> TXQCNT_R[src]

Bits 6:9 - Number of MTL Transmit Queues.

pub fn rxchcnt(&self) -> RXCHCNT_R[src]

Bits 12:15 - Number of DMA Receive Channels.

pub fn txchcnt(&self) -> TXCHCNT_R[src]

Bits 18:21 - Number of DMA Transmit Channels.

pub fn ppsoutnum(&self) -> PPSOUTNUM_R[src]

Bits 24:26 - Number of PPS Outputs.

pub fn auxsnapnum(&self) -> AUXSNAPNUM_R[src]

Bits 28:30 - Number of Auxiliary Snapshot Inputs.

impl R<u32, Reg<u32, _MAC_MDIO_ADDR>>[src]

pub fn mb(&self) -> MB_R[src]

Bit 0 - MII busy.

pub fn moc(&self) -> MOC_R[src]

Bits 2:3 - MII Operation Command.

pub fn cr(&self) -> CR_R[src]

Bits 8:11 - CSR Clock Range.

pub fn ntc(&self) -> NTC_R[src]

Bits 12:14 - Number of Training Clocks This field controls the number of trailing clock cycles generated on MDC after the end of transmission of MDIO frame.

pub fn rda(&self) -> RDA_R[src]

Bits 16:20 - Register/Device Address These bits select the PHY register in selected PHY device.

pub fn pa(&self) -> PA_R[src]

Bits 21:25 - Physical Layer Address This field indicates which PHY devices (out of 32 devices) the MAC is accessing.

pub fn btb(&self) -> BTB_R[src]

Bit 26 - Back to Back transactions When this bit is set and the NTC has value greater than 0, then the MAC will inform the completion of a read or write command at the end of frame transfer (before the trailing clocks are transmitted).

pub fn pse(&self) -> PSE_R[src]

Bit 27 - Preamble Suppression Enable When this bit is set, the SMA will suppress the 32-bit preamble and transmit MDIO frames with only 1 preamble bit.

impl R<u32, Reg<u32, _MAC_MDIO_DATA>>[src]

pub fn md(&self) -> MD_R[src]

Bits 0:15 - MII Data This field contains the 16-bit data value read from the PHY after a Management Read operation or the 16-bit data value to be written to the PHY before a Management Write operation.

impl R<u32, Reg<u32, _MAC_ADDR_HIGH>>[src]

pub fn a47_32(&self) -> A47_32_R[src]

Bits 0:15 - MAC Address0 [47:32] This field contains the upper 16 bits (47:32) of the 6-byte first MAC address.

pub fn dcs(&self) -> DCS_R[src]

Bit 16 - DMA Channel Select This field contains the DMA Channel number to which the Rx packet whose DA matches the MAC Address content is routed.

pub fn ae(&self) -> AE_R[src]

Bit 31 - Address Enable.

impl R<u32, Reg<u32, _MAC_ADDR_LOW>>[src]

pub fn a31_0(&self) -> A31_0_R[src]

Bits 0:31 - MAC Address0 [31:0] This field contains the lower 32 bits of the 6-byte first MAC address.

impl R<u32, Reg<u32, _MAC_TIMESTAMP_CTRL>>[src]

pub fn tsena(&self) -> TSENA_R[src]

Bit 0 - Enable Timestamp When this bit is set, the timestamp is added for Transmit and Receive packets.

pub fn tscfupdt(&self) -> TSCFUPDT_R[src]

Bit 1 - Fine or Coarse Timestamp Update When this bit is set, the Fine method is used to update system timestamp.

pub fn tsinit(&self) -> TSINIT_R[src]

Bit 2 - Initialize Timestamp When this bit is set, the system time is initialized (overwritten) with the value specified in the MAC Register 80 (System Time Seconds Update.

pub fn tsupdt(&self) -> TSUPDT_R[src]

Bit 3 - Update Timestamp When this bit is set, the system time is updated (added or subtracted) with the value specified in MAC System Time Seconds Update Table 753 and MAC System Time Nanoseconds Update Table 754.

pub fn tstrig(&self) -> TSTRIG_R[src]

Bit 4 - Enable Timestamp Interrupt Trigger When this bit is set, the timestamp interrupt is generated when the System Time becomes greater than the value written in the Target Time register.

pub fn taddreg(&self) -> TADDREG_R[src]

Bit 5 - Update Addend Register When this bit is set, the content of the Timestamp Addend register is updated in the PTP block for fine correction.

pub fn tsenall(&self) -> TSENALL_R[src]

Bit 8 - Enable Timestamp for All Packets When this bit is set, the timestamp snapshot is enabled for all packets received by the MAC.

pub fn tsctrlssr(&self) -> TSCTRLSSR_R[src]

Bit 9 - Timestamp Digital or Binary Rollover Control When this bit is set, the Timestamp Low register rolls over after 0x3B9AC9FF value (that is, 1 nanosecond accuracy) and increments the timestamp (High) seconds.

pub fn tsver2ena(&self) -> TSVER2ENA_R[src]

Bit 10 - Enable PTP Packet Processing for Version 2 Format When this bit is set, the IEEE 1588 version 2 format is used to process the PTP packets.

pub fn tsipena(&self) -> TSIPENA_R[src]

Bit 11 - Enable Processing of PTP over Ethernet Packets When this bit is set, the MAC receiver processes the PTP packets encapsulated directly in the Ethernet packets.

pub fn tsipv6ena(&self) -> TSIPV6ENA_R[src]

Bit 12 - Enable Processing of PTP Packets Sent over 1Pv6-UDP When this bit is set, the MAC receiver processes the PTP packets encapsulated in IPv6-UDP packets.

pub fn tsipv4ena(&self) -> TSIPV4ENA_R[src]

Bit 13 - Enable Processing of PTP Packets Sent over IPv4-UDP When this bit is set, the MAC receiver processes the PTP packets encapsulated in IPv4-UDP packets.

pub fn tsevtena(&self) -> TSEVTENA_R[src]

Bit 14 - Enable Timestamp Snapshot for Event Messages When this bit is set, the timestamp snapshot is taken only for event messages (SYNC, Delay_Req, Pdelay_Req, or Pdelay_Resp).

pub fn tsmstrena(&self) -> TSMSTRENA_R[src]

Bit 15 - Enable Snapshot for Messages Relevant to Master When this bit is set, the snapshot is taken only for the messages that are relevant to the master node.

pub fn snaptypsel(&self) -> SNAPTYPSEL_R[src]

Bits 16:17 - Select PTP packets for Taking Snapshots These bits, along with Bits 15 and 14, decide the set of PTP packet types for which snapshot needs to be taken.

pub fn tsenmacaddr(&self) -> TSENMACADDR_R[src]

Bit 18 - Enable MAC Address for PTP Packet Filtering When this bit is set, the DA MAC address (that matches any MAC Address register) is used to filter the PTP packets when PTP is directly sent over Ethernet.

pub fn txttsstsm(&self) -> TXTTSSTSM_R[src]

Bit 24 - Transmit Timestamp Status Mode When this bit is set, the MAC overwrites the earlier transmit timestamp status even if it is not read by the software.

pub fn av8021asmen(&self) -> AV8021ASMEN_R[src]

Bit 28 - AV 802.

impl R<u32, Reg<u32, _MAC_SUB_SCND_INCR>>[src]

pub fn ssinc(&self) -> SSINC_R[src]

Bits 16:23 - Sub-second increment value.

impl R<u32, Reg<u32, _MAC_SYS_TIME_SCND>>[src]

pub fn tss(&self) -> TSS_R[src]

Bits 0:31 - Time stamp second The value in this field indicates the current value in seconds of the System Time maintained by the MAC.

impl R<u32, Reg<u32, _MAC_SYS_TIME_NSCND>>[src]

pub fn tsss(&self) -> TSSS_R[src]

Bits 0:30 - Time stamp sub seconds The value in this field has the sub second representation of time, with an accuracy of 0.

impl R<u32, Reg<u32, _MAC_SYS_TIME_SCND_UPD>>[src]

pub fn tss(&self) -> TSS_R[src]

Bits 0:31 - Time stamp second The value in this field indicates the time, in seconds, to be initialized or added to the system time.

impl R<u32, Reg<u32, _MAC_SYS_TIME_NSCND_UPD>>[src]

pub fn tsss(&self) -> TSSS_R[src]

Bits 0:30 - Time stamp sub seconds The value in this field has the sub second representation of time, with an accuracy of 0.

pub fn addsub(&self) -> ADDSUB_R[src]

Bit 31 - Add or subtract time When this bit is set, the time value is subtracted with the contents of the update register.

impl R<u32, Reg<u32, _MAC_SYS_TIMESTMP_ADDEND>>[src]

pub fn tsar(&self) -> TSAR_R[src]

Bits 0:31 - Time stamp addend This register indicates the 32-bit time value to be added to the Accumulator register to achieve time synchronization.

impl R<u32, Reg<u32, _MAC_SYS_TIME_HWORD_SCND>>[src]

pub fn tshwr(&self) -> TSHWR_R[src]

Bits 0:15 - Time stamp higher word Contains the most significant 16-bits of the Time stamp seconds value.

impl R<u32, Reg<u32, _MAC_SYS_TIMESTMP_STAT>>[src]

pub fn tssovf(&self) -> TSSOVF_R[src]

Bit 0 - Time stamp seconds overflow When set, indicates that the seconds value of the Time stamp has overflowed beyond 0xFFFF_FFFF.

impl R<u32, Reg<u32, _MAC_TX_TIMESTAMP_STATUS_NANOSECONDS>>[src]

pub fn txtsstslo(&self) -> TXTSSTSLO_R[src]

Bits 0:30 - Transmit timestamp status low.

pub fn txtsstsmis(&self) -> TXTSSTSMIS_R[src]

Bit 31 - Transmit timestamp status missed.

impl R<u32, Reg<u32, _MAC_TX_TIMESTAMP_STATUS_SECONDS>>[src]

pub fn txtsstshi(&self) -> TXTSSTSHI_R[src]

Bits 0:31 - Transmit timestamp status high.

impl R<u32, Reg<u32, _MAC_TIMESTAMP_INGRESS_CORR_NANOSECOND>>[src]

pub fn tsic(&self) -> TSIC_R[src]

Bits 0:31 - Transmit ingress correction.

impl R<u32, Reg<u32, _MAC_TIMESTAMP_EGRESS_CORR_NANOSECOND>>[src]

pub fn tsec(&self) -> TSEC_R[src]

Bits 0:31 - Transmit egress correction.

impl R<u32, Reg<u32, _MTL_OP_MODE>>[src]

pub fn dtxsts(&self) -> DTXSTS_R[src]

Bit 1 - Drop Transmit Status When this bit is set, the Tx packet status received from the MAC is dropped in the MTL.

pub fn raa(&self) -> RAA_R[src]

Bit 2 - Receive Arbitration Algorithm This field is used to select the arbitration algorithm for the Rx side.

pub fn schalg(&self) -> SCHALG_R[src]

Bits 5:6 - Tx Scheduling Algorithm This field indicates the algorithm for Tx scheduling: 0x00: WRR algorithm 0x1: Reserved 0x2: Reserved 0x3: Strict priority algorithm.

pub fn cntprst(&self) -> CNTPRST_R[src]

Bit 8 - Counters Preset When this bit is set, MTL TxQ0 Underflow register (Table 762) and MTL_TxQ1_Underflow (Table 762) registers are initialized/preset to 0x7F0.

pub fn cntclr(&self) -> CNTCLR_R[src]

Bit 9 - Counters Reset When this bit is set, all counters are reset.

impl R<u32, Reg<u32, _MTL_INTR_STAT>>[src]

pub fn q0is(&self) -> Q0IS_R[src]

Bit 0 - Queue 0 Interrupt status This bit indicates that there is an interrupt from Queue 0.

pub fn q1is(&self) -> Q1IS_R[src]

Bit 1 - Queue 1 Interrupt status This bit indicates that there is an interrupt from Queue 1.

impl R<u32, Reg<u32, _MTL_RXQ_DMA_MAP>>[src]

pub fn q0mdmach(&self) -> Q0MDMACH_R[src]

Bit 0 - Queue 0 Mapped to DMA Channel This field controls the routing of the packet received in Queue 0 to the DMA channel: 0: DMA Channel 0 1: DMA Channel 1 This field is valid when the Q0DDMACH field is reset.

pub fn q0ddmach(&self) -> Q0DDMACH_R[src]

Bit 4 - Queue 0 Enabled for DA-based DMA Channel Selection When set, this bit indicates that the packets received in Queue 0 are routed to a particular DMA channel as decided in the MAC Receiver based on the DMA channel number programmed in the L3-L4 filter registers, or the Ethernet DA address.

pub fn q1mdmach(&self) -> Q1MDMACH_R[src]

Bit 8 - Queue 1 Mapped to DMA Channel This field controls the routing of the received packet in Queue 1 to the DMA channel: 0: DMA Channel 0 1: DMA Channel 1 This field is valid when the Q1DDMACH field is reset.

pub fn q1ddmach(&self) -> Q1DDMACH_R[src]

Bit 12 - Queue 1 Enabled for DA-based DMA Channel Selection When set, this bit indicates that the packets received in Queue 1 are routed to a particular DMA channel as decided in the MAC Receiver based on the DMA channel number programmed in the L3-L4 filter registers, or the Ethernet DA address.

impl R<u32, Reg<u32, _DMA_MODE>>[src]

pub fn swr(&self) -> SWR_R[src]

Bit 0 - Software Reset When this bit is set, the MAC and the OMA controller reset the logic and all internal registers of the OMA, MTL, and MAC.

pub fn da(&self) -> DA_R[src]

Bit 1 - DMA Tx or Rx Arbitration Scheme This bit specifies the arbitration scheme between the Transmit and Receive paths of all channels: The Tx path has priority over the Rx path when the TXPR bit is set.

pub fn taa(&self) -> TAA_R[src]

Bits 2:4 - Transmit Arbitration Algorithm This field is used to select the arbitration algorithm for the Transmit side when multiple Tx DMAs are selected.

pub fn txpr(&self) -> TXPR_R[src]

Bit 11 - Transmit Priority When set, this bit indicates that the Tx DMA has higher priority than the Rx DMA during arbitration for the system-side bus.

pub fn pr(&self) -> PR_R[src]

Bits 12:14 - Priority Ratio These bits control the priority ratio in weighted round-robin arbitration between the Rx DMA and Tx DMA.

impl R<u32, Reg<u32, _DMA_SYSBUS_MODE>>[src]

pub fn fb(&self) -> FB_R[src]

Bit 0 - Fixed Burst Length When this bit is set to 1, the AHB master will initiate burst transfers of specified length (INCRx or SINGLE).

pub fn aal(&self) -> AAL_R[src]

Bit 12 - Address-Aligned Beats When this bit is set to 1, the AHB master performs address-aligned burst transfers on Read and Write channels.

pub fn mb(&self) -> MB_R[src]

Bit 14 - Mixed Burst When this bit is set high and the FB bit is low, the AHB master performs undefined bursts transfers (INCR) for burst length of 16 or more.

pub fn rb(&self) -> RB_R[src]

Bit 15 - Rebuild INCRx Burst When this bit is set high and the AHB master gets SPLIT, RETRY, or EarlyBurst Termination (EBT) response, the AHB master interface rebuilds the pending beats of any initiated burst transfer with INCRx and SINGLEtransfers.

impl R<u32, Reg<u32, _DMA_INTR_STAT>>[src]

pub fn dc0is(&self) -> DC0IS_R[src]

Bit 0 - DMA Channel 0 Interrupt Status This bit indicates an interrupt event in DMA Channel 0.

pub fn dc1is(&self) -> DC1IS_R[src]

Bit 1 - DMA Channel 1 Interrupt Status This bit indicates an interrupt event in DMA Channel 1.

pub fn mtlis(&self) -> MTLIS_R[src]

Bit 16 - MTL Interrupt Status This bit indicates an interrupt event in the MTL.

pub fn macis(&self) -> MACIS_R[src]

Bit 17 - MAC Interrupt Status This bit indicates an interrupt event in the MAC.

impl R<u32, Reg<u32, _DMA_DBG_STAT>>[src]

pub fn ahsts(&self) -> AHSTS_R[src]

Bit 0 - AHB Master Status When high, this bit indicates that the AHB master FSMs are in the non-idle state.

pub fn rps0(&self) -> RPS0_R[src]

Bits 8:11 - DMA Channel 0 Receive Process State This field indicates the Rx DMA FSM state for Channel 0: 0x0: Stopped (Reset or Stop Receive Command issued) 0x1: Running (Fetching Rx Transfer ) 0x2: Reserved 0x3: Running (Waiting for Rx packet) 0x4: Suspended (Rx Unavailable) 0x5: Running (Closing the Rx) 0x6: Timestamp write state 0x7: Running (Transferring the received packet data from the Rx buffer to the system memory) This field does not generate an interrupt.

pub fn tps0(&self) -> TPS0_R[src]

Bits 12:15 - DMA Channel 0 Transmit Process State This field indicates the Tx DMA FSM state for Channel 0: 000: Stopped (Reset or Stop Transmit Command issued) 0x1: Running (Fetching Tx Transfer) 0x2: Running (Waiting for status) 0x3: Running (Reading Data from system memory buffer and queuing it to the Tx buffer (Tx FIFO)) 0x4: Timestamp write state 0x5: Reserved for future use 0x6: Suspended (Tx Unavailable or Tx Buffer Underflow) 0x7: Running (Closing Tx ) This field does not generate an interrupt.

pub fn rps1(&self) -> RPS1_R[src]

Bits 16:19 - DMA Channel 1 Receive Process State This field indicates the Rx DMA FSM state for Channel 1.

pub fn tps1(&self) -> TPS1_R[src]

Bits 20:23 - DMA Channel 1 Transmit Process State This field indicates the Tx DMA FSM state for Channel 1.

impl R<u32, Reg<u32, _DEVCMDSTAT>>[src]

pub fn dev_addr(&self) -> DEV_ADDR_R[src]

Bits 0:6 - USB device address.

pub fn dev_en(&self) -> DEV_EN_R[src]

Bit 7 - USB device enable.

pub fn setup(&self) -> SETUP_R[src]

Bit 8 - SETUP token received.

pub fn force_needclk(&self) -> FORCE_NEEDCLK_R[src]

Bit 9 - Forces the NEEDCLK output to always be on:.

pub fn force_vbus(&self) -> FORCE_VBUS_R[src]

Bit 10 - If this bit is set to 1, the VBUS voltage indicators from the PHY are overruled.

pub fn lpm_sup(&self) -> LPM_SUP_R[src]

Bit 11 - LPM Supported:.

pub fn intonnak_ao(&self) -> INTONNAK_AO_R[src]

Bit 12 - Interrupt on NAK for interrupt and bulk OUT EP:.

pub fn intonnak_ai(&self) -> INTONNAK_AI_R[src]

Bit 13 - Interrupt on NAK for interrupt and bulk IN EP:.

pub fn intonnak_co(&self) -> INTONNAK_CO_R[src]

Bit 14 - Interrupt on NAK for control OUT EP:.

pub fn intonnak_ci(&self) -> INTONNAK_CI_R[src]

Bit 15 - Interrupt on NAK for control IN EP:.

pub fn dcon(&self) -> DCON_R[src]

Bit 16 - Device status - connect.

pub fn dsus(&self) -> DSUS_R[src]

Bit 17 - Device status - suspend.

pub fn lpm_sus(&self) -> LPM_SUS_R[src]

Bit 19 - Device status - LPM Suspend.

pub fn lpm_rewp(&self) -> LPM_REWP_R[src]

Bit 20 - LPM Remote Wake-up Enabled by USB host.

pub fn speed(&self) -> SPEED_R[src]

Bits 22:23 - This field indicates the speed at which the device operates: 00b: reserved 01b: full-speed 10b: high-speed 11b: super-speed (reserved for future use).

pub fn dcon_c(&self) -> DCON_C_R[src]

Bit 24 - Device status - connect change.

pub fn dsus_c(&self) -> DSUS_C_R[src]

Bit 25 - Device status - suspend change.

pub fn dres_c(&self) -> DRES_C_R[src]

Bit 26 - Device status - reset change.

pub fn vbus_debounced(&self) -> VBUS_DEBOUNCED_R[src]

Bit 28 - This bit indicates if VBUS is detected or not.

pub fn phy_test_mode(&self) -> PHY_TEST_MODE_R[src]

Bits 29:31 - This field is written by firmware to put the PHY into a test mode as defined by the USB2.

impl R<u32, Reg<u32, _INFO>>[src]

pub fn frame_nr(&self) -> FRAME_NR_R[src]

Bits 0:10 - Frame number.

pub fn err_code(&self) -> ERR_CODE_R[src]

Bits 11:14 - The error code which last occurred:.

pub fn minrev(&self) -> MINREV_R[src]

Bits 16:23 - Minor revision.

pub fn majrev(&self) -> MAJREV_R[src]

Bits 24:31 - Major revision.

impl R<u32, Reg<u32, _EPLISTSTART>>[src]

pub fn ep_list_prg(&self) -> EP_LIST_PRG_R[src]

Bits 8:19 - Programmable portion of the USB EP Command/Status List address.

pub fn ep_list_fixed(&self) -> EP_LIST_FIXED_R[src]

Bits 20:31 - Fixed portion of USB EP Command/Status List address.

impl R<u32, Reg<u32, _DATABUFSTART>>[src]

pub fn da_buf(&self) -> DA_BUF_R[src]

Bits 0:31 - Start address of the memory page where all endpoint data buffers are located.

impl R<u32, Reg<u32, _LPM>>[src]

pub fn hird_hw(&self) -> HIRD_HW_R[src]

Bits 0:3 - Host Initiated Resume Duration - HW.

pub fn hird_sw(&self) -> HIRD_SW_R[src]

Bits 4:7 - Host Initiated Resume Duration - SW.

pub fn data_pending(&self) -> DATA_PENDING_R[src]

Bit 8 - As long as this bit is set to one and LPM supported bit is set to one, HW will return a NYET handshake on every LPM token it receives.

impl R<u32, Reg<u32, _EPSKIP>>[src]

pub fn skip(&self) -> SKIP_R[src]

Bits 0:11 - Endpoint skip: Writing 1 to one of these bits, will indicate to HW that it must deactivate the buffer assigned to this endpoint and return control back to software.

impl R<u32, Reg<u32, _EPINUSE>>[src]

pub fn buf(&self) -> BUF_R[src]

Bits 2:11 - Buffer in use: This register has one bit per physical endpoint.

impl R<u32, Reg<u32, _EPBUFCFG>>[src]

pub fn buf_sb(&self) -> BUF_SB_R[src]

Bits 2:11 - Buffer usage: This register has one bit per physical endpoint.

impl R<u32, Reg<u32, _INTSTAT>>[src]

pub fn ep0out(&self) -> EP0OUT_R[src]

Bit 0 - Interrupt status register bit for the Control EP0 OUT direction.

pub fn ep0in(&self) -> EP0IN_R[src]

Bit 1 - Interrupt status register bit for the Control EP0 IN direction.

pub fn ep1out(&self) -> EP1OUT_R[src]

Bit 2 - Interrupt status register bit for the EP1 OUT direction.

pub fn ep1in(&self) -> EP1IN_R[src]

Bit 3 - Interrupt status register bit for the EP1 IN direction.

pub fn ep2out(&self) -> EP2OUT_R[src]

Bit 4 - Interrupt status register bit for the EP2 OUT direction.

pub fn ep2in(&self) -> EP2IN_R[src]

Bit 5 - Interrupt status register bit for the EP2 IN direction.

pub fn ep3out(&self) -> EP3OUT_R[src]

Bit 6 - Interrupt status register bit for the EP3 OUT direction.

pub fn ep3in(&self) -> EP3IN_R[src]

Bit 7 - Interrupt status register bit for the EP3 IN direction.

pub fn ep4out(&self) -> EP4OUT_R[src]

Bit 8 - Interrupt status register bit for the EP4 OUT direction.

pub fn ep4in(&self) -> EP4IN_R[src]

Bit 9 - Interrupt status register bit for the EP4 IN direction.

pub fn ep5out(&self) -> EP5OUT_R[src]

Bit 10 - Interrupt status register bit for the EP5 OUT direction.

pub fn ep5in(&self) -> EP5IN_R[src]

Bit 11 - Interrupt status register bit for the EP5 IN direction.

pub fn frame_int(&self) -> FRAME_INT_R[src]

Bit 30 - Frame interrupt.

pub fn dev_int(&self) -> DEV_INT_R[src]

Bit 31 - Device status interrupt.

impl R<u32, Reg<u32, _INTEN>>[src]

pub fn ep_int_en(&self) -> EP_INT_EN_R[src]

Bits 0:11 - If this bit is set and the corresponding USB interrupt status bit is set, a HW interrupt is generated on the interrupt line.

pub fn frame_int_en(&self) -> FRAME_INT_EN_R[src]

Bit 30 - If this bit is set and the corresponding USB interrupt status bit is set, a HW interrupt is generated on the interrupt line.

pub fn dev_int_en(&self) -> DEV_INT_EN_R[src]

Bit 31 - If this bit is set and the corresponding USB interrupt status bit is set, a HW interrupt is generated on the interrupt line.

impl R<u32, Reg<u32, _INTSETSTAT>>[src]

pub fn ep_set_int(&self) -> EP_SET_INT_R[src]

Bits 0:11 - If software writes a one to one of these bits, the corresponding USB interrupt status bit is set.

pub fn frame_set_int(&self) -> FRAME_SET_INT_R[src]

Bit 30 - If software writes a one to one of these bits, the corresponding USB interrupt status bit is set.

pub fn dev_set_int(&self) -> DEV_SET_INT_R[src]

Bit 31 - If software writes a one to one of these bits, the corresponding USB interrupt status bit is set.

impl R<u32, Reg<u32, _EPTOGGLE>>[src]

pub fn toggle(&self) -> TOGGLE_R[src]

Bits 0:29 - Endpoint data toggle: This field indicates the current value of the data toggle for the corresponding endpoint.

impl R<u32, Reg<u32, _ULPIDEBUG>>[src]

pub fn phy_addr(&self) -> PHY_ADDR_R[src]

Bits 0:7 - ULPI mode: Bits 7:0 are used as the address when doing a register access over the ULPI interface.

pub fn phy_wdata(&self) -> PHY_WDATA_R[src]

Bits 8:15 - UTMI+ mode: Reserved.

pub fn phy_rdata(&self) -> PHY_RDATA_R[src]

Bits 16:23 - UTMI+ mode: Bits 7:0 contains the value returned by the VStatus signal on Vendor Interface of UTMI+.

pub fn phy_rw(&self) -> PHY_RW_R[src]

Bit 24 - UTMI+ mode: Reserved.

pub fn phy_access(&self) -> PHY_ACCESS_R[src]

Bit 25 - Software writes this bit to one to start a read or write operation.

pub fn phy_mode(&self) -> PHY_MODE_R[src]

Bit 31 - This bit indicates if the interface between the controller is UTMI+ or ULPI.

impl R<u32, Reg<u32, _MODE>>[src]

pub fn crc_poly(&self) -> CRC_POLY_R[src]

Bits 0:1 - CRC polynomial: 1X = CRC-32 polynomial 01 = CRC-16 polynomial 00 = CRC-CCITT polynomial

pub fn bit_rvs_wr(&self) -> BIT_RVS_WR_R[src]

Bit 2 - Data bit order: 1 = Bit order reverse for CRC_WR_DATA (per byte) 0 = No bit order reverse for CRC_WR_DATA (per byte)

pub fn cmpl_wr(&self) -> CMPL_WR_R[src]

Bit 3 - Data complement: 1 = 1's complement for CRC_WR_DATA 0 = No 1's complement for CRC_WR_DATA

pub fn bit_rvs_sum(&self) -> BIT_RVS_SUM_R[src]

Bit 4 - CRC sum bit order: 1 = Bit order reverse for CRC_SUM 0 = No bit order reverse for CRC_SUM

pub fn cmpl_sum(&self) -> CMPL_SUM_R[src]

Bit 5 - CRC sum complement: 1 = 1's complement for CRC_SUM 0 = No 1's complement for CRC_SUM

impl R<u32, Reg<u32, _SEED>>[src]

pub fn crc_seed(&self) -> CRC_SEED_R[src]

Bits 0:31 - A write access to this register will load CRC seed value to CRC_SUM register with selected bit order and 1's complement pre-processes. A write access to this register will overrule the CRC calculation in progresses.

impl R<u32, Reg<u32, _SUM>>[src]

pub fn crc_sum(&self) -> CRC_SUM_R[src]

Bits 0:31 - The most recent CRC sum can be read through this register with selected bit order and 1's complement post-processes.

impl R<u32, Reg<u32, _PCFG1>>[src]

pub fn pairenable(&self) -> PAIRENABLE_R[src]

Bit 0 - Enable for this channel pair..

pub fn onechannel(&self) -> ONECHANNEL_R[src]

Bit 10 - Single channel mode.

impl R<u32, Reg<u32, _PCFG2>>[src]

pub fn position(&self) -> POSITION_R[src]

Bits 16:24 - Data Position.

impl R<u32, Reg<u32, _PSTAT>>[src]

pub fn busy(&self) -> BUSY_R[src]

Bit 0 - Busy status for this channel pair.

pub fn slvfrmerr(&self) -> SLVFRMERR_R[src]

Bit 1 - Save Frame Error flag.

pub fn lr(&self) -> LR_R[src]

Bit 2 - Left/Right indication.

pub fn datapaused(&self) -> DATAPAUSED_R[src]

Bit 3 - Data Paused status flag.

impl R<bool, MAINENABLE_A>[src]

pub fn variant(&self) -> MAINENABLE_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DATAPAUSE_A>[src]

pub fn variant(&self) -> DATAPAUSE_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_pause(&self) -> bool[src]

Checks if the value of the field is PAUSE

impl R<u8, PAIRCOUNT_A>[src]

pub fn variant(&self) -> PAIRCOUNT_A[src]

Get enumerated values variant

pub fn is_pairs_1(&self) -> bool[src]

Checks if the value of the field is PAIRS_1

pub fn is_pairs_2(&self) -> bool[src]

Checks if the value of the field is PAIRS_2

pub fn is_pairs_3(&self) -> bool[src]

Checks if the value of the field is PAIRS_3

pub fn is_pairs_4(&self) -> bool[src]

Checks if the value of the field is PAIRS_4

impl R<u8, MSTSLVCFG_A>[src]

pub fn variant(&self) -> MSTSLVCFG_A[src]

Get enumerated values variant

pub fn is_normal_slave_mode(&self) -> bool[src]

Checks if the value of the field is NORMAL_SLAVE_MODE

pub fn is_ws_sync_master(&self) -> bool[src]

Checks if the value of the field is WS_SYNC_MASTER

pub fn is_master_using_sck(&self) -> bool[src]

Checks if the value of the field is MASTER_USING_SCK

pub fn is_normal_master(&self) -> bool[src]

Checks if the value of the field is NORMAL_MASTER

impl R<u8, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_classic_mode(&self) -> bool[src]

Checks if the value of the field is CLASSIC_MODE

pub fn is_dsp_mode_ws_50_dutycycle(&self) -> bool[src]

Checks if the value of the field is DSP_MODE_WS_50_DUTYCYCLE

pub fn is_dsp_mode_ws_1_clock(&self) -> bool[src]

Checks if the value of the field is DSP_MODE_WS_1_CLOCK

pub fn is_dsp_mode_ws_1_data(&self) -> bool[src]

Checks if the value of the field is DSP_MODE_WS_1_DATA

impl R<bool, RIGHTLOW_A>[src]

pub fn variant(&self) -> RIGHTLOW_A[src]

Get enumerated values variant

pub fn is_right_high(&self) -> bool[src]

Checks if the value of the field is RIGHT_HIGH

pub fn is_right_low(&self) -> bool[src]

Checks if the value of the field is RIGHT_LOW

impl R<bool, LEFTJUST_A>[src]

pub fn variant(&self) -> LEFTJUST_A[src]

Get enumerated values variant

pub fn is_right_justified(&self) -> bool[src]

Checks if the value of the field is RIGHT_JUSTIFIED

pub fn is_left_justified(&self) -> bool[src]

Checks if the value of the field is LEFT_JUSTIFIED

impl R<bool, ONECHANNEL_A>[src]

pub fn variant(&self) -> ONECHANNEL_A[src]

Get enumerated values variant

pub fn is_dual_channel(&self) -> bool[src]

Checks if the value of the field is DUAL_CHANNEL

pub fn is_single_channel(&self) -> bool[src]

Checks if the value of the field is SINGLE_CHANNEL

impl R<bool, PDMDATA_A>[src]

pub fn variant(&self) -> PDMDATA_A[src]

Get enumerated values variant

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_dmic_subsystem(&self) -> bool[src]

Checks if the value of the field is DMIC_SUBSYSTEM

impl R<bool, SCK_POL_A>[src]

pub fn variant(&self) -> SCK_POL_A[src]

Get enumerated values variant

pub fn is_falling_edge(&self) -> bool[src]

Checks if the value of the field is FALLING_EDGE

pub fn is_rising_edge(&self) -> bool[src]

Checks if the value of the field is RISING_EDGE

impl R<bool, WS_POL_A>[src]

pub fn variant(&self) -> WS_POL_A[src]

Get enumerated values variant

pub fn is_not_inverted(&self) -> bool[src]

Checks if the value of the field is NOT_INVERTED

pub fn is_inverted(&self) -> bool[src]

Checks if the value of the field is INVERTED

impl R<u32, Reg<u32, _CFG1>>[src]

pub fn mainenable(&self) -> MAINENABLE_R[src]

Bit 0 - Main enable for I 2S function in this Flexcomm

pub fn datapause(&self) -> DATAPAUSE_R[src]

Bit 1 - Data flow Pause. Allows pausing data flow between the I2S serializer/deserializer and the FIFO. This could be done in order to change streams, or while restarting after a data underflow or overflow. When paused, FIFO operations can be done without corrupting data that is in the process of being sent or received. Once a data pause has been requested, the interface may need to complete sending data that was in progress before interrupting the flow of data. Software must check that the pause is actually in effect before taking action. This is done by monitoring the DATAPAUSED flag in the STAT register. When DATAPAUSE is cleared, data transfer will resume at the beginning of the next frame.

pub fn paircount(&self) -> PAIRCOUNT_R[src]

Bits 2:3 - Provides the number of I2S channel pairs in this Flexcomm This is a read-only field whose value may be different in other Flexcomms. 00 = there is 1 I2S channel pair in this Flexcomm. 01 = there are 2 I2S channel pairs in this Flexcomm. 10 = there are 3 I2S channel pairs in this Flexcomm. 11 = there are 4 I2S channel pairs in this Flexcomm.

pub fn mstslvcfg(&self) -> MSTSLVCFG_R[src]

Bits 4:5 - Master / slave configuration selection, determining how SCK and WS are used by all channel pairs in this Flexcomm.

pub fn mode(&self) -> MODE_R[src]

Bits 6:7 - Selects the basic I2S operating mode. Other configurations modify this to obtain all supported cases. See Formats and modes for examples.

pub fn rightlow(&self) -> RIGHTLOW_R[src]

Bit 8 - Right channel data is in the Low portion of FIFO data. Essentially, this swaps left and right channel data as it is transferred to or from the FIFO. This bit is not used if the data width is greater than 24 bits or if PDMDATA = 1. Note that if the ONECHANNEL field (bit 10 of this register) = 1, the one channel to be used is the nominally the left channel. POSITION can still place that data in the frame where right channel data is normally located. if all enabled channel pairs have ONECHANNEL = 1, then RIGHTLOW = 1 is not allowed.

pub fn leftjust(&self) -> LEFTJUST_R[src]

Bit 9 - Left Justify data.

pub fn onechannel(&self) -> ONECHANNEL_R[src]

Bit 10 - Single channel mode. Applies to both transmit and receive. This configuration bit applies only to the first I2S channel pair. Other channel pairs may select this mode independently in their separate CFG1 registers.

pub fn pdmdata(&self) -> PDMDATA_R[src]

Bit 11 - PDM Data selection. This bit controls the data source for I2S transmit, and cannot be set in Rx mode. This bit only has an effect if the device the Flexcomm resides in includes a D-Mic subsystem. For the LPC5411x, this bit applies only to Flexcomm 7.

pub fn sck_pol(&self) -> SCK_POL_R[src]

Bit 12 - SCK polarity.

pub fn ws_pol(&self) -> WS_POL_R[src]

Bit 13 - WS polarity.

pub fn datalen(&self) -> DATALEN_R[src]

Bits 16:20 - Data Length, minus 1 encoded, defines the number of data bits to be transmitted or received for all I2S channel pairs in this Flexcomm. Note that data is only driven to or received from SDA for the number of bits defined by DATALEN. DATALEN is also used in these ways by the I2S: Determines the size of data transfers between the FIFO and the I2S serializer/deserializer. See FIFO buffer configurations and usage In mode 1, 2, and 3, determines the location of right data following left data in the frame. In mode 3 (where WS has a one data slot long pulse at the beginning of each data frame) determines the duration of the WS pulse. Values: 0x00 to 0x02 = not supported 0x03 = data is 4 bits in length 0x04 = data is 5 bits in length 0x1F = data is 32 bits in length

impl R<u32, Reg<u32, _CFG2>>[src]

pub fn framelen(&self) -> FRAMELEN_R[src]

Bits 0:8 - Frame Length, minus 1 encoded, defines the number of clocks and data bits in the frames that this channel pair participates in. See Frame format. 0x000 to 0x002 = not supported 0x003 = frame is 4 bits in total length 0x004 = frame is 5 bits in total length 0x1FF = frame is 512 bits in total length if FRAMELEN is an defines an odd length frame (e.g. 33 clocks) in mode 0 or 1, the extra clock appears in the right half. When MODE = 3, FRAMELEN must be larger than DATALEN in order for the WS pulse to be generated correctly.

pub fn position(&self) -> POSITION_R[src]

Bits 16:24 - Data Position. Defines the location within the frame of the data for this channel pair. POSITION + DATALEN must be less than FRAMELEN. See Frame format. When MODE = 0, POSITION defines the location of data in both the left phase and right phase, starting one clock after the WS edge. In other modes, POSITION defines the location of data within the entire frame. ONECHANNEL = 1 while MODE = 0 is a special case, see the description of ONECHANNEL. The combination of DATALEN and the POSITION fields of all channel pairs must be made such that the channels do not overlap within the frame. 0x000 = data begins at bit position 0 (the first bit position) within the frame or WS phase. 0x001 = data begins at bit position 1 within the frame or WS phase. 0x002 = data begins at bit position 2 within the frame or WS phase.

impl R<bool, BUSY_A>[src]

pub fn variant(&self) -> BUSY_A[src]

Get enumerated values variant

pub fn is_idle(&self) -> bool[src]

Checks if the value of the field is IDLE

pub fn is_busy(&self) -> bool[src]

Checks if the value of the field is BUSY

impl R<bool, LR_A>[src]

pub fn variant(&self) -> LR_A[src]

Get enumerated values variant

pub fn is_left_channel(&self) -> bool[src]

Checks if the value of the field is LEFT_CHANNEL

pub fn is_right_channel(&self) -> bool[src]

Checks if the value of the field is RIGHT_CHANNEL

impl R<bool, DATAPAUSED_A>[src]

pub fn variant(&self) -> DATAPAUSED_A[src]

Get enumerated values variant

pub fn is_not_paused(&self) -> bool[src]

Checks if the value of the field is NOT_PAUSED

pub fn is_paused(&self) -> bool[src]

Checks if the value of the field is PAUSED

impl R<u32, Reg<u32, _STAT>>[src]

pub fn busy(&self) -> BUSY_R[src]

Bit 0 - Busy status for the primary channel pair. Other BUSY flags may be found in the STAT register for each channel pair.

pub fn lr(&self) -> LR_R[src]

Bit 2 - Left/Right indication. This flag is considered to be a debugging aid and is not expected to be used by an I2S driver. Valid when one channel pair is busy. Indicates left or right data being processed for the currently busy channel pair.

pub fn datapaused(&self) -> DATAPAUSED_R[src]

Bit 3 - Data Paused status flag. Applies to all I2S channels

impl R<u32, Reg<u32, _DIV>>[src]

pub fn div(&self) -> DIV_R[src]

Bits 0:11 - This field controls how this I2S block uses the Flexcomm function clock. 0x000 = The Flexcomm function clock is used directly. 0x001 = The Flexcomm function clock is divided by 2. 0x002 = The Flexcomm function clock is divided by 3. 0xFFF = The Flexcomm function clock is divided by 4,096.

impl R<bool, ENABLETX_A>[src]

pub fn variant(&self) -> ENABLETX_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, ENABLERX_A>[src]

pub fn variant(&self) -> ENABLERX_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, TXI2SE0_A>[src]

pub fn variant(&self) -> TXI2SE0_A[src]

Get enumerated values variant

pub fn is_last_value(&self) -> bool[src]

Checks if the value of the field is LAST_VALUE

pub fn is_zero(&self) -> bool[src]

Checks if the value of the field is ZERO

impl R<bool, PACK48_A>[src]

pub fn variant(&self) -> PACK48_A[src]

Get enumerated values variant

pub fn is_bit_24(&self) -> bool[src]

Checks if the value of the field is BIT_24

pub fn is_bit_32_16(&self) -> bool[src]

Checks if the value of the field is BIT_32_16

impl R<bool, DMATX_A>[src]

pub fn variant(&self) -> DMATX_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, DMARX_A>[src]

pub fn variant(&self) -> DMARX_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, WAKETX_A>[src]

pub fn variant(&self) -> WAKETX_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, WAKERX_A>[src]

pub fn variant(&self) -> WAKERX_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, POPDBG_A>[src]

pub fn variant(&self) -> POPDBG_A[src]

Get enumerated values variant

pub fn is_do_not_pop(&self) -> bool[src]

Checks if the value of the field is DO_NOT_POP

pub fn is_pop(&self) -> bool[src]

Checks if the value of the field is POP

impl R<u32, Reg<u32, _FIFOCFG>>[src]

pub fn enabletx(&self) -> ENABLETX_R[src]

Bit 0 - Enable the transmit FIFO.

pub fn enablerx(&self) -> ENABLERX_R[src]

Bit 1 - Enable the receive FIFO.

pub fn txi2se0(&self) -> TXI2SE0_R[src]

Bit 2 - Transmit I2S empty 0. Determines the value sent by the I2S in transmit mode if the TX FIFO becomes empty. This value is sent repeatedly until the I2S is paused, the error is cleared, new data is provided, and the I2S is un-paused.

pub fn pack48(&self) -> PACK48_R[src]

Bit 3 - Packing format for 48-bit data. This relates to how data is entered into or taken from the FIFO by software or DMA.

pub fn size(&self) -> SIZE_R[src]

Bits 4:5 - FIFO size configuration. This is a read-only field. 0x0 = FIFO is configured as 16 entries of 8 bits. 0x1, 0x2, 0x3 = not applicable to USART.

pub fn dmatx(&self) -> DMATX_R[src]

Bit 12 - DMA configuration for transmit.

pub fn dmarx(&self) -> DMARX_R[src]

Bit 13 - DMA configuration for receive.

pub fn waketx(&self) -> WAKETX_R[src]

Bit 14 - Wake-up for transmit FIFO level. This allows the device to be woken from reduced power modes (up to power-down, as long as the peripheral function works in that power mode) without enabling the TXLVL interrupt. Only DMA wakes up, processes data, and goes back to sleep. The CPU will remain stopped until woken by another cause, such as DMA completion. See Hardware Wake-up control register.

pub fn wakerx(&self) -> WAKERX_R[src]

Bit 15 - Wake-up for receive FIFO level. This allows the device to be woken from reduced power modes (up to power-down, as long as the peripheral function works in that power mode) without enabling the TXLVL interrupt. Only DMA wakes up, processes data, and goes back to sleep. The CPU will remain stopped until woken by another cause, such as DMA completion. See Hardware Wake-up control register.

pub fn emptytx(&self) -> EMPTYTX_R[src]

Bit 16 - Empty command for the transmit FIFO. When a 1 is written to this bit, the TX FIFO is emptied.

pub fn emptyrx(&self) -> EMPTYRX_R[src]

Bit 17 - Empty command for the receive FIFO. When a 1 is written to this bit, the RX FIFO is emptied.

pub fn popdbg(&self) -> POPDBG_R[src]

Bit 18 - Pop FIFO for debug reads.

impl R<u32, Reg<u32, _FIFOSTAT>>[src]

pub fn txerr(&self) -> TXERR_R[src]

Bit 0 - TX FIFO error. Will be set if a transmit FIFO error occurs. This could be an overflow caused by pushing data into a full FIFO, or by an underflow if the FIFO is empty when data is needed. Cleared by writing a 1 to this bit.

pub fn rxerr(&self) -> RXERR_R[src]

Bit 1 - RX FIFO error. Will be set if a receive FIFO overflow occurs, caused by software or DMA not emptying the FIFO fast enough. Cleared by writing a 1 to this bit.

pub fn perint(&self) -> PERINT_R[src]

Bit 3 - Peripheral interrupt. When 1, this indicates that the peripheral function has asserted an interrupt. The details can be found by reading the peripheral's STAT register.

pub fn txempty(&self) -> TXEMPTY_R[src]

Bit 4 - Transmit FIFO empty. When 1, the transmit FIFO is empty. The peripheral may still be processing the last piece of data.

pub fn txnotfull(&self) -> TXNOTFULL_R[src]

Bit 5 - Transmit FIFO not full. When 1, the transmit FIFO is not full, so more data can be written. When 0, the transmit FIFO is full and another write would cause it to overflow.

pub fn rxnotempty(&self) -> RXNOTEMPTY_R[src]

Bit 6 - Receive FIFO not empty. When 1, the receive FIFO is not empty, so data can be read. When 0, the receive FIFO is empty.

pub fn rxfull(&self) -> RXFULL_R[src]

Bit 7 - Receive FIFO full. When 1, the receive FIFO is full. Data needs to be read out to prevent the peripheral from causing an overflow.

pub fn txlvl(&self) -> TXLVL_R[src]

Bits 8:12 - Transmit FIFO current level. A 0 means the TX FIFO is currently empty, and the TXEMPTY and TXNOTFULL flags will be 1. Other values tell how much data is actually in the TX FIFO at the point where the read occurs. If the TX FIFO is full, the TXEMPTY and TXNOTFULL flags will be 0.

pub fn rxlvl(&self) -> RXLVL_R[src]

Bits 16:20 - Receive FIFO current level. A 0 means the RX FIFO is currently empty, and the RXFULL and RXNOTEMPTY flags will be 0. Other values tell how much data is actually in the RX FIFO at the point where the read occurs. If the RX FIFO is full, the RXFULL and RXNOTEMPTY flags will be 1.

impl R<bool, TXLVLENA_A>[src]

pub fn variant(&self) -> TXLVLENA_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, RXLVLENA_A>[src]

pub fn variant(&self) -> RXLVLENA_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<u32, Reg<u32, _FIFOTRIG>>[src]

pub fn txlvlena(&self) -> TXLVLENA_R[src]

Bit 0 - Transmit FIFO level trigger enable. This trigger will become an interrupt if enabled in FIFOINTENSET, or a DMA trigger if DMATX in FIFOCFG is set.

pub fn rxlvlena(&self) -> RXLVLENA_R[src]

Bit 1 - Receive FIFO level trigger enable. This trigger will become an interrupt if enabled in FIFOINTENSET, or a DMA trigger if DMARX in FIFOCFG is set.

pub fn txlvl(&self) -> TXLVL_R[src]

Bits 8:11 - Transmit FIFO level trigger point. This field is used only when TXLVLENA = 1. If enabled to do so, the FIFO level can wake up the device just enough to perform DMA, then return to the reduced power mode. See Hardware Wake-up control register. 0 = trigger when the TX FIFO becomes empty. 1 = trigger when the TX FIFO level decreases to one entry. 15 = trigger when the TX FIFO level decreases to 15 entries (is no longer full).

pub fn rxlvl(&self) -> RXLVL_R[src]

Bits 16:19 - Receive FIFO level trigger point. The RX FIFO level is checked when a new piece of data is received. This field is used only when RXLVLENA = 1. If enabled to do so, the FIFO level can wake up the device just enough to perform DMA, then return to the reduced power mode. See Hardware Wake-up control register. 0 = trigger when the RX FIFO has received one entry (is no longer empty). 1 = trigger when the RX FIFO has received two entries. 15 = trigger when the RX FIFO has received 16 entries (has become full).

impl R<bool, TXERR_A>[src]

pub fn variant(&self) -> TXERR_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, RXERR_A>[src]

pub fn variant(&self) -> RXERR_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, TXLVL_A>[src]

pub fn variant(&self) -> TXLVL_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, RXLVL_A>[src]

pub fn variant(&self) -> RXLVL_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<u32, Reg<u32, _FIFOINTENSET>>[src]

pub fn txerr(&self) -> TXERR_R[src]

Bit 0 - Determines whether an interrupt occurs when a transmit error occurs, based on the TXERR flag in the FIFOSTAT register.

pub fn rxerr(&self) -> RXERR_R[src]

Bit 1 - Determines whether an interrupt occurs when a receive error occurs, based on the RXERR flag in the FIFOSTAT register.

pub fn txlvl(&self) -> TXLVL_R[src]

Bit 2 - Determines whether an interrupt occurs when a the transmit FIFO reaches the level specified by the TXLVL field in the FIFOTRIG register.

pub fn rxlvl(&self) -> RXLVL_R[src]

Bit 3 - Determines whether an interrupt occurs when a the receive FIFO reaches the level specified by the TXLVL field in the FIFOTRIG register.

impl R<u32, Reg<u32, _FIFOINTENCLR>>[src]

pub fn txerr(&self) -> TXERR_R[src]

Bit 0 - Writing one clears the corresponding bits in the FIFOINTENSET register.

pub fn rxerr(&self) -> RXERR_R[src]

Bit 1 - Writing one clears the corresponding bits in the FIFOINTENSET register.

pub fn txlvl(&self) -> TXLVL_R[src]

Bit 2 - Writing one clears the corresponding bits in the FIFOINTENSET register.

pub fn rxlvl(&self) -> RXLVL_R[src]

Bit 3 - Writing one clears the corresponding bits in the FIFOINTENSET register.

impl R<u32, Reg<u32, _FIFOINTSTAT>>[src]

pub fn txerr(&self) -> TXERR_R[src]

Bit 0 - TX FIFO error.

pub fn rxerr(&self) -> RXERR_R[src]

Bit 1 - RX FIFO error.

pub fn txlvl(&self) -> TXLVL_R[src]

Bit 2 - Transmit FIFO level interrupt.

pub fn rxlvl(&self) -> RXLVL_R[src]

Bit 3 - Receive FIFO level interrupt.

pub fn perint(&self) -> PERINT_R[src]

Bit 4 - Peripheral interrupt.

impl R<u32, Reg<u32, _FIFORD>>[src]

pub fn rxdata(&self) -> RXDATA_R[src]

Bits 0:31 - Received data from the FIFO. The number of bits used depends on configuration details.

impl R<u32, Reg<u32, _FIFORD48H>>[src]

pub fn rxdata(&self) -> RXDATA_R[src]

Bits 0:23 - Received data from the FIFO. Whether this register is used and the number of bits used depends on configuration details.

impl R<u32, Reg<u32, _FIFORDNOPOP>>[src]

pub fn rxdata(&self) -> RXDATA_R[src]

Bits 0:31 - Received data from the FIFO.

impl R<u32, Reg<u32, _FIFORD48HNOPOP>>[src]

pub fn rxdata(&self) -> RXDATA_R[src]

Bits 0:23 - Received data from the FIFO. Whether this register is used and the number of bits used depends on configuration details.

impl R<u32, Reg<u32, _ID>>[src]

pub fn aperture(&self) -> APERTURE_R[src]

Bits 0:7 - Aperture: encoded as (aperture size/4K) -1, so 0x00 means a 4K aperture.

pub fn minor_rev(&self) -> MINOR_REV_R[src]

Bits 8:11 - Minor revision of module implementation, starting at 0.

pub fn major_rev(&self) -> MAJOR_REV_R[src]

Bits 12:15 - Major revision of module implementation, starting at 0.

pub fn id(&self) -> ID_R[src]

Bits 16:31 - Unique module identifier for this IP block.

impl R<u32, Reg<u32, _CTRL>>[src]

pub fn controller_reset(&self) -> CONTROLLER_RESET_R[src]

Bit 0 - Controller reset.

pub fn fifo_reset(&self) -> FIFO_RESET_R[src]

Bit 1 - Fifo reset.

pub fn dma_reset(&self) -> DMA_RESET_R[src]

Bit 2 - DMA reset.

pub fn int_enable(&self) -> INT_ENABLE_R[src]

Bit 4 - Global interrupt enable/disable bit.

pub fn read_wait(&self) -> READ_WAIT_R[src]

Bit 6 - Read/wait.

pub fn send_irq_response(&self) -> SEND_IRQ_RESPONSE_R[src]

Bit 7 - Send irq response.

pub fn abort_read_data(&self) -> ABORT_READ_DATA_R[src]

Bit 8 - Abort read data.

pub fn send_ccsd(&self) -> SEND_CCSD_R[src]

Bit 9 - Send ccsd.

pub fn send_auto_stop_ccsd(&self) -> SEND_AUTO_STOP_CCSD_R[src]

Bit 10 - Send auto stop ccsd.

pub fn ceata_device_interrupt_status(&self) -> CEATA_DEVICE_INTERRUPT_STATUS_R[src]

Bit 11 - CEATA device interrupt status.

pub fn card_voltage_a0(&self) -> CARD_VOLTAGE_A0_R[src]

Bit 16 - Controls the state of the SD_VOLT0 pin.

pub fn card_voltage_a1(&self) -> CARD_VOLTAGE_A1_R[src]

Bit 17 - Controls the state of the SD_VOLT1 pin.

pub fn card_voltage_a2(&self) -> CARD_VOLTAGE_A2_R[src]

Bit 18 - Controls the state of the SD_VOLT2 pin.

pub fn use_internal_dmac(&self) -> USE_INTERNAL_DMAC_R[src]

Bit 25 - SD/MMC DMA use.

impl R<u32, Reg<u32, _PWREN>>[src]

pub fn power_enable(&self) -> POWER_ENABLE_R[src]

Bit 0 - Power on/off switch for card; once power is turned on, software should wait for regulator/switch ramp-up time before trying to initialize card.

impl R<u32, Reg<u32, _CLKDIV>>[src]

pub fn clk_divider0(&self) -> CLK_DIVIDER0_R[src]

Bits 0:7 - Clock divider-0 value.

impl R<u32, Reg<u32, _CLKENA>>[src]

pub fn cclk_enable(&self) -> CCLK_ENABLE_R[src]

Bit 0 - Clock-enable control for SD card clock.

pub fn cclk_low_power(&self) -> CCLK_LOW_POWER_R[src]

Bit 16 - Low-power control for SD card clock.

impl R<u32, Reg<u32, _TMOUT>>[src]

pub fn response_timeout(&self) -> RESPONSE_TIMEOUT_R[src]

Bits 0:7 - Response time-out value.

pub fn data_timeout(&self) -> DATA_TIMEOUT_R[src]

Bits 8:31 - Value for card Data Read time-out; same value also used for Data Starvation by Host time-out.

impl R<u32, Reg<u32, _CTYPE>>[src]

pub fn card_width0(&self) -> CARD_WIDTH0_R[src]

Bit 0 - Indicates if card is 1-bit or 4-bit: 0 - 1-bit mode 1 - 4-bit mode 1 and 4-bit modes only work when 8-bit mode in CARD_WIDTH1 is not enabled (bit 16 in this register is set to 0).

pub fn card_width1(&self) -> CARD_WIDTH1_R[src]

Bit 16 - Indicates if card is 8-bit: 0 - Non 8-bit mode 1 - 8-bit mode.

impl R<u32, Reg<u32, _BLKSIZ>>[src]

pub fn block_size(&self) -> BLOCK_SIZE_R[src]

Bits 0:15 - Block size.

impl R<u32, Reg<u32, _BYTCNT>>[src]

pub fn byte_count(&self) -> BYTE_COUNT_R[src]

Bits 0:31 - Number of bytes to be transferred; should be integer multiple of Block Size for block transfers.

impl R<u32, Reg<u32, _INTMASK>>[src]

pub fn cdet(&self) -> CDET_R[src]

Bit 0 - Card detect.

pub fn re(&self) -> RE_R[src]

Bit 1 - Response error.

pub fn cdone(&self) -> CDONE_R[src]

Bit 2 - Command done.

pub fn dto(&self) -> DTO_R[src]

Bit 3 - Data transfer over.

pub fn txdr(&self) -> TXDR_R[src]

Bit 4 - Transmit FIFO data request.

pub fn rxdr(&self) -> RXDR_R[src]

Bit 5 - Receive FIFO data request.

pub fn rcrc(&self) -> RCRC_R[src]

Bit 6 - Response CRC error.

pub fn dcrc(&self) -> DCRC_R[src]

Bit 7 - Data CRC error.

pub fn rto(&self) -> RTO_R[src]

Bit 8 - Response time-out.

pub fn drto(&self) -> DRTO_R[src]

Bit 9 - Data read time-out.

pub fn hto(&self) -> HTO_R[src]

Bit 10 - Data starvation-by-host time-out (HTO).

pub fn frun(&self) -> FRUN_R[src]

Bit 11 - FIFO underrun/overrun error.

pub fn hle(&self) -> HLE_R[src]

Bit 12 - Hardware locked write error.

pub fn sbe(&self) -> SBE_R[src]

Bit 13 - Start-bit error.

pub fn acd(&self) -> ACD_R[src]

Bit 14 - Auto command done.

pub fn ebe(&self) -> EBE_R[src]

Bit 15 - End-bit error (read)/Write no CRC.

pub fn sdio_int_mask(&self) -> SDIO_INT_MASK_R[src]

Bit 16 - Mask SDIO interrupt.

impl R<u32, Reg<u32, _CMDARG>>[src]

pub fn cmd_arg(&self) -> CMD_ARG_R[src]

Bits 0:31 - Value indicates command argument to be passed to card.

impl R<u32, Reg<u32, _CMD>>[src]

pub fn cmd_index(&self) -> CMD_INDEX_R[src]

Bits 0:5 - Command index.

pub fn response_expect(&self) -> RESPONSE_EXPECT_R[src]

Bit 6 - Response expect.

pub fn response_length(&self) -> RESPONSE_LENGTH_R[src]

Bit 7 - Response length.

pub fn check_response_crc(&self) -> CHECK_RESPONSE_CRC_R[src]

Bit 8 - Check response CRC.

pub fn data_expected(&self) -> DATA_EXPECTED_R[src]

Bit 9 - Data expected.

pub fn read_write(&self) -> READ_WRITE_R[src]

Bit 10 - read/write.

pub fn transfer_mode(&self) -> TRANSFER_MODE_R[src]

Bit 11 - Transfer mode.

pub fn send_auto_stop(&self) -> SEND_AUTO_STOP_R[src]

Bit 12 - Send auto stop.

pub fn wait_prvdata_complete(&self) -> WAIT_PRVDATA_COMPLETE_R[src]

Bit 13 - Wait prvdata complete.

pub fn stop_abort_cmd(&self) -> STOP_ABORT_CMD_R[src]

Bit 14 - Stop abort command.

pub fn send_initialization(&self) -> SEND_INITIALIZATION_R[src]

Bit 15 - Send initialization.

pub fn update_clock_registers_only(&self) -> UPDATE_CLOCK_REGISTERS_ONLY_R[src]

Bit 21 - Update clock registers only.

pub fn read_ceata_device(&self) -> READ_CEATA_DEVICE_R[src]

Bit 22 - Read ceata device.

pub fn ccs_expected(&self) -> CCS_EXPECTED_R[src]

Bit 23 - CCS expected.

pub fn enable_boot(&self) -> ENABLE_BOOT_R[src]

Bit 24 - Enable Boot - this bit should be set only for mandatory boot mode.

pub fn expect_boot_ack(&self) -> EXPECT_BOOT_ACK_R[src]

Bit 25 - Expect Boot Acknowledge.

pub fn disable_boot(&self) -> DISABLE_BOOT_R[src]

Bit 26 - Disable Boot.

pub fn boot_mode(&self) -> BOOT_MODE_R[src]

Bit 27 - Boot Mode.

pub fn volt_switch(&self) -> VOLT_SWITCH_R[src]

Bit 28 - Voltage switch bit.

pub fn use_hold_reg(&self) -> USE_HOLD_REG_R[src]

Bit 29 - Use Hold Register.

pub fn start_cmd(&self) -> START_CMD_R[src]

Bit 31 - Start command.

impl R<u32, Reg<u32, _RESP>>[src]

pub fn response(&self) -> RESPONSE_R[src]

Bits 0:31 - Bits of response.

impl R<u32, Reg<u32, _MINTSTS>>[src]

pub fn cdet(&self) -> CDET_R[src]

Bit 0 - Card detect.

pub fn re(&self) -> RE_R[src]

Bit 1 - Response error.

pub fn cdone(&self) -> CDONE_R[src]

Bit 2 - Command done.

pub fn dto(&self) -> DTO_R[src]

Bit 3 - Data transfer over.

pub fn txdr(&self) -> TXDR_R[src]

Bit 4 - Transmit FIFO data request.

pub fn rxdr(&self) -> RXDR_R[src]

Bit 5 - Receive FIFO data request.

pub fn rcrc(&self) -> RCRC_R[src]

Bit 6 - Response CRC error.

pub fn dcrc(&self) -> DCRC_R[src]

Bit 7 - Data CRC error.

pub fn rto(&self) -> RTO_R[src]

Bit 8 - Response time-out.

pub fn drto(&self) -> DRTO_R[src]

Bit 9 - Data read time-out.

pub fn hto(&self) -> HTO_R[src]

Bit 10 - Data starvation-by-host time-out (HTO).

pub fn frun(&self) -> FRUN_R[src]

Bit 11 - FIFO underrun/overrun error.

pub fn hle(&self) -> HLE_R[src]

Bit 12 - Hardware locked write error.

pub fn sbe(&self) -> SBE_R[src]

Bit 13 - Start-bit error.

pub fn acd(&self) -> ACD_R[src]

Bit 14 - Auto command done.

pub fn ebe(&self) -> EBE_R[src]

Bit 15 - End-bit error (read)/write no CRC.

pub fn sdio_interrupt(&self) -> SDIO_INTERRUPT_R[src]

Bit 16 - Interrupt from SDIO card.

impl R<u32, Reg<u32, _RINTSTS>>[src]

pub fn cdet(&self) -> CDET_R[src]

Bit 0 - Card detect.

pub fn re(&self) -> RE_R[src]

Bit 1 - Response error.

pub fn cdone(&self) -> CDONE_R[src]

Bit 2 - Command done.

pub fn dto(&self) -> DTO_R[src]

Bit 3 - Data transfer over.

pub fn txdr(&self) -> TXDR_R[src]

Bit 4 - Transmit FIFO data request.

pub fn rxdr(&self) -> RXDR_R[src]

Bit 5 - Receive FIFO data request.

pub fn rcrc(&self) -> RCRC_R[src]

Bit 6 - Response CRC error.

pub fn dcrc(&self) -> DCRC_R[src]

Bit 7 - Data CRC error.

pub fn rto_bar(&self) -> RTO_BAR_R[src]

Bit 8 - Response time-out (RTO)/Boot Ack Received (BAR).

pub fn drto_bds(&self) -> DRTO_BDS_R[src]

Bit 9 - Data read time-out (DRTO)/Boot Data Start (BDS).

pub fn hto(&self) -> HTO_R[src]

Bit 10 - Data starvation-by-host time-out (HTO).

pub fn frun(&self) -> FRUN_R[src]

Bit 11 - FIFO underrun/overrun error.

pub fn hle(&self) -> HLE_R[src]

Bit 12 - Hardware locked write error.

pub fn sbe(&self) -> SBE_R[src]

Bit 13 - Start-bit error.

pub fn acd(&self) -> ACD_R[src]

Bit 14 - Auto command done.

pub fn ebe(&self) -> EBE_R[src]

Bit 15 - End-bit error (read)/write no CRC.

pub fn sdio_interrupt(&self) -> SDIO_INTERRUPT_R[src]

Bit 16 - Interrupt from SDIO card.

impl R<u32, Reg<u32, _STATUS>>[src]

pub fn fifo_rx_watermark(&self) -> FIFO_RX_WATERMARK_R[src]

Bit 0 - FIFO reached Receive watermark level; not qualified with data transfer.

pub fn fifo_tx_watermark(&self) -> FIFO_TX_WATERMARK_R[src]

Bit 1 - FIFO reached Transmit watermark level; not qualified with data transfer.

pub fn fifo_empty(&self) -> FIFO_EMPTY_R[src]

Bit 2 - FIFO is empty status.

pub fn fifo_full(&self) -> FIFO_FULL_R[src]

Bit 3 - FIFO is full status.

pub fn cmdfsmstates(&self) -> CMDFSMSTATES_R[src]

Bits 4:7 - Command FSM states: 0 - Idle 1 - Send init sequence 2 - Tx cmd start bit 3 - Tx cmd tx bit 4 - Tx cmd index + arg 5 - Tx cmd crc7 6 - Tx cmd end bit 7 - Rx resp start bit 8 - Rx resp IRQ response 9 - Rx resp tx bit 10 - Rx resp cmd idx 11 - Rx resp data 12 - Rx resp crc7 13 - Rx resp end bit 14 - Cmd path wait NCC 15 - Wait; CMD-to-response turnaround NOTE: The command FSM state is represented using 19 bits.

pub fn data_3_status(&self) -> DATA_3_STATUS_R[src]

Bit 8 - Raw selected card_data[3]; checks whether card is present 0 - card not present 1 - card present.

pub fn data_busy(&self) -> DATA_BUSY_R[src]

Bit 9 - Inverted version of raw selected card_data[0] 0 - card data not busy 1 - card data busy.

pub fn data_state_mc_busy(&self) -> DATA_STATE_MC_BUSY_R[src]

Bit 10 - Data transmit or receive state-machine is busy.

pub fn response_index(&self) -> RESPONSE_INDEX_R[src]

Bits 11:16 - Index of previous response, including any auto-stop sent by core.

pub fn fifo_count(&self) -> FIFO_COUNT_R[src]

Bits 17:29 - FIFO count - Number of filled locations in FIFO.

pub fn dma_ack(&self) -> DMA_ACK_R[src]

Bit 30 - DMA acknowledge signal state.

pub fn dma_req(&self) -> DMA_REQ_R[src]

Bit 31 - DMA request signal state.

impl R<u32, Reg<u32, _FIFOTH>>[src]

pub fn tx_wmark(&self) -> TX_WMARK_R[src]

Bits 0:11 - FIFO threshold watermark level when transmitting data to card.

pub fn rx_wmark(&self) -> RX_WMARK_R[src]

Bits 16:27 - FIFO threshold watermark level when receiving data to card.

pub fn dma_mts(&self) -> DMA_MTS_R[src]

Bits 28:30 - Burst size of multiple transaction; should be programmed same as DW-DMA controller multiple-transaction-size SRC/DEST_MSIZE.

impl R<u32, Reg<u32, _CDETECT>>[src]

pub fn card_detect(&self) -> CARD_DETECT_R[src]

Bit 0 - Card detect.

impl R<u32, Reg<u32, _WRTPRT>>[src]

pub fn write_protect(&self) -> WRITE_PROTECT_R[src]

Bit 0 - Write protect.

impl R<u32, Reg<u32, _TCBCNT>>[src]

pub fn trans_card_byte_count(&self) -> TRANS_CARD_BYTE_COUNT_R[src]

Bits 0:31 - Number of bytes transferred by CIU unit to card.

impl R<u32, Reg<u32, _TBBCNT>>[src]

pub fn trans_fifo_byte_count(&self) -> TRANS_FIFO_BYTE_COUNT_R[src]

Bits 0:31 - Number of bytes transferred between Host/DMA memory and BIU FIFO.

impl R<u32, Reg<u32, _DEBNCE>>[src]

pub fn debounce_count(&self) -> DEBOUNCE_COUNT_R[src]

Bits 0:23 - Number of host clocks (SD_CLK) used by debounce filter logic for card detect; typical debounce time is 5-25 ms.

impl R<u32, Reg<u32, _RST_N>>[src]

pub fn card_reset(&self) -> CARD_RESET_R[src]

Bit 0 - Hardware reset.

impl R<u32, Reg<u32, _BMOD>>[src]

pub fn swr(&self) -> SWR_R[src]

Bit 0 - Software Reset.

pub fn fb(&self) -> FB_R[src]

Bit 1 - Fixed Burst.

pub fn dsl(&self) -> DSL_R[src]

Bits 2:6 - Descriptor Skip Length.

pub fn de(&self) -> DE_R[src]

Bit 7 - SD/MMC DMA Enable.

pub fn pbl(&self) -> PBL_R[src]

Bits 8:10 - Programmable Burst Length.

impl R<u32, Reg<u32, _PLDMND>>[src]

pub fn pd(&self) -> PD_R[src]

Bits 0:31 - Poll Demand.

impl R<u32, Reg<u32, _DBADDR>>[src]

pub fn sdl(&self) -> SDL_R[src]

Bits 0:31 - Start of Descriptor List.

impl R<u32, Reg<u32, _IDSTS>>[src]

pub fn ti(&self) -> TI_R[src]

Bit 0 - Transmit Interrupt.

pub fn ri(&self) -> RI_R[src]

Bit 1 - Receive Interrupt.

pub fn fbe(&self) -> FBE_R[src]

Bit 2 - Fatal Bus Error Interrupt.

pub fn du(&self) -> DU_R[src]

Bit 4 - Descriptor Unavailable Interrupt.

pub fn ces(&self) -> CES_R[src]

Bit 5 - Card Error Summary.

pub fn nis(&self) -> NIS_R[src]

Bit 8 - Normal Interrupt Summary.

pub fn ais(&self) -> AIS_R[src]

Bit 9 - Abnormal Interrupt Summary.

pub fn eb(&self) -> EB_R[src]

Bits 10:12 - Error Bits.

pub fn fsm(&self) -> FSM_R[src]

Bits 13:16 - DMAC state machine present state.

impl R<u32, Reg<u32, _IDINTEN>>[src]

pub fn ti(&self) -> TI_R[src]

Bit 0 - Transmit Interrupt Enable.

pub fn ri(&self) -> RI_R[src]

Bit 1 - Receive Interrupt Enable.

pub fn fbe(&self) -> FBE_R[src]

Bit 2 - Fatal Bus Error Enable.

pub fn du(&self) -> DU_R[src]

Bit 4 - Descriptor Unavailable Interrupt.

pub fn ces(&self) -> CES_R[src]

Bit 5 - Card Error summary Interrupt Enable.

pub fn nis(&self) -> NIS_R[src]

Bit 8 - Normal Interrupt Summary Enable.

pub fn ais(&self) -> AIS_R[src]

Bit 9 - Abnormal Interrupt Summary Enable.

impl R<u32, Reg<u32, _DSCADDR>>[src]

pub fn hda(&self) -> HDA_R[src]

Bits 0:31 - Host Descriptor Address Pointer.

impl R<u32, Reg<u32, _BUFADDR>>[src]

pub fn hba(&self) -> HBA_R[src]

Bits 0:31 - Host Buffer Address Pointer.

impl R<u32, Reg<u32, _CARDTHRCTL>>[src]

pub fn cardrdthren(&self) -> CARDRDTHREN_R[src]

Bit 0 - Card Read Threshold Enable.

pub fn bsyclrinten(&self) -> BSYCLRINTEN_R[src]

Bit 1 - Busy Clear Interrupt Enable.

pub fn cardthreshold(&self) -> CARDTHRESHOLD_R[src]

Bits 16:23 - Card Threshold size.

impl R<u32, Reg<u32, _BACKENDPWR>>[src]

pub fn backendpwr(&self) -> BACKENDPWR_R[src]

Bit 0 - Back-end Power control for card application.

impl R<u32, Reg<u32, _FIFO>>[src]

pub fn data(&self) -> DATA_R[src]

Bits 0:31 - SDIF FIFO.

impl R<u32, Reg<u32, _TEST>>[src]

pub fn lbck(&self) -> LBCK_R[src]

Bit 4 - Loop back mode.

pub fn tx(&self) -> TX_R[src]

Bits 5:6 - Control of transmit pin.

pub fn rx(&self) -> RX_R[src]

Bit 7 - Monitors the actual value of the CAN_RXD.

impl R<u32, Reg<u32, _CCCR>>[src]

pub fn init(&self) -> INIT_R[src]

Bit 0 - Initialization.

pub fn cce(&self) -> CCE_R[src]

Bit 1 - Configuration change enable.

pub fn asm(&self) -> ASM_R[src]

Bit 2 - Restricted operational mode.

pub fn csa(&self) -> CSA_R[src]

Bit 3 - Clock Stop Acknowledge.

pub fn csr(&self) -> CSR_R[src]

Bit 4 - Clock Stop Request.

pub fn mon(&self) -> MON_R[src]

Bit 5 - Bus monitoring mode.

pub fn dar(&self) -> DAR_R[src]

Bit 6 - Disable automatic retransmission.

pub fn test(&self) -> TEST_R[src]

Bit 7 - Test mode enable.

pub fn pxhd(&self) -> PXHD_R[src]

Bit 12 - Protocol exception handling disable.

pub fn efbi(&self) -> EFBI_R[src]

Bit 13 - Edge filtering during bus integration.

pub fn txp(&self) -> TXP_R[src]

Bit 14 - Transmit pause.

impl R<u32, Reg<u32, _NBTP>>[src]

pub fn ntseg2(&self) -> NTSEG2_R[src]

Bits 0:6 - Nominal time segment after sample point.

pub fn ntseg1(&self) -> NTSEG1_R[src]

Bits 8:15 - Nominal time segment before sample point.

pub fn nbrp(&self) -> NBRP_R[src]

Bits 16:24 - Nominal bit rate prescaler.

pub fn nsjw(&self) -> NSJW_R[src]

Bits 25:31 - Nominal (re)synchronization jump width.

impl R<u32, Reg<u32, _TSCC>>[src]

pub fn tss(&self) -> TSS_R[src]

Bits 0:1 - Timestamp select.

pub fn tcp(&self) -> TCP_R[src]

Bits 16:19 - Timestamp counter prescaler Configures the timestamp and timeout counters time unit in multiple of CAN bit times.

impl R<u32, Reg<u32, _TSCV>>[src]

pub fn tsc(&self) -> TSC_R[src]

Bits 0:15 - Timestamp counter.

impl R<u32, Reg<u32, _TOCC>>[src]

pub fn etoc(&self) -> ETOC_R[src]

Bit 0 - Enable timeout counter.

pub fn tos(&self) -> TOS_R[src]

Bits 1:2 - Timeout select.

pub fn top(&self) -> TOP_R[src]

Bits 16:31 - Timeout period.

impl R<u32, Reg<u32, _TOCV>>[src]

pub fn toc(&self) -> TOC_R[src]

Bits 0:15 - Timeout counter.

impl R<u32, Reg<u32, _ECR>>[src]

pub fn tec(&self) -> TEC_R[src]

Bits 0:7 - Transmit error counter.

pub fn rec(&self) -> REC_R[src]

Bits 8:14 - Receive error counter.

pub fn rp(&self) -> RP_R[src]

Bit 15 - Receive error passive.

pub fn cel(&self) -> CEL_R[src]

Bits 16:23 - CAN error logging.

impl R<u32, Reg<u32, _PSR>>[src]

pub fn lec(&self) -> LEC_R[src]

Bits 0:2 - Last error code.

pub fn act(&self) -> ACT_R[src]

Bits 3:4 - Activity.

pub fn ep(&self) -> EP_R[src]

Bit 5 - Error Passive.

pub fn ew(&self) -> EW_R[src]

Bit 6 - Warning status.

pub fn bo(&self) -> BO_R[src]

Bit 7 - Bus Off Status.

pub fn pxe(&self) -> PXE_R[src]

Bit 14 - Protocol exception event.

pub fn tdcv(&self) -> TDCV_R[src]

Bits 16:22 - Transmitter delay compensation value.

impl R<u32, Reg<u32, _TDCR>>[src]

pub fn tdcf(&self) -> TDCF_R[src]

Bits 0:6 - Transmitter delay compensation filter window length.

pub fn tdco(&self) -> TDCO_R[src]

Bits 8:14 - Transmitter delay compensation offset.

impl R<u32, Reg<u32, _IR>>[src]

pub fn rf0n(&self) -> RF0N_R[src]

Bit 0 - Rx FIFO 0 new message.

pub fn rf0w(&self) -> RF0W_R[src]

Bit 1 - Rx FIFO 0 watermark reached.

pub fn rf0f(&self) -> RF0F_R[src]

Bit 2 - Rx FIFO 0 full.

pub fn rf0l(&self) -> RF0L_R[src]

Bit 3 - Rx FIFO 0 message lost.

pub fn rf1n(&self) -> RF1N_R[src]

Bit 4 - Rx FIFO 1 new message.

pub fn rf1w(&self) -> RF1W_R[src]

Bit 5 - Rx FIFO 1 watermark reached.

pub fn rf1f(&self) -> RF1F_R[src]

Bit 6 - Rx FIFO 1 full.

pub fn rf1l(&self) -> RF1L_R[src]

Bit 7 - Rx FIFO 1 message lost.

pub fn hpm(&self) -> HPM_R[src]

Bit 8 - High priority message.

pub fn tc(&self) -> TC_R[src]

Bit 9 - Transmission completed.

pub fn tcf(&self) -> TCF_R[src]

Bit 10 - Transmission cancellation finished.

pub fn tfe(&self) -> TFE_R[src]

Bit 11 - Tx FIFO empty.

pub fn tefn(&self) -> TEFN_R[src]

Bit 12 - Tx event FIFO new entry.

pub fn tefw(&self) -> TEFW_R[src]

Bit 13 - Tx event FIFO watermark reached.

pub fn teff(&self) -> TEFF_R[src]

Bit 14 - Tx event FIFO full.

pub fn tefl(&self) -> TEFL_R[src]

Bit 15 - Tx event FIFO element lost.

pub fn tsw(&self) -> TSW_R[src]

Bit 16 - Timestamp wraparound.

pub fn mraf(&self) -> MRAF_R[src]

Bit 17 - Message RAM access failure.

pub fn too(&self) -> TOO_R[src]

Bit 18 - Timeout occurred.

pub fn drx(&self) -> DRX_R[src]

Bit 19 - Message stored in dedicated Rx buffer.

pub fn bec(&self) -> BEC_R[src]

Bit 20 - Bit error corrected.

pub fn beu(&self) -> BEU_R[src]

Bit 21 - Bit error uncorrected.

pub fn elo(&self) -> ELO_R[src]

Bit 22 - Error logging overflow.

pub fn ep(&self) -> EP_R[src]

Bit 23 - Error passive.

pub fn ew(&self) -> EW_R[src]

Bit 24 - Warning status.

pub fn bo(&self) -> BO_R[src]

Bit 25 - Bus_Off Status.

pub fn wdi(&self) -> WDI_R[src]

Bit 26 - Watchdog interrupt.

pub fn pea(&self) -> PEA_R[src]

Bit 27 - Protocol error in arbitration phase.

pub fn ped(&self) -> PED_R[src]

Bit 28 - Protocol error in data phase.

pub fn ara(&self) -> ARA_R[src]

Bit 29 - Access to reserved address.

impl R<u32, Reg<u32, _IE>>[src]

pub fn rf0ne(&self) -> RF0NE_R[src]

Bit 0 - Rx FIFO 0 new message interrupt enable.

pub fn rf0we(&self) -> RF0WE_R[src]

Bit 1 - Rx FIFO 0 watermark reached interrupt enable.

pub fn rf0fe(&self) -> RF0FE_R[src]

Bit 2 - Rx FIFO 0 full interrupt enable.

pub fn rf0le(&self) -> RF0LE_R[src]

Bit 3 - Rx FIFO 0 message lost interrupt enable.

pub fn rf1ne(&self) -> RF1NE_R[src]

Bit 4 - Rx FIFO 1 new message interrupt enable.

pub fn rf1we(&self) -> RF1WE_R[src]

Bit 5 - Rx FIFO 1 watermark reached interrupt enable.

pub fn rf1fe(&self) -> RF1FE_R[src]

Bit 6 - Rx FIFO 1 full interrupt enable.

pub fn rf1le(&self) -> RF1LE_R[src]

Bit 7 - Rx FIFO 1 message lost interrupt enable.

pub fn hpme(&self) -> HPME_R[src]

Bit 8 - High priority message interrupt enable.

pub fn tce(&self) -> TCE_R[src]

Bit 9 - Transmission completed interrupt enable.

pub fn tcfe(&self) -> TCFE_R[src]

Bit 10 - Transmission cancellation finished interrupt enable.

pub fn tfee(&self) -> TFEE_R[src]

Bit 11 - Tx FIFO empty interrupt enable.

pub fn tefne(&self) -> TEFNE_R[src]

Bit 12 - Tx event FIFO new entry interrupt enable.

pub fn tefwe(&self) -> TEFWE_R[src]

Bit 13 - Tx event FIFO watermark reached interrupt enable.

pub fn teffe(&self) -> TEFFE_R[src]

Bit 14 - Tx event FIFO full interrupt enable.

pub fn tefle(&self) -> TEFLE_R[src]

Bit 15 - Tx event FIFO element lost interrupt enable.

pub fn tswe(&self) -> TSWE_R[src]

Bit 16 - Timestamp wraparound interrupt enable.

pub fn mrafe(&self) -> MRAFE_R[src]

Bit 17 - Message RAM access failure interrupt enable.

pub fn tooe(&self) -> TOOE_R[src]

Bit 18 - Timeout occurred interrupt enable.

pub fn drxe(&self) -> DRXE_R[src]

Bit 19 - Message stored in dedicated Rx buffer interrupt enable.

pub fn bece(&self) -> BECE_R[src]

Bit 20 - Bit error corrected interrupt enable.

pub fn beue(&self) -> BEUE_R[src]

Bit 21 - Bit error uncorrected interrupt enable.

pub fn eloe(&self) -> ELOE_R[src]

Bit 22 - Error logging overflow interrupt enable.

pub fn epe(&self) -> EPE_R[src]

Bit 23 - Error passive interrupt enable.

pub fn ewe(&self) -> EWE_R[src]

Bit 24 - Warning status interrupt enable.

pub fn boe(&self) -> BOE_R[src]

Bit 25 - Bus_Off Status interrupt enable.

pub fn wdie(&self) -> WDIE_R[src]

Bit 26 - Watchdog interrupt enable.

pub fn peae(&self) -> PEAE_R[src]

Bit 27 - Protocol error in arbitration phase interrupt enable.

pub fn pede(&self) -> PEDE_R[src]

Bit 28 - Protocol error in data phase interrupt enable.

pub fn arae(&self) -> ARAE_R[src]

Bit 29 - Access to reserved address interrupt enable.

impl R<u32, Reg<u32, _ILS>>[src]

pub fn rf0nl(&self) -> RF0NL_R[src]

Bit 0 - Rx FIFO 0 new message interrupt line.

pub fn rf0wl(&self) -> RF0WL_R[src]

Bit 1 - Rx FIFO 0 watermark reached interrupt line.

pub fn rf0fl(&self) -> RF0FL_R[src]

Bit 2 - Rx FIFO 0 full interrupt line.

pub fn rf0ll(&self) -> RF0LL_R[src]

Bit 3 - Rx FIFO 0 message lost interrupt line.

pub fn rf1nl(&self) -> RF1NL_R[src]

Bit 4 - Rx FIFO 1 new message interrupt line.

pub fn rf1wl(&self) -> RF1WL_R[src]

Bit 5 - Rx FIFO 1 watermark reached interrupt line.

pub fn rf1fl(&self) -> RF1FL_R[src]

Bit 6 - Rx FIFO 1 full interrupt line.

pub fn rf1ll(&self) -> RF1LL_R[src]

Bit 7 - Rx FIFO 1 message lost interrupt line.

pub fn hpml(&self) -> HPML_R[src]

Bit 8 - High priority message interrupt line.

pub fn tcl(&self) -> TCL_R[src]

Bit 9 - Transmission completed interrupt line.

pub fn tcfl(&self) -> TCFL_R[src]

Bit 10 - Transmission cancellation finished interrupt line.

pub fn tfel(&self) -> TFEL_R[src]

Bit 11 - Tx FIFO empty interrupt line.

pub fn tefnl(&self) -> TEFNL_R[src]

Bit 12 - Tx event FIFO new entry interrupt line.

pub fn tefwl(&self) -> TEFWL_R[src]

Bit 13 - Tx event FIFO watermark reached interrupt line.

pub fn teffl(&self) -> TEFFL_R[src]

Bit 14 - Tx event FIFO full interrupt line.

pub fn tefll(&self) -> TEFLL_R[src]

Bit 15 - Tx event FIFO element lost interrupt line.

pub fn tswl(&self) -> TSWL_R[src]

Bit 16 - Timestamp wraparound interrupt line.

pub fn mrafl(&self) -> MRAFL_R[src]

Bit 17 - Message RAM access failure interrupt line.

pub fn tool(&self) -> TOOL_R[src]

Bit 18 - Timeout occurred interrupt line.

pub fn drxl(&self) -> DRXL_R[src]

Bit 19 - Message stored in dedicated Rx buffer interrupt line.

pub fn becl(&self) -> BECL_R[src]

Bit 20 - Bit error corrected interrupt line.

pub fn beul(&self) -> BEUL_R[src]

Bit 21 - Bit error uncorrected interrupt line.

pub fn elol(&self) -> ELOL_R[src]

Bit 22 - Error logging overflow interrupt line.

pub fn epl(&self) -> EPL_R[src]

Bit 23 - Error passive interrupt line.

pub fn ewl(&self) -> EWL_R[src]

Bit 24 - Warning status interrupt line.

pub fn bol(&self) -> BOL_R[src]

Bit 25 - Bus_Off Status interrupt line.

pub fn wdil(&self) -> WDIL_R[src]

Bit 26 - Watchdog interrupt line.

pub fn peal(&self) -> PEAL_R[src]

Bit 27 - Protocol error in arbitration phase interrupt line.

pub fn pedl(&self) -> PEDL_R[src]

Bit 28 - Protocol error in data phase interrupt line.

pub fn aral(&self) -> ARAL_R[src]

Bit 29 - Access to reserved address interrupt line.

impl R<u32, Reg<u32, _ILE>>[src]

pub fn eint0(&self) -> EINT0_R[src]

Bit 0 - Enable interrupt line 0.

pub fn eint1(&self) -> EINT1_R[src]

Bit 1 - Enable interrupt line 1.

impl R<u32, Reg<u32, _GFC>>[src]

pub fn rrfe(&self) -> RRFE_R[src]

Bit 0 - Reject remote frames extended.

pub fn rrfs(&self) -> RRFS_R[src]

Bit 1 - Reject remote frames standard.

pub fn anfe(&self) -> ANFE_R[src]

Bits 2:3 - Accept non-matching frames extended.

pub fn anfs(&self) -> ANFS_R[src]

Bits 4:5 - Accept non-matching frames standard.

impl R<u32, Reg<u32, _SIDFC>>[src]

pub fn flssa(&self) -> FLSSA_R[src]

Bits 2:15 - Filter list standard start address.

pub fn lss(&self) -> LSS_R[src]

Bits 16:23 - List size standard 0 = No standard message ID filter.

impl R<u32, Reg<u32, _XIDFC>>[src]

pub fn flesa(&self) -> FLESA_R[src]

Bits 2:15 - Filter list extended start address.

pub fn lse(&self) -> LSE_R[src]

Bits 16:23 - List size extended 0 = No extended message ID filter.

impl R<u32, Reg<u32, _XIDAM>>[src]

pub fn eidm(&self) -> EIDM_R[src]

Bits 0:28 - Extended ID mask.

impl R<u32, Reg<u32, _HPMS>>[src]

pub fn bidx(&self) -> BIDX_R[src]

Bits 0:5 - Buffer index.

pub fn msi(&self) -> MSI_R[src]

Bits 6:7 - Message storage indicator.

pub fn fidx(&self) -> FIDX_R[src]

Bits 8:14 - Filter index.

pub fn flst(&self) -> FLST_R[src]

Bit 15 - Filter list.

impl R<u32, Reg<u32, _NDAT1>>[src]

pub fn nd(&self) -> ND_R[src]

Bits 0:31 - New Data.

impl R<u32, Reg<u32, _NDAT2>>[src]

pub fn nd(&self) -> ND_R[src]

Bits 0:31 - New Data.

impl R<u32, Reg<u32, _RXF0C>>[src]

pub fn f0sa(&self) -> F0SA_R[src]

Bits 2:15 - Rx FIFO 0 start address.

pub fn f0s(&self) -> F0S_R[src]

Bits 16:22 - Rx FIFO 0 size.

pub fn f0wm(&self) -> F0WM_R[src]

Bits 24:30 - Rx FIFO 0 watermark 0 = Watermark interrupt disabled.

pub fn f0om(&self) -> F0OM_R[src]

Bit 31 - FIFO 0 operation mode.

impl R<u32, Reg<u32, _RXF0S>>[src]

pub fn f0fl(&self) -> F0FL_R[src]

Bits 0:6 - Rx FIFO 0 fill level.

pub fn f0gi(&self) -> F0GI_R[src]

Bits 8:13 - Rx FIFO 0 get index.

pub fn f0pi(&self) -> F0PI_R[src]

Bits 16:21 - Rx FIFO 0 put index.

pub fn f0f(&self) -> F0F_R[src]

Bit 24 - Rx FIFO 0 full.

pub fn rf0l(&self) -> RF0L_R[src]

Bit 25 - Rx FIFO 0 message lost.

impl R<u32, Reg<u32, _RXF0A>>[src]

pub fn f0ai(&self) -> F0AI_R[src]

Bits 0:5 - Rx FIFO 0 acknowledge index.

impl R<u32, Reg<u32, _RXBC>>[src]

pub fn rbsa(&self) -> RBSA_R[src]

Bits 2:15 - Rx buffer start address.

impl R<u32, Reg<u32, _RXF1C>>[src]

pub fn f1sa(&self) -> F1SA_R[src]

Bits 2:15 - Rx FIFO 1 start address.

pub fn f1s(&self) -> F1S_R[src]

Bits 16:22 - Rx FIFO 1 size 0 = No Rx FIFO 1.

pub fn f1wm(&self) -> F1WM_R[src]

Bits 24:30 - Rx FIFO 1 watermark 0 = Watermark interrupt disabled.

pub fn f1om(&self) -> F1OM_R[src]

Bit 31 - FIFO 1 operation mode.

impl R<u32, Reg<u32, _RXF1S>>[src]

pub fn f1fl(&self) -> F1FL_R[src]

Bits 0:6 - Rx FIFO 1 fill level.

pub fn f1gi(&self) -> F1GI_R[src]

Bits 8:13 - Rx FIFO 1 get index.

pub fn f1pi(&self) -> F1PI_R[src]

Bits 16:21 - Rx FIFO 1 put index.

pub fn f1f(&self) -> F1F_R[src]

Bit 24 - Rx FIFO 1 full.

pub fn rf1l(&self) -> RF1L_R[src]

Bit 25 - Rx FIFO 1 message lost.

impl R<u32, Reg<u32, _RXF1A>>[src]

pub fn f1ai(&self) -> F1AI_R[src]

Bits 0:5 - Rx FIFO 1 acknowledge index.

impl R<u32, Reg<u32, _RXESC>>[src]

pub fn f0ds(&self) -> F0DS_R[src]

Bits 0:2 - Rx FIFO 0 data field size.

pub fn f1ds(&self) -> F1DS_R[src]

Bits 4:6 - Rx FIFO 1 data field size.

pub fn rbds(&self) -> RBDS_R[src]

Bits 8:10 - .

impl R<u32, Reg<u32, _TXBC>>[src]

pub fn tbsa(&self) -> TBSA_R[src]

Bits 2:15 - Tx buffers start address.

pub fn ndtb(&self) -> NDTB_R[src]

Bits 16:21 - Number of dedicated transmit buffers 0 = No dedicated Tx buffers.

pub fn tfqs(&self) -> TFQS_R[src]

Bits 24:29 - Transmit FIFO/queue size 0 = No tx FIFO/Queue.

pub fn tfqm(&self) -> TFQM_R[src]

Bit 30 - Tx FIFO/queue mode.

impl R<u32, Reg<u32, _TXFQS>>[src]

pub fn tfgi(&self) -> TFGI_R[src]

Bits 8:12 - Tx FIFO get index.

pub fn tfqpi(&self) -> TFQPI_R[src]

Bits 16:20 - Tx FIFO/queue put index.

pub fn tfqf(&self) -> TFQF_R[src]

Bit 21 - Tx FIFO/queue full.

impl R<u32, Reg<u32, _TXESC>>[src]

pub fn tbds(&self) -> TBDS_R[src]

Bits 0:2 - Tx buffer data field size.

impl R<u32, Reg<u32, _TXBRP>>[src]

pub fn trp(&self) -> TRP_R[src]

Bits 0:31 - Transmission request pending.

impl R<u32, Reg<u32, _TXBAR>>[src]

pub fn ar(&self) -> AR_R[src]

Bits 0:31 - Add request.

impl R<u32, Reg<u32, _TXBCR>>[src]

pub fn cr(&self) -> CR_R[src]

Bits 0:31 - Cancellation request.

impl R<u32, Reg<u32, _TXBTO>>[src]

pub fn to(&self) -> TO_R[src]

Bits 0:31 - Transmission occurred.

impl R<u32, Reg<u32, _TXBCF>>[src]

pub fn to(&self) -> TO_R[src]

Bits 0:31 - Cancellation finished.

impl R<u32, Reg<u32, _TXBTIE>>[src]

pub fn tie(&self) -> TIE_R[src]

Bits 0:31 - Transmission interrupt enable.

impl R<u32, Reg<u32, _TXBCIE>>[src]

pub fn cfie(&self) -> CFIE_R[src]

Bits 0:31 - Cancellation finished interrupt enable.

impl R<u32, Reg<u32, _TXEFC>>[src]

pub fn efsa(&self) -> EFSA_R[src]

Bits 2:15 - Event FIFO start address.

pub fn efs(&self) -> EFS_R[src]

Bits 16:21 - Event FIFO size 0 = Tx event FIFO disabled.

pub fn efwm(&self) -> EFWM_R[src]

Bits 24:29 - Event FIFO watermark 0 = Watermark interrupt disabled.

impl R<u32, Reg<u32, _TXEFS>>[src]

pub fn effl(&self) -> EFFL_R[src]

Bits 0:5 - Event FIFO fill level.

pub fn efgi(&self) -> EFGI_R[src]

Bits 8:12 - Event FIFO get index.

pub fn efpi(&self) -> EFPI_R[src]

Bits 16:21 - Event FIFO put index.

pub fn eff(&self) -> EFF_R[src]

Bit 24 - Event FIFO full.

pub fn tefl(&self) -> TEFL_R[src]

Bit 25 - Tx event FIFO element lost.

impl R<u32, Reg<u32, _TXEFA>>[src]

pub fn efai(&self) -> EFAI_R[src]

Bits 0:4 - Event FIFO acknowledge index.

impl R<u32, Reg<u32, _MRBA>>[src]

pub fn ba(&self) -> BA_R[src]

Bits 16:31 - Base address for the message RAM in the chip memory map.

impl R<u32, Reg<u32, _ETSCC>>[src]

pub fn etcp(&self) -> ETCP_R[src]

Bits 0:10 - External timestamp prescaler value.

pub fn etce(&self) -> ETCE_R[src]

Bit 31 - External timestamp counter enable.

impl R<u32, Reg<u32, _ETSCV>>[src]

pub fn etsc(&self) -> ETSC_R[src]

Bits 0:15 - External timestamp counter.

impl R<bool, ASYNMODE_A>[src]

pub fn variant(&self) -> ASYNMODE_A[src]

Get enumerated values variant

pub fn is_synchronous_mode(&self) -> bool[src]

Checks if the value of the field is SYNCHRONOUS_MODE

pub fn is_asynchronous_mode(&self) -> bool[src]

Checks if the value of the field is ASYNCHRONOUS_MODE

impl R<u8, RESOL_A>[src]

pub fn variant(&self) -> RESOL_A[src]

Get enumerated values variant

pub fn is_resolution_6_bit(&self) -> bool[src]

Checks if the value of the field is RESOLUTION_6_BIT

pub fn is_resolution_8_bit(&self) -> bool[src]

Checks if the value of the field is RESOLUTION_8_BIT

pub fn is_resolution_10_bit(&self) -> bool[src]

Checks if the value of the field is RESOLUTION_10_BIT

pub fn is_resolution_12_bit(&self) -> bool[src]

Checks if the value of the field is RESOLUTION_12_BIT

impl R<bool, BYPASSCAL_A>[src]

pub fn variant(&self) -> BYPASSCAL_A[src]

Get enumerated values variant

pub fn is_calibrate(&self) -> bool[src]

Checks if the value of the field is CALIBRATE

pub fn is_bypass_calibration(&self) -> bool[src]

Checks if the value of the field is BYPASS_CALIBRATION

impl R<u32, Reg<u32, _CTRL>>[src]

pub fn clkdiv(&self) -> CLKDIV_R[src]

Bits 0:7 - In synchronous mode only, the system clock is divided by this value plus one to produce the clock for the ADC converter, which should be less than or equal to 72 MHz. Typically, software should program the smallest value in this field that yields this maximum clock rate or slightly less, but in certain cases (such as a high-impedance analog source) a slower clock may be desirable. This field is ignored in the asynchronous operating mode.

pub fn asynmode(&self) -> ASYNMODE_R[src]

Bit 8 - Select clock mode.

pub fn resol(&self) -> RESOL_R[src]

Bits 9:10 - The number of bits of ADC resolution. Accuracy can be reduced to achieve higher conversion rates. A single conversion (including one conversion in a burst or sequence) requires the selected number of bits of resolution plus 3 ADC clocks. This field must only be altered when the ADC is fully idle. Changing it during any kind of ADC operation may have unpredictable results. ADC clock frequencies for various resolutions must not exceed: - 5x the system clock rate for 12-bit resolution - 4.3x the system clock rate for 10-bit resolution - 3.6x the system clock for 8-bit resolution - 3x the bus clock rate for 6-bit resolution

pub fn bypasscal(&self) -> BYPASSCAL_R[src]

Bit 11 - Bypass Calibration. This bit may be set to avoid the need to calibrate if offset error is not a concern in the application.

pub fn tsamp(&self) -> TSAMP_R[src]

Bits 12:14 - Sample Time. The default sampling period (TSAMP = '000') at the start of each conversion is 2.5 ADC clock periods. Depending on a variety of factors, including operating conditions and the output impedance of the analog source, longer sampling times may be required. See Section 28.7.10. The TSAMP field specifies the number of additional ADC clock cycles, from zero to seven, by which the sample period will be extended. The total conversion time will increase by the same number of clocks. 000 - The sample period will be the default 2.5 ADC clocks. A complete conversion with 12-bits of accuracy will require 15 clocks. 001- The sample period will be extended by one ADC clock to a total of 3.5 clock periods. A complete 12-bit conversion will require 16 clocks. 010 - The sample period will be extended by two clocks to 4.5 ADC clock cycles. A complete 12-bit conversion will require 17 ADC clocks. 111 - The sample period will be extended by seven clocks to 9.5 ADC clock cycles. A complete 12-bit conversion will require 22 ADC clocks.

impl R<u8, SEL_A>[src]

pub fn variant(&self) -> Variant<u8, SEL_A>[src]

Get enumerated values variant

pub fn is_adc0_in0(&self) -> bool[src]

Checks if the value of the field is ADC0_IN0

pub fn is_temperature_sensor(&self) -> bool[src]

Checks if the value of the field is TEMPERATURE_SENSOR

impl R<u32, Reg<u32, _INSEL>>[src]

pub fn sel(&self) -> SEL_R[src]

Bits 0:1 - Selects the input source for channel 0. All other values are reserved.

impl R<bool, TRIGPOL_A>[src]

pub fn variant(&self) -> TRIGPOL_A[src]

Get enumerated values variant

pub fn is_negative_edge(&self) -> bool[src]

Checks if the value of the field is NEGATIVE_EDGE

pub fn is_positive_edge(&self) -> bool[src]

Checks if the value of the field is POSITIVE_EDGE

impl R<bool, SYNCBYPASS_A>[src]

pub fn variant(&self) -> SYNCBYPASS_A[src]

Get enumerated values variant

pub fn is_enable_trigger_synch(&self) -> bool[src]

Checks if the value of the field is ENABLE_TRIGGER_SYNCH

pub fn is_bypass_trigger_synch(&self) -> bool[src]

Checks if the value of the field is BYPASS_TRIGGER_SYNCH

impl R<bool, LOWPRIO_A>[src]

pub fn variant(&self) -> LOWPRIO_A[src]

Get enumerated values variant

pub fn is_low_priority(&self) -> bool[src]

Checks if the value of the field is LOW_PRIORITY

pub fn is_high_priority(&self) -> bool[src]

Checks if the value of the field is HIGH_PRIORITY

impl R<bool, MODE_A>[src]

pub fn variant(&self) -> MODE_A[src]

Get enumerated values variant

pub fn is_end_of_conversion(&self) -> bool[src]

Checks if the value of the field is END_OF_CONVERSION

pub fn is_end_of_sequence(&self) -> bool[src]

Checks if the value of the field is END_OF_SEQUENCE

impl R<bool, SEQ_ENA_A>[src]

pub fn variant(&self) -> SEQ_ENA_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<u32, Reg<u32, _SEQ_CTRL>>[src]

pub fn channels(&self) -> CHANNELS_R[src]

Bits 0:11 - Selects which one or more of the ADC channels will be sampled and converted when this sequence is launched. A 1 in any bit of this field will cause the corresponding channel to be included in the conversion sequence, where bit 0 corresponds to channel 0, bit 1 to channel 1 and so forth. When this conversion sequence is triggered, either by a hardware trigger or via software command, ADC conversions will be performed on each enabled channel, in sequence, beginning with the lowest-ordered channel. This field can ONLY be changed while SEQA_ENA (bit 31) is LOW. It is allowed to change this field and set bit 31 in the same write.

pub fn trigger(&self) -> TRIGGER_R[src]

Bits 12:17 - Selects which of the available hardware trigger sources will cause this conversion sequence to be initiated. Program the trigger input number in this field. See Table 476. In order to avoid generating a spurious trigger, it is recommended writing to this field only when SEQA_ENA (bit 31) is low. It is safe to change this field and set bit 31 in the same write.

pub fn trigpol(&self) -> TRIGPOL_R[src]

Bit 18 - Select the polarity of the selected input trigger for this conversion sequence. In order to avoid generating a spurious trigger, it is recommended writing to this field only when SEQA_ENA (bit 31) is low. It is safe to change this field and set bit 31 in the same write.

pub fn syncbypass(&self) -> SYNCBYPASS_R[src]

Bit 19 - Setting this bit allows the hardware trigger input to bypass synchronization flip-flop stages and therefore shorten the time between the trigger input signal and the start of a conversion. There are slightly different criteria for whether or not this bit can be set depending on the clock operating mode: Synchronous mode (the ASYNMODE in the CTRL register = 0): Synchronization may be bypassed (this bit may be set) if the selected trigger source is already synchronous with the main system clock (eg. coming from an on-chip, system-clock-based timer). Whether this bit is set or not, a trigger pulse must be maintained for at least one system clock period. Asynchronous mode (the ASYNMODE in the CTRL register = 1): Synchronization may be bypassed (this bit may be set) if it is certain that the duration of a trigger input pulse will be at least one cycle of the ADC clock (regardless of whether the trigger comes from and on-chip or off-chip source). If this bit is NOT set, the trigger pulse must at least be maintained for one system clock period.

pub fn start(&self) -> START_R[src]

Bit 26 - Writing a 1 to this field will launch one pass through this conversion sequence. The behavior will be identical to a sequence triggered by a hardware trigger. Do not write 1 to this bit if the BURST bit is set. This bit is only set to a 1 momentarily when written to launch a conversion sequence. It will consequently always read back as a zero.

pub fn burst(&self) -> BURST_R[src]

Bit 27 - Writing a 1 to this bit will cause this conversion sequence to be continuously cycled through. Other sequence A triggers will be ignored while this bit is set. Repeated conversions can be halted by clearing this bit. The sequence currently in progress will be completed before conversions are terminated. Note that a new sequence could begin just before BURST is cleared.

pub fn singlestep(&self) -> SINGLESTEP_R[src]

Bit 28 - When this bit is set, a hardware trigger or a write to the START bit will launch a single conversion on the next channel in the sequence instead of the default response of launching an entire sequence of conversions. Once all of the channels comprising a sequence have been converted, a subsequent trigger will repeat the sequence beginning with the first enabled channel. Interrupt generation will still occur either after each individual conversion or at the end of the entire sequence, depending on the state of the MODE bit.

pub fn lowprio(&self) -> LOWPRIO_R[src]

Bit 29 - Set priority for sequence A.

pub fn mode(&self) -> MODE_R[src]

Bit 30 - Indicates whether the primary method for retrieving conversion results for this sequence will be accomplished via reading the global data register (SEQA_GDAT) at the end of each conversion, or the individual channel result registers at the end of the entire sequence. Impacts when conversion-complete interrupt/DMA trigger for sequence-A will be generated and which overrun conditions contribute to an overrun interrupt as described below.

pub fn seq_ena(&self) -> SEQ_ENA_R[src]

Bit 31 - Sequence Enable. In order to avoid spuriously triggering the sequence, care should be taken to only set the SEQn_ENA bit when the selected trigger input is in its INACTIVE state (as defined by the TRIGPOL bit). If this condition is not met, the sequence will be triggered immediately upon being enabled. In order to avoid spuriously triggering the sequence, care should be taken to only set the SEQn_ENA bit when the selected trigger input is in its INACTIVE state (as defined by the TRIGPOL bit). If this condition is not met, the sequence will be triggered immediately upon being enabled.

impl R<u32, Reg<u32, _SEQ_GDAT>>[src]

pub fn result(&self) -> RESULT_R[src]

Bits 4:15 - This field contains the 12-bit ADC conversion result from the most recent conversion performed under conversion sequence associated with this register. The result is a binary fraction representing the voltage on the currently-selected input channel as it falls within the range of VREFP to VREFN. Zero in the field indicates that the voltage on the input pin was less than, equal to, or close to that on VREFN, while 0xFFF indicates that the voltage on the input was close to, equal to, or greater than that on VREFP. DATAVALID = 1 indicates that this result has not yet been read.

pub fn thcmprange(&self) -> THCMPRANGE_R[src]

Bits 16:17 - Indicates whether the result of the last conversion performed was above, below or within the range established by the designated threshold comparison registers (THRn_LOW and THRn_HIGH).

pub fn thcmpcross(&self) -> THCMPCROSS_R[src]

Bits 18:19 - Indicates whether the result of the last conversion performed represented a crossing of the threshold level established by the designated LOW threshold comparison register (THRn_LOW) and, if so, in what direction the crossing occurred.

pub fn chn(&self) -> CHN_R[src]

Bits 26:29 - These bits contain the channel from which the RESULT bits were converted (e.g. 0000 identifies channel 0, 0001 channel 1, etc.).

pub fn overrun(&self) -> OVERRUN_R[src]

Bit 30 - This bit is set if a new conversion result is loaded into the RESULT field before a previous result has been read - i.e. while the DATAVALID bit is set. This bit is cleared, along with the DATAVALID bit, whenever this register is read. This bit will contribute to an overrun interrupt/DMA trigger if the MODE bit (in SEQAA_CTRL) for the corresponding sequence is set to '0' (and if the overrun interrupt is enabled).

pub fn datavalid(&self) -> DATAVALID_R[src]

Bit 31 - This bit is set to '1' at the end of each conversion when a new result is loaded into the RESULT field. It is cleared whenever this register is read. This bit will cause a conversion-complete interrupt for the corresponding sequence if the MODE bit (in SEQA_CTRL) for that sequence is set to 0 (and if the interrupt is enabled).

impl R<u32, Reg<u32, _DAT>>[src]

pub fn result(&self) -> RESULT_R[src]

Bits 4:15 - This field contains the 12-bit ADC conversion result from the last conversion performed on this channel. This will be a binary fraction representing the voltage on the AD0[n] pin, as it falls within the range of VREFP to VREFN. Zero in the field indicates that the voltage on the input pin was less than, equal to, or close to that on VREFN, while 0xFFF indicates that the voltage on the input was close to, equal to, or greater than that on VREFP.

pub fn thcmprange(&self) -> THCMPRANGE_R[src]

Bits 16:17 - Threshold Range Comparison result. 0x0 = In Range: The last completed conversion was greater than or equal to the value programmed into the designated LOW threshold register (THRn_LOW) but less than or equal to the value programmed into the designated HIGH threshold register (THRn_HIGH). 0x1 = Below Range: The last completed conversion on was less than the value programmed into the designated LOW threshold register (THRn_LOW). 0x2 = Above Range: The last completed conversion was greater than the value programmed into the designated HIGH threshold register (THRn_HIGH). 0x3 = Reserved.

pub fn thcmpcross(&self) -> THCMPCROSS_R[src]

Bits 18:19 - Threshold Crossing Comparison result. 0x0 = No threshold Crossing detected: The most recent completed conversion on this channel had the same relationship (above or below) to the threshold value established by the designated LOW threshold register (THRn_LOW) as did the previous conversion on this channel. 0x1 = Reserved. 0x2 = Downward Threshold Crossing Detected. Indicates that a threshold crossing in the downward direction has occurred - i.e. the previous sample on this channel was above the threshold value established by the designated LOW threshold register (THRn_LOW) and the current sample is below that threshold. 0x3 = Upward Threshold Crossing Detected. Indicates that a threshold crossing in the upward direction has occurred - i.e. the previous sample on this channel was below the threshold value established by the designated LOW threshold register (THRn_LOW) and the current sample is above that threshold.

pub fn channel(&self) -> CHANNEL_R[src]

Bits 26:29 - This field is hard-coded to contain the channel number that this particular register relates to (i.e. this field will contain 0b0000 for the DAT0 register, 0b0001 for the DAT1 register, etc)

pub fn overrun(&self) -> OVERRUN_R[src]

Bit 30 - This bit will be set to a 1 if a new conversion on this channel completes and overwrites the previous contents of the RESULT field before it has been read - i.e. while the DONE bit is set. This bit is cleared, along with the DONE bit, whenever this register is read or when the data related to this channel is read from either of the global SEQn_GDAT registers. This bit (in any of the 12 registers) will cause an overrun interrupt/DMA trigger to be asserted if the overrun interrupt is enabled. While it is allowed to include the same channels in both conversion sequences, doing so may cause erratic behavior of the DONE and OVERRUN bits in the data registers associated with any of the channels that are shared between the two sequences. Any erratic OVERRUN behavior will also affect overrun interrupt generation, if enabled.

pub fn datavalid(&self) -> DATAVALID_R[src]

Bit 31 - This bit is set to 1 when an ADC conversion on this channel completes. This bit is cleared whenever this register is read or when the data related to this channel is read from either of the global SEQn_GDAT registers. While it is allowed to include the same channels in both conversion sequences, doing so may cause erratic behavior of the DONE and OVERRUN bits in the data registers associated with any of the channels that are shared between the two sequences. Any erratic OVERRUN behavior will also affect overrun interrupt generation, if enabled.

impl R<u32, Reg<u32, _THR0_LOW>>[src]

pub fn thrlow(&self) -> THRLOW_R[src]

Bits 4:15 - Low threshold value against which ADC results will be compared

impl R<u32, Reg<u32, _THR1_LOW>>[src]

pub fn thrlow(&self) -> THRLOW_R[src]

Bits 4:15 - Low threshold value against which ADC results will be compared

impl R<u32, Reg<u32, _THR0_HIGH>>[src]

pub fn thrhigh(&self) -> THRHIGH_R[src]

Bits 4:15 - High threshold value against which ADC results will be compared

impl R<u32, Reg<u32, _THR1_HIGH>>[src]

pub fn thrhigh(&self) -> THRHIGH_R[src]

Bits 4:15 - High threshold value against which ADC results will be compared

impl R<bool, CH0_THRSEL_A>[src]

pub fn variant(&self) -> CH0_THRSEL_A[src]

Get enumerated values variant

pub fn is_threshold0(&self) -> bool[src]

Checks if the value of the field is THRESHOLD0

pub fn is_threshold1(&self) -> bool[src]

Checks if the value of the field is THRESHOLD1

impl R<u32, Reg<u32, _CHAN_THRSEL>>[src]

pub fn ch0_thrsel(&self) -> CH0_THRSEL_R[src]

Bit 0 - Threshold select for channel 0.

pub fn ch1_thrsel(&self) -> CH1_THRSEL_R[src]

Bit 1 - Threshold select for channel 1. See description for channel 0.

pub fn ch2_thrsel(&self) -> CH2_THRSEL_R[src]

Bit 2 - Threshold select for channel 2. See description for channel 0.

pub fn ch3_thrsel(&self) -> CH3_THRSEL_R[src]

Bit 3 - Threshold select for channel 3. See description for channel 0.

pub fn ch4_thrsel(&self) -> CH4_THRSEL_R[src]

Bit 4 - Threshold select for channel 4. See description for channel 0.

pub fn ch5_thrsel(&self) -> CH5_THRSEL_R[src]

Bit 5 - Threshold select for channel 5. See description for channel 0.

pub fn ch6_thrsel(&self) -> CH6_THRSEL_R[src]

Bit 6 - Threshold select for channel 6. See description for channel 0.

pub fn ch7_thrsel(&self) -> CH7_THRSEL_R[src]

Bit 7 - Threshold select for channel 7. See description for channel 0.

pub fn ch8_thrsel(&self) -> CH8_THRSEL_R[src]

Bit 8 - Threshold select for channel 8. See description for channel 0.

pub fn ch9_thrsel(&self) -> CH9_THRSEL_R[src]

Bit 9 - Threshold select for channel 9. See description for channel 0.

pub fn ch10_thrsel(&self) -> CH10_THRSEL_R[src]

Bit 10 - Threshold select for channel 10. See description for channel 0.

pub fn ch11_thrsel(&self) -> CH11_THRSEL_R[src]

Bit 11 - Threshold select for channel 11. See description for channel 0.

impl R<bool, SEQA_INTEN_A>[src]

pub fn variant(&self) -> SEQA_INTEN_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, SEQB_INTEN_A>[src]

pub fn variant(&self) -> SEQB_INTEN_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<bool, OVR_INTEN_A>[src]

pub fn variant(&self) -> OVR_INTEN_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED

impl R<u8, ADCMPINTEN0_A>[src]

pub fn variant(&self) -> Variant<u8, ADCMPINTEN0_A>[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_outside_threshold(&self) -> bool[src]

Checks if the value of the field is OUTSIDE_THRESHOLD

pub fn is_crossing_threshold(&self) -> bool[src]

Checks if the value of the field is CROSSING_THRESHOLD

impl R<u32, Reg<u32, _INTEN>>[src]

pub fn seqa_inten(&self) -> SEQA_INTEN_R[src]

Bit 0 - Sequence A interrupt enable.

pub fn seqb_inten(&self) -> SEQB_INTEN_R[src]

Bit 1 - Sequence B interrupt enable.

pub fn ovr_inten(&self) -> OVR_INTEN_R[src]

Bit 2 - Overrun interrupt enable.

pub fn adcmpinten0(&self) -> ADCMPINTEN0_R[src]

Bits 3:4 - Threshold comparison interrupt enable for channel 0.

pub fn adcmpinten1(&self) -> ADCMPINTEN1_R[src]

Bits 5:6 - Channel 1 threshold comparison interrupt enable. See description for channel 0.

pub fn adcmpinten2(&self) -> ADCMPINTEN2_R[src]

Bits 7:8 - Channel 2 threshold comparison interrupt enable. See description for channel 0.

pub fn adcmpinten3(&self) -> ADCMPINTEN3_R[src]

Bits 9:10 - Channel 3 threshold comparison interrupt enable. See description for channel 0.

pub fn adcmpinten4(&self) -> ADCMPINTEN4_R[src]

Bits 11:12 - Channel 4 threshold comparison interrupt enable. See description for channel 0.

pub fn adcmpinten5(&self) -> ADCMPINTEN5_R[src]

Bits 13:14 - Channel 5 threshold comparison interrupt enable. See description for channel 0.

pub fn adcmpinten6(&self) -> ADCMPINTEN6_R[src]

Bits 15:16 - Channel 6 threshold comparison interrupt enable. See description for channel 0.

pub fn adcmpinten7(&self) -> ADCMPINTEN7_R[src]

Bits 17:18 - Channel 7 threshold comparison interrupt enable. See description for channel 0.

pub fn adcmpinten8(&self) -> ADCMPINTEN8_R[src]

Bits 19:20 - Channel 8 threshold comparison interrupt enable. See description for channel 0.

pub fn adcmpinten9(&self) -> ADCMPINTEN9_R[src]

Bits 21:22 - Channel 9 threshold comparison interrupt enable. See description for channel 0.

pub fn adcmpinten10(&self) -> ADCMPINTEN10_R[src]

Bits 23:24 - Channel 10 threshold comparison interrupt enable. See description for channel 0.

pub fn adcmpinten11(&self) -> ADCMPINTEN11_R[src]

Bits 25:26 - Channel 21 threshold comparison interrupt enable. See description for channel 0.

impl R<u32, Reg<u32, _FLAGS>>[src]

pub fn thcmp0(&self) -> THCMP0_R[src]

Bit 0 - Threshold comparison event on Channel 0. Set to 1 upon either an out-of-range result or a threshold-crossing result if enabled to do so in the INTEN register. This bit is cleared by writing a 1.

pub fn thcmp1(&self) -> THCMP1_R[src]

Bit 1 - Threshold comparison event on Channel 1. See description for channel 0.

pub fn thcmp2(&self) -> THCMP2_R[src]

Bit 2 - Threshold comparison event on Channel 2. See description for channel 0.

pub fn thcmp3(&self) -> THCMP3_R[src]

Bit 3 - Threshold comparison event on Channel 3. See description for channel 0.

pub fn thcmp4(&self) -> THCMP4_R[src]

Bit 4 - Threshold comparison event on Channel 4. See description for channel 0.

pub fn thcmp5(&self) -> THCMP5_R[src]

Bit 5 - Threshold comparison event on Channel 5. See description for channel 0.

pub fn thcmp6(&self) -> THCMP6_R[src]

Bit 6 - Threshold comparison event on Channel 6. See description for channel 0.

pub fn thcmp7(&self) -> THCMP7_R[src]

Bit 7 - Threshold comparison event on Channel 7. See description for channel 0.

pub fn thcmp8(&self) -> THCMP8_R[src]

Bit 8 - Threshold comparison event on Channel 8. See description for channel 0.

pub fn thcmp9(&self) -> THCMP9_R[src]

Bit 9 - Threshold comparison event on Channel 9. See description for channel 0.

pub fn thcmp10(&self) -> THCMP10_R[src]

Bit 10 - Threshold comparison event on Channel 10. See description for channel 0.

pub fn thcmp11(&self) -> THCMP11_R[src]

Bit 11 - Threshold comparison event on Channel 11. See description for channel 0.

pub fn overrun0(&self) -> OVERRUN0_R[src]

Bit 12 - Mirrors the OVERRRUN status flag from the result register for ADC channel 0

pub fn overrun1(&self) -> OVERRUN1_R[src]

Bit 13 - Mirrors the OVERRRUN status flag from the result register for ADC channel 1

pub fn overrun2(&self) -> OVERRUN2_R[src]

Bit 14 - Mirrors the OVERRRUN status flag from the result register for ADC channel 2

pub fn overrun3(&self) -> OVERRUN3_R[src]

Bit 15 - Mirrors the OVERRRUN status flag from the result register for ADC channel 3

pub fn overrun4(&self) -> OVERRUN4_R[src]

Bit 16 - Mirrors the OVERRRUN status flag from the result register for ADC channel 4

pub fn overrun5(&self) -> OVERRUN5_R[src]

Bit 17 - Mirrors the OVERRRUN status flag from the result register for ADC channel 5

pub fn overrun6(&self) -> OVERRUN6_R[src]

Bit 18 - Mirrors the OVERRRUN status flag from the result register for ADC channel 6

pub fn overrun7(&self) -> OVERRUN7_R[src]

Bit 19 - Mirrors the OVERRRUN status flag from the result register for ADC channel 7

pub fn overrun8(&self) -> OVERRUN8_R[src]

Bit 20 - Mirrors the OVERRRUN status flag from the result register for ADC channel 8

pub fn overrun9(&self) -> OVERRUN9_R[src]

Bit 21 - Mirrors the OVERRRUN status flag from the result register for ADC channel 9

pub fn overrun10(&self) -> OVERRUN10_R[src]

Bit 22 - Mirrors the OVERRRUN status flag from the result register for ADC channel 10

pub fn overrun11(&self) -> OVERRUN11_R[src]

Bit 23 - Mirrors the OVERRRUN status flag from the result register for ADC channel 11

pub fn seqa_ovr(&self) -> SEQA_OVR_R[src]

Bit 24 - Mirrors the global OVERRUN status flag in the SEQA_GDAT register

pub fn seqb_ovr(&self) -> SEQB_OVR_R[src]

Bit 25 - Mirrors the global OVERRUN status flag in the SEQB_GDAT register

pub fn seqa_int(&self) -> SEQA_INT_R[src]

Bit 28 - Sequence A interrupt/DMA trigger. If the MODE bit in the SEQA_CTRL register is 0, this flag will mirror the DATAVALID bit in the sequence A global data register (SEQA_GDAT), which is set at the end of every ADC conversion performed as part of sequence A. It will be cleared automatically when the SEQA_GDAT register is read. If the MODE bit in the SEQA_CTRL register is 1, this flag will be set upon completion of an entire A sequence. In this case it must be cleared by writing a 1 to this SEQA_INT bit. This interrupt must be enabled in the INTEN register.

pub fn seqb_int(&self) -> SEQB_INT_R[src]

Bit 29 - Sequence A interrupt/DMA trigger. If the MODE bit in the SEQB_CTRL register is 0, this flag will mirror the DATAVALID bit in the sequence A global data register (SEQB_GDAT), which is set at the end of every ADC conversion performed as part of sequence B. It will be cleared automatically when the SEQB_GDAT register is read. If the MODE bit in the SEQB_CTRL register is 1, this flag will be set upon completion of an entire B sequence. In this case it must be cleared by writing a 1 to this SEQB_INT bit. This interrupt must be enabled in the INTEN register.

pub fn thcmp_int(&self) -> THCMP_INT_R[src]

Bit 30 - Threshold Comparison Interrupt. This bit will be set if any of the THCMP flags in the lower bits of this register are set to 1 (due to an enabled out-of-range or threshold-crossing event on any channel). Each type of threshold comparison interrupt on each channel must be individually enabled in the INTEN register to cause this interrupt. This bit will be cleared when all of the individual threshold flags are cleared via writing 1s to those bits.

pub fn ovr_int(&self) -> OVR_INT_R[src]

Bit 31 - Overrun Interrupt flag. Any overrun bit in any of the individual channel data registers will cause this interrupt. In addition, if the MODE bit in either of the SEQn_CTRL registers is 0 then the OVERRUN bit in the corresponding SEQn_GDAT register will also cause this interrupt. This interrupt must be enabled in the INTEN register. This bit will be cleared when all of the individual overrun bits have been cleared via reading the corresponding data registers.

impl R<u32, Reg<u32, _STARTUP>>[src]

pub fn adc_ena(&self) -> ADC_ENA_R[src]

Bit 0 - ADC Enable bit. This bit can only be set to a 1 by software. It is cleared automatically whenever the ADC is powered down. This bit must not be set until at least 10 microseconds after the ADC is powered up (typically by altering a system-level ADC power control bit).

pub fn adc_init(&self) -> ADC_INIT_R[src]

Bit 1 - ADC Initialization. After enabling the ADC (setting the ADC_ENA bit), the API routine will EITHER set this bit or the CALIB bit in the CALIB register, depending on whether or not calibration is required. Setting this bit will launch the 'dummy' conversion cycle that is required if a calibration is not performed. It will also reload the stored calibration value from a previous calibration unless the BYPASSCAL bit is set. This bit should only be set AFTER the ADC_ENA bit is set and after the CALIREQD bit is tested to determine whether a calibration or an ADC dummy conversion cycle is required. It should not be set during the same write that sets the ADC_ENA bit. This bit can only be set to a '1' by software. It is cleared automatically when the 'dummy' conversion cycle completes.

impl R<u32, Reg<u32, _CALIB>>[src]

pub fn calib(&self) -> CALIB_R[src]

Bit 0 - Calibration request. Setting this bit will launch an ADC calibration cycle. This bit can only be set to a '1' by software. It is cleared automatically when the calibration cycle completes.

pub fn calreqd(&self) -> CALREQD_R[src]

Bit 1 - Calibration required. This read-only bit indicates if calibration is required when enabling the ADC. CALREQD will be '1' if no calibration has been run since the chip was powered-up and if the BYPASSCAL bit in the CTRL register is low. Software will test this bit to determine whether to initiate a calibration cycle or whether to set the ADC_INIT bit (in the STARTUP register) to launch the ADC initialization process which includes a 'dummy' conversion cycle. Note: A 'dummy' conversion cycle requires approximately 6 ADC clocks as opposed to 81 clocks required for calibration.

pub fn calvalue(&self) -> CALVALUE_R[src]

Bits 2:8 - Calibration Value. This read-only field displays the calibration value established during last calibration cycle. This value is not typically of any use to the user.

impl R<u32, Reg<u32, _HCREVISION>>[src]

pub fn rev(&self) -> REV_R[src]

Bits 0:7 - Revision.

impl R<u32, Reg<u32, _HCCONTROL>>[src]

pub fn cbsr(&self) -> CBSR_R[src]

Bits 0:1 - ControlBulkServiceRatio.

pub fn ple(&self) -> PLE_R[src]

Bit 2 - PeriodicListEnable.

pub fn ie(&self) -> IE_R[src]

Bit 3 - IsochronousEnable.

pub fn cle(&self) -> CLE_R[src]

Bit 4 - ControlListEnable.

pub fn ble(&self) -> BLE_R[src]

Bit 5 - BulkListEnable This bit is set to enable the processing of the Bulk list in the next Frame.

pub fn hcfs(&self) -> HCFS_R[src]

Bits 6:7 - HostControllerFunctionalState for USB 00b: USBRESET 01b: USBRESUME 10b: USBOPERATIONAL 11b: USBSUSPEND A transition to USBOPERATIONAL from another state causes SOFgeneration to begin 1 ms later.

pub fn ir(&self) -> IR_R[src]

Bit 8 - InterruptRouting This bit determines the routing of interrupts generated by events registered in HcInterruptStatus.

pub fn rwc(&self) -> RWC_R[src]

Bit 9 - RemoteWakeupConnected This bit indicates whether HC supports remote wake-up signaling.

pub fn rwe(&self) -> RWE_R[src]

Bit 10 - RemoteWakeupEnable This bit is used by HCD to enable or disable the remote wake-up feature upon the detection of upstream resume signaling.

impl R<u32, Reg<u32, _HCCOMMANDSTATUS>>[src]

pub fn hcr(&self) -> HCR_R[src]

Bit 0 - HostControllerReset This bit is set by HCD to initiate a software reset of HC.

pub fn clf(&self) -> CLF_R[src]

Bit 1 - ControlListFilled This bit is used to indicate whether there are any TDs on the Control list.

pub fn blf(&self) -> BLF_R[src]

Bit 2 - BulkListFilled This bit is used to indicate whether there are any TDs on the Bulk list.

pub fn ocr(&self) -> OCR_R[src]

Bit 3 - OwnershipChangeRequest This bit is set by an OS HCD to request a change of control of the HC.

pub fn soc(&self) -> SOC_R[src]

Bits 6:7 - SchedulingOverrunCount These bits are incremented on each scheduling overrun error.

impl R<u32, Reg<u32, _HCINTERRUPTSTATUS>>[src]

pub fn so(&self) -> SO_R[src]

Bit 0 - SchedulingOverrun This bit is set when the USB schedule for the current Frame overruns and after the update of HccaFrameNumber.

pub fn wdh(&self) -> WDH_R[src]

Bit 1 - WritebackDoneHead This bit is set immediately after HC has written HcDoneHead to HccaDoneHead.

pub fn sf(&self) -> SF_R[src]

Bit 2 - StartofFrame This bit is set by HC at each start of a frame and after the update of HccaFrameNumber.

pub fn rd(&self) -> RD_R[src]

Bit 3 - ResumeDetected This bit is set when HC detects that a device on the USB is asserting resume signaling.

pub fn ue(&self) -> UE_R[src]

Bit 4 - UnrecoverableError This bit is set when HC detects a system error not related to USB.

pub fn fno(&self) -> FNO_R[src]

Bit 5 - FrameNumberOverflow This bit is set when the MSb of HcFmNumber (bit 15) changes value, from 0 to 1 or from 1 to 0, and after HccaFrameNumber has been updated.

pub fn rhsc(&self) -> RHSC_R[src]

Bit 6 - RootHubStatusChange This bit is set when the content of HcRhStatus or the content of any of HcRhPortStatus[NumberofDownstreamPort] has changed.

pub fn oc(&self) -> OC_R[src]

Bits 10:31 - OwnershipChange This bit is set by HC when HCD sets the OwnershipChangeRequest field in HcCommandStatus.

impl R<u32, Reg<u32, _HCINTERRUPTENABLE>>[src]

pub fn so(&self) -> SO_R[src]

Bit 0 - Scheduling Overrun interrupt.

pub fn wdh(&self) -> WDH_R[src]

Bit 1 - HcDoneHead Writeback interrupt.

pub fn sf(&self) -> SF_R[src]

Bit 2 - Start of Frame interrupt.

pub fn rd(&self) -> RD_R[src]

Bit 3 - Resume Detect interrupt.

pub fn ue(&self) -> UE_R[src]

Bit 4 - Unrecoverable Error interrupt.

pub fn fno(&self) -> FNO_R[src]

Bit 5 - Frame Number Overflow interrupt.

pub fn rhsc(&self) -> RHSC_R[src]

Bit 6 - Root Hub Status Change interrupt.

pub fn oc(&self) -> OC_R[src]

Bit 30 - Ownership Change interrupt.

pub fn mie(&self) -> MIE_R[src]

Bit 31 - Master Interrupt Enable.

impl R<u32, Reg<u32, _HCINTERRUPTDISABLE>>[src]

pub fn so(&self) -> SO_R[src]

Bit 0 - Scheduling Overrun interrupt.

pub fn wdh(&self) -> WDH_R[src]

Bit 1 - HcDoneHead Writeback interrupt.

pub fn sf(&self) -> SF_R[src]

Bit 2 - Start of Frame interrupt.

pub fn rd(&self) -> RD_R[src]

Bit 3 - Resume Detect interrupt.

pub fn ue(&self) -> UE_R[src]

Bit 4 - Unrecoverable Error interrupt.

pub fn fno(&self) -> FNO_R[src]

Bit 5 - Frame Number Overflow interrupt.

pub fn rhsc(&self) -> RHSC_R[src]

Bit 6 - Root Hub Status Change interrupt.

pub fn oc(&self) -> OC_R[src]

Bit 30 - Ownership Change interrupt.

pub fn mie(&self) -> MIE_R[src]

Bit 31 - A 0 written to this field is ignored by HC.

impl R<u32, Reg<u32, _HCHCCA>>[src]

pub fn hcca(&self) -> HCCA_R[src]

Bits 8:31 - Base address of the Host Controller Communication Area.

impl R<u32, Reg<u32, _HCPERIODCURRENTED>>[src]

pub fn pced(&self) -> PCED_R[src]

Bits 4:31 - The content of this register is updated by HC after a periodic ED is processed.

impl R<u32, Reg<u32, _HCCONTROLHEADED>>[src]

pub fn ched(&self) -> CHED_R[src]

Bits 4:31 - HC traverses the Control list starting with the HcControlHeadED pointer.

impl R<u32, Reg<u32, _HCCONTROLCURRENTED>>[src]

pub fn cced(&self) -> CCED_R[src]

Bits 4:31 - ControlCurrentED.

impl R<u32, Reg<u32, _HCBULKHEADED>>[src]

pub fn bhed(&self) -> BHED_R[src]

Bits 4:31 - BulkHeadED HC traverses the bulk list starting with the HcBulkHeadED pointer.

impl R<u32, Reg<u32, _HCBULKCURRENTED>>[src]

pub fn bced(&self) -> BCED_R[src]

Bits 4:31 - BulkCurrentED This is advanced to the next ED after the HC has served the current one.

impl R<u32, Reg<u32, _HCDONEHEAD>>[src]

pub fn dh(&self) -> DH_R[src]

Bits 4:31 - DoneHead When a TD is completed, HC writes the content of HcDoneHead to the NextTD field of the TD.

impl R<u32, Reg<u32, _HCFMINTERVAL>>[src]

pub fn fi(&self) -> FI_R[src]

Bits 0:13 - FrameInterval This specifies the interval between two consecutive SOFs in bit times.

pub fn fsmps(&self) -> FSMPS_R[src]

Bits 16:30 - FSLargestDataPacket This field specifies a value which is loaded into the Largest Data Packet Counter at the beginning of each frame.

pub fn fit(&self) -> FIT_R[src]

Bit 31 - FrameIntervalToggle HCD toggles this bit whenever it loads a new value to FrameInterval.

impl R<u32, Reg<u32, _HCFMREMAINING>>[src]

pub fn fr(&self) -> FR_R[src]

Bits 0:13 - FrameRemaining This counter is decremented at each bit time.

pub fn frt(&self) -> FRT_R[src]

Bit 31 - FrameRemainingToggle This bit is loaded from the FrameIntervalToggle field of HcFmInterval whenever FrameRemaining reaches 0.

impl R<u32, Reg<u32, _HCFMNUMBER>>[src]

pub fn fn_(&self) -> FN_R[src]

Bits 0:15 - FrameNumber This is incremented when HcFmRemaining is re-loaded.

impl R<u32, Reg<u32, _HCPERIODICSTART>>[src]

pub fn ps(&self) -> PS_R[src]

Bits 0:13 - PeriodicStart After a hardware reset, this field is cleared and then set by HCD during the HC initialization.

impl R<u32, Reg<u32, _HCLSTHRESHOLD>>[src]

pub fn lst(&self) -> LST_R[src]

Bits 0:11 - LSThreshold This field contains a value which is compared to the FrameRemaining field prior to initiating a Low Speed transaction.

impl R<u32, Reg<u32, _HCRHDESCRIPTORA>>[src]

pub fn ndp(&self) -> NDP_R[src]

Bits 0:7 - NumberDownstreamPorts These bits specify the number of downstream ports supported by the root hub.

pub fn psm(&self) -> PSM_R[src]

Bit 8 - PowerSwitchingMode This bit is used to specify how the power switching of the root hub ports is controlled.

pub fn nps(&self) -> NPS_R[src]

Bit 9 - NoPowerSwitching These bits are used to specify whether power switching is supported or port are always powered.

pub fn dt(&self) -> DT_R[src]

Bit 10 - DeviceType This bit specifies that the root hub is not a compound device.

pub fn ocpm(&self) -> OCPM_R[src]

Bit 11 - OverCurrentProtectionMode This bit describes how the overcurrent status for the root hub ports are reported.

pub fn nocp(&self) -> NOCP_R[src]

Bit 12 - NoOverCurrentProtection This bit describes how the overcurrent status for the root hub ports are reported.

pub fn potpgt(&self) -> POTPGT_R[src]

Bits 24:31 - PowerOnToPowerGoodTime This byte specifies the duration the HCD has to wait before accessing a powered-on port of the root hub.

impl R<u32, Reg<u32, _HCRHDESCRIPTORB>>[src]

pub fn dr(&self) -> DR_R[src]

Bits 0:15 - DeviceRemovable Each bit is dedicated to a port of the Root Hub.

pub fn ppcm(&self) -> PPCM_R[src]

Bits 16:31 - PortPowerControlMask Each bit indicates if a port is affected by a global power control command when PowerSwitchingMode is set.

impl R<u32, Reg<u32, _HCRHSTATUS>>[src]

pub fn lps(&self) -> LPS_R[src]

Bit 0 - (read) LocalPowerStatus The Root Hub does not support the local power status feature; thus, this bit is always read as 0.

pub fn oci(&self) -> OCI_R[src]

Bit 1 - OverCurrentIndicator This bit reports overcurrent conditions when the global reporting is implemented.

pub fn drwe(&self) -> DRWE_R[src]

Bit 15 - (read) DeviceRemoteWakeupEnable This bit enables a ConnectStatusChange bit as a resume event, causing a USBSUSPEND to USBRESUME state transition and setting the ResumeDetected interrupt.

pub fn lpsc(&self) -> LPSC_R[src]

Bit 16 - (read) LocalPowerStatusChange The root hub does not support the local power status feature.

pub fn ocic(&self) -> OCIC_R[src]

Bit 17 - OverCurrentIndicatorChange This bit is set by hardware when a change has occurred to the OCI field of this register.

pub fn crwe(&self) -> CRWE_R[src]

Bit 31 - (write) ClearRemoteWakeupEnable Writing a 1 clears DeviceRemoveWakeupEnable.

impl R<u32, Reg<u32, _HCRHPORTSTATUS>>[src]

pub fn ccs(&self) -> CCS_R[src]

Bit 0 - (read) CurrentConnectStatus This bit reflects the current state of the downstream port.

pub fn pes(&self) -> PES_R[src]

Bit 1 - (read) PortEnableStatus This bit indicates whether the port is enabled or disabled.

pub fn pss(&self) -> PSS_R[src]

Bit 2 - (read) PortSuspendStatus This bit indicates the port is suspended or in the resume sequence.

pub fn poci(&self) -> POCI_R[src]

Bit 3 - (read) PortOverCurrentIndicator This bit is only valid when the Root Hub is configured in such a way that overcurrent conditions are reported on a per-port basis.

pub fn prs(&self) -> PRS_R[src]

Bit 4 - (read) PortResetStatus When this bit is set by a write to SetPortReset, port reset signaling is asserted.

pub fn pps(&self) -> PPS_R[src]

Bit 8 - (read) PortPowerStatus This bit reflects the porta's power status, regardless of the type of power switching implemented.

pub fn lsda(&self) -> LSDA_R[src]

Bit 9 - (read) LowSpeedDeviceAttached This bit indicates the speed of the device attached to this port.

pub fn csc(&self) -> CSC_R[src]

Bit 16 - ConnectStatusChange This bit is set whenever a connect or disconnect event occurs.

pub fn pesc(&self) -> PESC_R[src]

Bit 17 - PortEnableStatusChange This bit is set when hardware events cause the PortEnableStatus bit to be cleared.

pub fn pssc(&self) -> PSSC_R[src]

Bit 18 - PortSuspendStatusChange This bit is set when the full resume sequence is completed.

pub fn ocic(&self) -> OCIC_R[src]

Bit 19 - PortOverCurrentIndicatorChange This bit is valid only if overcurrent conditions are reported on a per-port basis.

pub fn prsc(&self) -> PRSC_R[src]

Bit 20 - PortResetStatusChange This bit is set at the end of the 10 ms port reset signal.

impl R<u32, Reg<u32, _PORTMODE>>[src]

pub fn id(&self) -> ID_R[src]

Bit 0 - Port ID pin value.

pub fn id_en(&self) -> ID_EN_R[src]

Bit 8 - Port ID pin pull-up enable.

pub fn dev_enable(&self) -> DEV_ENABLE_R[src]

Bit 16 - 1: device 0: host.

impl R<u32, Reg<u32, _CAPLENGTH_CHIPID>>[src]

pub fn caplength(&self) -> CAPLENGTH_R[src]

Bits 0:7 - Capability Length: This is used as an offset.

pub fn chipid(&self) -> CHIPID_R[src]

Bits 16:31 - Chip identification: indicates major and minor revision of the IP: [31:24] = Major revision [23:16] = Minor revision Major revisions used: 0x01: USB2.

impl R<u32, Reg<u32, _HCSPARAMS>>[src]

pub fn n_ports(&self) -> N_PORTS_R[src]

Bits 0:3 - This register specifies the number of physical downstream ports implemented on this host controller.

pub fn ppc(&self) -> PPC_R[src]

Bit 4 - This field indicates whether the host controller implementation includes port power control.

pub fn p_indicator(&self) -> P_INDICATOR_R[src]

Bit 16 - This bit indicates whether the ports support port indicator control.

impl R<u32, Reg<u32, _HCCPARAMS>>[src]

pub fn lpmc(&self) -> LPMC_R[src]

Bit 17 - Link Power Management Capability.

impl R<u32, Reg<u32, _FLADJ_FRINDEX>>[src]

pub fn fladj(&self) -> FLADJ_R[src]

Bits 0:5 - Frame Length Timing Value.

pub fn frindex(&self) -> FRINDEX_R[src]

Bits 16:29 - Frame Index: Bits 29 to16 in this register are used for the frame number field in the SOF packet.

impl R<u32, Reg<u32, _ATL_PTD_BASE_ADDR>>[src]

pub fn atl_cur(&self) -> ATL_CUR_R[src]

Bits 4:8 - This indicates the current PTD that is used by the hardware when it is processing the ATL list.

pub fn atl_base(&self) -> ATL_BASE_R[src]

Bits 9:31 - Base address to be used by the hardware to find the start of the ATL list.

impl R<u32, Reg<u32, _ISO_PTD_BASE_ADDR>>[src]

pub fn iso_first(&self) -> ISO_FIRST_R[src]

Bits 5:9 - This indicates the first PTD that is used by the hardware when it is processing the ISO list.

pub fn iso_base(&self) -> ISO_BASE_R[src]

Bits 10:31 - Base address to be used by the hardware to find the start of the ISO list.

impl R<u32, Reg<u32, _INT_PTD_BASE_ADDR>>[src]

pub fn int_first(&self) -> INT_FIRST_R[src]

Bits 5:9 - This indicates the first PTD that is used by the hardware when it is processing the INT list.

pub fn int_base(&self) -> INT_BASE_R[src]

Bits 10:31 - Base address to be used by the hardware to find the start of the INT list.

impl R<u32, Reg<u32, _DATA_PAYLOAD_BASE_ADDR>>[src]

pub fn dat_base(&self) -> DAT_BASE_R[src]

Bits 16:31 - Base address to be used by the hardware to find the start of the data payload section.

impl R<u32, Reg<u32, _USBCMD>>[src]

pub fn rs(&self) -> RS_R[src]

Bit 0 - Run/Stop: 1b = Run.

pub fn hcreset(&self) -> HCRESET_R[src]

Bit 1 - Host Controller Reset: This control bit is used by the software to reset the host controller.

pub fn fls(&self) -> FLS_R[src]

Bits 2:3 - Frame List Size: This field specifies the size of the frame list.

pub fn lhcr(&self) -> LHCR_R[src]

Bit 7 - Light Host Controller Reset: This bit allows the driver software to reset the host controller without affecting the state of the ports.

pub fn atl_en(&self) -> ATL_EN_R[src]

Bit 8 - ATL List enabled.

pub fn iso_en(&self) -> ISO_EN_R[src]

Bit 9 - ISO List enabled.

pub fn int_en(&self) -> INT_EN_R[src]

Bit 10 - INT List enabled.

pub fn hird(&self) -> HIRD_R[src]

Bits 24:27 - Host-Initiated Resume Duration.

pub fn lpm_rwu(&self) -> LPM_RWU_R[src]

Bit 28 - bRemoteWake field.

impl R<u32, Reg<u32, _USBSTS>>[src]

pub fn pcd(&self) -> PCD_R[src]

Bit 2 - Port Change Detect: The host controller sets this bit to logic 1 when any port has a change bit transition from a 0 to a one or a Force Port Resume bit transition from a 0 to a 1 as a result of a J-K transition detected on a suspended port.

pub fn flr(&self) -> FLR_R[src]

Bit 3 - Frame List Rollover: The host controller sets this bit to logic 1 when the frame list index rolls over its maximum value to 0.

pub fn atl_irq(&self) -> ATL_IRQ_R[src]

Bit 16 - ATL IRQ: Indicates that an ATL PTD (with I-bit set) was completed.

pub fn iso_irq(&self) -> ISO_IRQ_R[src]

Bit 17 - ISO IRQ: Indicates that an ISO PTD (with I-bit set) was completed.

pub fn int_irq(&self) -> INT_IRQ_R[src]

Bit 18 - INT IRQ: Indicates that an INT PTD (with I-bit set) was completed.

pub fn sof_irq(&self) -> SOF_IRQ_R[src]

Bit 19 - SOF interrupt: Every time when the host sends a Start of Frame token on the USB bus, this bit is set.

impl R<u32, Reg<u32, _USBINTR>>[src]

pub fn pcde(&self) -> PCDE_R[src]

Bit 2 - Port Change Detect Interrupt Enable: 1: enable 0: disable.

pub fn flre(&self) -> FLRE_R[src]

Bit 3 - Frame List Rollover Interrupt Enable: 1: enable 0: disable.

pub fn atl_irq_e(&self) -> ATL_IRQ_E_R[src]

Bit 16 - ATL IRQ Enable bit: 1: enable 0: disable.

pub fn iso_irq_e(&self) -> ISO_IRQ_E_R[src]

Bit 17 - ISO IRQ Enable bit: 1: enable 0: disable.

pub fn int_irq_e(&self) -> INT_IRQ_E_R[src]

Bit 18 - INT IRQ Enable bit: 1: enable 0: disable.

pub fn sof_e(&self) -> SOF_E_R[src]

Bit 19 - SOF Interrupt Enable bit: 1: enable 0: disable.

impl R<u32, Reg<u32, _PORTSC1>>[src]

pub fn ccs(&self) -> CCS_R[src]

Bit 0 - Current Connect Status: Logic 1 indicates a device is present on the port.

pub fn csc(&self) -> CSC_R[src]

Bit 1 - Connect Status Change: Logic 1 means that the value of CCS has changed.

pub fn ped(&self) -> PED_R[src]

Bit 2 - Port Enabled/Disabled.

pub fn pedc(&self) -> PEDC_R[src]

Bit 3 - Port Enabled/Disabled Change: Logic 1 means that the value of PED has changed.

pub fn oca(&self) -> OCA_R[src]

Bit 4 - Over-current active: Logic 1 means that this port has an over-current condition.

pub fn occ(&self) -> OCC_R[src]

Bit 5 - Over-current change: Logic 1 means that the value of OCA has changed.

pub fn fpr(&self) -> FPR_R[src]

Bit 6 - Force Port Resume: Logic 1 means resume (K-state) detected or driven on the port.

pub fn susp(&self) -> SUSP_R[src]

Bit 7 - Suspend: Logic 1 means port is in the suspend state.

pub fn pr(&self) -> PR_R[src]

Bit 8 - Port Reset: Logic 1 means the port is in the reset state.

pub fn sus_l1(&self) -> SUS_L1_R[src]

Bit 9 - Suspend using L1 0b = Suspend using L2 1b = Suspend using L1 When this bit is set to a 1 and a non-zero value is specified in the Device Address field, the host controller will generate an LPM Token to enter the L1 state whenever software writes a one to the Suspend bit, as well as L1 exit timing during any device or host-initiated resume.

pub fn ls(&self) -> LS_R[src]

Bits 10:11 - Line Status: This field reflects the current logical levels of the DP (bit 11) and DM (bit 10) signal lines.

pub fn pp(&self) -> PP_R[src]

Bit 12 - Port Power: The function of this bit depends on the value of the Port Power Control (PPC) bit in the HCSPARAMS register.

pub fn pic(&self) -> PIC_R[src]

Bits 14:15 - Port Indicator Control : Writing to this field has no effect if the P_INDICATOR bit in the HCSPARAMS register is logic 0.

pub fn ptc(&self) -> PTC_R[src]

Bits 16:19 - Port Test Control: A non-zero value indicates that the port is operating in the test mode as indicated by the value.

pub fn pspd(&self) -> PSPD_R[src]

Bits 20:21 - Port Speed: 00b: Low-speed 01b: Full-speed 10b: High-speed 11b: Reserved.

pub fn woo(&self) -> WOO_R[src]

Bit 22 - Wake on overcurrent enable: Writing this bit to a one enables the port to be sensitive to overcurrent conditions as wake-up events.

pub fn sus_stat(&self) -> SUS_STAT_R[src]

Bits 23:24 - These two bits are used by software to determine whether the most recent L1 suspend request was successful: 00b: Success-state transition was successful (ACK) 01b: Not Yet - Device was unable to enter the L1 state at this time (NYET) 10b: Not supported - Device does not support the L1 state (STALL) 11b: Timeout/Error - Device failed to respond or an error occurred.

pub fn dev_add(&self) -> DEV_ADD_R[src]

Bits 25:31 - Device Address for LPM tokens.

impl R<u32, Reg<u32, _ATL_PTD_DONE_MAP>>[src]

pub fn atl_done(&self) -> ATL_DONE_R[src]

Bits 0:31 - The bit corresponding to a certain PTD will be set to logic 1 as soon as that PTD execution is completed.

impl R<u32, Reg<u32, _ATL_PTD_SKIP_MAP>>[src]

pub fn atl_skip(&self) -> ATL_SKIP_R[src]

Bits 0:31 - When a bit in the PTD Skip Map is set to logic 1, the corresponding PTD will be skipped, independent of the V bit setting.

impl R<u32, Reg<u32, _ISO_PTD_DONE_MAP>>[src]

pub fn iso_done(&self) -> ISO_DONE_R[src]

Bits 0:31 - The bit corresponding to a certain PTD will be set to logic 1 as soon as that PTD execution is completed.

impl R<u32, Reg<u32, _ISO_PTD_SKIP_MAP>>[src]

pub fn iso_skip(&self) -> ISO_SKIP_R[src]

Bits 0:31 - The bit corresponding to a certain PTD will be set to logic 1 as soon as that PTD execution is completed.

impl R<u32, Reg<u32, _INT_PTD_DONE_MAP>>[src]

pub fn int_done(&self) -> INT_DONE_R[src]

Bits 0:31 - The bit corresponding to a certain PTD will be set to logic 1 as soon as that PTD execution is completed.

impl R<u32, Reg<u32, _INT_PTD_SKIP_MAP>>[src]

pub fn int_skip(&self) -> INT_SKIP_R[src]

Bits 0:31 - When a bit in the PTD Skip Map is set to logic 1, the corresponding PTD will be skipped, independent of the V bit setting.

impl R<u32, Reg<u32, _LAST_PTD_INUSE>>[src]

pub fn atl_last(&self) -> ATL_LAST_R[src]

Bits 0:4 - If hardware has reached this PTD and the J bit is not set, it will go to PTD0 as the next PTD to be processed.

pub fn iso_last(&self) -> ISO_LAST_R[src]

Bits 8:12 - This indicates the last PTD in the ISO list.

pub fn int_last(&self) -> INT_LAST_R[src]

Bits 16:20 - This indicates the last PTD in the INT list.

impl R<u32, Reg<u32, _UTMIPLUS_ULPI_DEBUG>>[src]

pub fn phy_addr(&self) -> PHY_ADDR_R[src]

Bits 0:7 - UTMI+ mode: Bits 3:0 are used to control VControl signal on Vendor Interface of UTMI+ ULPI mode: Bits 7:0 are used as the address when doing a register access over the ULPI interface.

pub fn phy_wdata(&self) -> PHY_WDATA_R[src]

Bits 8:15 - UTMI+ mode: Reserved.

pub fn phy_rdata(&self) -> PHY_RDATA_R[src]

Bits 16:23 - UTMI+ mode: Bits 7:0 contains the value returned by the VStatus signal on Vendor Interface of UTMI+ ULPI mode: Bits 7:0 are used for the read data when reading a value to a ULPI PHY register.

pub fn phy_rw(&self) -> PHY_RW_R[src]

Bit 24 - UTMI+ mode: Reserved.

pub fn phy_access(&self) -> PHY_ACCESS_R[src]

Bit 25 - Software writes this bit to one to start a read or write operation.

pub fn phy_mode(&self) -> PHY_MODE_R[src]

Bit 31 - This bit indicates if the interface between the controller is UTMI+ or ULPI 0b: UTMI+ 1b: ULPI If the hardware supports both modes, this bit is RW by SW.

impl R<u32, Reg<u32, _PORTMODE>>[src]

pub fn id0(&self) -> ID0_R[src]

Bit 0 - Port 0 ID pin value.

pub fn id0_en(&self) -> ID0_EN_R[src]

Bit 8 - Port 0 ID pin pull-up enable.

pub fn dev_enable(&self) -> DEV_ENABLE_R[src]

Bit 16 - If this bit is set to one, one of the ports will behave as a USB device.

pub fn sw_ctrl_pdcom(&self) -> SW_CTRL_PDCOM_R[src]

Bit 18 - This bit indicates if the PHY power-down input is controlled by software or by hardware.

pub fn sw_pdcom(&self) -> SW_PDCOM_R[src]

Bit 19 - This bit is only used when SW_CTRL_PDCOM is set to 1b.

impl R<u32, Reg<u32, _ACTLR>>[src]

pub fn dismcycint(&self) -> DISMCYCINT_R[src]

Bit 0 - Disables interruption of multi-cycle instructions.

pub fn disdefwbuf(&self) -> DISDEFWBUF_R[src]

Bit 1 - Disables write buffer use during default memory map accesses.

pub fn disfold(&self) -> DISFOLD_R[src]

Bit 2 - Disables folding of IT instructions.

impl R<u32, Reg<u32, _CPUID>>[src]

pub fn revision(&self) -> REVISION_R[src]

Bits 0:3 - Indicates patch release: 0x0 = Patch 0

pub fn partno(&self) -> PARTNO_R[src]

Bits 4:15 - Indicates part number

pub fn variant(&self) -> VARIANT_R[src]

Bits 20:23 - Indicates processor revision: 0x2 = Revision 2

pub fn implementer(&self) -> IMPLEMENTER_R[src]

Bits 24:31 - Implementer code

impl R<bool, RETTOBASE_A>[src]

pub fn variant(&self) -> RETTOBASE_A[src]

Get enumerated values variant

pub fn is_rettobase_0(&self) -> bool[src]

Checks if the value of the field is RETTOBASE_0

pub fn is_rettobase_1(&self) -> bool[src]

Checks if the value of the field is RETTOBASE_1

impl R<bool, ISRPREEMPT_A>[src]

pub fn variant(&self) -> ISRPREEMPT_A[src]

Get enumerated values variant

pub fn is_isrpreempt_0(&self) -> bool[src]

Checks if the value of the field is ISRPREEMPT_0

pub fn is_isrpreempt_1(&self) -> bool[src]

Checks if the value of the field is ISRPREEMPT_1

impl R<bool, PENDSTSET_A>[src]

pub fn variant(&self) -> PENDSTSET_A[src]

Get enumerated values variant

pub fn is_pendstset_0(&self) -> bool[src]

Checks if the value of the field is PENDSTSET_0

pub fn is_pendstset_1(&self) -> bool[src]

Checks if the value of the field is PENDSTSET_1

impl R<bool, PENDSVSET_A>[src]

pub fn variant(&self) -> PENDSVSET_A[src]

Get enumerated values variant

pub fn is_pendsvset_0(&self) -> bool[src]

Checks if the value of the field is PENDSVSET_0

pub fn is_pendsvset_1(&self) -> bool[src]

Checks if the value of the field is PENDSVSET_1

impl R<bool, NMIPENDSET_A>[src]

pub fn variant(&self) -> NMIPENDSET_A[src]

Get enumerated values variant

pub fn is_nmipendset_0(&self) -> bool[src]

Checks if the value of the field is NMIPENDSET_0

pub fn is_nmipendset_1(&self) -> bool[src]

Checks if the value of the field is NMIPENDSET_1

impl R<u32, Reg<u32, _ICSR>>[src]

pub fn vectactive(&self) -> VECTACTIVE_R[src]

Bits 0:8 - Active exception number

pub fn rettobase(&self) -> RETTOBASE_R[src]

Bit 11 - no description available

pub fn vectpending(&self) -> VECTPENDING_R[src]

Bits 12:17 - Exception number of the highest priority pending enabled exception

pub fn isrpending(&self) -> ISRPENDING_R[src]

Bit 22 - no description available

pub fn isrpreempt(&self) -> ISRPREEMPT_R[src]

Bit 23 - no description available

pub fn pendstset(&self) -> PENDSTSET_R[src]

Bit 26 - no description available

pub fn pendsvset(&self) -> PENDSVSET_R[src]

Bit 28 - no description available

pub fn nmipendset(&self) -> NMIPENDSET_R[src]

Bit 31 - no description available

impl R<u32, Reg<u32, _VTOR>>[src]

pub fn tbloff(&self) -> TBLOFF_R[src]

Bits 7:31 - Vector table base offset

impl R<bool, ENDIANNESS_A>[src]

pub fn variant(&self) -> ENDIANNESS_A[src]

Get enumerated values variant

pub fn is_endianness_0(&self) -> bool[src]

Checks if the value of the field is ENDIANNESS_0

pub fn is_endianness_1(&self) -> bool[src]

Checks if the value of the field is ENDIANNESS_1

impl R<u32, Reg<u32, _AIRCR>>[src]

pub fn prigroup(&self) -> PRIGROUP_R[src]

Bits 8:10 - Interrupt priority grouping field. This field determines the split of group priority from subpriority.

pub fn endianness(&self) -> ENDIANNESS_R[src]

Bit 15 - no description available

pub fn vectkey(&self) -> VECTKEY_R[src]

Bits 16:31 - Register key

impl R<bool, SLEEPONEXIT_A>[src]

pub fn variant(&self) -> SLEEPONEXIT_A[src]

Get enumerated values variant

pub fn is_sleeponexit_0(&self) -> bool[src]

Checks if the value of the field is SLEEPONEXIT_0

pub fn is_sleeponexit_1(&self) -> bool[src]

Checks if the value of the field is SLEEPONEXIT_1

impl R<bool, SLEEPDEEP_A>[src]

pub fn variant(&self) -> SLEEPDEEP_A[src]

Get enumerated values variant

pub fn is_sleepdeep_0(&self) -> bool[src]

Checks if the value of the field is SLEEPDEEP_0

pub fn is_sleepdeep_1(&self) -> bool[src]

Checks if the value of the field is SLEEPDEEP_1

impl R<bool, SEVONPEND_A>[src]

pub fn variant(&self) -> SEVONPEND_A[src]

Get enumerated values variant

pub fn is_sevonpend_0(&self) -> bool[src]

Checks if the value of the field is SEVONPEND_0

pub fn is_sevonpend_1(&self) -> bool[src]

Checks if the value of the field is SEVONPEND_1

impl R<u32, Reg<u32, _SCR>>[src]

pub fn sleeponexit(&self) -> SLEEPONEXIT_R[src]

Bit 1 - no description available

pub fn sleepdeep(&self) -> SLEEPDEEP_R[src]

Bit 2 - no description available

pub fn sevonpend(&self) -> SEVONPEND_R[src]

Bit 4 - no description available

impl R<bool, NONBASETHRDENA_A>[src]

pub fn variant(&self) -> NONBASETHRDENA_A[src]

Get enumerated values variant

pub fn is_nonbasethrdena_0(&self) -> bool[src]

Checks if the value of the field is NONBASETHRDENA_0

pub fn is_nonbasethrdena_1(&self) -> bool[src]

Checks if the value of the field is NONBASETHRDENA_1

impl R<bool, USERSETMPEND_A>[src]

pub fn variant(&self) -> USERSETMPEND_A[src]

Get enumerated values variant

pub fn is_usersetmpend_0(&self) -> bool[src]

Checks if the value of the field is USERSETMPEND_0

pub fn is_usersetmpend_1(&self) -> bool[src]

Checks if the value of the field is USERSETMPEND_1

impl R<bool, UNALIGN_TRP_A>[src]

pub fn variant(&self) -> UNALIGN_TRP_A[src]

Get enumerated values variant

pub fn is_unalign_trp_0(&self) -> bool[src]

Checks if the value of the field is UNALIGN_TRP_0

pub fn is_unalign_trp_1(&self) -> bool[src]

Checks if the value of the field is UNALIGN_TRP_1

impl R<bool, DIV_0_TRP_A>[src]

pub fn variant(&self) -> DIV_0_TRP_A[src]

Get enumerated values variant

pub fn is_div_0_trp_0(&self) -> bool[src]

Checks if the value of the field is DIV_0_TRP_0

pub fn is_div_0_trp_1(&self) -> bool[src]

Checks if the value of the field is DIV_0_TRP_1

impl R<bool, BFHFNMIGN_A>[src]

pub fn variant(&self) -> BFHFNMIGN_A[src]

Get enumerated values variant

pub fn is_bfhfnmign_0(&self) -> bool[src]

Checks if the value of the field is BFHFNMIGN_0

pub fn is_bfhfnmign_1(&self) -> bool[src]

Checks if the value of the field is BFHFNMIGN_1

impl R<bool, STKALIGN_A>[src]

pub fn variant(&self) -> STKALIGN_A[src]

Get enumerated values variant

pub fn is_stkalign_0(&self) -> bool[src]

Checks if the value of the field is STKALIGN_0

pub fn is_stkalign_1(&self) -> bool[src]

Checks if the value of the field is STKALIGN_1

impl R<u32, Reg<u32, _CCR>>[src]

pub fn nonbasethrdena(&self) -> NONBASETHRDENA_R[src]

Bit 0 - no description available

pub fn usersetmpend(&self) -> USERSETMPEND_R[src]

Bit 1 - Enables unprivileged software access to the STIR

pub fn unalign_trp(&self) -> UNALIGN_TRP_R[src]

Bit 3 - Enables unaligned access traps

pub fn div_0_trp(&self) -> DIV_0_TRP_R[src]

Bit 4 - Enables faulting or halting when the processor executes an SDIV or UDIV instruction with a divisor of 0

pub fn bfhfnmign(&self) -> BFHFNMIGN_R[src]

Bit 8 - Enables handlers with priority -1 or -2 to ignore data BusFaults caused by load and store instructions.

pub fn stkalign(&self) -> STKALIGN_R[src]

Bit 9 - Indicates stack alignment on exception entry

impl R<u32, Reg<u32, _SHPR1>>[src]

pub fn pri_4(&self) -> PRI_4_R[src]

Bits 0:7 - Priority of system handler 4, MemManage

pub fn pri_5(&self) -> PRI_5_R[src]

Bits 8:15 - Priority of system handler 5, BusFault

pub fn pri_6(&self) -> PRI_6_R[src]

Bits 16:23 - Priority of system handler 6, UsageFault

impl R<u32, Reg<u32, _SHPR2>>[src]

pub fn pri_11(&self) -> PRI_11_R[src]

Bits 24:31 - Priority of system handler 11, SVCall

impl R<u32, Reg<u32, _SHPR3>>[src]

pub fn pri_14(&self) -> PRI_14_R[src]

Bits 16:23 - Priority of system handler 14, PendSV

pub fn pri_15(&self) -> PRI_15_R[src]

Bits 24:31 - Priority of system handler 15, SysTick exception

impl R<bool, MEMFAULTACT_A>[src]

pub fn variant(&self) -> MEMFAULTACT_A[src]

Get enumerated values variant

pub fn is_memfaultact_0(&self) -> bool[src]

Checks if the value of the field is MEMFAULTACT_0

pub fn is_memfaultact_1(&self) -> bool[src]

Checks if the value of the field is MEMFAULTACT_1

impl R<bool, BUSFAULTACT_A>[src]

pub fn variant(&self) -> BUSFAULTACT_A[src]

Get enumerated values variant

pub fn is_busfaultact_0(&self) -> bool[src]

Checks if the value of the field is BUSFAULTACT_0

pub fn is_busfaultact_1(&self) -> bool[src]

Checks if the value of the field is BUSFAULTACT_1

impl R<bool, USGFAULTACT_A>[src]

pub fn variant(&self) -> USGFAULTACT_A[src]

Get enumerated values variant

pub fn is_usgfaultact_0(&self) -> bool[src]

Checks if the value of the field is USGFAULTACT_0

pub fn is_usgfaultact_1(&self) -> bool[src]

Checks if the value of the field is USGFAULTACT_1

impl R<bool, SVCALLACT_A>[src]

pub fn variant(&self) -> SVCALLACT_A[src]

Get enumerated values variant

pub fn is_svcallact_0(&self) -> bool[src]

Checks if the value of the field is SVCALLACT_0

pub fn is_svcallact_1(&self) -> bool[src]

Checks if the value of the field is SVCALLACT_1

impl R<bool, MONITORACT_A>[src]

pub fn variant(&self) -> MONITORACT_A[src]

Get enumerated values variant

pub fn is_monitoract_0(&self) -> bool[src]

Checks if the value of the field is MONITORACT_0

pub fn is_monitoract_1(&self) -> bool[src]

Checks if the value of the field is MONITORACT_1

impl R<bool, PENDSVACT_A>[src]

pub fn variant(&self) -> PENDSVACT_A[src]

Get enumerated values variant

pub fn is_pendsvact_0(&self) -> bool[src]

Checks if the value of the field is PENDSVACT_0

pub fn is_pendsvact_1(&self) -> bool[src]

Checks if the value of the field is PENDSVACT_1

impl R<bool, SYSTICKACT_A>[src]

pub fn variant(&self) -> SYSTICKACT_A[src]

Get enumerated values variant

pub fn is_systickact_0(&self) -> bool[src]

Checks if the value of the field is SYSTICKACT_0

pub fn is_systickact_1(&self) -> bool[src]

Checks if the value of the field is SYSTICKACT_1

impl R<bool, USGFAULTPENDED_A>[src]

pub fn variant(&self) -> USGFAULTPENDED_A[src]

Get enumerated values variant

pub fn is_usgfaultpended_0(&self) -> bool[src]

Checks if the value of the field is USGFAULTPENDED_0

pub fn is_usgfaultpended_1(&self) -> bool[src]

Checks if the value of the field is USGFAULTPENDED_1

impl R<bool, MEMFAULTPENDED_A>[src]

pub fn variant(&self) -> MEMFAULTPENDED_A[src]

Get enumerated values variant

pub fn is_memfaultpended_0(&self) -> bool[src]

Checks if the value of the field is MEMFAULTPENDED_0

pub fn is_memfaultpended_1(&self) -> bool[src]

Checks if the value of the field is MEMFAULTPENDED_1

impl R<bool, BUSFAULTPENDED_A>[src]

pub fn variant(&self) -> BUSFAULTPENDED_A[src]

Get enumerated values variant

pub fn is_busfaultpended_0(&self) -> bool[src]

Checks if the value of the field is BUSFAULTPENDED_0

pub fn is_busfaultpended_1(&self) -> bool[src]

Checks if the value of the field is BUSFAULTPENDED_1

impl R<bool, SVCALLPENDED_A>[src]

pub fn variant(&self) -> SVCALLPENDED_A[src]

Get enumerated values variant

pub fn is_svcallpended_0(&self) -> bool[src]

Checks if the value of the field is SVCALLPENDED_0

pub fn is_svcallpended_1(&self) -> bool[src]

Checks if the value of the field is SVCALLPENDED_1

impl R<bool, MEMFAULTENA_A>[src]

pub fn variant(&self) -> MEMFAULTENA_A[src]

Get enumerated values variant

pub fn is_memfaultena_0(&self) -> bool[src]

Checks if the value of the field is MEMFAULTENA_0

pub fn is_memfaultena_1(&self) -> bool[src]

Checks if the value of the field is MEMFAULTENA_1

impl R<bool, BUSFAULTENA_A>[src]

pub fn variant(&self) -> BUSFAULTENA_A[src]

Get enumerated values variant

pub fn is_busfaultena_0(&self) -> bool[src]

Checks if the value of the field is BUSFAULTENA_0

pub fn is_busfaultena_1(&self) -> bool[src]

Checks if the value of the field is BUSFAULTENA_1

impl R<bool, USGFAULTENA_A>[src]

pub fn variant(&self) -> USGFAULTENA_A[src]

Get enumerated values variant

pub fn is_usgfaultena_0(&self) -> bool[src]

Checks if the value of the field is USGFAULTENA_0

pub fn is_usgfaultena_1(&self) -> bool[src]

Checks if the value of the field is USGFAULTENA_1

impl R<u32, Reg<u32, _SHCSR>>[src]

pub fn memfaultact(&self) -> MEMFAULTACT_R[src]

Bit 0 - no description available

pub fn busfaultact(&self) -> BUSFAULTACT_R[src]

Bit 1 - no description available

pub fn usgfaultact(&self) -> USGFAULTACT_R[src]

Bit 3 - no description available

pub fn svcallact(&self) -> SVCALLACT_R[src]

Bit 7 - no description available

pub fn monitoract(&self) -> MONITORACT_R[src]

Bit 8 - no description available

pub fn pendsvact(&self) -> PENDSVACT_R[src]

Bit 10 - no description available

pub fn systickact(&self) -> SYSTICKACT_R[src]

Bit 11 - no description available

pub fn usgfaultpended(&self) -> USGFAULTPENDED_R[src]

Bit 12 - no description available

pub fn memfaultpended(&self) -> MEMFAULTPENDED_R[src]

Bit 13 - no description available

pub fn busfaultpended(&self) -> BUSFAULTPENDED_R[src]

Bit 14 - no description available

pub fn svcallpended(&self) -> SVCALLPENDED_R[src]

Bit 15 - no description available

pub fn memfaultena(&self) -> MEMFAULTENA_R[src]

Bit 16 - no description available

pub fn busfaultena(&self) -> BUSFAULTENA_R[src]

Bit 17 - no description available

pub fn usgfaultena(&self) -> USGFAULTENA_R[src]

Bit 18 - no description available

impl R<bool, IACCVIOL_A>[src]

pub fn variant(&self) -> IACCVIOL_A[src]

Get enumerated values variant

pub fn is_iaccviol_0(&self) -> bool[src]

Checks if the value of the field is IACCVIOL_0

pub fn is_iaccviol_1(&self) -> bool[src]

Checks if the value of the field is IACCVIOL_1

impl R<bool, DACCVIOL_A>[src]

pub fn variant(&self) -> DACCVIOL_A[src]

Get enumerated values variant

pub fn is_daccviol_0(&self) -> bool[src]

Checks if the value of the field is DACCVIOL_0

pub fn is_daccviol_1(&self) -> bool[src]

Checks if the value of the field is DACCVIOL_1

impl R<bool, MUNSTKERR_A>[src]

pub fn variant(&self) -> MUNSTKERR_A[src]

Get enumerated values variant

pub fn is_munstkerr_0(&self) -> bool[src]

Checks if the value of the field is MUNSTKERR_0

pub fn is_munstkerr_1(&self) -> bool[src]

Checks if the value of the field is MUNSTKERR_1

impl R<bool, MSTKERR_A>[src]

pub fn variant(&self) -> MSTKERR_A[src]

Get enumerated values variant

pub fn is_mstkerr_0(&self) -> bool[src]

Checks if the value of the field is MSTKERR_0

pub fn is_mstkerr_1(&self) -> bool[src]

Checks if the value of the field is MSTKERR_1

impl R<bool, MLSPERR_A>[src]

pub fn variant(&self) -> MLSPERR_A[src]

Get enumerated values variant

pub fn is_mlsperr_0(&self) -> bool[src]

Checks if the value of the field is MLSPERR_0

pub fn is_mlsperr_1(&self) -> bool[src]

Checks if the value of the field is MLSPERR_1

impl R<bool, MMARVALID_A>[src]

pub fn variant(&self) -> MMARVALID_A[src]

Get enumerated values variant

pub fn is_mmarvalid_0(&self) -> bool[src]

Checks if the value of the field is MMARVALID_0

pub fn is_mmarvalid_1(&self) -> bool[src]

Checks if the value of the field is MMARVALID_1

impl R<bool, IBUSERR_A>[src]

pub fn variant(&self) -> IBUSERR_A[src]

Get enumerated values variant

pub fn is_ibuserr_0(&self) -> bool[src]

Checks if the value of the field is IBUSERR_0

pub fn is_ibuserr_1(&self) -> bool[src]

Checks if the value of the field is IBUSERR_1

impl R<bool, PRECISERR_A>[src]

pub fn variant(&self) -> PRECISERR_A[src]

Get enumerated values variant

pub fn is_preciserr_0(&self) -> bool[src]

Checks if the value of the field is PRECISERR_0

pub fn is_preciserr_1(&self) -> bool[src]

Checks if the value of the field is PRECISERR_1

impl R<bool, IMPRECISERR_A>[src]

pub fn variant(&self) -> IMPRECISERR_A[src]

Get enumerated values variant

pub fn is_impreciserr_0(&self) -> bool[src]

Checks if the value of the field is IMPRECISERR_0

pub fn is_impreciserr_1(&self) -> bool[src]

Checks if the value of the field is IMPRECISERR_1

impl R<bool, UNSTKERR_A>[src]

pub fn variant(&self) -> UNSTKERR_A[src]

Get enumerated values variant

pub fn is_unstkerr_0(&self) -> bool[src]

Checks if the value of the field is UNSTKERR_0

pub fn is_unstkerr_1(&self) -> bool[src]

Checks if the value of the field is UNSTKERR_1

impl R<bool, STKERR_A>[src]

pub fn variant(&self) -> STKERR_A[src]

Get enumerated values variant

pub fn is_stkerr_0(&self) -> bool[src]

Checks if the value of the field is STKERR_0

pub fn is_stkerr_1(&self) -> bool[src]

Checks if the value of the field is STKERR_1

impl R<bool, LSPERR_A>[src]

pub fn variant(&self) -> LSPERR_A[src]

Get enumerated values variant

pub fn is_lsperr_0(&self) -> bool[src]

Checks if the value of the field is LSPERR_0

pub fn is_lsperr_1(&self) -> bool[src]

Checks if the value of the field is LSPERR_1

impl R<bool, BFARVALID_A>[src]

pub fn variant(&self) -> BFARVALID_A[src]

Get enumerated values variant

pub fn is_bfarvalid_0(&self) -> bool[src]

Checks if the value of the field is BFARVALID_0

pub fn is_bfarvalid_1(&self) -> bool[src]

Checks if the value of the field is BFARVALID_1

impl R<bool, UNDEFINSTR_A>[src]

pub fn variant(&self) -> UNDEFINSTR_A[src]

Get enumerated values variant

pub fn is_undefinstr_0(&self) -> bool[src]

Checks if the value of the field is UNDEFINSTR_0

pub fn is_undefinstr_1(&self) -> bool[src]

Checks if the value of the field is UNDEFINSTR_1

impl R<bool, INVSTATE_A>[src]

pub fn variant(&self) -> INVSTATE_A[src]

Get enumerated values variant

pub fn is_invstate_0(&self) -> bool[src]

Checks if the value of the field is INVSTATE_0

pub fn is_invstate_1(&self) -> bool[src]

Checks if the value of the field is INVSTATE_1

impl R<bool, INVPC_A>[src]

pub fn variant(&self) -> INVPC_A[src]

Get enumerated values variant

pub fn is_invpc_0(&self) -> bool[src]

Checks if the value of the field is INVPC_0

pub fn is_invpc_1(&self) -> bool[src]

Checks if the value of the field is INVPC_1

impl R<bool, NOCP_A>[src]

pub fn variant(&self) -> NOCP_A[src]

Get enumerated values variant

pub fn is_nocp_0(&self) -> bool[src]

Checks if the value of the field is NOCP_0

pub fn is_nocp_1(&self) -> bool[src]

Checks if the value of the field is NOCP_1

impl R<bool, UNALIGNED_A>[src]

pub fn variant(&self) -> UNALIGNED_A[src]

Get enumerated values variant

pub fn is_unaligned_0(&self) -> bool[src]

Checks if the value of the field is UNALIGNED_0

pub fn is_unaligned_1(&self) -> bool[src]

Checks if the value of the field is UNALIGNED_1

impl R<bool, DIVBYZERO_A>[src]

pub fn variant(&self) -> DIVBYZERO_A[src]

Get enumerated values variant

pub fn is_divbyzero_0(&self) -> bool[src]

Checks if the value of the field is DIVBYZERO_0

pub fn is_divbyzero_1(&self) -> bool[src]

Checks if the value of the field is DIVBYZERO_1

impl R<u32, Reg<u32, _CFSR>>[src]

pub fn iaccviol(&self) -> IACCVIOL_R[src]

Bit 0 - no description available

pub fn daccviol(&self) -> DACCVIOL_R[src]

Bit 1 - no description available

pub fn munstkerr(&self) -> MUNSTKERR_R[src]

Bit 3 - no description available

pub fn mstkerr(&self) -> MSTKERR_R[src]

Bit 4 - no description available

pub fn mlsperr(&self) -> MLSPERR_R[src]

Bit 5 - no description available

pub fn mmarvalid(&self) -> MMARVALID_R[src]

Bit 7 - no description available

pub fn ibuserr(&self) -> IBUSERR_R[src]

Bit 8 - no description available

pub fn preciserr(&self) -> PRECISERR_R[src]

Bit 9 - no description available

pub fn impreciserr(&self) -> IMPRECISERR_R[src]

Bit 10 - no description available

pub fn unstkerr(&self) -> UNSTKERR_R[src]

Bit 11 - no description available

pub fn stkerr(&self) -> STKERR_R[src]

Bit 12 - no description available

pub fn lsperr(&self) -> LSPERR_R[src]

Bit 13 - no description available

pub fn bfarvalid(&self) -> BFARVALID_R[src]

Bit 15 - no description available

pub fn undefinstr(&self) -> UNDEFINSTR_R[src]

Bit 16 - no description available

pub fn invstate(&self) -> INVSTATE_R[src]

Bit 17 - no description available

pub fn invpc(&self) -> INVPC_R[src]

Bit 18 - no description available

pub fn nocp(&self) -> NOCP_R[src]

Bit 19 - no description available

pub fn unaligned(&self) -> UNALIGNED_R[src]

Bit 24 - no description available

pub fn divbyzero(&self) -> DIVBYZERO_R[src]

Bit 25 - no description available

impl R<bool, VECTTBL_A>[src]

pub fn variant(&self) -> VECTTBL_A[src]

Get enumerated values variant

pub fn is_vecttbl_0(&self) -> bool[src]

Checks if the value of the field is VECTTBL_0

pub fn is_vecttbl_1(&self) -> bool[src]

Checks if the value of the field is VECTTBL_1

impl R<bool, FORCED_A>[src]

pub fn variant(&self) -> FORCED_A[src]

Get enumerated values variant

pub fn is_forced_0(&self) -> bool[src]

Checks if the value of the field is FORCED_0

pub fn is_forced_1(&self) -> bool[src]

Checks if the value of the field is FORCED_1

impl R<u32, Reg<u32, _HFSR>>[src]

pub fn vecttbl(&self) -> VECTTBL_R[src]

Bit 1 - no description available

pub fn forced(&self) -> FORCED_R[src]

Bit 30 - no description available

pub fn debugevt(&self) -> DEBUGEVT_R[src]

Bit 31 - no description available

impl R<bool, HALTED_A>[src]

pub fn variant(&self) -> HALTED_A[src]

Get enumerated values variant

pub fn is_halted_0(&self) -> bool[src]

Checks if the value of the field is HALTED_0

pub fn is_halted_1(&self) -> bool[src]

Checks if the value of the field is HALTED_1

impl R<bool, BKPT_A>[src]

pub fn variant(&self) -> BKPT_A[src]

Get enumerated values variant

pub fn is_bkpt_0(&self) -> bool[src]

Checks if the value of the field is BKPT_0

pub fn is_bkpt_1(&self) -> bool[src]

Checks if the value of the field is BKPT_1

impl R<bool, DWTTRAP_A>[src]

pub fn variant(&self) -> DWTTRAP_A[src]

Get enumerated values variant

pub fn is_dwttrap_0(&self) -> bool[src]

Checks if the value of the field is DWTTRAP_0

pub fn is_dwttrap_1(&self) -> bool[src]

Checks if the value of the field is DWTTRAP_1

impl R<bool, VCATCH_A>[src]

pub fn variant(&self) -> VCATCH_A[src]

Get enumerated values variant

pub fn is_vcatch_0(&self) -> bool[src]

Checks if the value of the field is VCATCH_0

pub fn is_vcatch_1(&self) -> bool[src]

Checks if the value of the field is VCATCH_1

impl R<bool, EXTERNAL_A>[src]

pub fn variant(&self) -> EXTERNAL_A[src]

Get enumerated values variant

pub fn is_external_0(&self) -> bool[src]

Checks if the value of the field is EXTERNAL_0

pub fn is_external_1(&self) -> bool[src]

Checks if the value of the field is EXTERNAL_1

impl R<u32, Reg<u32, _DFSR>>[src]

pub fn halted(&self) -> HALTED_R[src]

Bit 0 - no description available

pub fn bkpt(&self) -> BKPT_R[src]

Bit 1 - no description available

pub fn dwttrap(&self) -> DWTTRAP_R[src]

Bit 2 - no description available

pub fn vcatch(&self) -> VCATCH_R[src]

Bit 3 - no description available

pub fn external(&self) -> EXTERNAL_R[src]

Bit 4 - no description available

impl R<u32, Reg<u32, _MMFAR>>[src]

pub fn address(&self) -> ADDRESS_R[src]

Bits 0:31 - Address of MemManage fault location

impl R<u32, Reg<u32, _BFAR>>[src]

pub fn address(&self) -> ADDRESS_R[src]

Bits 0:31 - Address of the BusFault location

impl R<u32, Reg<u32, _AFSR>>[src]

pub fn auxfault(&self) -> AUXFAULT_R[src]

Bits 0:31 - Latched version of the AUXFAULT inputs

impl R<u8, CP10_A>[src]

pub fn variant(&self) -> Variant<u8, CP10_A>[src]

Get enumerated values variant

pub fn is_cp10_0(&self) -> bool[src]

Checks if the value of the field is CP10_0

pub fn is_cp10_1(&self) -> bool[src]

Checks if the value of the field is CP10_1

pub fn is_cp10_3(&self) -> bool[src]

Checks if the value of the field is CP10_3

impl R<u8, CP11_A>[src]

pub fn variant(&self) -> Variant<u8, CP11_A>[src]

Get enumerated values variant

pub fn is_cp11_0(&self) -> bool[src]

Checks if the value of the field is CP11_0

pub fn is_cp11_1(&self) -> bool[src]

Checks if the value of the field is CP11_1

pub fn is_cp11_3(&self) -> bool[src]

Checks if the value of the field is CP11_3

impl R<u32, Reg<u32, _CPACR>>[src]

pub fn cp10(&self) -> CP10_R[src]

Bits 20:21 - Access privileges for coprocessor 10.

pub fn cp11(&self) -> CP11_R[src]

Bits 22:23 - Access privileges for coprocessor 11.

impl R<bool, LSPACT_A>[src]

pub fn variant(&self) -> LSPACT_A[src]

Get enumerated values variant

pub fn is_lspact_0(&self) -> bool[src]

Checks if the value of the field is LSPACT_0

pub fn is_lspact_1(&self) -> bool[src]

Checks if the value of the field is LSPACT_1

impl R<bool, USER_A>[src]

pub fn variant(&self) -> USER_A[src]

Get enumerated values variant

pub fn is_user_0(&self) -> bool[src]

Checks if the value of the field is USER_0

pub fn is_user_1(&self) -> bool[src]

Checks if the value of the field is USER_1

impl R<bool, THREAD_A>[src]

pub fn variant(&self) -> THREAD_A[src]

Get enumerated values variant

pub fn is_thread_0(&self) -> bool[src]

Checks if the value of the field is THREAD_0

pub fn is_thread_1(&self) -> bool[src]

Checks if the value of the field is THREAD_1

impl R<bool, HFRDY_A>[src]

pub fn variant(&self) -> HFRDY_A[src]

Get enumerated values variant

pub fn is_hfrdy_0(&self) -> bool[src]

Checks if the value of the field is HFRDY_0

pub fn is_hfrdy_1(&self) -> bool[src]

Checks if the value of the field is HFRDY_1

impl R<bool, MMRDY_A>[src]

pub fn variant(&self) -> MMRDY_A[src]

Get enumerated values variant

pub fn is_mmrdy_0(&self) -> bool[src]

Checks if the value of the field is MMRDY_0

pub fn is_mmrdy_1(&self) -> bool[src]

Checks if the value of the field is MMRDY_1

impl R<bool, BFRDY_A>[src]

pub fn variant(&self) -> BFRDY_A[src]

Get enumerated values variant

pub fn is_bfrdy_0(&self) -> bool[src]

Checks if the value of the field is BFRDY_0

pub fn is_bfrdy_1(&self) -> bool[src]

Checks if the value of the field is BFRDY_1

impl R<bool, MONRDY_A>[src]

pub fn variant(&self) -> MONRDY_A[src]

Get enumerated values variant

pub fn is_monrdy_0(&self) -> bool[src]

Checks if the value of the field is MONRDY_0

pub fn is_monrdy_1(&self) -> bool[src]

Checks if the value of the field is MONRDY_1

impl R<bool, LSPEN_A>[src]

pub fn variant(&self) -> LSPEN_A[src]

Get enumerated values variant

pub fn is_lspen_0(&self) -> bool[src]

Checks if the value of the field is LSPEN_0

pub fn is_lspen_1(&self) -> bool[src]

Checks if the value of the field is LSPEN_1

impl R<bool, ASPEN_A>[src]

pub fn variant(&self) -> ASPEN_A[src]

Get enumerated values variant

pub fn is_aspen_0(&self) -> bool[src]

Checks if the value of the field is ASPEN_0

pub fn is_aspen_1(&self) -> bool[src]

Checks if the value of the field is ASPEN_1

impl R<u32, Reg<u32, _FPCCR>>[src]

pub fn lspact(&self) -> LSPACT_R[src]

Bit 0 - Lazy state preservation.

pub fn user(&self) -> USER_R[src]

Bit 1 - Privilege level when the floating-point stack frame was allocated.

pub fn thread(&self) -> THREAD_R[src]

Bit 3 - Mode when the floating-point stack frame was allocated.

pub fn hfrdy(&self) -> HFRDY_R[src]

Bit 4 - Permission to set the HardFault handler to the pending state when the floating-point stack frame was allocated.

pub fn mmrdy(&self) -> MMRDY_R[src]

Bit 5 - Permission to set the MemManage handler to the pending state when the floating-point stack frame was allocated.

pub fn bfrdy(&self) -> BFRDY_R[src]

Bit 6 - Permission to set the BusFault handler to the pending state when the floating-point stack frame was allocated.

pub fn monrdy(&self) -> MONRDY_R[src]

Bit 8 - Permission to set the MON_PEND when the floating-point stack frame was allocated.

pub fn lspen(&self) -> LSPEN_R[src]

Bit 30 - Lazy state preservation for floating-point context.

pub fn aspen(&self) -> ASPEN_R[src]

Bit 31 - Enables CONTROL2 setting on execution of a floating-point instruction. This results in automatic hardware state preservation and restoration, for floating-point context, on exception entry and exit.

impl R<u32, Reg<u32, _FPCAR>>[src]

pub fn address(&self) -> ADDRESS_R[src]

Bits 3:31 - The location of the unpopulated floating-point register space allocated on an exception stack frame.

impl R<u8, RMODE_A>[src]

pub fn variant(&self) -> RMODE_A[src]

Get enumerated values variant

pub fn is_rmode_0(&self) -> bool[src]

Checks if the value of the field is RMODE_0

pub fn is_rmode_1(&self) -> bool[src]

Checks if the value of the field is RMODE_1

pub fn is_rmode_2(&self) -> bool[src]

Checks if the value of the field is RMODE_2

pub fn is_rmode_3(&self) -> bool[src]

Checks if the value of the field is RMODE_3

impl R<bool, FZ_A>[src]

pub fn variant(&self) -> FZ_A[src]

Get enumerated values variant

pub fn is_fz_0(&self) -> bool[src]

Checks if the value of the field is FZ_0

pub fn is_fz_1(&self) -> bool[src]

Checks if the value of the field is FZ_1

impl R<bool, DN_A>[src]

pub fn variant(&self) -> DN_A[src]

Get enumerated values variant

pub fn is_dn_0(&self) -> bool[src]

Checks if the value of the field is DN_0

pub fn is_dn_1(&self) -> bool[src]

Checks if the value of the field is DN_1

impl R<bool, AHP_A>[src]

pub fn variant(&self) -> AHP_A[src]

Get enumerated values variant

pub fn is_ahp_0(&self) -> bool[src]

Checks if the value of the field is AHP_0

pub fn is_ahp_1(&self) -> bool[src]

Checks if the value of the field is AHP_1

impl R<u32, Reg<u32, _FPDSCR>>[src]

pub fn rmode(&self) -> RMODE_R[src]

Bits 22:23 - Default value for FPSCR.RMode (Rounding Mode control field).

pub fn fz(&self) -> FZ_R[src]

Bit 24 - Default value for FPSCR.FZ (Flush-to-zero mode control bit).

pub fn dn(&self) -> DN_R[src]

Bit 25 - Default value for FPSCR.DN (Default NaN mode control bit).

pub fn ahp(&self) -> AHP_R[src]

Bit 26 - Default value for FPSCR.AHP (Alternative half-precision control bit).

impl R<bool, ENABLE_A>[src]

pub fn variant(&self) -> ENABLE_A[src]

Get enumerated values variant

pub fn is_enable_0(&self) -> bool[src]

Checks if the value of the field is ENABLE_0

pub fn is_enable_1(&self) -> bool[src]

Checks if the value of the field is ENABLE_1

impl R<bool, TICKINT_A>[src]

pub fn variant(&self) -> TICKINT_A[src]

Get enumerated values variant

pub fn is_tickint_0(&self) -> bool[src]

Checks if the value of the field is TICKINT_0

pub fn is_tickint_1(&self) -> bool[src]

Checks if the value of the field is TICKINT_1

impl R<bool, CLKSOURCE_A>[src]

pub fn variant(&self) -> CLKSOURCE_A[src]

Get enumerated values variant

pub fn is_clksource_0(&self) -> bool[src]

Checks if the value of the field is CLKSOURCE_0

pub fn is_clksource_1(&self) -> bool[src]

Checks if the value of the field is CLKSOURCE_1

impl R<u32, Reg<u32, _CSR>>[src]

pub fn enable(&self) -> ENABLE_R[src]

Bit 0 - no description available

pub fn tickint(&self) -> TICKINT_R[src]

Bit 1 - no description available

pub fn clksource(&self) -> CLKSOURCE_R[src]

Bit 2 - no description available

pub fn countflag(&self) -> COUNTFLAG_R[src]

Bit 16 - no description available

impl R<u32, Reg<u32, _RVR>>[src]

pub fn reload(&self) -> RELOAD_R[src]

Bits 0:23 - Value to load into the SysTick Current Value Register when the counter reaches 0

impl R<u32, Reg<u32, _CVR>>[src]

pub fn current(&self) -> CURRENT_R[src]

Bits 0:23 - Current value at the time the register is accessed

impl R<bool, SKEW_A>[src]

pub fn variant(&self) -> SKEW_A[src]

Get enumerated values variant

pub fn is_skew_0(&self) -> bool[src]

Checks if the value of the field is SKEW_0

pub fn is_skew_1(&self) -> bool[src]

Checks if the value of the field is SKEW_1

impl R<bool, NOREF_A>[src]

pub fn variant(&self) -> NOREF_A[src]

Get enumerated values variant

pub fn is_noref_0(&self) -> bool[src]

Checks if the value of the field is NOREF_0

pub fn is_noref_1(&self) -> bool[src]

Checks if the value of the field is NOREF_1

impl R<u32, Reg<u32, _CALIB>>[src]

pub fn tenms(&self) -> TENMS_R[src]

Bits 0:23 - Reload value to use for 10ms timing

pub fn skew(&self) -> SKEW_R[src]

Bit 30 - no description available

pub fn noref(&self) -> NOREF_R[src]

Bit 31 - no description available

impl R<bool, ETMPS_A>[src]

pub fn variant(&self) -> ETMPS_A[src]

Get enumerated values variant

pub fn is_etmps_0(&self) -> bool[src]

Checks if the value of the field is ETMPS_0

pub fn is_etmps_1(&self) -> bool[src]

Checks if the value of the field is ETMPS_1

impl R<u32, Reg<u32, _CR>>[src]

pub fn etmpd(&self) -> ETMPD_R[src]

Bit 0 - ETM power down. This bit can be used by an implementation to control if the ETM is in a low power state. This bit must be cleared by the trace software tools at the beginning of a debug session. When this bit is set to 1, writes to some registers and fields might be ignored.

pub fn ps(&self) -> PS_R[src]

Bits 4:6 - Port size. The ETM-M4 has no influence over the external pins used for trace. These bits are implemented but not used. On an ETM reset these bits reset to 0b001.

pub fn sp(&self) -> SP_R[src]

Bit 7 - Stall processor. The FIFOFULL output can be used to stall the processor to prevent overflow. The FIFOFULL output is only enabled when the stall processor bit is set to 1. When the bit is 0 the FIFOFULL output remains LOW at all times and the FIFO overflows if there are too many trace packets. Trace resumes without corruption once the FIFO has drained, if overflow does occur. An ETM reset sets this bit to 0.

pub fn bo(&self) -> BO_R[src]

Bit 8 - Branch output. When set to 1 all branch addresses are output, even if the branch was because of a direct branch instruction. Setting this bit enables reconstruction of the program flow without having access to the memory image of the code being executed. When this bit is set to 1, more trace data is generated, and this may affect the performance of the trace system. Information about the execution of a branch is traced regardless of the state of this bit. An ETM reset sets this bit to 0.

pub fn drc(&self) -> DRC_R[src]

Bit 9 - Debug request control. When set to 1 and the trigger event occurs, the DBGRQ output is asserted until DBGACK is observed. This enables the ARM processor to be forced into Debug state. An ETM reset sets this bit to 0.

pub fn etmp(&self) -> ETMP_R[src]

Bit 10 - ETM programming. This bit must be set to 1 at the start of the ETM programming sequence. Tracing is prevented while this bit is set to 1. On an ETM reset this bit is set to b1.

pub fn etmps(&self) -> ETMPS_R[src]

Bit 11 - ETM port selection. This bit can be used to control other trace components in an implementation. This bit must be set by the trace software tools to ensure that trace output is enabled from this ETM. An ETM reset sets this bit to 0.

pub fn pm2(&self) -> PM2_R[src]

Bit 13 - This bit is implemented but has no function. An ETM reset sets this bit to 0.

pub fn pm(&self) -> PM_R[src]

Bits 16:17 - These bits are implemented but have no function. An ETM reset sets these bits to 0.

pub fn ps3(&self) -> PS3_R[src]

Bit 21 - This bit is implemented but has no function. An ETM reset sets this bit to 0.

pub fn te(&self) -> TE_R[src]

Bit 28 - When set, this bit enables timestamping. An ETM reset sets this bit to 0.

impl R<u32, Reg<u32, _CCR>>[src]

pub fn number_of_address_comparator_pairs(
    &self
) -> NUMBEROFADDRESSCOMPARATORPAIRS_R
[src]

Bits 0:3 - Number of address comparator pairs. The value of these bits is b0000, indicating that address comparator pairs are not implemented.

pub fn ndvc(&self) -> NDVC_R[src]

Bits 4:7 - Number of data value comparators. The value of these bits is b0000, indicating that data value comparators are not implemented.

pub fn nmmd(&self) -> NMMD_R[src]

Bits 8:12 - Number of memory map decoders. The value of these bits is b00000, indicating that memory map decoder inputs are not implemented.

pub fn nc(&self) -> NC_R[src]

Bits 13:15 - Number of counters. The value of these bits is b001, indicating that one counter is implemented.

pub fn sp(&self) -> SP_R[src]

Bit 16 - Sequencer present. The value of this bit is 0, indicating that the sequencer is not implemented.

pub fn nei(&self) -> NEI_R[src]

Bits 17:19 - Number of external inputs. The value of these bits is between b000 and b010, indicating the number of external inputs, from 0 to 2, implemented in the system.

pub fn neo(&self) -> NEO_R[src]

Bits 20:22 - Number of external outputs. The value of these bits is b000, indicating that no external outputs are supported.

pub fn fflp(&self) -> FFLP_R[src]

Bit 23 - FIFOFULL logic present. The value of this bit is 1, indicating that FIFOFULL logic is present in the ETM. To use FIFOFULL the system must also support the function, as indicated by bit [8] of ETMSCR.

pub fn ncidc(&self) -> NCIDC_R[src]

Bits 24:25 - Number of Context ID comparators. The value of these bits is b00, indicating that Context ID comparators are not implemented.

pub fn tssbp(&self) -> TSSBP_R[src]

Bit 26 - Trace start/stop block present. The value of this bit is 1, indicating that the Trace start/stop block is present.

pub fn cma(&self) -> CMA_R[src]

Bit 27 - Coprocessor and memory access. The value of this bit is 1, indicating that memory-mapped access to registers is supported.

pub fn etmidrp(&self) -> ETMIDRP_R[src]

Bit 31 - The value of this bit is 1, indicating that the ETMIDR, register 0x79, is present and defines the ETM architecture version in use.

impl R<u32, Reg<u32, _TRIGGER>>[src]

pub fn trigger_event(&self) -> TRIGGEREVENT_R[src]

Bits 0:16 - Trigger event

impl R<u32, Reg<u32, _SR>>[src]

pub fn uof(&self) -> UOF_R[src]

Bit 0 - Untraced overflow flag. If set to 1, there is an overflow that has not yet been traced. This bit is cleared to 0 when either: - trace is restarted - the ETM Power Down bit, bit [0] of the ETM Control Register, 0x00, is set to 1. Note: Setting or clearing the ETM programming bit does not cause this bit to be cleared to 0.

pub fn progbit(&self) -> PROGBIT_R[src]

Bit 1 - ETM programming bit value (Progbit). The current effective value of the ETM Programming bit (ETM Control Register bit [10]). Tou must wait for this bit to go to 1 before you start to program the ETM.

pub fn status(&self) -> STATUS_R[src]

Bit 2 - Holds the current status of the trace start/stop resource. If set to 1, it indicates that a trace on address has been matched, without a corresponding trace off address match.

pub fn trigger(&self) -> TRIGGER_R[src]

Bit 3 - Trigger bit. Set when the trigger occurs, and prevents the trigger from being output until the ETM is next programmed.

impl R<u32, Reg<u32, _SCR>>[src]

pub fn maximum_port_size(&self) -> MAXIMUMPORTSIZE_R[src]

Bits 0:2 - Maximum ETM port size bits [2:0]. These bits are used in conjunction with bit [9]. The value of these bits is b001.

pub fn fifofullsupported(&self) -> FIFOFULLSUPPORTED_R[src]

Bit 8 - FIFOFULL supported. The value of this bit is 1, indicating that FIFOFULL is supported. This bit is used in conjunction with bit [23] of the ETMCCR.

pub fn maximum_port_size3(&self) -> MAXIMUMPORTSIZE3_R[src]

Bit 9 - Maximum ETM port size bit [3]. This bit is used in conjunction with bits [2:0]. Its value is 0. This has no effect on the TPIU trace port.

pub fn port_size_supported(&self) -> PORTSIZESUPPORTED_R[src]

Bit 10 - Port size supported. This bit reads as 1 if the currently selected port size is supported. This has no effect on the TPIU trace port.

pub fn port_mode_supported(&self) -> PORTMODESUPPORTED_R[src]

Bit 11 - Port mode supported. This bit reads as 1 if the currently selected port mode is supported. This has no effect on the TPIU trace port.

pub fn n(&self) -> N_R[src]

Bits 12:14 - These bits give the number of supported processors minus 1. The value of these bits is b000, indicating that there is only one processor connected.

pub fn no_fetch_comparisons(&self) -> NOFETCHCOMPARISONS_R[src]

Bit 17 - No Fetch comparisons. The value of this bit is 1, indicating that fetch comparisons are not implemented.

impl R<u32, Reg<u32, _EEVR>>[src]

pub fn trace_enable_event(&self) -> TRACEENABLEEVENT_R[src]

Bits 0:16 - Trace Enable event.

impl R<bool, TRACECONTROLENABLE_A>[src]

pub fn variant(&self) -> TRACECONTROLENABLE_A[src]

Get enumerated values variant

pub fn is_trace_control_enable_0(&self) -> bool[src]

Checks if the value of the field is TRACECONTROLENABLE_0

pub fn is_trace_control_enable_1(&self) -> bool[src]

Checks if the value of the field is TRACECONTROLENABLE_1

impl R<u32, Reg<u32, _TECR1>>[src]

pub fn trace_control_enable(&self) -> TRACECONTROLENABLE_R[src]

Bit 25 - Trace start/stop enable. The trace start/stop resource, resource 0x5F, is unaffected by the value of this bit.

impl R<u32, Reg<u32, _FFLR>>[src]

pub fn fifofull_level(&self) -> FIFOFULLLEVEL_R[src]

Bits 0:7 - FIFO full level. The number of bytes left in FIFO, below which the FIFOFULL or SupressData signal is asserted. For example, setting this value to 15 causes data trace suppression or processor stalling, if enabled, when there are less than 15 free bytes in the FIFO.

impl R<u32, Reg<u32, _CNTRLDVR1>>[src]

pub fn intitial_count(&self) -> INTITIALCOUNT_R[src]

Bits 0:15 - Initial count.

impl R<u32, Reg<u32, _SYNCFR>>[src]

pub fn sync_frequency(&self) -> SYNCFREQUENCY_R[src]

Bits 0:11 - Synchronization frequency. Default value is 1024.

impl R<bool, THUMBINSTRUCTIONTRACING_A>[src]

pub fn variant(&self) -> THUMBINSTRUCTIONTRACING_A[src]

Get enumerated values variant

pub fn is_thumb_instruction_tracing_0(&self) -> bool[src]

Checks if the value of the field is THUMBINSTRUCTIONTRACING_0

pub fn is_thumb_instruction_tracing_1(&self) -> bool[src]

Checks if the value of the field is THUMBINSTRUCTIONTRACING_1

impl R<bool, SECURITYEXTENSIONSUPPORT_A>[src]

pub fn variant(&self) -> SECURITYEXTENSIONSUPPORT_A[src]

Get enumerated values variant

pub fn is_security_extension_support_0(&self) -> bool[src]

Checks if the value of the field is SECURITYEXTENSIONSUPPORT_0

pub fn is_security_extension_support_1(&self) -> bool[src]

Checks if the value of the field is SECURITYEXTENSIONSUPPORT_1

impl R<bool, BRANCHPACKETENCODING_A>[src]

pub fn variant(&self) -> BRANCHPACKETENCODING_A[src]

Get enumerated values variant

pub fn is_branch_packet_encoding_0(&self) -> bool[src]

Checks if the value of the field is BRANCHPACKETENCODING_0

pub fn is_branch_packet_encoding_1(&self) -> bool[src]

Checks if the value of the field is BRANCHPACKETENCODING_1

impl R<u32, Reg<u32, _IDR>>[src]

pub fn implementation_revision(&self) -> IMPLEMENTATIONREVISION_R[src]

Bits 0:3 - Implementation revision. The value of these bits is b0000, indicating implementation revision, 0.

pub fn minor_etmarchitecture_version(&self) -> MINORETMARCHITECTUREVERSION_R[src]

Bits 4:7 - Minor ETM architecture version. The value of these bits is 0b0101, indicating minor architecture version number 5.

pub fn major_etmarchitecture_version(&self) -> MAJORETMARCHITECTUREVERSION_R[src]

Bits 8:11 - Major ETM architecture version. The value of these bits is 0b0010, indicating major architecture version number 3, ETMv3.

pub fn processor_family(&self) -> PROCESSORFAMILY_R[src]

Bits 12:15 - Processor family. The value of these bits is 0b1111, indicating that the processor family is not identified in this register.

pub fn load_pcfirst(&self) -> LOADPCFIRST_R[src]

Bit 16 - Load PC first. The value of this bit is 0, indicating that data tracing is not supported.

pub fn thumb_instruction_tracing(&self) -> THUMBINSTRUCTIONTRACING_R[src]

Bit 18 - 32-bit Thumb instruction tracing. The value of this bit is 1, indicating that a 32-bit Thumb instruction is traced as a single instruction.

pub fn security_extension_support(&self) -> SECURITYEXTENSIONSUPPORT_R[src]

Bit 19 - Security Extensions support. The value of this bit is 0, indicating that the ETM behaves as if the processor is in Secure state at all times.

pub fn branch_packet_encoding(&self) -> BRANCHPACKETENCODING_R[src]

Bit 20 - Branch packet encoding. The value of this bit is 1, indicating that alternative branch packet encoding is implemented.

pub fn implementor_code(&self) -> IMPLEMENTORCODE_R[src]

Bits 24:31 - Implementor code. These bits identify ARM as the implementor of the processor. The value of these bits is 01000001.

impl R<u32, Reg<u32, _CCER>>[src]

pub fn extended_external_input_selectors(
    &self
) -> EXTENDEDEXTERNALINPUTSELECTORS_R
[src]

Bits 0:2 - Extended external input selectors. The value of these bits is 0, indicating that extended external input selectors are not implemented.

pub fn extended_external_input_bus(&self) -> EXTENDEDEXTERNALINPUTBUS_R[src]

Bits 3:10 - Extended external input bus. The value of these bits is 0, indicating that the extended external input bus is not implemented.

pub fn readable_registers(&self) -> READABLEREGISTERS_R[src]

Bit 11 - Readable registers. The value of this bit is 1, indicating that all registers are readable.

pub fn data_address_comparisons(&self) -> DATAADDRESSCOMPARISONS_R[src]

Bit 12 - Data address comparisons. The value of this bit is 1, indicating that data address comparisons are not supported.

pub fn instrumentation_resources(&self) -> INSTRUMENTATIONRESOURCES_R[src]

Bits 13:15 - Instrumentation resources. The value of these bits is 0b000, indicating that no Instrumentation resources are supported.

pub fn embedded_icewatchpoint_inputs(&self) -> EMBEDDEDICEWATCHPOINTINPUTS_R[src]

Bits 16:19 - EmbeddedICE watchpoint inputs. The value of these bits is 0b0100, indicating that the number of EmbeddedICE watchpoint inputs implemented is four. These inputs come from the DWT.

pub fn trace_start_stop_block_uses_embedded_icewatchpoint_inputs(
    &self
) -> TRACESTARTSTOPBLOCKUSESEMBEDDEDICEWATCHPOINTINPUTS_R
[src]

Bit 20 - Trace Start/Stop block uses EmbeddedICE watchpoint inputs. The value of this bit is 1, indicating that the Trace Start/Stop block uses the EmbeddedICE watchpoint inputs.

pub fn embedded_icebehavior_control_implemented(
    &self
) -> EMBEDDEDICEBEHAVIORCONTROLIMPLEMENTED_R
[src]

Bit 21 - EmbeddedICE behavior control implemented. The value of this bit is 0, indicating that the ETMEIBCR is not implemented.

pub fn timestamping_implemented(&self) -> TIMESTAMPINGIMPLEMENTED_R[src]

Bit 22 - Timestamping implemented. This bit is set to 1, indicating that timestamping is implemented.

pub fn reduced_function_counter(&self) -> REDUCEDFUNCTIONCOUNTER_R[src]

Bit 27 - Reduced function counter. Set to 1 to indicate that Counter 1 is a reduced function counter.

pub fn timestamp_encoding(&self) -> TIMESTAMPENCODING_R[src]

Bit 28 - Timestamp encoding. Set to 1 to indicate that the timestamp is encoded as a natural binary number.

pub fn timestamp_size(&self) -> TIMESTAMPSIZE_R[src]

Bit 29 - Timestamp size. Set to 0 to indicate a size of 48 bits.

impl R<u32, Reg<u32, _TESSEICR>>[src]

pub fn start_resource_selection(&self) -> STARTRESOURCESELECTION_R[src]

Bits 0:3 - Start resource selection. Setting any of these bits to 1 selects the corresponding EmbeddedICE watchpoint input as a TraceEnable start resource. Bit [0] corresponds to input 1, bit [1] corresponds to input 2, bit [2] corresponds to input 3, and bit [3] corresponds to input 4.

pub fn stop_resource_selection(&self) -> STOPRESOURCESELECTION_R[src]

Bits 16:19 - Stop resource selection. Setting any of these bits to 1 selects the corresponding EmbeddedICE watchpoint input as a TraceEnable stop resource. Bit [16] corresponds to input 1, bit [17] corresponds to input 2, bit [18] corresponds to input 3, and bit [19] corresponds to input 4.

impl R<u32, Reg<u32, _TSEVR>>[src]

pub fn timestamp_event(&self) -> TIMESTAMPEVENT_R[src]

Bits 0:11 - Timestamp event.

impl R<u32, Reg<u32, _TRACEIDR>>[src]

pub fn trace_id(&self) -> TRACEID_R[src]

Bits 0:6 - Trace ID to output onto the trace bus. On an ETM reset this field is cleared to 0x00.

impl R<u32, Reg<u32, _PDSR>>[src]

pub fn etmpoweredup(&self) -> ETMPOWEREDUP_R[src]

Bit 0 - The value of this bit indicates whether you can access the ETM Trace Registers. The value of this bit is always 1, indicating that the ETM Trace Registers can be accessed.

impl R<u32, Reg<u32, __ITMISCIN>>[src]

pub fn extin(&self) -> EXTIN_R[src]

Bits 0:1 - A read of these bits returns the value of the EXTIN[1:0] input pins.

pub fn corehalt(&self) -> COREHALT_R[src]

Bit 4 - A read of this bit returns the value of the COREHALT input pin.

impl R<u32, Reg<u32, __ITATBCTR2>>[src]

pub fn atready(&self) -> ATREADY_R[src]

Bit 0 - A read of this bit returns the value of the ETM ATREADY input.

impl R<u32, Reg<u32, _ITCTRL>>[src]

pub fn mode(&self) -> MODE_R[src]

Bit 0 - Enable integration mode. When this bit is set to 1, the device enters integration mode to enable Topology Detection or Integration Testing to be checked. On an ETM reset this bit is cleared to 0.

impl R<u32, Reg<u32, _CLAIMSET>>[src]

pub fn claimset(&self) -> CLAIMSET_R[src]

Bits 0:3 - A bit programmable register bank which sets the Claim Tag Value. Write 1 to set the bit in the claim tag. A read will return a logic 1 for all implemented locations.

impl R<u32, Reg<u32, _CLAIMCLR>>[src]

pub fn claimclr(&self) -> CLAIMCLR_R[src]

Bits 0:3 - A bit programmable register bank that is zero at reset. Write 1 to clear the bit in the claim tag. On reads, returns the current setting of the claim tag.

impl R<u32, Reg<u32, _LAR>>[src]

pub fn write_access_code(&self) -> WRITEACCESSCODE_R[src]

Bits 0:31 - Write Access Code. A write of 0xC5ACCE55 enables further write access to this device. An invalid write will have the affect of removing write access.

impl R<bool, STATUS_A>[src]

pub fn variant(&self) -> STATUS_A[src]

Get enumerated values variant

pub fn is_status_0(&self) -> bool[src]

Checks if the value of the field is STATUS_0

pub fn is_status_1(&self) -> bool[src]

Checks if the value of the field is STATUS_1

impl R<u32, Reg<u32, _LSR>>[src]

pub fn imp(&self) -> IMP_R[src]

Bit 0 - Lock mechanism is implemented. This bit always reads 1.

pub fn status(&self) -> STATUS_R[src]

Bit 1 - Lock Status. This bit is HIGH when the device is locked, and LOW when unlocked.

pub fn s8bit(&self) -> S8BIT_R[src]

Bit 2 - Access Lock Register size. This bit reads 0 to indicate a 32-bit register is present.

impl R<u8, NSNID_A>[src]

pub fn variant(&self) -> Variant<u8, NSNID_A>[src]

Get enumerated values variant

pub fn is_nsnid_2(&self) -> bool[src]

Checks if the value of the field is NSNID_2

pub fn is_nsnid_3(&self) -> bool[src]

Checks if the value of the field is NSNID_3

impl R<u32, Reg<u32, _AUTHSTATUS>>[src]

pub fn nsid(&self) -> NSID_R[src]

Bits 0:1 - Reads as b00, Non-secure invasive debug not supported by the ETM.

pub fn nsnid(&self) -> NSNID_R[src]

Bits 2:3 - Permission for Non-secure non-invasive debug.

pub fn sid(&self) -> SID_R[src]

Bits 4:5 - Reads as b00, Secure invasive debug not supported by the ETM.

pub fn snid(&self) -> SNID_R[src]

Bits 6:7 - Permission for Secure non-invasive debug.

impl R<u8, MAJORTYPE_A>[src]

pub fn variant(&self) -> Variant<u8, MAJORTYPE_A>[src]

Get enumerated values variant

pub fn is_major_type_3(&self) -> bool[src]

Checks if the value of the field is MAJORTYPE_3

impl R<u8, SUBTYPE_A>[src]

pub fn variant(&self) -> Variant<u8, SUBTYPE_A>[src]

Get enumerated values variant

pub fn is_sub_type_1(&self) -> bool[src]

Checks if the value of the field is SUBTYPE_1

impl R<u32, Reg<u32, _DEVTYPE>>[src]

pub fn major_type(&self) -> MAJORTYPE_R[src]

Bits 0:3 - Major Type and Class

pub fn sub_type(&self) -> SUBTYPE_R[src]

Bits 4:7 - Sub Type

impl R<u32, Reg<u32, _PIDR4>>[src]

pub fn jep106(&self) -> JEP106_R[src]

Bits 0:3 - JEP106 continuation code.

pub fn c4kb(&self) -> C4KB_R[src]

Bits 4:7 - 4KB Count

impl R<u32, Reg<u32, _PIDR0>>[src]

pub fn part_number(&self) -> PARTNUMBER_R[src]

Bits 0:7 - Part Number [7:0]

impl R<u32, Reg<u32, _PIDR1>>[src]

pub fn part_number(&self) -> PARTNUMBER_R[src]

Bits 0:3 - Part Number [11:8]

pub fn jep106_identity_code(&self) -> JEP106_IDENTITY_CODE_R[src]

Bits 4:7 - JEP106 identity code [3:0]

impl R<u32, Reg<u32, _PIDR2>>[src]

pub fn jep106_identity_code(&self) -> JEP106_IDENTITY_CODE_R[src]

Bits 0:2 - JEP106 identity code [6:4]

pub fn revision(&self) -> REVISION_R[src]

Bits 4:7 - Revision

impl R<u32, Reg<u32, _PIDR3>>[src]

pub fn customer_modified(&self) -> CUSTOMERMODIFIED_R[src]

Bits 0:3 - Customer Modified.

pub fn rev_and(&self) -> REVAND_R[src]

Bits 4:7 - RevAnd

impl R<u32, Reg<u32, _CIDR0>>[src]

pub fn preamble(&self) -> PREAMBLE_R[src]

Bits 0:7 - Preamble

impl R<u8, COMPONENTCLASS_A>[src]

pub fn variant(&self) -> Variant<u8, COMPONENTCLASS_A>[src]

Get enumerated values variant

pub fn is_component_class_1(&self) -> bool[src]

Checks if the value of the field is COMPONENTCLASS_1

pub fn is_component_class_9(&self) -> bool[src]

Checks if the value of the field is COMPONENTCLASS_9

pub fn is_component_class_15(&self) -> bool[src]

Checks if the value of the field is COMPONENTCLASS_15

impl R<u32, Reg<u32, _CIDR1>>[src]

pub fn preamble(&self) -> PREAMBLE_R[src]

Bits 0:3 - Preamble

pub fn component_class(&self) -> COMPONENTCLASS_R[src]

Bits 4:7 - Component class

impl R<u32, Reg<u32, _CIDR2>>[src]

pub fn preamble(&self) -> PREAMBLE_R[src]

Bits 0:7 - Preamble

impl R<u32, Reg<u32, _CIDR3>>[src]

pub fn preamble(&self) -> PREAMBLE_R[src]

Bits 0:7 - Preamble

Trait Implementations

impl<U, T, FI> PartialEq<FI> for R<U, T> where
    U: PartialEq,
    FI: Copy + Into<U>, 
[src]

Auto Trait Implementations

impl<U, T> Send for R<U, T> where
    T: Send,
    U: Send

impl<U, T> Sync for R<U, T> where
    T: Sync,
    U: Sync

impl<U, T> Unpin for R<U, T> where
    T: Unpin,
    U: Unpin

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.