pub struct R(_);
Expand description

Register RD_REPEAT_DATA2 reader

Implementations§

source§

impl R

source

pub fn key_purpose_2(&self) -> KEY_PURPOSE_2_R

Bits 0:3 - Purpose of Key2.

source

pub fn key_purpose_3(&self) -> KEY_PURPOSE_3_R

Bits 4:7 - Purpose of Key3.

source

pub fn key_purpose_4(&self) -> KEY_PURPOSE_4_R

Bits 8:11 - Purpose of Key4.

source

pub fn key_purpose_5(&self) -> KEY_PURPOSE_5_R

Bits 12:15 - Purpose of Key5.

source

pub fn rpt4_reserved0(&self) -> RPT4_RESERVED0_R

Bits 16:19 - Reserved (used for four backups method).

source

pub fn secure_boot_en(&self) -> SECURE_BOOT_EN_R

Bit 20 - Set this bit to enable secure boot.

source

pub fn secure_boot_aggressive_revoke(&self) -> SECURE_BOOT_AGGRESSIVE_REVOKE_R

Bit 21 - Set this bit to enable revoking aggressive secure boot.

source

pub fn dis_usb_jtag(&self) -> DIS_USB_JTAG_R

Bit 22 - Set this bit to disable function of usb switch to jtag in module of usb device.

source

pub fn dis_usb_device(&self) -> DIS_USB_DEVICE_R

Bit 23 - Set this bit to disable usb device.

source

pub fn strap_jtag_sel(&self) -> STRAP_JTAG_SEL_R

Bit 24 - Set this bit to enable selection between usb_to_jtag and pad_to_jtag through strapping gpio10 when both reg_dis_usb_jtag and reg_dis_pad_jtag are equal to 0.

source

pub fn usb_phy_sel(&self) -> USB_PHY_SEL_R

Bit 25 - This bit is used to switch internal PHY and external PHY for USB OTG and USB Device. 0: internal PHY is assigned to USB Device while external PHY is assigned to USB OTG. 1: internal PHY is assigned to USB OTG while external PHY is assigned to USB Device.

source

pub fn power_glitch_dsense(&self) -> POWER_GLITCH_DSENSE_R

Bits 26:27 - Sample delay configuration of power glitch.

source

pub fn flash_tpuw(&self) -> FLASH_TPUW_R

Bits 28:31 - Configures flash waiting time after power-up, in unit of ms. If the value is less than 15, the waiting time is the configurable value. Otherwise, the waiting time is twice the configurable value.

Methods from Deref<Target = R<RD_REPEAT_DATA2_SPEC>>§

source

pub fn bits(&self) -> REG::Ux

Reads raw bits from register.

Trait Implementations§

source§

impl Deref for R

§

type Target = R<RD_REPEAT_DATA2_SPEC>

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl From<R<RD_REPEAT_DATA2_SPEC>> for R

source§

fn from(reader: R<RD_REPEAT_DATA2_SPEC>) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

§

impl RefUnwindSafe for R

§

impl Send for R

§

impl Sync for R

§

impl Unpin for R

§

impl UnwindSafe for R

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.