ÿÿCListeÿÿCModuleÿÿCSautÿÿCCpt1þ1 B'00000000'þ1TRISAa=€\Bits 7,6 used by Xtal 32.768KHz Bit 7 (T1OSI) must be set and bit 6 (T1OSO) must be cleared1þ1 B'10000000'þ1TRISBa=ÿÿCStRout  Init_Timer1 Start 16F628Aÿ€€€€1þ1D'128'þ1TMR1H =€1þ1D'0'þ1TMR1L =ÿÿ CRegistre_ 0PORTA®CSTATUSÔÿÿCTempoT_100mS100000€ 0PORTA®CSTATUSÔTimer1+++++++€€€ €ÿãbit 7-6 Unimplemented: Read as ‘0’ bit 5-4 T1CKPS<1:0>: Timer1 Input Clock Prescale Select bits 11 = 1:8 Prescale value 10 = 1:4 Prescale value 01 = 1:2 Prescale value 00 = 1:1 Prescale value bit 3 T1OSCEN: Timer1 Oscillator Enable Control bit 1 = Oscillator is enabled 0 = Oscillator is shut off bit 2 T1SYNC: Timer1 External Clock Input Synchronization Control bit TMR1CS = 1 1 = Do not synchronize external clock input 0 = Synchronize external clock input TMR1CS = 0 This bit is ignored. Timer1 uses the internal clock when TMR1CS = 0 bit 1 TMR1CS: Timer1 Clock Source Select bit 1 = External clock from pin RB6/T1OSO/T1CKI/PGC (on the rising edge) 0 = Internal clock (FOSC/4) bit 0 TMR1ON: Timer1 On bit 1 = Enables Timer1 0 = Stops Timer11þ1 B'00001111'þ÷1T1CON=€ FTimer1 interrupt enable bit 0: Disable 1: EnableTMR1IEPIE1CSTATUS Init_Timer1ÿÿÿC_TEMPO100000T_100mS€500000T_500mS16F628Ai_CP_OFF & _DATA_CP_OFF & _PWRTE_ON & _WDT_OFF & _MCLRE_OFF & _LVP_OFF & _HS_OSC & _BODEN_OFF & _BOREN_OFF A0x200