Type Alias R

Source
pub type R = R<TIMER_SYNCI_CFG_SPEC>;
Expand description

Register TIMER_SYNCI_CFG reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

Source§

impl R

Source

pub fn timer0_syncisel(&self) -> TIMER0_SYNCISEL_R

Bits 0:2 - select sync input for PWM timer0, 1: PWM timer0 sync_out, 2: PWM timer1 sync_out, 3: PWM timer2 sync_out, 4: SYNC0 from GPIO matrix, 5: SYNC1 from GPIO matrix, 6: SYNC2 from GPIO matrix, other values: no sync input selected

Source

pub fn timer1_syncisel(&self) -> TIMER1_SYNCISEL_R

Bits 3:5 - select sync input for PWM timer1, 1: PWM timer0 sync_out, 2: PWM timer1 sync_out, 3: PWM timer2 sync_out, 4: SYNC0 from GPIO matrix, 5: SYNC1 from GPIO matrix, 6: SYNC2 from GPIO matrix, other values: no sync input selected

Source

pub fn timer2_syncisel(&self) -> TIMER2_SYNCISEL_R

Bits 6:8 - select sync input for PWM timer2, 1: PWM timer0 sync_out, 2: PWM timer1 sync_out, 3: PWM timer2 sync_out, 4: SYNC0 from GPIO matrix, 5: SYNC1 from GPIO matrix, 6: SYNC2 from GPIO matrix, other values: no sync input selected

Source

pub fn external_synci0_invert(&self) -> EXTERNAL_SYNCI0_INVERT_R

Bit 9 - invert SYNC0 from GPIO matrix

Source

pub fn external_synci1_invert(&self) -> EXTERNAL_SYNCI1_INVERT_R

Bit 10 - invert SYNC1 from GPIO matrix

Source

pub fn external_synci2_invert(&self) -> EXTERNAL_SYNCI2_INVERT_R

Bit 11 - invert SYNC2 from GPIO matrix