Files

copied
Last update 6 years 2 months
Filesmcc_generated_files
..
mtouch
epwm.c
epwm.h
interrupt_manager.c
interrupt_manager.h
mcc.c
mcc.h
pin_manager.c
pin_manager.h
tmr2.c
tmr2.h
pin_manager.c
/** Generated Pin Manager File Company: Microchip Technology Inc. File Name: pin_manager.c Summary: This is the Pin Manager file generated using MPLAB(c) Code Configurator Description: This header file provides implementations for pin APIs for all pins selected in the GUI. Generation Information : Product Revision : MPLAB(c) Code Configurator - 4.15 Device : PIC16F1823 Driver Version : 1.02 The generated drivers are tested against the following: Compiler : XC8 1.35 MPLAB : MPLAB X 3.40 Copyright (c) 2013 - 2015 released Microchip Technology Inc. All rights reserved. Microchip licenses to you the right to use, modify, copy and distribute Software only when embedded on a Microchip microcontroller or digital signal controller that is integrated into your product or third party product (pursuant to the sublicense terms in the accompanying license agreement). You should refer to the license agreement accompanying this Software for additional information regarding your rights and obligations. SOFTWARE AND DOCUMENTATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY, TITLE, NON-INFRINGEMENT AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROCHIP OR ITS LICENSORS BE LIABLE OR OBLIGATED UNDER CONTRACT, NEGLIGENCE, STRICT LIABILITY, CONTRIBUTION, BREACH OF WARRANTY, OR OTHER LEGAL EQUITABLE THEORY ANY DIRECT OR INDIRECT DAMAGES OR EXPENSES INCLUDING BUT NOT LIMITED TO ANY INCIDENTAL, SPECIAL, INDIRECT, PUNITIVE OR CONSEQUENTIAL DAMAGES, LOST PROFITS OR LOST DATA, COST OF PROCUREMENT OF SUBSTITUTE GOODS, TECHNOLOGY, SERVICES, OR ANY CLAIMS BY THIRD PARTIES (INCLUDING BUT NOT LIMITED TO ANY DEFENSE THEREOF), OR OTHER SIMILAR COSTS. */ #include <xc.h> #include "pin_manager.h" #include "stdbool.h" void PIN_MANAGER_Initialize(void) { /** LATx registers */ LATA = 0x00; LATC = 0x00; /** TRISx registers */ TRISA = 0x0F; TRISC = 0x0F; /** ANSELx registers */ ANSELC = 0x0E; ANSELA = 0x03; /** WPUx registers */ WPUA = 0x0B; WPUC = 0x3F; OPTION_REGbits.nWPUEN = 0; /** APFCONx registers */ APFCON = 0x00; } //void PIN_MANAGER_IOC(void) //{ // //} /** End of File */
Report a bug