[][src]Struct cc2650::ioc::iocfg10::R

pub struct R { /* fields omitted */ }

Value read from the register

Methods

impl R[src]

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

Value of the register as raw bits

pub fn reserved31(&self) -> RESERVED31R[src]

Bit 31 - Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior.

pub fn hyst_en(&self) -> HYST_ENR[src]

Bit 30 - 0: Input hysteresis disable 1: Input hysteresis enable

pub fn ie(&self) -> IER[src]

Bit 29 - 0: Input disabled 1: Input enabled Note: If IO is configured for AUX ie. PORT_ID = 0x08, the enable will be ignored.

pub fn wu_cfg(&self) -> WU_CFGR[src]

Bits 27:28 - If DIO is configured GPIO or non-AON peripheral signals, i.e. PORT_ID 0x00 or >0x08: 00: No wake-up 01: No wake-up 10: Wakes up from shutdown if this pad is going low. 11: Wakes up from shutdown if this pad is going high. If IO is configured for AON peripheral signals or AUX ie. PORT_ID 0x01-0x08, this register only sets wakeup enable or not. 00, 01: Wakeup disabled 10, 11: Wakeup enabled Polarity is controlled from AON registers. Note:When the MSB is set, the IOC will deactivate the output enable for the DIO.

pub fn iomode(&self) -> IOMODER[src]

Bits 24:26 - IO Mode N/A for IO configured for AON periph. signals and AUX ie. PORT_ID 0x01-0x08 AUX has its own open_source/drain configuration. 0x2: Reserved. Undefined behavior. 0x3: Reserved. Undefined behavior.

pub fn reserved19(&self) -> RESERVED19R[src]

Bits 19:23 - Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior.

pub fn edge_irq_en(&self) -> EDGE_IRQ_ENR[src]

Bit 18 - 0: No interrupt generation 1: Enable interrupt generation for this IO (Only effective if EDGE_DET is enabled)

pub fn edge_det(&self) -> EDGE_DETR[src]

Bits 16:17 - Enable generation of edge detection events on this IO

pub fn reserved15(&self) -> RESERVED15R[src]

Bit 15 - Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior.

pub fn pull_ctl(&self) -> PULL_CTLR[src]

Bits 13:14 - Pull control

pub fn slew_red(&self) -> SLEW_REDR[src]

Bit 12 - 0: Normal slew rate 1: Enables reduced slew rate in output driver.

pub fn iocurr(&self) -> IOCURRR[src]

Bits 10:11 - Selects IO current mode of this IO.

pub fn iostr(&self) -> IOSTRR[src]

Bits 8:9 - Select source for drive strength control of this IO. This setting controls the drive strength of the Low-Current (LC) mode. Higher drive strength can be selected in IOCURR

pub fn reserved6(&self) -> RESERVED6R[src]

Bits 6:7 - Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior.

pub fn port_id(&self) -> PORT_IDR[src]

Bits 0:5 - Selects usage for DIO10

Auto Trait Implementations

impl Send for R

impl Sync for R

Blanket Implementations

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]