HRI board firmware  v2.1
Microcontroller firmware of the board used during the HRI labs.
Macros | Functions | Variables
debug_gpio.c File Reference
#include "debug_gpio.h"

Macros

#define N_GPIOS   3
 
#define DIO_PORT   GPIOB
 

Functions

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

Variables

const uint32_t dio_gpios [N_GPIOS] = { GPIO_Pin_14, GPIO_Pin_13, GPIO_Pin_12 }
 

Macro Definition Documentation

◆ DIO_PORT

#define DIO_PORT   GPIOB

◆ N_GPIOS

#define N_GPIOS   3

Variable Documentation

◆ dio_gpios

const uint32_t dio_gpios[N_GPIOS] = { GPIO_Pin_14, GPIO_Pin_13, GPIO_Pin_12 }