12.07.2015 Views

PIC16F84A 18-pin Enhanced Flash/EEPROM 8-Bit MCU Data Sheet

PIC16F84A 18-pin Enhanced Flash/EEPROM 8-Bit MCU Data Sheet

PIC16F84A 18-pin Enhanced Flash/EEPROM 8-Bit MCU Data Sheet

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>PIC16F84A</strong>FIGURE 3-2:BLOCK DIAGRAM OF PIN RA4<strong>Data</strong>busWRPORTD QCK Q<strong>Data</strong> LatchNRA4 <strong>pin</strong>WRTRISD QCK QTRIS LatchVSSSchmittTriggerinputbufferRD TRISQDRD PORTENTMR0 clock inputNote: I/O <strong>pin</strong> has protection diodes to VSS only.TABLE 3-1 PORTA FUNCTIONSName <strong>Bit</strong>0 Buffer Type FunctionRA0 bit0 TTL Input/outputRA1 bit1 TTL Input/outputRA2 bit2 TTL Input/outputRA3 bit3 TTL Input/outputRA4/T0CKI bit4 ST Input/output or external clock input for TMR0.Output is open drain type.Legend: TTL = TTL input, ST = Schmitt Trigger inputTABLE 3-2SUMMARY OF REGISTERS ASSOCIATED WITH PORTAAddress Name <strong>Bit</strong> 7 <strong>Bit</strong> 6 <strong>Bit</strong> 5 <strong>Bit</strong> 4 <strong>Bit</strong> 3 <strong>Bit</strong> 2 <strong>Bit</strong> 1 <strong>Bit</strong> 0Value onPower-onResetValue on allother resets05h PORTA — — — RA4/T0CKI RA3 RA2 RA1 RA0 ---x xxxx ---u uuuu85h TRISA — — — TRISA4 TRISA3 TRISA2 TRISA1 TRISA0 ---1 1111 ---1 1111Legend:x = unknown, u = unchanged, - = unimplemented read as '0'. Shaded cells are unimplemented, read as '0'DS35007A-page 14 Preliminary © 1998 Microchip Technology Inc.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!