![]() |
Open FFBoard
Open source force feedback firmware
|
#include <GPIOPin.h>
Public Member Functions | |
GpioPin (GPIO_TypeDef &port, uint16_t pin) | |
bool | operator== (const GpioPin &b) |
const GPIO_TypeDef * | getPort () const |
uint16_t | getPin () const |
Protected Attributes | |
GPIO_TypeDef * | port |
uint16_t | pin |
For now this class only works with pre-configured output pins but it could be easily extended to cover input pins as well as expose various configuration API's.
|
inline |