|
enum | InputTrigger : uint8_t { InputTrigger::LowLevel = 0b00,
InputTrigger::BothEdges = 0b01,
InputTrigger::FallingEdge = 0b10,
InputTrigger::RisingEdge = 0b11
} |
| Each External Interrupt can be configured to trigger on these conditions. More...
|
|
enum | InputType : uint8_t { InputType::Floating,
InputType::PullUp
} |
| Each Input Pin can be configured in one of these states. More...
|
|
enum | OutputType : uint8_t { OutputType::PushPull
} |
|
enum | Port { B,
C,
D
} |
| Available ports on this device.
|
|
enum | Signal {
BitBang,
Ain0,
Ain1,
Ain2,
Ain3,
Ain4,
Ain5,
Ain6,
Cts,
Icp,
Miso,
Mosi,
Oca,
Ocb,
Occ,
Rts,
Rxd,
Sclk,
Ss,
T,
Txd,
Xck
} |
|
|
static void | setOutput () |
|
static void | setOutput (bool status) |
|
static void | setOutput (OutputType) |
|
static void | configure (OutputType) |
|
static void | setInput () |
|
static void | setInput (InputType type) |
|
static void | configure (InputType type) |
|
static void | set () |
|
static void | set (bool status) |
|
static void | reset () |
|
static void | toggle () |
|
|
static constexpr uint8_t | width = sizeof...(Gpios) |
|
static constexpr uint8_t | number_of_ports = numberOfPorts() |
|
|
static constexpr uint8_t | inverted (uint8_t id) |
|
static constexpr uint8_t | mask (uint8_t id) |
|
static constexpr uint8_t | numberOfPorts () |
|
|
static constexpr uint8_t | inverteds [3] |
|
static constexpr uint8_t | masks [3] |
|
Each External Interrupt can be configured to trigger on these conditions.
Enum Values | Documentation |
---|
LowLevel | triggers continuously during low level
|
BothEdges | triggers on both rising and falling edge
|
FallingEdge | triggers on falling edge
|
RisingEdge | triggers on rising edge
|
Each Input Pin can be configured in one of these states.
Enum Values | Documentation |
---|
Floating | The input pin is left floating.
|
PullUp | The input pin is pulled to Vcc.
|
Enum Values | Documentation |
---|
PushPull | push-pull on output
|
template<class... Gpios>
constexpr uint8_t modm::platform::GpioSet< Gpios >::inverteds[3] |
|
staticprotectedconstexpr |
Initial value:{
(((Gpios::port == Port::B and Gpios::isInverted) ? Gpios::mask : 0) | ...),
(((Gpios::port == Port::C and Gpios::isInverted) ? Gpios::mask : 0) | ...),
(((Gpios::port == Port::D and Gpios::isInverted) ? Gpios::mask : 0) | ...),
}
template<class... Gpios>
constexpr uint8_t modm::platform::GpioSet< Gpios >::masks[3] |
|
staticprotectedconstexpr |
Initial value:{
(((Gpios::port == Port::B) ? Gpios::mask : 0) | ...),
(((Gpios::port == Port::C) ? Gpios::mask : 0) | ...),
(((Gpios::port == Port::D) ? Gpios::mask : 0) | ...),
}
The documentation for this class was generated from the following file: