You are on page 1of 1
PIC16F627A/628A/648A TABLE 5-1: PORTA FUNCTIONS input | Output Name Function Tyee Type Description RADIANO RAD_| ST | CMOS |Bidvedtonal VO port ‘ANO | AN | — [Analog comparator input RATAN RAI_| _ST_| CMOS [Bidirectional VO port ANT| AN | — [Analog comparator input RAZIANDN REF RAZ | ST | CMOS Bidirectional VO port ‘AN2_| AN | _— [Analog comparator input VREF = "AN __|VREF output RAS/ANS/CMP1 RAS ST CMOS _| Bidirectional /O port ANS AN — [Analog comparator input MP1 = CMOS _|Comparator + output RAATOCKIIOMP2 | _RA4 | ST | OD [Bidirectional 7 port. Output is open drain ype: Tock! | ST | _— | Extemal clock input for TMRO or comparator output MP2 | — | OD | Comparator 2 output RASIMCLRIVER Ras | ST_| — _|Inputport WoIR | st | — _ [Master clear, When configured as MCLR., this pin is an active low Reset tothe device. Voltage on MCLRIVEP must not exceed Vob during normal device operation. ver | Hv | _— _ | Programming voltage input RASIOSCIICLKOUT | _RAS_| ST | CMOS [Bidirectional /O port | osca = XTAL | Oscillator erystal output. Connects to crystal resonator in Crystal Oscillator mode. CLOUT] — | GMOS [in RC or INTOSC mode. OSC2 pin can output CLKOUT, which has 1/4 the frequency of OSC1. RATIOSC1/CLKIN RAZ ST CMOS _| Bidirectional /O port osct | XTAL — [Oscillator crystal input. Connects to crystal resonator in Crystal Oscillator mode. CLKIN | ST | _— External clock source input. RG biasing pin, Legend: 0 = Output ‘GMOS = CMOS Output P_ = Power — = Notused | Input ST = Schmitt Trigger Input TTL = TTL Input 0D = Open Drain Output AN = Analog TABLE 5-2: __ SUMMARY OF REGISTERS ASSOCIATED WITH PORTA ‘Addr Ne sit7 | sits | ets | sits | pits | eitz | air | Bito | Yalueon Another ess | Name | ai c et | ue sn [PORTA | RAT | RAS [Rast | Raa | RAD | RAZ | RAT | RAD | om @5n__ [TRIGA | TRIGAT | TRISAS | TRIGAS | TRISA@ | TRIGAG [ TRIGA? | TRIGA | TRIGAD] 1233 teh [econ |zour|crour} cay |cunv | cis | cm | cmt | Mo | 0000 an |vRcon | ven | vroe | vee | — | va | vr2 | Rt | vRO_ | o00- Legend? = Unimpiemeted cations read as 0, = unchanged, x = unknown, q= value depends on conden, Shaded eels {are not used for PORTA. Note 1: MCLRE configuration bit sets RAS functionality (© 2007 Microchip Technology Ine. Ds40044F-page 35

You might also like