[][src]Struct cc13x2_cc26x2_pac::gpt3::tbmr::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 reserved16(&mut self) -> _RESERVED16W[src]

Bits 16:31 - 31:16] 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 tcact(&mut self) -> _TCACTW[src]

Bits 13:15 - 15:13] Timer Compare Action Select

pub fn tbcintd(&mut self) -> _TBCINTDW[src]

Bit 12 - 12:12] One-Shot/Periodic Interrupt Mode

pub fn tbplo(&mut self) -> _TBPLOW[src]

Bit 11 - 11:11] GPTM Timer B PWM Legacy Operation 0 Legacy operation with CCP pin driven Low when the TBILR register is reloaded after the timer reaches 0. 1 CCP is driven High when the TBILR register is reloaded after the timer reaches 0. This bit is only valid in PWM mode.

pub fn tbmrsu(&mut self) -> _TBMRSUW[src]

Bit 10 - 10:10] Timer B Match Register Update mode This bit defines when the TBMATCHR and TBPR registers are updated If the timer is disabled (CTL.TBEN is clear) when this bit is set, TBMATCHR and TBPR are updated when the timer is enabled. If the timer is stalled (CTL.TBSTALL is set) when this bit is set, TBMATCHR and TBPR are updated according to the configuration of this bit.

pub fn tbpwmie(&mut self) -> _TBPWMIEW[src]

Bit 9 - 9:9] GPTM Timer B PWM Interrupt Enable This bit enables interrupts in PWM mode on rising, falling, or both edges of the CCP output, as defined by the CTL.TBEVENT In addition, when this bit is set and a capture event occurs, Timer A automatically generates triggers to the DMA if the trigger capability is enabled by setting the CTL.TBOTE bit and the DMAEV.CBEDMAEN bit respectively. 0 Capture event interrupt is disabled. 1 Capture event interrupt is enabled. This bit is only valid in PWM mode.

pub fn tbild(&mut self) -> _TBILDW[src]

Bit 8 - 8:8] GPT Timer B PWM Interval Load Write

pub fn tbsnaps(&mut self) -> _TBSNAPSW[src]

Bit 7 - 7:7] GPT Timer B Snap-Shot Mode

pub fn tbwot(&mut self) -> _TBWOTW[src]

Bit 6 - 6:6] GPT Timer B Wait-On-Trigger

pub fn tbmie(&mut self) -> _TBMIEW[src]

Bit 5 - 5:5] GPT Timer B Match Interrupt Enable.

pub fn tbcdir(&mut self) -> _TBCDIRW[src]

Bit 4 - 4:4] GPT Timer B Count Direction

pub fn tbams(&mut self) -> _TBAMSW[src]

Bit 3 - 3:3] GPT Timer B Alternate Mode Note: To enable PWM mode, you must also clear TBCM bit and configure TBMR field to 0x2.

pub fn tbcm(&mut self) -> _TBCMW[src]

Bit 2 - 2:2] GPT Timer B Capture Mode

pub fn tbmr(&mut self) -> _TBMRW[src]

Bits 0:1 - 1:0] GPT Timer B Mode 0x0 Reserved 0x1 One-Shot Timer mode 0x2 Periodic Timer mode 0x3 Capture mode The Timer mode is based on the timer configuration defined by bits 2:0 in the CFG register

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]

impl<T> Same for T

type Output = T

Should always be Self