![]() |
Dataflow Runtime API
3.0.3.0
|
Module that contains a number of GPIO pins that are provided as driver instances. More...
#include <Imt.Base.BSP/Module/GpioModule.h>
Public Member Functions | |
GpioModule (const size_t indexModule) | |
Constructor. More... | |
virtual | ~GpioModule (void) |
Destructor. More... | |
![]() | |
ModuleAbs (const size_t indexModule, const size_t numberOfModules, const size_t numberOfDrivers) | |
Constructor. More... | |
virtual | ~ModuleAbs (void) |
Destructor. More... | |
void | initialize (void) |
Initialize the module and all drivers. More... | |
void | enable (void) |
Enable the module (but not its drivers). More... | |
imt::base::bsp::type::ErrorCode::Id | start (void) |
Starts the module. More... | |
imt::base::bsp::type::ErrorCode::Id | stop (void) |
Stops the module. More... | |
imt::base::bsp::driver::GpioDriver * | getDriver (const size_t indexDriver) |
Gets the given driver. More... | |
size_t | getIndexModule (void) const |
Gets the index of the module. More... | |
size_t | getNumberOfDrivers (void) const |
Gets the number of drivers provided by this module. More... | |
imt::base::bsp::type::DriverType::Id | getType (void) const |
Gets the type of the module. More... | |
bool | isInitialized (void) const |
Gets if the module has been initialzied. More... | |
bool | isEnabled (void) const |
Gets if the module has been enabled. More... | |
bool | isStarted (void) const |
Gets if the module has been started. More... | |
Protected Member Functions | |
virtual void | onInitialize (void) |
virtual void | onEnable (void) |
virtual imt::base::bsp::type::ErrorCode::Id | onStart (void) |
virtual imt::base::bsp::type::ErrorCode::Id | onStop (void) |
Additional Inherited Members | |
![]() | |
static const imt::base::bsp::type::DriverType::Id | Type |
Constant holding the driver type. More... | |
Module that contains a number of GPIO pins that are provided as driver instances.
|
explicit |
Constructor.
indexModule | Index of the module (starting at 0). |
|
virtual |
Destructor.
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |