EPC9143 300 W 16th Brick DC/DC Module Reference Design
init_gpio.c
1 /*
2  * File: init_gpio.c
3  * Author: M91406
4  *
5  * Created on July 8, 2019, 6:26 PM
6  */
7 
8 
9 #include <xc.h>
10 #include "init_gpio.h"
11 
12 
27 volatile uint16_t sysGpio_Initialize(void) {
28 
29  volatile uint16_t retval=1;
30 
31  // Reset all analog inputs to be Digital I/Os
32  ANSELA = 0x0000;
33  ANSELB = 0x0000;
34 
35  return(retval);
36 }
37 
38 // end of file
sysGpio_Initialize
volatile uint16_t sysGpio_Initialize(void)
Resets the device input/output pins to digital inputs.
Definition: init_gpio.c:27