Special Function Registers

  • Even the best C programmer can't use a PIC unless they master SFRs
  • While similar to an unsigned char variable, an SFR is also read by the PIC to control pins and peripherals
  • Many of the library functions we'll use (later in the course) are just convenient ways to set SFRs