pub struct DedicatedGpio<'lt> {
pub channel0: DedicatedGpioChannel<'lt, 0>,
pub channel1: DedicatedGpioChannel<'lt, 1>,
pub channel2: DedicatedGpioChannel<'lt, 2>,
pub channel3: DedicatedGpioChannel<'lt, 3>,
pub channel4: DedicatedGpioChannel<'lt, 4>,
pub channel5: DedicatedGpioChannel<'lt, 5>,
pub channel6: DedicatedGpioChannel<'lt, 6>,
pub channel7: DedicatedGpioChannel<'lt, 7>,
}Expand description
Dedicated GPIO channels.
Fields§
§channel0: DedicatedGpioChannel<'lt, 0>Channel 0
channel1: DedicatedGpioChannel<'lt, 1>Channel 1
channel2: DedicatedGpioChannel<'lt, 2>Channel 2
channel3: DedicatedGpioChannel<'lt, 3>Channel 3
channel4: DedicatedGpioChannel<'lt, 4>Channel 4
channel5: DedicatedGpioChannel<'lt, 5>Channel 5
channel6: DedicatedGpioChannel<'lt, 6>Channel 6
channel7: DedicatedGpioChannel<'lt, 7>Channel 7
Implementations§
Source§impl<'lt> DedicatedGpio<'lt>
impl<'lt> DedicatedGpio<'lt>
Sourcepub fn new(_: GPIO_DEDICATED<'lt>) -> Self
pub fn new(_: GPIO_DEDICATED<'lt>) -> Self
Initializes the dedicated GPIO features and returns the channels.