| công cụ tìm kiếm bảng dữ liệu linh kiện điện tử |
|
DM163006 bảng dữ liệu(PDF) 51 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
DM163006 bảng dữ liệu(HTML) 51 Page - Microchip Technology |
|
51 / 320 page ![]() 2001 Microchip Technology Inc. Advance Information DS39541A-page 51 PIC18C601/801 EXAMPLE 4-5: COMBINATION UNLOCK MACRO EXAMPLE CODE FIGURE 4-7: THE DATA MEMORY MAP FOR PIC18C801/601 (PGRM = 0) UNLOCK_N_MODIFY @REG MACRO BCF INTCON, GIE ; Disable interrupts BSF PSPCON, CMLK1 BSF PSPCON, CMLK0 MOVWF @REG ; Modify given register BSF INTCON, GIE ; Enable interrupts ENDM • • MOVLW 5Ah ; Preload WREG for OSCCON register UNLOCK_N_MODIFY OSCCON ; Modify OSCCON Bank 0 Bank 1 Bank 14 Bank 15 Data Memory Map BSR<3:0> = 0000b = 0001b = 1111b 080h 07Fh F80h FFFh When a = 0, the BSR is ignored and this Access RAM bank is used. The first 128 bytes are General Purpose RAM (from Bank 0). The next 128 bytes are Special Function Registers (from Bank 15). When a = 1, the BSR is used to specify the RAM location that the instruction uses. Bank 3 Bank 2 F7Fh F00h EFFh 3FFh 300h 2FFh 200h 1FFh 100h 0FFh 000h = 0011b = 0010b Access GPR’s FFh 00h FFh 00h FFh 00h FFh 00h FFh 00h GPR GPR GPR GPR Access SFR’s Unused Bank 6 to Unused Read ’00h’ = 1110b = 0110b 5FFh 500h 4FFh 400h FFh 00h FFh 00h 00h 7Fh FFh Access RAM Bank Access Bank High Access Bank Low (GPR’s) (SFR’s) 80h Bank 4 = 0100b Bank 5 = 0101b GPR GPR |
|
Link URL |
| Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không? [ DONATE ] |
Alldatasheet là | Quảng cáo | Liên lạc với chúng tôi | Chính sách bảo mật | Liên kết đến bảng dữ liệu | Trao đổi link | Tìm kiếm theo nhà sản xuất All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |