Page 234 - Making PIC Microcontroller Instruments and Controllers
P. 234

time  (always  beforc it runs out) in the  prcgam to keep this  ftom happenitg. The code
                   for rcsetting  the timer is provided  by the compiler automatically.  Check the appropri-
                   ate option in the  Fogramming  options.
                     The  watchdog timer  shares its  prescalar  with  Timero on an exclusive  basis, meaning
                   that either the watchdog  timer or Timero  can use the  prescalar (but  IIot both). When  you
                   sel€ct the watchdog  timer, the  prcscalar  for Timero  goes  to 1:1. In fact,  you  select 1:1
                   for Thnero  by setting bit 3 ir  the  option rcgister, which  at the same time assigns the
                   prescalar  to the  watchdog timer
   229   230   231   232   233   234   235   236   237   238   239