Special Function Registers are used to control operations of the device. The CPU uses the SFRs to control internal operation as well as they reflect the effect of internal functions/actions. These are “core” functions. The peripherals also use the SFRs for configuration and reflects their status on SFRs.
Typical Special Function Registers are:
| SFR | Special Function Register |
| INDF | Indirect Data Addressing(Address = 00h) |
| TMR0 | 8-bit Timer/Counter(Address = 01h) |
| PCL | Program Counter(Address = 02h) |
| SATAUS | Represents the status of ALU(Address = 03h) |
| FSR | Pointer Register for INDF(Address = 04h) |
| OSCCAL | Calibration value of Oscillator(Address = 05h) |
| GPIO | General Purpose I/O(Address = 06h) |
| CMCON0 | Comparator Register(Address = 07h) |
| ADCON0 | Analog-to-Digital Register(Address = 70h) |
| TRISGPIO | I/O Control Register |
| OPTION | Timer0/WDT Prescale Register
|
No comments:
Post a Comment