LES MICROCONTROLEURS ( PICs de Microchip ) - Technologue pro
LES MICROCONTROLEURS ( PICs de Microchip ) - Technologue pro
LES MICROCONTROLEURS ( PICs de Microchip ) - Technologue pro
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Le registre <strong>de</strong> control <strong>de</strong> T1CON<br />
T1CKPS1, T1CKPS0 : Control du prescaler<br />
00 : division par 1<br />
01 : division par 2<br />
10 : division par 4<br />
11 : division par 8<br />
T1OSCEN : Validation <strong>de</strong> l'Oscillateur associé à TMR1<br />
0 : Oscillateur arrêté<br />
1 : Oscillateur activé<br />
T1SYNC : Synchronisation <strong>de</strong> l'horloge externe (ignoré en mo<strong>de</strong> timer)<br />
0 : Synchronisation<br />
1 : pas <strong>de</strong> synchronisation<br />
TMR1CS : Choix <strong>de</strong> l'horloge du Timer<br />
0 : horloge système (Fosc/4) : mo<strong>de</strong> timer<br />
1 : Horloge externe : mo<strong>de</strong> compteur<br />
TMR1ON : Démarrer arrêter le timer<br />
0 : Timer stoppé<br />
1 : Timer en fonctionnement<br />
OSCILLATEUR INTERNE du TIMER 1 :<br />
Un oscillateur à quartz a été embarqué sur le chip. Il est branché entre les broches PC0<br />
(oscillateur out) et PC1 (oscillateur in). Il est mis en service par la mise à "1" du bit<br />
T1OSCEN. Cet oscillateur à faible consommation est limité à<br />
200 KHz. Il continu à osciller en mo<strong>de</strong> SLEEP du PIC.<br />
Il est principalement <strong>de</strong>stiné pour générer un événement temps réel toutes les secon<strong>de</strong>s par<br />
utilisation d'un quartz 32,768 KHz.<br />
Page 20