|
Digital Input/Output Reusable Driver v1.1
This project implements a GPIO reusable driver that can be adapted to various microcontrollers.
|
#include <dio_cfg.h>
Data Fields | |
| DioPort_t | Port |
| DioPin_t | Pin |
| DioMode_t | Mode |
| DioType_t | Type |
| DioSpeed_t | Speed |
| DioResistor_t | Resistor |
| DioFunction_t | Function |
Defines the digital input/output configuration table's elements that are used by Dio_Init to configure the Dio peripheral.
| DioFunction_t Function |
Mux Function - Dio_Peri_Select
| DioMode_t Mode |
Input, Output, Function, or Analog
| DioPin_t Pin |
The I/O pin
| DioPort_t Port |
The I/O port
| DioResistor_t Resistor |
Enabled or Disabled
| DioSpeed_t Speed |
Low, Medium, High, very
| DioType_t Type |
Push-pull or Open-drain