Open FFBoard
Open source force feedback firmware
InputPin Class Reference

#include <GPIOPin.h>

Inheritance diagram for InputPin:
GpioPin

Public Member Functions

 InputPin (GPIO_TypeDef &port, uint16_t pin)
 
 InputPin (GPIO_TypeDef *port, uint16_t pin)
 
bool read () const
 
- Public Member Functions inherited from GpioPin
 GpioPin (GPIO_TypeDef &port, uint16_t pin)
 
bool operator== (const GpioPin &b)
 
const GPIO_TypeDef * getPort () const
 
uint16_t getPin () const
 

Additional Inherited Members

- Protected Attributes inherited from GpioPin
GPIO_TypeDef * port
 
uint16_t pin
 

Detailed Description

Definition at line 68 of file GPIOPin.h.

Constructor & Destructor Documentation

◆ InputPin() [1/2]

InputPin::InputPin ( GPIO_TypeDef &  port,
uint16_t  pin 
)
inline

Definition at line 70 of file GPIOPin.h.

◆ InputPin() [2/2]

InputPin::InputPin ( GPIO_TypeDef *  port,
uint16_t  pin 
)
inline

Definition at line 72 of file GPIOPin.h.

Member Function Documentation

◆ read()

bool InputPin::read ( ) const
inline

Definition at line 76 of file GPIOPin.h.


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