Page MenuHomec4science

debug_gpio.h
No OneTemporary

File Metadata

Created
Fri, Apr 26, 20:06

debug_gpio.h

#ifndef __DEBUG_GPIO_H
#define __DEBUG_GPIO_H
#include "../main.h"
/** @defgroup DGPIO Driver / Debug GPIOs
* @brief 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.
*
* @addtogroup DGPIO
* @{
*/
void dio_Init(void);
bool dio_Get(int pinIndex);
void dio_Set(int pinIndex, bool high);
void dio_Toggle(int pinIndex);
/**
* @}
*/
#endif

Event Timeline