[−][src]Struct cc13x2_cc26x2_hal::ioc::iocfg16::W
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 reserved31(&mut self) -> _RESERVED31W
[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(&mut self) -> _HYST_ENW
[src]
Bit 30 - 30:30] 0: Input hysteresis disable 1: Input hysteresis enable
pub fn ie(&mut self) -> _IEW
[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(&mut self) -> _WU_CFGW
[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(&mut self) -> _IOMODEW
[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(&mut self) -> _IOEV_AON_PROG2_ENW
[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(&mut self) -> _IOEV_AON_PROG1_ENW
[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(&mut self) -> _IOEV_AON_PROG0_ENW
[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(&mut self) -> _RESERVED19W
[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(&mut self) -> _EDGE_IRQ_ENW
[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(&mut self) -> _EDGE_DETW
[src]
Bits 16:17 - 17:16] Enable generation of edge detection events on this IO
pub fn reserved15(&mut self) -> _RESERVED15W
[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(&mut self) -> _PULL_CTLW
[src]
Bits 13:14 - 14:13] Pull control
pub fn slew_red(&mut self) -> _SLEW_REDW
[src]
Bit 12 - 12:12] 0: Normal slew rate 1: Enables reduced slew rate in output driver.
pub fn iocurr(&mut self) -> _IOCURRW
[src]
Bits 10:11 - 11:10] Selects IO current mode of this IO.
pub fn iostr(&mut self) -> _IOSTRW
[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(&mut self) -> _IOEV_RTC_ENW
[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(&mut self) -> _IOEV_MCU_WU_ENW
[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(&mut self) -> _PORT_IDW
[src]
Bits 0:5 - 5:0] Selects usage for DIO16
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