Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F85614163
debug_gpio.h
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Mon, Sep 30, 08:13
Size
481 B
Mime Type
text/x-c
Expires
Wed, Oct 2, 08:13 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
20860891
Attached To
R2671 HHRI-software
debug_gpio.h
View Options
#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
Log In to Comment