Dataflow Runtime API  2.7.4.0
Public Member Functions | Public Attributes | List of all members
imt::base::bsp::stm32f103::PinDefinition Struct Reference

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.
 
void configure ()
 Configure the Pin using the STM32 F103 MD HAL.
 
void configure (const GPIO_Mode mode) const
 Configure the Pin using the STM32 F103 MD HAL.
 
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, ...)
 
const uint8_t m_indexPin
 Zero based index of the pin in the port (A0 = 0, A1 = 1, ...)
 
const uint8_t m_mode
 Pin mode.
 

Detailed Description

Defines the properties of a single pin configuration of the CPU.


The documentation for this struct was generated from the following file: