5.2.1 2-byte Config Bits Registers
Configuration Registers with 2 Bytes
5.2.1.1 Introduction
The Configuration settings allow the user to select the oscillators, reset sources and memory protection from the several options available on the device. They are latched in place at the power-up and also after programming of the device.
5.2.1.2 Supported Device Families
| PIC16(L)F184x | PIC16(L)F182x | PIC12(L)F182x | PIC12(L)F184x | PIC16(L)F193x |
| PIC16(L)F194x | PIC16LF190x | PIC16(L)F178x | PIC16(L)F177x | PIC16(L)F176x |
| PIC16(L)F170x | PIC16(L)F171x | PIC16LF15x | PIC12(L)F157x | PIC16(L)F157x |
| PIC16(L)F150x | PIC12(L)F150x | PIC12LF156x | PIC16LF156x | PIC16(L)F152x |
| PIC16(L)F151x | PIC16(L)F145x |
5.2.1.3 Required Header Files:
#include "mcc_generated_files/system/config_bits.h"
5.2.1.4 Module Documentation
5.2.1.4.1 CONFIGBITS Driver
This file contains the API prototype for the Configuration Bits driver.
Module description
This file contains the API prototype for the Configuration Bits driver.
5.2.1.4.2 System Driver
This file contains the API prototype for the System Driver.
Module description
This file contains the API prototype for the System Driver.
Functions
void SYSTEM_Initialize (void)
Initializes the system module. This routine is called only once during system initialization, before calling other APIs.
Function Documentation
SYSTEM_Initialize()
void SYSTEM_Initialize (void )
Initializes the system module. This routine is called only once during system initialization, before calling other APIs.
| None. |
None. |
5.2.1.5 File Documentation
5.2.1.5.1 source/source-files/config_bits.c File Reference
This file contains the API implementation for the Device Configuration Bits driver.
Detailed Description
This file contains the API implementation for the Device Configuration Bits driver.
CONFIGURATION BITS Generated Driver Source File
5.2.1.5.2 source/source-files/config_bits.h File Reference
#include "../system/clock.h"
Detailed Description
CONFIGURATION BITS Generated Driver Header File
5.2.1.5.3 source/source-files/system.c File Reference
This file contains the API implementation for the System Driver.
#include "../system.h"
Functions
void SYSTEM_Initialize (void)
Initializes the system module. This routine is called only once during system initialization, before calling other APIs.
Detailed Description
This file contains the API implementation for the System Driver.
System Driver Source File
5.2.1.5.4 source/source-files/system.h File Reference
#include <xc.h> #include <stdint.h> #include <stdbool.h> #include "config_bits.h" #include "../system/clock.h" #include "../system/pins.h" #include "../system/interrupt.h"
Functions
void SYSTEM_Initialize (void)
Initializes the system module. This routine is called only once during system initialization, before calling other APIs.
Detailed Description
System Driver Header File
