text: /**
    @Generated PIC10 / PIC12 / PIC16 / PIC18 MCUs Source File
  
    @Company:
      Microchip Technology Inc.
  
    @File Name:
      mcc.c
  
    @Summary:
      This is the device_config.c file generated using PIC10 / PIC12 / PIC16 / PIC18 MCUs
  
    @Description:
      This header file provides implementations for driver APIs for all modules selected in the GUI.
      Generation Information :
          Product Revision  :  PIC10 / PIC12 / PIC16 / PIC18 MCUs - 1.81.0
          Device            :  PIC16F19156
          Driver Version    :  2.00
      The generated drivers are tested against the following:
          Compiler          :  XC8 2.10 and above or later
          MPLAB             :  MPLAB X 5.35
  */
  
  /*
      (c) 2018 Microchip Technology Inc. and its subsidiaries. 
      
      Subject to your compliance with these terms, you may use Microchip software and any 
      derivatives exclusively with Microchip products. It is your responsibility to comply with third party 
      license terms applicable to your use of third party software (including open source software) that 
      may accompany Microchip software.
      
      THIS SOFTWARE IS SUPPLIED BY MICROCHIP "AS IS". NO WARRANTIES, WHETHER 
      EXPRESS, IMPLIED OR STATUTORY, APPLY TO THIS SOFTWARE, INCLUDING ANY 
      IMPLIED WARRANTIES OF NON-INFRINGEMENT, MERCHANTABILITY, AND FITNESS 
      FOR A PARTICULAR PURPOSE.
      
      IN NO EVENT WILL MICROCHIP BE LIABLE FOR ANY INDIRECT, SPECIAL, PUNITIVE, 
      INCIDENTAL OR CONSEQUENTIAL LOSS, DAMAGE, COST OR EXPENSE OF ANY KIND 
      WHATSOEVER RELATED TO THE SOFTWARE, HOWEVER CAUSED, EVEN IF MICROCHIP 
      HAS BEEN ADVISED OF THE POSSIBILITY OR THE DAMAGES ARE FORESEEABLE. TO 
      THE FULLEST EXTENT ALLOWED BY LAW, MICROCHIP'S TOTAL LIABILITY ON ALL 
      CLAIMS IN ANY WAY RELATED TO THIS SOFTWARE WILL NOT EXCEED THE AMOUNT 
      OF FEES, IF ANY, THAT YOU HAVE PAID DIRECTLY TO MICROCHIP FOR THIS 
      SOFTWARE.
  */
  
  // Configuration bits: selected in the GUI
  
  // CONFIG1
  #pragma config FEXTOSC = OFF    // External Oscillator mode selection bits->Oscillator not enabled
  #pragma config RSTOSC = HFINT1    // Power-up default value for COSC bits->HFINTOSC (1MHz)
  #pragma config CLKOUTEN = OFF    // Clock Out Enable bit->CLKOUT function is disabled; i/o or oscillator function on OSC2
  #pragma config VBATEN = OFF    // VBAT Pin Enable bit->VBAT functionality is disabled
  #pragma config LCDPEN = ON    // LCD Charge Pump Mode bit->LCD Charge Pump is enabled
  #pragma config CSWEN = ON    // Clock Switch Enable bit->Writing to NOSC and NDIV is allowed
  #pragma config FCMEN = ON    // Fail-Safe Clock Monitor Enable bit->FSCM timer enabled
  
  // CONFIG2
  #pragma config MCLRE = OFF    // Master Clear Enable bit->MCLR pin is Master Clear function
  #pragma config PWRTE = OFF    // Power-up Timer selection bits->PWRT disable
  #pragma config LPBOREN = OFF    // Low-Power BOR enable bit->ULPBOR disabled
  #pragma config BOREN = ON    // Brown-out reset enable bits->Brown-out Reset Enabled, SBOREN bit is ignored
  #pragma config BORV = LO    // Brown-out Reset Voltage Selection->Brown-out Reset Voltage (VBOR) set to 1.9V on LF, and 2.45V on F Devices
  #pragma config ZCD = OFF    // Zero-cross detect disable->Zero-cross detect circuit is disabled at POR.
  #pragma config PPS1WAY = ON    // Peripheral Pin Select one-way control->The PPSLOCK bit can be cleared and set only once in software
  #pragma config STVREN = ON    // Stack Overflow/Underflow Reset Enable bit->Stack Overflow or Underflow will cause a reset
  
  // CONFIG3
  #pragma config WDTCPS = WDTCPS_31    // WDT Period Select bits->Divider ratio 1:65536; software control of WDTPS
  #pragma config WDTE = OFF    // WDT operating mode->WDT Disabled, SWDTEN is ignored
  #pragma config WDTCWS = WDTCWS_7    // WDT Window Select bits->window always open (100%); software control; keyed access not required
  #pragma config WDTCCS = SC    // WDT input clock selector->Software Control
  
  // CONFIG4
  #pragma config BBSIZE = 512    // Boot Block Size Selection bits->Boot Block Size (Words) 512
  #pragma config BBEN = OFF    // Boot Block Enable bit->Boot Block disabled
  #pragma config SAFEN = OFF    // SAF Enable bit->SAF disabled
  #pragma config WRTAPP = OFF    // Application Block Write Protection bit->Application Block NOT write-protected
  #pragma config WRTB = OFF    // Boot Block Write Protection bit->Boot Block NOT write-protected
  #pragma config WRTC = OFF    // Configuration Register Write Protection bit->Configuration Words NOT write-protected
  #pragma config WRTD = OFF    // Data EEPROM Write Protection bit->Data EEPROM NOT write-protected
  #pragma config WRTSAF = OFF    // Storage Area Flash Write Protection bit->SAF NOT write-protected
  #pragma config LVP = ON    // Low Voltage Programming Enable bit->Low Voltage programming enabled. MCLR/Vpp pin function is MCLR.
  
  // CONFIG5
  #pragma config CP = OFF    // UserNVM Program memory code protection bit->UserNVM code protection disabled
  