| データシートサーチシステム |
|
PIC17C752-08/P データシート(PDF) 69 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
PIC17C752-08/P データシート(HTML) 69 Page - Microchip Technology |
|
69 / 320 page ![]() © 1997 Microchip Technology Inc. Preliminary DS30264A-page 69 PIC17C75X Example 10-2 shows an instruction sequence to initial- ize PORTB. The Bank Select Register (BSR) must be selected to Bank 0 for the port to be initialized. The fol- lowing example uses the MOVLB instruction to load the BSR register for bank selection. EXAMPLE 10-2: INITIALIZING PORTB MOVLB 0 ; Select Bank 0 CLRF PORTB ; Initialize PORTB by clearing ; output data latches MOVLW 0xCF ; Value used to initialize ; data direction MOVWF DDRB ; Set RB<3:0> as inputs ; RB<5:4> as outputs ; RB<7:6> as inputs FIGURE 10-6: BLOCK DIAGRAM OF RB3:RB2 PORT PINS Note: I/O pins have protection diodes to VDD and Vss. Data Bus Q D CK Q D CK R Weak Pull-Up Port Input Latch Port Data OE Peripheral_enable Peripheral_output WR_PORTB (Q4) WR_DDRB (Q4) RD_PORTB (Q2) RD_DDRB (Q2) RBIF RBPU Match Signal from other port pins (PORTA<7>) Peripheral Data in |
|
リンク URL |
| ALLDATASHEETはお客様のビジネスに役立ちますか? [ DONATE ] |
Alldatasheetは | 広告 | お問い合わせ | プライバシーポリシー | データシートへのリンク | リンク交換 | メーカーリスト 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 |