libyggdrasil
v1.0.0
|
Base class for GPIO port abstraction. More...
#include <gpio.hpp>
Public Types | |
using | Impl = GPIOImpl< Context > |
Public Member Functions | |
GPIOPort ()=delete | |
GPIOPort (const GPIOPort &)=delete | |
GPIOPort (GPIOPort &&)=delete | |
Static Public Member Functions | |
static auto | init (auto ... args) |
GPIO Port initialization. More... | |
static auto | deinit (auto ... args) |
GPIO Port deinitialization. More... | |
Static Public Attributes | |
template<u8 Number, Active LogicActive = Active::High> | |
static auto & | Pin = Impl::template Pin<Number, LogicActive> |
GPIO Pin. More... | |
template<u8 From, u8 To> | |
static auto & | In = Impl::template In<From, To> |
Input bitfield. More... | |
template<u8 From, u8 To> | |
static auto & | Out = Impl::template Out<From, To> |
Output bitfield. More... | |
Base class for GPIO port abstraction.
Context | GPIO context |
GPIOPin | GPIOPin implementation |
using bsp::drv::GPIOPort< Context, GPIOImpl >::Impl = GPIOImpl<Context> |
|
delete |
|
delete |
|
delete |
|
inlinestatic |
GPIO Port deinitialization.
args | Platform specific arguments |
|
inlinestatic |
GPIO Port initialization.
args | Platform specific arguments |
|
inlinestatic |
Input bitfield.
Number | Pin number |
|
inlinestatic |
Output bitfield.
Number | Pin number |
|
inlinestatic |
GPIO Pin.
Number | Pin number |