[][src]Struct cc2650::ioc::iocfg17::W

pub struct W { /* fields omitted */ }

Value to write to the register

Methods

impl W[src]

pub fn reset_value() -> W[src]

Reset value of the register

pub unsafe fn bits(&mut self, bits: u32) -> &mut Self[src]

Writes raw bits to the register

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

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

pub fn ie(&mut self) -> _IEW[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(&mut self) -> _WU_CFGW[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(&mut self) -> _IOMODEW[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(&mut self) -> _RESERVED19W[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(&mut self) -> _EDGE_IRQ_ENW[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(&mut self) -> _EDGE_DETW[src]

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

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

Bits 13:14 - Pull control

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

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

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

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

pub fn iostr(&mut self) -> _IOSTRW[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 port_id(&mut self) -> _PORT_IDW[src]

Bits 0:5 - Selects usage for DIO17

Auto Trait Implementations

impl Send for W

impl Sync for W

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]