[−][src]Struct cc13x2_cc26x2_hal::ioc::iocfg20::R
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 - 31: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 - 30:30] 0: Input hysteresis disable 1: Input hysteresis enable
pub fn ie(&self) -> IER
[src]
Bit 29 - 29:29] 0: Input disabled 1: Input enabled Note: If IO is configured for AUX PORT_ID = 0x08, the enable will be ignored.
pub fn wu_cfg(&self) -> WU_CFGR
[src]
Bits 27:28 - 28:27] If DIO is configured GPIO or non-AON peripheral signals, 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 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 - 26:24] IO Mode Not applicable for IO configured for AON periph. signals and AUX PORT_ID 0x01-0x08 AUX has its own open_source/drain configuration. 0x2: Reserved. Undefined behavior. 0x3: Reserved. Undefined behavior.
pub fn ioev_aon_prog2_en(&self) -> IOEV_AON_PROG2_ENR
[src]
Bit 23 - 23:23] Event asserted by this IO when edge detection is enabled 0: Input edge detection does not assert AON_PROG2 event 1: Input edge detection asserts AON_PROG2 event
pub fn ioev_aon_prog1_en(&self) -> IOEV_AON_PROG1_ENR
[src]
Bit 22 - 22:22] Event asserted by this IO when edge detection is enabled 0: Input edge detection does not assert AON_PROG1 event 1: Input edge detection asserts AON_PROG1 event
pub fn ioev_aon_prog0_en(&self) -> IOEV_AON_PROG0_ENR
[src]
Bit 21 - 21:21] Event asserted by this IO when edge detection is enabled 0: Input edge detection does not assert AON_PROG0 event 1: Input edge detection asserts AON_PROG0 event
pub fn reserved19(&self) -> RESERVED19R
[src]
Bits 19:20 - 20:19] 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 - 18: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 - 17:16] Enable generation of edge detection events on this IO
pub fn reserved15(&self) -> RESERVED15R
[src]
Bit 15 - 15: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 - 14:13] Pull control
pub fn slew_red(&self) -> SLEW_REDR
[src]
Bit 12 - 12:12] 0: Normal slew rate 1: Enables reduced slew rate in output driver.
pub fn iocurr(&self) -> IOCURRR
[src]
Bits 10:11 - 11:10] Selects IO current mode of this IO.
pub fn iostr(&self) -> IOSTRR
[src]
Bits 8:9 - 9:8] 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 ioev_rtc_en(&self) -> IOEV_RTC_ENR
[src]
Bit 7 - 7:7] Event asserted by this IO when edge detection is enabled 0: Input edge detection does not assert RTC event 1: Input edge detection asserts RTC event
pub fn ioev_mcu_wu_en(&self) -> IOEV_MCU_WU_ENR
[src]
Bit 6 - 6:6] Event asserted by this IO when edge detection is enabled 0: Input edge detection does not assert MCU_WU event 1: Input edge detection asserts MCU_WU event
pub fn port_id(&self) -> PORT_IDR
[src]
Bits 0:5 - 5:0] Selects usage for DIO20
Auto Trait Implementations
Blanket Implementations
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Same for T
type Output = T
Should always be Self