diff --git a/src/gpio.rs b/src/gpio.rs index 5cd8dd2..901f22c 100644 --- a/src/gpio.rs +++ b/src/gpio.rs @@ -208,21 +208,37 @@ pub enum Edge { RisingFalling, } +#[doc = "Alternate function 0 (type state)"] pub type AF0 = Alternate<0, Otype>; +#[doc = "Alternate function 1 (type state)"] pub type AF1 = Alternate<1, Otype>; +#[doc = "Alternate function 2 (type state)"] pub type AF2 = Alternate<2, Otype>; +#[doc = "Alternate function 3 (type state)"] pub type AF3 = Alternate<3, Otype>; +#[doc = "Alternate function 4 (type state)"] pub type AF4 = Alternate<4, Otype>; +#[doc = "Alternate function 5 (type state)"] pub type AF5 = Alternate<5, Otype>; +#[doc = "Alternate function 6 (type state)"] pub type AF6 = Alternate<6, Otype>; +#[doc = "Alternate function 7 (type state)"] pub type AF7 = Alternate<7, Otype>; +#[doc = "Alternate function 8 (type state)"] pub type AF8 = Alternate<8, Otype>; +#[doc = "Alternate function 9 (type state)"] pub type AF9 = Alternate<9, Otype>; +#[doc = "Alternate function 10 (type state)"] pub type AF10 = Alternate<10, Otype>; +#[doc = "Alternate function 11 (type state)"] pub type AF11 = Alternate<11, Otype>; +#[doc = "Alternate function 12 (type state)"] pub type AF12 = Alternate<12, Otype>; +#[doc = "Alternate function 13 (type state)"] pub type AF13 = Alternate<13, Otype>; +#[doc = "Alternate function 14 (type state)"] pub type AF14 = Alternate<14, Otype>; +#[doc = "Alternate function 15 (type state)"] pub type AF15 = Alternate<15, Otype>; /// Generic pin type