Skip to main content

Pin

Struct Pin 

Source
pub struct Pin<Id: PinId> { /* private fields */ }
Expand description

Primary Pin structure for the physical pins exposed by Vorago MCUs.

This pin structure is only used for resource management and does not do anything on its own.

Implementations§

Source§

impl<I: PinId> Pin<I>

Source

pub const unsafe fn steal() -> Self

Create a new pin instance.

§Safety

This circumvents ownership rules of the HAL and allows creating multiple instances of the same pin.

Trait Implementations§

Source§

impl<Id: PinId + Sealed> AnyPin for Pin<Id>

Source§

const ID: DynPinId = Id::ID

Source§

impl HwCsProvider for Pin<Pa10>

Source§

const PIN_ID: DynPinId = Pa10::ID

Source§

const SPI_ID: Bank = Bank::Spi1

Source§

const FUN_SEL: FunctionSelect = FunctionSelect::Sel2

Source§

const CS_ID: HwChipSelectId = HwChipSelectId::Id7

Source§

impl HwCsProvider for Pin<Pa11>

Source§

const PIN_ID: DynPinId = Pa11::ID

Source§

const SPI_ID: Bank = Bank::Spi1

Source§

const FUN_SEL: FunctionSelect = FunctionSelect::Sel2

Source§

const CS_ID: HwChipSelectId = HwChipSelectId::Id6

Source§

impl HwCsProvider for Pin<Pa12>

Source§

const PIN_ID: DynPinId = Pa12::ID

Source§

const SPI_ID: Bank = Bank::Spi1

Source§

const FUN_SEL: FunctionSelect = FunctionSelect::Sel2

Source§

const CS_ID: HwChipSelectId = HwChipSelectId::Id5

Source§

impl HwCsProvider for Pin<Pa13>

Source§

const PIN_ID: DynPinId = Pa13::ID

Source§

const SPI_ID: Bank = Bank::Spi1

Source§

const FUN_SEL: FunctionSelect = FunctionSelect::Sel2

Source§

const CS_ID: HwChipSelectId = HwChipSelectId::Id4

Source§

impl HwCsProvider for Pin<Pa14>

Source§

const PIN_ID: DynPinId = Pa14::ID

Source§

const SPI_ID: Bank = Bank::Spi1

Source§

const FUN_SEL: FunctionSelect = FunctionSelect::Sel2

Source§

const CS_ID: HwChipSelectId = HwChipSelectId::Id3

Source§

impl HwCsProvider for Pin<Pa15>

Source§

const PIN_ID: DynPinId = Pa15::ID

Source§

const SPI_ID: Bank = Bank::Spi1

Source§

const FUN_SEL: FunctionSelect = FunctionSelect::Sel2

Source§

const CS_ID: HwChipSelectId = HwChipSelectId::Id2

Source§

impl HwCsProvider for Pin<Pa16>

Source§

const PIN_ID: DynPinId = Pa16::ID

Source§

const SPI_ID: Bank = Bank::Spi1

Source§

const FUN_SEL: FunctionSelect = FunctionSelect::Sel2

Source§

const CS_ID: HwChipSelectId = HwChipSelectId::Id1

Source§

impl HwCsProvider for Pin<Pa17>

Source§

const PIN_ID: DynPinId = Pa17::ID

Source§

const SPI_ID: Bank = Bank::Spi1

Source§

const FUN_SEL: FunctionSelect = FunctionSelect::Sel2

Source§

const CS_ID: HwChipSelectId = HwChipSelectId::Id0

Source§

impl HwCsProvider for Pin<Pa19>

Source§

const PIN_ID: DynPinId = Pa19::ID

Source§

const SPI_ID: Bank = Bank::Spi2

Source§

const FUN_SEL: FunctionSelect = FunctionSelect::Sel1

Source§

const CS_ID: HwChipSelectId = HwChipSelectId::Id2

Source§

impl HwCsProvider for Pin<Pa20>

Source§

const PIN_ID: DynPinId = Pa20::ID

Source§

const SPI_ID: Bank = Bank::Spi2

Source§

const FUN_SEL: FunctionSelect = FunctionSelect::Sel1

Source§

const CS_ID: HwChipSelectId = HwChipSelectId::Id1

Source§

impl HwCsProvider for Pin<Pa24>

Source§

const PIN_ID: DynPinId = Pa24::ID

Source§

const SPI_ID: Bank = Bank::Spi0

Source§

const FUN_SEL: FunctionSelect = FunctionSelect::Sel1

Source§

const CS_ID: HwChipSelectId = HwChipSelectId::Id4

Source§

impl HwCsProvider for Pin<Pa25>

Source§

const PIN_ID: DynPinId = Pa25::ID

Source§

const SPI_ID: Bank = Bank::Spi0

Source§

const FUN_SEL: FunctionSelect = FunctionSelect::Sel1

Source§

const CS_ID: HwChipSelectId = HwChipSelectId::Id3

Source§

impl HwCsProvider for Pin<Pa26>

Source§

const PIN_ID: DynPinId = Pa26::ID

Source§

const SPI_ID: Bank = Bank::Spi0

Source§

const FUN_SEL: FunctionSelect = FunctionSelect::Sel1

Source§

const CS_ID: HwChipSelectId = HwChipSelectId::Id2

Source§

impl HwCsProvider for Pin<Pa27>

Source§

const PIN_ID: DynPinId = Pa27::ID

Source§

const SPI_ID: Bank = Bank::Spi0

Source§

const FUN_SEL: FunctionSelect = FunctionSelect::Sel1

Source§

const CS_ID: HwChipSelectId = HwChipSelectId::Id1

Source§

impl HwCsProvider for Pin<Pa28>

Source§

const PIN_ID: DynPinId = Pa28::ID

Source§

const SPI_ID: Bank = Bank::Spi0

Source§

const FUN_SEL: FunctionSelect = FunctionSelect::Sel1

Source§

const CS_ID: HwChipSelectId = HwChipSelectId::Id0

Source§

impl HwCsProvider for Pin<Pb0>

Source§

const PIN_ID: DynPinId = Pb0::ID

Source§

const SPI_ID: Bank = Bank::Spi0

Source§

const FUN_SEL: FunctionSelect = FunctionSelect::Sel2

Source§

const CS_ID: HwChipSelectId = HwChipSelectId::Id1

Source§

impl HwCsProvider for Pin<Pb1>

Source§

const PIN_ID: DynPinId = Pb1::ID

Source§

const SPI_ID: Bank = Bank::Spi0

Source§

const FUN_SEL: FunctionSelect = FunctionSelect::Sel2

Source§

const CS_ID: HwChipSelectId = HwChipSelectId::Id2

Source§

impl HwCsProvider for Pin<Pb13>

Source§

const PIN_ID: DynPinId = Pb13::ID

Source§

const SPI_ID: Bank = Bank::Spi1

Source§

const FUN_SEL: FunctionSelect = FunctionSelect::Sel1

Source§

const CS_ID: HwChipSelectId = HwChipSelectId::Id3

Source§

impl HwCsProvider for Pin<Pb14>

Source§

const PIN_ID: DynPinId = Pb14::ID

Source§

const SPI_ID: Bank = Bank::Spi1

Source§

const FUN_SEL: FunctionSelect = FunctionSelect::Sel1

Source§

const CS_ID: HwChipSelectId = HwChipSelectId::Id2

Source§

impl HwCsProvider for Pin<Pb15>

Source§

const PIN_ID: DynPinId = Pb15::ID

Source§

const SPI_ID: Bank = Bank::Spi1

Source§

const FUN_SEL: FunctionSelect = FunctionSelect::Sel1

Source§

const CS_ID: HwChipSelectId = HwChipSelectId::Id1

Source§

impl HwCsProvider for Pin<Pb16>

Source§

const PIN_ID: DynPinId = Pb16::ID

Source§

const SPI_ID: Bank = Bank::Spi1

Source§

const FUN_SEL: FunctionSelect = FunctionSelect::Sel1

Source§

const CS_ID: HwChipSelectId = HwChipSelectId::Id0

Source§

impl HwCsProvider for Pin<Pb18>

Source§

const PIN_ID: DynPinId = Pb18::ID

Source§

const SPI_ID: Bank = Bank::Spi2

Source§

const FUN_SEL: FunctionSelect = FunctionSelect::Sel1

Source§

const CS_ID: HwChipSelectId = HwChipSelectId::Id3

Source§

impl HwCsProvider for Pin<Pb2>

Source§

const PIN_ID: DynPinId = Pb2::ID

Source§

const SPI_ID: Bank = Bank::Spi0

Source§

const FUN_SEL: FunctionSelect = FunctionSelect::Sel2

Source§

const CS_ID: HwChipSelectId = HwChipSelectId::Id3

Source§

impl HwCsProvider for Pin<Pb22>

Source§

const PIN_ID: DynPinId = Pb22::ID

Source§

const SPI_ID: Bank = Bank::Spi2

Source§

const FUN_SEL: FunctionSelect = FunctionSelect::Sel3

Source§

const CS_ID: HwChipSelectId = HwChipSelectId::Id1

Source§

impl HwCsProvider for Pin<Pb23>

Source§

const PIN_ID: DynPinId = Pb23::ID

Source§

const SPI_ID: Bank = Bank::Spi2

Source§

const FUN_SEL: FunctionSelect = FunctionSelect::Sel3

Source§

const CS_ID: HwChipSelectId = HwChipSelectId::Id2

Source§

impl HwCsProvider for Pin<Pb3>

Source§

const PIN_ID: DynPinId = Pb3::ID

Source§

const SPI_ID: Bank = Bank::Spi0

Source§

const FUN_SEL: FunctionSelect = FunctionSelect::Sel2

Source§

const CS_ID: HwChipSelectId = HwChipSelectId::Id4

Source§

impl HwCsProvider for Pin<Pb4>

Source§

const PIN_ID: DynPinId = Pb4::ID

Source§

const SPI_ID: Bank = Bank::Spi0

Source§

const FUN_SEL: FunctionSelect = FunctionSelect::Sel2

Source§

const CS_ID: HwChipSelectId = HwChipSelectId::Id5

Source§

impl HwCsProvider for Pin<Pb5>

Source§

const PIN_ID: DynPinId = Pb5::ID

Source§

const SPI_ID: Bank = Bank::Spi0

Source§

const FUN_SEL: FunctionSelect = FunctionSelect::Sel2

Source§

const CS_ID: HwChipSelectId = HwChipSelectId::Id6

Source§

impl HwCsProvider for Pin<Pb6>

Source§

const PIN_ID: DynPinId = Pb6::ID

Source§

const SPI_ID: Bank = Bank::Spi0

Source§

const FUN_SEL: FunctionSelect = FunctionSelect::Sel2

Source§

const CS_ID: HwChipSelectId = HwChipSelectId::Id0

Source§

impl HwCsProvider for Pin<Pb7>

Source§

const PIN_ID: DynPinId = Pb7::ID

Source§

const SPI_ID: Bank = Bank::Spi2

Source§

const FUN_SEL: FunctionSelect = FunctionSelect::Sel3

Source§

const CS_ID: HwChipSelectId = HwChipSelectId::Id3

Source§

impl HwCsProvider for Pin<Pb8>

Source§

const PIN_ID: DynPinId = Pb8::ID

Source§

const SPI_ID: Bank = Bank::Spi2

Source§

const FUN_SEL: FunctionSelect = FunctionSelect::Sel3

Source§

const CS_ID: HwChipSelectId = HwChipSelectId::Id2

Source§

impl HwCsProvider for Pin<Pb9>

Source§

const PIN_ID: DynPinId = Pb9::ID

Source§

const SPI_ID: Bank = Bank::Spi2

Source§

const FUN_SEL: FunctionSelect = FunctionSelect::Sel3

Source§

const CS_ID: HwChipSelectId = HwChipSelectId::Id1

Source§

impl PinMiso0 for Pin<Pa29>

Source§

const SPI_ID: Bank = Bank::Spi0

Source§

const FUN_SEL: FunctionSelect = FunctionSelect::Sel1

Source§

impl PinMiso0 for Pin<Pb7>

Source§

const SPI_ID: Bank = Bank::Spi0

Source§

const FUN_SEL: FunctionSelect = FunctionSelect::Sel2

Source§

impl PinMiso1 for Pin<Pa18>

Source§

const SPI_ID: Bank = Bank::Spi1

Source§

const FUN_SEL: FunctionSelect = FunctionSelect::Sel2

Source§

impl PinMiso1 for Pin<Pb17>

Source§

const SPI_ID: Bank = Bank::Spi1

Source§

const FUN_SEL: FunctionSelect = FunctionSelect::Sel1

Source§

impl PinMiso1 for Pin<Pb3>

Source§

const SPI_ID: Bank = Bank::Spi1

Source§

const FUN_SEL: FunctionSelect = FunctionSelect::Sel1

Source§

impl PinMosi0 for Pin<Pa30>

Source§

const SPI_ID: Bank = Bank::Spi0

Source§

const FUN_SEL: FunctionSelect = FunctionSelect::Sel1

Source§

impl PinMosi0 for Pin<Pb8>

Source§

const SPI_ID: Bank = Bank::Spi0

Source§

const FUN_SEL: FunctionSelect = FunctionSelect::Sel2

Source§

impl PinMosi1 for Pin<Pa19>

Source§

const SPI_ID: Bank = Bank::Spi1

Source§

const FUN_SEL: FunctionSelect = FunctionSelect::Sel2

Source§

impl PinMosi1 for Pin<Pb18>

Source§

const SPI_ID: Bank = Bank::Spi1

Source§

const FUN_SEL: FunctionSelect = FunctionSelect::Sel1

Source§

impl PinMosi1 for Pin<Pb4>

Source§

const SPI_ID: Bank = Bank::Spi1

Source§

const FUN_SEL: FunctionSelect = FunctionSelect::Sel1

Source§

impl PinSck0 for Pin<Pa31>

Source§

const SPI_ID: Bank = Bank::Spi0

Source§

const FUN_SEL: FunctionSelect = FunctionSelect::Sel1

Source§

impl PinSck0 for Pin<Pb9>

Source§

const SPI_ID: Bank = Bank::Spi0

Source§

const FUN_SEL: FunctionSelect = FunctionSelect::Sel2

Source§

impl PinSck1 for Pin<Pa20>

Source§

const SPI_ID: Bank = Bank::Spi1

Source§

const FUN_SEL: FunctionSelect = FunctionSelect::Sel2

Source§

impl PinSck1 for Pin<Pb19>

Source§

const SPI_ID: Bank = Bank::Spi1

Source§

const FUN_SEL: FunctionSelect = FunctionSelect::Sel1

Source§

impl PinSck1 for Pin<Pb5>

Source§

const SPI_ID: Bank = Bank::Spi1

Source§

const FUN_SEL: FunctionSelect = FunctionSelect::Sel1

Source§

impl RxPin0 for Pin<Pa16>

Source§

const BANK: Bank = Bank::Uart0

Source§

const FUNC_SEL: FunctionSelect = FunctionSelect::Sel3

Source§

impl RxPin0 for Pin<Pa30>

Source§

const BANK: Bank = Bank::Uart0

Source§

const FUNC_SEL: FunctionSelect = FunctionSelect::Sel3

Source§

impl RxPin0 for Pin<Pa8>

Source§

const BANK: Bank = Bank::Uart0

Source§

const FUNC_SEL: FunctionSelect = FunctionSelect::Sel2

Source§

impl RxPin0 for Pin<Pb22>

Source§

const BANK: Bank = Bank::Uart0

Source§

const FUNC_SEL: FunctionSelect = FunctionSelect::Sel1

Source§

impl RxPin0 for Pin<Pb8>

Source§

const BANK: Bank = Bank::Uart0

Source§

const FUNC_SEL: FunctionSelect = FunctionSelect::Sel1

Source§

impl RxPin1 for Pin<Pa18>

Source§

const BANK: Bank = Bank::Uart1

Source§

const FUNC_SEL: FunctionSelect = FunctionSelect::Sel3

Source§

impl RxPin1 for Pin<Pa2>

Source§

const BANK: Bank = Bank::Uart1

Source§

const FUNC_SEL: FunctionSelect = FunctionSelect::Sel2

Source§

impl RxPin1 for Pin<Pa26>

Source§

const BANK: Bank = Bank::Uart1

Source§

const FUNC_SEL: FunctionSelect = FunctionSelect::Sel3

Source§

impl RxPin1 for Pin<Pb18>

Source§

const BANK: Bank = Bank::Uart1

Source§

const FUNC_SEL: FunctionSelect = FunctionSelect::Sel2

Source§

impl RxPin1 for Pin<Pb20>

Source§

const BANK: Bank = Bank::Uart1

Source§

const FUNC_SEL: FunctionSelect = FunctionSelect::Sel1

Source§

impl RxPin1 for Pin<Pb6>

Source§

const BANK: Bank = Bank::Uart1

Source§

const FUNC_SEL: FunctionSelect = FunctionSelect::Sel1

Source§

impl Tim0Pin for Pin<Pa0>
where Pa0: PinId,

Source§

const PIN_ID: DynPinId = Pa0::ID

Source§

const FUNC_SEL: FunctionSelect = FunctionSelect::Sel1

Source§

const TIM_ID: TimId

Source§

impl Tim0Pin for Pin<Pb0>
where Pb0: PinId,

Source§

const PIN_ID: DynPinId = Pb0::ID

Source§

const FUNC_SEL: FunctionSelect = FunctionSelect::Sel3

Source§

const TIM_ID: TimId

Source§

impl Tim10Pin for Pin<Pa10>
where Pa10: PinId,

Source§

const PIN_ID: DynPinId = Pa10::ID

Source§

const FUNC_SEL: FunctionSelect = FunctionSelect::Sel1

Source§

const TIM_ID: TimId

Source§

impl Tim10Pin for Pin<Pb10>
where Pb10: PinId,

Source§

const PIN_ID: DynPinId = Pb10::ID

Source§

const FUNC_SEL: FunctionSelect = FunctionSelect::Sel3

Source§

const TIM_ID: TimId

Source§

impl Tim11Pin for Pin<Pa11>
where Pa11: PinId,

Source§

const PIN_ID: DynPinId = Pa11::ID

Source§

const FUNC_SEL: FunctionSelect = FunctionSelect::Sel1

Source§

const TIM_ID: TimId

Source§

impl Tim11Pin for Pin<Pb11>
where Pb11: PinId,

Source§

const PIN_ID: DynPinId = Pb11::ID

Source§

const FUNC_SEL: FunctionSelect = FunctionSelect::Sel3

Source§

const TIM_ID: TimId

Source§

impl Tim12Pin for Pin<Pa12>
where Pa12: PinId,

Source§

const PIN_ID: DynPinId = Pa12::ID

Source§

const FUNC_SEL: FunctionSelect = FunctionSelect::Sel1

Source§

const TIM_ID: TimId

Source§

impl Tim12Pin for Pin<Pb12>
where Pb12: PinId,

Source§

const PIN_ID: DynPinId = Pb12::ID

Source§

const FUNC_SEL: FunctionSelect = FunctionSelect::Sel3

Source§

const TIM_ID: TimId

Source§

impl Tim13Pin for Pin<Pa13>
where Pa13: PinId,

Source§

const PIN_ID: DynPinId = Pa13::ID

Source§

const FUNC_SEL: FunctionSelect = FunctionSelect::Sel1

Source§

const TIM_ID: TimId

Source§

impl Tim13Pin for Pin<Pb13>
where Pb13: PinId,

Source§

const PIN_ID: DynPinId = Pb13::ID

Source§

const FUNC_SEL: FunctionSelect = FunctionSelect::Sel3

Source§

const TIM_ID: TimId

Source§

impl Tim14Pin for Pin<Pa14>
where Pa14: PinId,

Source§

const PIN_ID: DynPinId = Pa14::ID

Source§

const FUNC_SEL: FunctionSelect = FunctionSelect::Sel1

Source§

const TIM_ID: TimId

Source§

impl Tim14Pin for Pin<Pb14>
where Pb14: PinId,

Source§

const PIN_ID: DynPinId = Pb14::ID

Source§

const FUNC_SEL: FunctionSelect = FunctionSelect::Sel3

Source§

const TIM_ID: TimId

Source§

impl Tim15Pin for Pin<Pa15>
where Pa15: PinId,

Source§

const PIN_ID: DynPinId = Pa15::ID

Source§

const FUNC_SEL: FunctionSelect = FunctionSelect::Sel1

Source§

const TIM_ID: TimId

Source§

impl Tim15Pin for Pin<Pb15>
where Pb15: PinId,

Source§

const PIN_ID: DynPinId = Pb15::ID

Source§

const FUNC_SEL: FunctionSelect = FunctionSelect::Sel3

Source§

const TIM_ID: TimId

Source§

impl Tim16Pin for Pin<Pa24>
where Pa24: PinId,

Source§

const PIN_ID: DynPinId = Pa24::ID

Source§

const FUNC_SEL: FunctionSelect = FunctionSelect::Sel2

Source§

const TIM_ID: TimId

Source§

impl Tim16Pin for Pin<Pb16>
where Pb16: PinId,

Source§

const PIN_ID: DynPinId = Pb16::ID

Source§

const FUNC_SEL: FunctionSelect = FunctionSelect::Sel3

Source§

const TIM_ID: TimId

Source§

impl Tim17Pin for Pin<Pa25>
where Pa25: PinId,

Source§

const PIN_ID: DynPinId = Pa25::ID

Source§

const FUNC_SEL: FunctionSelect = FunctionSelect::Sel2

Source§

const TIM_ID: TimId

Source§

impl Tim17Pin for Pin<Pb17>
where Pb17: PinId,

Source§

const PIN_ID: DynPinId = Pb17::ID

Source§

const FUNC_SEL: FunctionSelect = FunctionSelect::Sel3

Source§

const TIM_ID: TimId

Source§

impl Tim18Pin for Pin<Pa26>
where Pa26: PinId,

Source§

const PIN_ID: DynPinId = Pa26::ID

Source§

const FUNC_SEL: FunctionSelect = FunctionSelect::Sel2

Source§

const TIM_ID: TimId

Source§

impl Tim18Pin for Pin<Pb18>
where Pb18: PinId,

Source§

const PIN_ID: DynPinId = Pb18::ID

Source§

const FUNC_SEL: FunctionSelect = FunctionSelect::Sel3

Source§

const TIM_ID: TimId

Source§

impl Tim19Pin for Pin<Pa27>
where Pa27: PinId,

Source§

const PIN_ID: DynPinId = Pa27::ID

Source§

const FUNC_SEL: FunctionSelect = FunctionSelect::Sel2

Source§

const TIM_ID: TimId

Source§

impl Tim19Pin for Pin<Pb19>
where Pb19: PinId,

Source§

const PIN_ID: DynPinId = Pb19::ID

Source§

const FUNC_SEL: FunctionSelect = FunctionSelect::Sel3

Source§

const TIM_ID: TimId

Source§

impl Tim1Pin for Pin<Pa1>
where Pa1: PinId,

Source§

const PIN_ID: DynPinId = Pa1::ID

Source§

const FUNC_SEL: FunctionSelect = FunctionSelect::Sel1

Source§

const TIM_ID: TimId

Source§

impl Tim1Pin for Pin<Pb1>
where Pb1: PinId,

Source§

const PIN_ID: DynPinId = Pb1::ID

Source§

const FUNC_SEL: FunctionSelect = FunctionSelect::Sel3

Source§

const TIM_ID: TimId

Source§

impl Tim20Pin for Pin<Pa28>
where Pa28: PinId,

Source§

const PIN_ID: DynPinId = Pa28::ID

Source§

const FUNC_SEL: FunctionSelect = FunctionSelect::Sel2

Source§

const TIM_ID: TimId

Source§

impl Tim20Pin for Pin<Pb20>
where Pb20: PinId,

Source§

const PIN_ID: DynPinId = Pb20::ID

Source§

const FUNC_SEL: FunctionSelect = FunctionSelect::Sel3

Source§

const TIM_ID: TimId

Source§

impl Tim21Pin for Pin<Pa29>
where Pa29: PinId,

Source§

const PIN_ID: DynPinId = Pa29::ID

Source§

const FUNC_SEL: FunctionSelect = FunctionSelect::Sel2

Source§

const TIM_ID: TimId

Source§

impl Tim21Pin for Pin<Pb21>
where Pb21: PinId,

Source§

const PIN_ID: DynPinId = Pb21::ID

Source§

const FUNC_SEL: FunctionSelect = FunctionSelect::Sel3

Source§

const TIM_ID: TimId

Source§

impl Tim22Pin for Pin<Pa30>
where Pa30: PinId,

Source§

const PIN_ID: DynPinId = Pa30::ID

Source§

const FUNC_SEL: FunctionSelect = FunctionSelect::Sel2

Source§

const TIM_ID: TimId

Source§

impl Tim22Pin for Pin<Pb22>
where Pb22: PinId,

Source§

const PIN_ID: DynPinId = Pb22::ID

Source§

const FUNC_SEL: FunctionSelect = FunctionSelect::Sel3

Source§

const TIM_ID: TimId

Source§

impl Tim23Pin for Pin<Pa31>
where Pa31: PinId,

Source§

const PIN_ID: DynPinId = Pa31::ID

Source§

const FUNC_SEL: FunctionSelect = FunctionSelect::Sel2

Source§

const TIM_ID: TimId

Source§

impl Tim23Pin for Pin<Pb23>
where Pb23: PinId,

Source§

const PIN_ID: DynPinId = Pb23::ID

Source§

const FUNC_SEL: FunctionSelect = FunctionSelect::Sel3

Source§

const TIM_ID: TimId

Source§

impl Tim2Pin for Pin<Pa2>
where Pa2: PinId,

Source§

const PIN_ID: DynPinId = Pa2::ID

Source§

const FUNC_SEL: FunctionSelect = FunctionSelect::Sel1

Source§

const TIM_ID: TimId

Source§

impl Tim2Pin for Pin<Pb2>
where Pb2: PinId,

Source§

const PIN_ID: DynPinId = Pb2::ID

Source§

const FUNC_SEL: FunctionSelect = FunctionSelect::Sel3

Source§

const TIM_ID: TimId

Source§

impl Tim3Pin for Pin<Pa3>
where Pa3: PinId,

Source§

const PIN_ID: DynPinId = Pa3::ID

Source§

const FUNC_SEL: FunctionSelect = FunctionSelect::Sel1

Source§

const TIM_ID: TimId

Source§

impl Tim3Pin for Pin<Pb3>
where Pb3: PinId,

Source§

const PIN_ID: DynPinId = Pb3::ID

Source§

const FUNC_SEL: FunctionSelect = FunctionSelect::Sel3

Source§

const TIM_ID: TimId

Source§

impl Tim4Pin for Pin<Pa4>
where Pa4: PinId,

Source§

const PIN_ID: DynPinId = Pa4::ID

Source§

const FUNC_SEL: FunctionSelect = FunctionSelect::Sel1

Source§

const TIM_ID: TimId

Source§

impl Tim4Pin for Pin<Pb4>
where Pb4: PinId,

Source§

const PIN_ID: DynPinId = Pb4::ID

Source§

const FUNC_SEL: FunctionSelect = FunctionSelect::Sel3

Source§

const TIM_ID: TimId

Source§

impl Tim5Pin for Pin<Pa5>
where Pa5: PinId,

Source§

const PIN_ID: DynPinId = Pa5::ID

Source§

const FUNC_SEL: FunctionSelect = FunctionSelect::Sel1

Source§

const TIM_ID: TimId

Source§

impl Tim5Pin for Pin<Pb5>
where Pb5: PinId,

Source§

const PIN_ID: DynPinId = Pb5::ID

Source§

const FUNC_SEL: FunctionSelect = FunctionSelect::Sel3

Source§

const TIM_ID: TimId

Source§

impl Tim6Pin for Pin<Pa6>
where Pa6: PinId,

Source§

const PIN_ID: DynPinId = Pa6::ID

Source§

const FUNC_SEL: FunctionSelect = FunctionSelect::Sel1

Source§

const TIM_ID: TimId

Source§

impl Tim6Pin for Pin<Pb6>
where Pb6: PinId,

Source§

const PIN_ID: DynPinId = Pb6::ID

Source§

const FUNC_SEL: FunctionSelect = FunctionSelect::Sel3

Source§

const TIM_ID: TimId

Source§

impl Tim7Pin for Pin<Pa7>
where Pa7: PinId,

Source§

const PIN_ID: DynPinId = Pa7::ID

Source§

const FUNC_SEL: FunctionSelect = FunctionSelect::Sel1

Source§

const TIM_ID: TimId

Source§

impl Tim8Pin for Pin<Pa8>
where Pa8: PinId,

Source§

const PIN_ID: DynPinId = Pa8::ID

Source§

const FUNC_SEL: FunctionSelect = FunctionSelect::Sel1

Source§

const TIM_ID: TimId

Source§

impl Tim9Pin for Pin<Pa9>
where Pa9: PinId,

Source§

const PIN_ID: DynPinId = Pa9::ID

Source§

const FUNC_SEL: FunctionSelect = FunctionSelect::Sel1

Source§

const TIM_ID: TimId

Source§

impl TxPin0 for Pin<Pa17>

Source§

const BANK: Bank = Bank::Uart0

Source§

const FUNC_SEL: FunctionSelect = FunctionSelect::Sel3

Source§

impl TxPin0 for Pin<Pa31>

Source§

const BANK: Bank = Bank::Uart0

Source§

const FUNC_SEL: FunctionSelect = FunctionSelect::Sel3

Source§

impl TxPin0 for Pin<Pa9>

Source§

const BANK: Bank = Bank::Uart0

Source§

const FUNC_SEL: FunctionSelect = FunctionSelect::Sel2

Source§

impl TxPin0 for Pin<Pb23>

Source§

const BANK: Bank = Bank::Uart0

Source§

const FUNC_SEL: FunctionSelect = FunctionSelect::Sel1

Source§

impl TxPin0 for Pin<Pb9>

Source§

const BANK: Bank = Bank::Uart0

Source§

const FUNC_SEL: FunctionSelect = FunctionSelect::Sel1

Source§

impl TxPin1 for Pin<Pa19>

Source§

const BANK: Bank = Bank::Uart1

Source§

const FUNC_SEL: FunctionSelect = FunctionSelect::Sel3

Source§

impl TxPin1 for Pin<Pa27>

Source§

const BANK: Bank = Bank::Uart1

Source§

const FUNC_SEL: FunctionSelect = FunctionSelect::Sel3

Source§

impl TxPin1 for Pin<Pa3>

Source§

const BANK: Bank = Bank::Uart1

Source§

const FUNC_SEL: FunctionSelect = FunctionSelect::Sel2

Source§

impl TxPin1 for Pin<Pb19>

Source§

const BANK: Bank = Bank::Uart1

Source§

const FUNC_SEL: FunctionSelect = FunctionSelect::Sel2

Source§

impl TxPin1 for Pin<Pb21>

Source§

const BANK: Bank = Bank::Uart1

Source§

const FUNC_SEL: FunctionSelect = FunctionSelect::Sel1

Source§

impl TxPin1 for Pin<Pb7>

Source§

const BANK: Bank = Bank::Uart1

Source§

const FUNC_SEL: FunctionSelect = FunctionSelect::Sel1

Auto Trait Implementations§

§

impl<Id> Freeze for Pin<Id>

§

impl<Id> RefUnwindSafe for Pin<Id>
where Id: RefUnwindSafe,

§

impl<Id> Send for Pin<Id>
where Id: Send,

§

impl<Id> Sync for Pin<Id>
where Id: Sync,

§

impl<Id> Unpin for Pin<Id>
where Id: Unpin,

§

impl<Id> UnsafeUnpin for Pin<Id>

§

impl<Id> UnwindSafe for Pin<Id>
where Id: UnwindSafe,

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.