mirror of
https://github.com/italicsjenga/rp-hal-boards.git
synced 2025-01-10 04:21:32 +11:00
parent
b1fcb7eff8
commit
03e791ab31
|
@ -80,9 +80,9 @@ use core::marker::PhantomData;
|
||||||
|
|
||||||
use crate::{
|
use crate::{
|
||||||
gpio::{
|
gpio::{
|
||||||
bank0::*, FunctionClock, FunctionI2C, FunctionPio0, FunctionPio1, FunctionPwm, FunctionSpi,
|
bank0::*, Disabled, DisabledConfig, FunctionClock, FunctionI2C, FunctionPio0, FunctionPio1,
|
||||||
FunctionUart, FunctionUsbAux, FunctionXip, Input, InputConfig, Output, OutputConfig, Pin,
|
FunctionPwm, FunctionSpi, FunctionUart, FunctionUsbAux, FunctionXip, Input, InputConfig,
|
||||||
PinId, PinMode, ValidPinMode,
|
Output, OutputConfig, Pin, PinId, PinMode, ValidPinMode,
|
||||||
},
|
},
|
||||||
resets::SubsystemReset,
|
resets::SubsystemReset,
|
||||||
typelevel::Sealed,
|
typelevel::Sealed,
|
||||||
|
@ -509,6 +509,7 @@ impl NonPwmPinMode for FunctionUsbAux {}
|
||||||
impl NonPwmPinMode for FunctionXip {}
|
impl NonPwmPinMode for FunctionXip {}
|
||||||
impl<C: InputConfig> NonPwmPinMode for Input<C> {}
|
impl<C: InputConfig> NonPwmPinMode for Input<C> {}
|
||||||
impl<C: OutputConfig> NonPwmPinMode for Output<C> {}
|
impl<C: OutputConfig> NonPwmPinMode for Output<C> {}
|
||||||
|
impl<C: DisabledConfig> NonPwmPinMode for Disabled<C> {}
|
||||||
|
|
||||||
/// Stores the attached gpio pin.
|
/// Stores the attached gpio pin.
|
||||||
///
|
///
|
||||||
|
|
Loading…
Reference in a new issue