| Electronic Components Datasheet Search |
|
PIC12F519-E/P Datasheet(PDF) 29 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
PIC12F519-E/P Datasheet(HTML) 29 Page - Microchip Technology |
|
29 / 88 page ![]() © 2007 Microchip Technology Inc. Preliminary DS41319A-page 27 PIC12F519 6.3 I/O Interfacing The equivalent circuit for an I/O port pin is shown in Figure 6-1. All port pins, except RB3 which is input only, may be used for both input and output operations. For input operations, these ports are non-latching. Any input must be present until read by an input instruction (e.g., MOVF PORTB, W). The outputs are latched and remain unchanged until the output latch is rewritten. To use a port pin as output, the corresponding direction control bit in TRIS must be cleared (= 0). For use as an input, the corresponding TRIS bit must be set. Any I/O pin (except RB3) can be programmed individually as input or output. FIGURE 6-1: PIC12F519 EQUIVALENT CIRCUIT FOR A SINGLE I/O PIN TABLE 6-2: SUMMARY OF PORT REGISTERS Data Bus Q D Q CK Q D Q CK P N WR Port TRIS ‘f’ Data TRIS RD Port VSS VDD I/O pin W Reg Latch Latch Reset Note 1: See Table 3-2 for buffer type. VSS VDD (1) Name Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Value on POR, BOR Value on all other Resets PORTB — — RB5 RB4 RB3 RB2 RB1 RB0 --xx xxxx --uu uuuu TRIS — — TRIS5 TRIS4 TRIS3 TRIS2 TRIS1 TRIS0 --11 1111 --11 1111 Legend: x = unknown, u = unchanged, – = unimplemented, read as ‘0’, Shaded cells = unimplemented, read as ‘0’ |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List 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 |