Struct alt_stm32f30x_hal::timer::tim3::Channel [−][src]
Timer channel
Methods
impl<M: ChMode, CN: ChNum> Channel<CN, M>
[src]
impl<M: ChMode, CN: ChNum> Channel<CN, M>
pub fn mode<NM: ChMode>(self, nm: NM) -> Channel<CN, NM>
[src]
pub fn mode<NM: ChMode>(self, nm: NM) -> Channel<CN, NM>
Change channel output mode
pub fn preload(&mut self, value: bool)
[src]
pub fn preload(&mut self, value: bool)
Set preload
Trait Implementations
impl<SP: OutputSpeed, PT: PullType, PM: PinMode, CM: ChMode> PwmExt<SP, Channel<CH1, CM>, AF2> for PC6<PT, PM>
[src]
impl<SP: OutputSpeed, PT: PullType, PM: PinMode, CM: ChMode> PwmExt<SP, Channel<CH1, CM>, AF2> for PC6<PT, PM>
type OutputPin = PC6<PT, AltFn<AF2, PushPull, SP>>
type
type Output = PwmBinding<Self::OutputPin, Channel<CH1, Pwm1>, AF2>
binding
fn to_pwm(self, channel: Channel<CH1, CM>, sp: SP) -> Self::Output
[src]
fn to_pwm(self, channel: Channel<CH1, CM>, sp: SP) -> Self::Output
Configures pin and channel to create pwm binding
impl<SP: OutputSpeed, PT: PullType, PM: PinMode, CM: ChMode> PwmExt<SP, Channel<CH2, CM>, AF2> for PC7<PT, PM>
[src]
impl<SP: OutputSpeed, PT: PullType, PM: PinMode, CM: ChMode> PwmExt<SP, Channel<CH2, CM>, AF2> for PC7<PT, PM>
type OutputPin = PC7<PT, AltFn<AF2, PushPull, SP>>
type
type Output = PwmBinding<Self::OutputPin, Channel<CH2, Pwm1>, AF2>
binding
fn to_pwm(self, channel: Channel<CH2, CM>, sp: SP) -> Self::Output
[src]
fn to_pwm(self, channel: Channel<CH2, CM>, sp: SP) -> Self::Output
Configures pin and channel to create pwm binding
impl<SP: OutputSpeed, PT: PullType, PM: PinMode, CM: ChMode> PwmExt<SP, Channel<CH3, CM>, AF2> for PC8<PT, PM>
[src]
impl<SP: OutputSpeed, PT: PullType, PM: PinMode, CM: ChMode> PwmExt<SP, Channel<CH3, CM>, AF2> for PC8<PT, PM>
type OutputPin = PC8<PT, AltFn<AF2, PushPull, SP>>
type
type Output = PwmBinding<Self::OutputPin, Channel<CH3, Pwm1>, AF2>
binding
fn to_pwm(self, channel: Channel<CH3, CM>, sp: SP) -> Self::Output
[src]
fn to_pwm(self, channel: Channel<CH3, CM>, sp: SP) -> Self::Output
Configures pin and channel to create pwm binding
impl<SP: OutputSpeed, PT: PullType, PM: PinMode, CM: ChMode> PwmExt<SP, Channel<CH4, CM>, AF2> for PC9<PT, PM>
[src]
impl<SP: OutputSpeed, PT: PullType, PM: PinMode, CM: ChMode> PwmExt<SP, Channel<CH4, CM>, AF2> for PC9<PT, PM>
type OutputPin = PC9<PT, AltFn<AF2, PushPull, SP>>
type
type Output = PwmBinding<Self::OutputPin, Channel<CH4, Pwm1>, AF2>
binding
fn to_pwm(self, channel: Channel<CH4, CM>, sp: SP) -> Self::Output
[src]
fn to_pwm(self, channel: Channel<CH4, CM>, sp: SP) -> Self::Output
Configures pin and channel to create pwm binding
impl<SP: OutputSpeed, PT: PullType, PM: PinMode, CM: ChMode> PwmExt<SP, Channel<CH3, CM>, AF2> for PB0<PT, PM>
[src]
impl<SP: OutputSpeed, PT: PullType, PM: PinMode, CM: ChMode> PwmExt<SP, Channel<CH3, CM>, AF2> for PB0<PT, PM>
type OutputPin = PB0<PT, AltFn<AF2, PushPull, SP>>
type
type Output = PwmBinding<Self::OutputPin, Channel<CH3, Pwm1>, AF2>
binding
fn to_pwm(self, channel: Channel<CH3, CM>, sp: SP) -> Self::Output
[src]
fn to_pwm(self, channel: Channel<CH3, CM>, sp: SP) -> Self::Output
Configures pin and channel to create pwm binding
impl<SP: OutputSpeed, PT: PullType, PM: PinMode, CM: ChMode> PwmExt<SP, Channel<CH4, CM>, AF2> for PB1<PT, PM>
[src]
impl<SP: OutputSpeed, PT: PullType, PM: PinMode, CM: ChMode> PwmExt<SP, Channel<CH4, CM>, AF2> for PB1<PT, PM>
type OutputPin = PB1<PT, AltFn<AF2, PushPull, SP>>
type
type Output = PwmBinding<Self::OutputPin, Channel<CH4, Pwm1>, AF2>
binding
fn to_pwm(self, channel: Channel<CH4, CM>, sp: SP) -> Self::Output
[src]
fn to_pwm(self, channel: Channel<CH4, CM>, sp: SP) -> Self::Output
Configures pin and channel to create pwm binding
impl<CN: ChNum, M: ChMode> TimerChannel for Channel<CN, M>
[src]
impl<CN: ChNum, M: ChMode> TimerChannel for Channel<CN, M>
fn enable(&mut self)
[src]
fn enable(&mut self)
Enable channel
fn disable(&mut self)
[src]
fn disable(&mut self)
Disable channel
fn write_ccr(&mut self, value: u32)
[src]
fn write_ccr(&mut self, value: u32)
Write value to capture/compare register
fn read_ccr(&self) -> u32
[src]
fn read_ccr(&self) -> u32
Read value of capture/compare register
fn read_arr(&self) -> u32
[src]
fn read_arr(&self) -> u32
Read value of Timer's auto-reload register