Struct alt_stm32f30x_hal::gpio::AF2 [−][src]
pub struct AF2;
AF2
Trait Implementations
impl AltFnNum for AF2
[src]
impl AltFnNum for AF2
fn alt_fn_num(&self) -> U4
[src]
fn alt_fn_num(&self) -> U4
converts type state
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<SP: OutputSpeed, PT: PullType, PM: PinMode, CM: ChMode> PwmExt<SP, Channel<CH1, CM>, AF2> for PB6<PT, PM>
[src]
impl<SP: OutputSpeed, PT: PullType, PM: PinMode, CM: ChMode> PwmExt<SP, Channel<CH1, CM>, AF2> for PB6<PT, PM>
type OutputPin = PB6<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 PB7<PT, PM>
[src]
impl<SP: OutputSpeed, PT: PullType, PM: PinMode, CM: ChMode> PwmExt<SP, Channel<CH2, CM>, AF2> for PB7<PT, PM>
type OutputPin = PB7<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 PB8<PT, PM>
[src]
impl<SP: OutputSpeed, PT: PullType, PM: PinMode, CM: ChMode> PwmExt<SP, Channel<CH3, CM>, AF2> for PB8<PT, PM>
type OutputPin = PB8<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 PB9<PT, PM>
[src]
impl<SP: OutputSpeed, PT: PullType, PM: PinMode, CM: ChMode> PwmExt<SP, Channel<CH4, CM>, AF2> for PB9<PT, PM>