![]() |
Dataflow Runtime API
3.0.3.0
|
Defines the properties of a single pin configuration of the CPU. More...
#include <Imt.Base.BSP.STM32F103/PinDefinition.h>
Public Member Functions | |
PinDefinition (const uint8_t indexPort, const uint8_t indexPin, const GPIO_Mode mode) | |
Constructor. More... | |
void | configure () |
Configure the Pin using the STM32 F103 MD HAL. More... | |
void | configure (const GPIO_Mode mode) const |
Configure the Pin using the STM32 F103 MD HAL. More... | |
bool | read (void) const |
void | registerIrq (const size_t indexModule, const size_t indexDriver, const size_t indexEndpoint, const imt::base::bsp::type::TriggerEdge::Id triggerEdge, imt::base::bsp::handler::HighLevelValueHandlerIfc *pHandler) const |
void | registerIrq (const size_t indexModule, const size_t indexDriver, const size_t indexEndpoint, const imt::base::bsp::type::TriggerEdge::Id triggerEdge, imt::base::bsp::handler::TriggerEdgeHandlerIfc *pHandler) const |
void | write (const bool state) const |
void | unregisterIrq (void) const |
Public Attributes | |
const uint8_t | m_indexPort |
Zero based index of the GPIO port (A = 0, B = 1, ...) More... | |
const uint8_t | m_indexPin |
Zero based index of the pin in the port (A0 = 0, A1 = 1, ...) More... | |
const uint8_t | m_mode |
Pin mode. More... | |
Defines the properties of a single pin configuration of the CPU.
imt::base::bsp::stm32f103::PinDefinition::PinDefinition | ( | const uint8_t | indexPort, |
const uint8_t | indexPin, | ||
const GPIO_Mode | mode | ||
) |
Constructor.
void imt::base::bsp::stm32f103::PinDefinition::configure | ( | ) |
Configure the Pin using the STM32 F103 MD HAL.
void imt::base::bsp::stm32f103::PinDefinition::configure | ( | const GPIO_Mode | mode | ) | const |
Configure the Pin using the STM32 F103 MD HAL.
bool imt::base::bsp::stm32f103::PinDefinition::read | ( | void | ) | const |
void imt::base::bsp::stm32f103::PinDefinition::registerIrq | ( | const size_t | indexModule, |
const size_t | indexDriver, | ||
const size_t | indexEndpoint, | ||
const imt::base::bsp::type::TriggerEdge::Id | triggerEdge, | ||
imt::base::bsp::handler::HighLevelValueHandlerIfc * | pHandler | ||
) | const |
void imt::base::bsp::stm32f103::PinDefinition::registerIrq | ( | const size_t | indexModule, |
const size_t | indexDriver, | ||
const size_t | indexEndpoint, | ||
const imt::base::bsp::type::TriggerEdge::Id | triggerEdge, | ||
imt::base::bsp::handler::TriggerEdgeHandlerIfc * | pHandler | ||
) | const |
void imt::base::bsp::stm32f103::PinDefinition::unregisterIrq | ( | void | ) | const |
void imt::base::bsp::stm32f103::PinDefinition::write | ( | const bool | state | ) | const |
const uint8_t imt::base::bsp::stm32f103::PinDefinition::m_indexPin |
Zero based index of the pin in the port (A0 = 0, A1 = 1, ...)
const uint8_t imt::base::bsp::stm32f103::PinDefinition::m_indexPort |
Zero based index of the GPIO port (A = 0, B = 1, ...)
const uint8_t imt::base::bsp::stm32f103::PinDefinition::m_mode |
Pin mode.