[−][src]Struct alt_stm32f30x_hal::timer::tim3::Channel
Timer channel
Methods
impl<M: ChMode, CN: ChNum> Channel<CN, M>
[src]
pub fn mode<NM: ChMode>(self, nm: NM) -> Channel<CN, NM>
[src]
Change channel output mode
pub fn preload(&mut self, value: bool)
[src]
Set preload
Trait Implementations
impl<SP: OutputSpeed, PT: PullType, PM: PinMode, CM: ChMode> PwmExt<SP, Channel<CH1, CM>, AF2> for PA6<PT, PM>
[src]
type OutputPin = PA6<PT, AltFn<AF2, PushPull, SP>>
type
type Output = PwmBinding<Self::OutputPin, Channel<CH1, Pwm1>>
binding
fn to_pwm(self, channel: Channel<CH1, CM>, sp: SP) -> Self::Output
[src]
impl<SP: OutputSpeed, PT: PullType, PM: PinMode, CM: ChMode> PwmExt<SP, Channel<CH2, CM>, AF2> for PA7<PT, PM>
[src]
type OutputPin = PA7<PT, AltFn<AF2, PushPull, SP>>
type
type Output = PwmBinding<Self::OutputPin, Channel<CH2, Pwm1>>
binding
fn to_pwm(self, channel: Channel<CH2, CM>, sp: SP) -> Self::Output
[src]
impl<SP: OutputSpeed, PT: PullType, PM: PinMode, CM: ChMode> PwmExt<SP, Channel<CH1, CM>, AF2> for PC6<PT, PM>
[src]
type OutputPin = PC6<PT, AltFn<AF2, PushPull, SP>>
type
type Output = PwmBinding<Self::OutputPin, Channel<CH1, Pwm1>>
binding
fn to_pwm(self, channel: Channel<CH1, CM>, sp: SP) -> Self::Output
[src]
impl<SP: OutputSpeed, PT: PullType, PM: PinMode, CM: ChMode> PwmExt<SP, Channel<CH2, CM>, AF2> for PC7<PT, PM>
[src]
type OutputPin = PC7<PT, AltFn<AF2, PushPull, SP>>
type
type Output = PwmBinding<Self::OutputPin, Channel<CH2, Pwm1>>
binding
fn to_pwm(self, channel: Channel<CH2, CM>, sp: SP) -> Self::Output
[src]
impl<SP: OutputSpeed, PT: PullType, PM: PinMode, CM: ChMode> PwmExt<SP, Channel<CH3, CM>, AF2> for PC8<PT, PM>
[src]
type OutputPin = PC8<PT, AltFn<AF2, PushPull, SP>>
type
type Output = PwmBinding<Self::OutputPin, Channel<CH3, Pwm1>>
binding
fn to_pwm(self, channel: Channel<CH3, CM>, sp: SP) -> Self::Output
[src]
impl<SP: OutputSpeed, PT: PullType, PM: PinMode, CM: ChMode> PwmExt<SP, Channel<CH4, CM>, AF2> for PC9<PT, PM>
[src]
type OutputPin = PC9<PT, AltFn<AF2, PushPull, SP>>
type
type Output = PwmBinding<Self::OutputPin, Channel<CH4, Pwm1>>
binding
fn to_pwm(self, channel: Channel<CH4, CM>, sp: SP) -> Self::Output
[src]
impl<SP: OutputSpeed, PT: PullType, PM: PinMode, CM: ChMode> PwmExt<SP, Channel<CH3, CM>, AF2> for PB0<PT, PM>
[src]
type OutputPin = PB0<PT, AltFn<AF2, PushPull, SP>>
type
type Output = PwmBinding<Self::OutputPin, Channel<CH3, Pwm1>>
binding
fn to_pwm(self, channel: Channel<CH3, CM>, sp: SP) -> Self::Output
[src]
impl<SP: OutputSpeed, PT: PullType, PM: PinMode, CM: ChMode> PwmExt<SP, Channel<CH4, CM>, AF2> for PB1<PT, PM>
[src]
type OutputPin = PB1<PT, AltFn<AF2, PushPull, SP>>
type
type Output = PwmBinding<Self::OutputPin, Channel<CH4, Pwm1>>
binding
fn to_pwm(self, channel: Channel<CH4, CM>, sp: SP) -> Self::Output
[src]
impl<CN: ChNum, M: ChMode> TimerChannel for Channel<CN, M>
[src]
Auto Trait Implementations
impl<CN, M> Unpin for Channel<CN, M> where
CN: Unpin,
M: Unpin,
CN: Unpin,
M: Unpin,
impl<CN, M> Send for Channel<CN, M> where
CN: Send,
M: Send,
CN: Send,
M: Send,
impl<CN, M> Sync for Channel<CN, M> where
CN: Sync,
M: Sync,
CN: Sync,
M: Sync,
Blanket Implementations
impl<T, U> TryFrom<U> 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> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryInto<U> 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> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> 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<T> for T
type Output = T
Should always be Self