|
|
using | Direction = modm::Gpio::Direction |
| |
|
using | Type = GpioStatic< GpioData > |
| |
|
using | Output = Type |
| |
|
using | Input = Type |
| |
|
using | IO = Type |
| |
|
using | Data = GpioData |
| |
|
|
static void | setOutput () |
| |
|
static void | setOutput (bool status) |
| |
|
static void | setOutput (OutputType type) |
| |
|
static void | configure (OutputType type) |
| |
|
static void | set () |
| |
|
static void | set (bool status) |
| |
|
static void | reset () |
| |
|
static bool | isSet () |
| |
|
static void | toggle () |
| |
|
static void | setInput () |
| |
|
static void | setInput (InputType type) |
| |
|
static void | configure (InputType type) |
| |
|
static bool | read () |
| |
|
static Direction | getDirection () |
| |
|
static void | disconnect () |
| |
|
|
static constexpr Direction | direction = Direction::InOut |
| |
|
static constexpr bool | isInverted = false |
| |
|
|
static constexpr volatile uint8_t * | gport () |
| |
|
static constexpr volatile uint8_t * | gpin () |
| |
|
static constexpr volatile uint8_t * | gddr () |
| |
|
|
static constexpr uint8_t | mask = (1 << pin) |
| |
|
|
template<class... Gpios> |
| class | GpioSet |
| |
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
|
The documentation for this class was generated from the following file: