August 2008
Beginner to intermediate
304 pages
6h 2m
English
Some knowledge of the PIC internal architecture is useful at this point. The MCU operation is controlled by a set of file registers, which contain special function registers (SFRs) in the first 32 locations, followed by some general purpose registers (GPRs). The 16F877 has four banks of 128 registers, as shown in Figure B.2. Some registers are duplicated in more than one bank, so the actual number of distinct GPRs is 192.

Figure B.3 shows the function of each bit of the SFRs in Bank0 and Figure B.4 the details for the status register, which contains ...
Read now
Unlock full access