HRI board firmware  v2.1
Microcontroller firmware of the board used during the HRI labs.
Functions
Driver / Debug GPIOs

Driver to control three GPIOs, to debug easily with an oscilloscope. More...

Functions

void dio_Init (void)
 
bool dio_Get (int pinIndex)
 
void dio_Set (int pinIndex, bool high)
 
void dio_Toggle (int pinIndex)
 

Detailed Description

Driver to control three GPIOs, to debug easily with an oscilloscope.

Call dio_Init() first in the initialization code. Then, call dio_Set() to set the GPIO states.

Function Documentation

◆ dio_Get()

bool dio_Get ( int  pinIndex)

◆ dio_Init()

void dio_Init ( void  )

◆ dio_Set()

void dio_Set ( int  pinIndex,
bool  high 
)

◆ dio_Toggle()

void dio_Toggle ( int  pinIndex)