Книга: Introduction to Microprocessors and Microcontrollers
Appendix A: Special function register file
Appendix A: Special function register file
Addr | Name | Bit 7 | Bit 6 | Bit 5 | Bit 4 | Bit 3 | Bit 2 | Bit 1 | Bit 0 | Power-on Reset | ||
---|---|---|---|---|---|---|---|---|---|---|---|---|
BANK 0 | ||||||||||||
00H | Uses contents of FSR to address data memory (not a physical register) | |||||||||||
01H | TMRO | 8-bit real-time clock/counter | xxxxxxxx | |||||||||
02H | PCL | Low order 8 bits of the program counter (PC) | 00000000 | |||||||||
03H | Status | IRP | RP1 | RPO | TO | PD | Z | DC | C | 00011xxx | ||
04H | FSR | Indirect Data Mamory Address Pointer | xxxxxxxx | |||||||||
05H | PortA | – | – | – | RA4/T-CKI | RA3 | RA2 | RA1 | RA0 | ---x xxxx | ||
06H | PortB | RB7 | RB6 | RB5 | RB4 | RB3 | RB2 | RB1 | RB0/INT | xxxxxxxx | ||
07H | – | Unused | ||||||||||
BANK 1 | ||||||||||||
81H | Option | RBPU | INTEDG | T0CS | T0SE | PSA | PS2 | PS1 | PS0 | 11111111 | ||
85H | TRISA | – | – | – | PortA data Direction | ---11111 | ||||||
86H | TRISB | PortB data Direction | 11111111 | |||||||||
87H | – | Unused | ||||||||||
88H | EECON 1 | – | – | – | EEIF | WRERR | WREN | WR | RD | ---0x000 | ||
89H | EECON 2 | EEPROM control reg. (not a physical register) | ------- |
The full details (85 pages) of absolutely everything about the PIC16F84A (or any other PIC) can be downloaded from www.microchip.com.
Оглавление статьи/книги
- Preface
- 1. Basic microprocessor systems
- 2. Binary – the way micros count
- 3. Hexadecimal – the way we communicate with micros
- 4. How micros calculate
- 5. An introduction to logic gates and their uses
- 6. Registers and memories
- 7. A microprocessor-based system
- 8. A typical 8-bit microprocessor
- 9. Programming – using machine code and assembly
- 10. High-level languages
- 11. The development of microprocessors and microcontrollers
- 12. The Pentium family
- 13. The PowerPC
- 14. The Athlon XP
- 15. Microcontrollers and how to use them
- 16. Using a PIC microcontroller for a real project
- 17. Interfacing
- 18. Test equipment and fault-finding
- Appendix A: Special function register file
- Appendix B: PIC 16CXXX instruction set
- Further reading
- Quiz time answers
- Содержание книги
- Популярные страницы
Похожие страницы
- Shared Cache file
- Безопасность внешних таблиц. Параметр EXTERNAL FILE DIRECTORY
- EXTERNAL FUNCTION DIRECTORY
- Chapter 13. rc.firewall file
- Appendix A. Detailed explanations of special commands
- Appendix B. Common problems and questions
- Appendix C. ICMP types
- Appendix D. TCP options
- Appendix E. Other resources and links
- Appendix F. Acknowledgments
- Appendix G. History
- Appendix H. GNU Free Documentation License