Solar panel
Loading...
Searching...
No Matches
pin_manager.c
Go to the documentation of this file.
1
24
/*
25
(c) 2018 Microchip Technology Inc. and its subsidiaries.
26
27
Subject to your compliance with these terms, you may use Microchip software and any
28
derivatives exclusively with Microchip products. It is your responsibility to comply with third party
29
license terms applicable to your use of third party software (including open source software) that
30
may accompany Microchip software.
31
32
THIS SOFTWARE IS SUPPLIED BY MICROCHIP "AS IS". NO WARRANTIES, WHETHER
33
EXPRESS, IMPLIED OR STATUTORY, APPLY TO THIS SOFTWARE, INCLUDING ANY
34
IMPLIED WARRANTIES OF NON-INFRINGEMENT, MERCHANTABILITY, AND FITNESS
35
FOR A PARTICULAR PURPOSE.
36
37
IN NO EVENT WILL MICROCHIP BE LIABLE FOR ANY INDIRECT, SPECIAL, PUNITIVE,
38
INCIDENTAL OR CONSEQUENTIAL LOSS, DAMAGE, COST OR EXPENSE OF ANY KIND
39
WHATSOEVER RELATED TO THE SOFTWARE, HOWEVER CAUSED, EVEN IF MICROCHIP
40
HAS BEEN ADVISED OF THE POSSIBILITY OR THE DAMAGES ARE FORESEEABLE. TO
41
THE FULLEST EXTENT ALLOWED BY LAW, MICROCHIP'S TOTAL LIABILITY ON ALL
42
CLAIMS IN ANY WAY RELATED TO THIS SOFTWARE WILL NOT EXCEED THE AMOUNT
43
OF FEES, IF ANY, THAT YOU HAVE PAID DIRECTLY TO MICROCHIP FOR THIS
44
SOFTWARE.
45
*/
46
47
#include "
pin_manager.h
"
48
49
50
void
PIN_MANAGER_Initialize
(
void
)
51
{
55
LATE = 0x00;
56
LATJ = 0x00;
57
LATD = 0x00;
58
LATA = 0x00;
59
LATF = 0x00;
60
LATB = 0x00;
61
LATG = 0x00;
62
LATC = 0x00;
63
LATH = 0x00;
64
68
TRISE = 0xFF;
69
TRISF = 0xFF;
70
TRISA = 0x3F;
71
TRISG = 0xFF;
72
TRISB = 0xFF;
73
TRISH = 0xFF;
74
TRISC = 0xBB;
75
TRISD = 0xFF;
76
TRISJ = 0xFF;
77
81
ADCON1bits.PCFG = 0x00;
82
83
84
85
86
87
88
}
89
90
void
PIN_MANAGER_IOC
(
void
)
91
{
92
93
}
94
PIN_MANAGER_Initialize
void PIN_MANAGER_Initialize(void)
Definition:
pin_manager.c:50
PIN_MANAGER_IOC
void PIN_MANAGER_IOC(void)
Definition:
pin_manager.c:90
pin_manager.h
mcc_generated_files
pin_manager.c
Generated by
1.9.6