Microchip Technology dsPIC33F Family Manual de usuario Pagina 7

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 26
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 6
© 2010 Microchip Technology Inc. DS70205C-page 11-7
Section 11. Timers
Timers
11
Register 11-1: TxCON: Type A Timer Control Register (x = 1)
R/W-0 U-0 R/W-0 U-0 U-0 U-0 U-0 U-0
TON
—TSIDL
bit 15 bit 8
U-0 R/W-0 R/W-0 R/W-0 U-0 R/W-0 R/W-0 U-0
TGATE TCKPS<1:0> TSYNC TCS
bit 7 bit 0
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as ‘0’
-n = Value at POR ‘1’ = Bit is set ‘0’ = Bit is cleared x = Bit is unknown
bit 15 TON: Timer On bit
1 = Starts the timer
0 = Stops the timer
bit 14 Unimplemented: Read as ‘0
bit 13 TSIDL: Stop in Idle Mode bit
1 = Discontinue timer operation when device enters Idle mode
0 = Continue timer operation in Idle mode
bit 12-7 Unimplemented: Read as ‘0
bit 6 TGATE: Timer Gated Time Accumulation Enable bit
When TCS =
1:
This bit is ignored
When TCS =
0:
1 = Gated time accumulation enabled
0 = Gated time accumulation disabled
bit 5-4 TCKPS<1:0>: Timer Input Clock Prescale Select bits
11 = 1:256 prescale value
10 = 1:64 prescale value
01 = 1:8 prescale value
00 = 1:1 prescale value
bit 3 Unimplemented: Read as ‘0
bit 2 TSYNC: Timer External Clock Input Synchronization Select bit
When TCS =
1:
1 = Synchronize external clock input
0 = Do not synchronize external clock input
When TCS =
0:
This bit is ignored. Read as ‘0’. Timerx uses the internal clock when TCS = 0
bit 1 TCS: Timer Clock Source Select bit
1 = External clock from TxCK pin
0 = Internal clock (F
OSC/2)
bit 0 Unimplemented: Read as ‘0
Vista de pagina 6
1 2 3 4 5 6 7 8 9 10 11 12 ... 25 26

Comentarios a estos manuales

Sin comentarios