PIC18F23K22-I/ML Microchip Technology Inc., PIC18F23K22-I/ML Datasheet - Page 170

no-image

PIC18F23K22-I/ML

Manufacturer Part Number
PIC18F23K22-I/ML
Description
8KB, FLASH, 768BYTES-RAM, 8-BIT FAMILY, NANOWATT XLP, 28 QFN 6X6MM TUBE
Manufacturer
Microchip Technology Inc.
Datasheet

Specifications of PIC18F23K22-I/ML

A/d Inputs
17-Channel, 10-Bit
Comparators
2
Cpu Speed
16 MIPS
Eeprom Memory
1K Bytes
Input Output
24
Interface
I2C/SPI/UART/USART
Memory Type
Flash
Number Of Bits
8
Package Type
28-pin QFN
Programmable Memory
8K Bytes
Ram Size
512 Bytes
Speed
48 MHz
Temperature Range
–40 to 125 °C
Timers
1-8-bit, 3-16-bit
Voltage, Range
1.8-5.5 V
Lead Free Status / Rohs Status
RoHS Compliant part
PIC18(L)F2X/4XK22
12.13 Timer1/3/5 Control Register
The Timer1/3/5 Control register (TxCON), shown in
Register
the various features of the Timer1/3/5 module.
REGISTER 12-1:
DS41412D-page 170
bit 7
Legend:
R = Readable bit
u = Bit is unchanged
‘1’ = Bit is set
bit 7-6
bit 5-4
bit 3
bit 2
bit 1
bit 0
R/W-0/u
TMRxCS<1:0>
12-1, is used to control Timer1/3/5 and select
TMRxCS<1:0>: Timer1/3/5 Clock Source Select bits
11 = Reserved. Do not use.
10 = Timer1/3/5 clock source is pin or oscillator:
01 = Timer1/3/5 clock source is system clock (F
00 = Timer1/3/5 clock source is instruction clock (F
TxCKPS<1:0>: Timer1/3/5 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
TxSOSCEN: Secondary Oscillator Enable Control bit
1 = Dedicated Secondary oscillator circuit enabled
0 = Dedicated Secondary oscillator circuit disabled
TxSYNC: Timer1/3/5 External Clock Input Synchronization Control bit
TMRxCS<1:0> = 1X
1 = Do not synchronize external clock input
0 = Synchronize external clock input with system clock (F
TMRxCS<1:0> = 0X
This bit is ignored. Timer1/3/5 uses the internal clock when TMRxCS<1:0> = 1X.
TxRD16: 16-Bit Read/Write Mode Enable bit
1 = Enables register read/write of Timer1/3/5 in one 16-bit operation
0 = Enables register read/write of Timer1/3/5 in two 8-bit operation
TMRxON: Timer1/3/5 On bit
1 = Enables Timer1/3/5
0 = Stops Timer1/3/5
R/W-0/u
Clears Timer1/3/5 Gate flip-flop
If TxSOSCEN = 0:
External clock from TxCKI pin (on the rising edge)
If TxSOSCEN = 1:
Crystal oscillator on SOSCI/SOSCO pins
TXCON: TIMER1/3/5 CONTROL REGISTER
W = Writable bit
x = Bit is unknown
‘0’ = Bit is cleared
R/W-0/u
TxCKPS<1:0>
R/W-0/u
Preliminary
U = Unimplemented bit, read as ‘0’
-n/n = Value at POR and BOR/Value at all other Resets
TxSOSCEN
R/W-0/u
OSC
OSC
)
/4)
OSC
TxSYNC
R/W-0/u
)
 2010 Microchip Technology Inc.
R/W-0/0
TxRD16
TMRxON
R/W-0/u
bit 0

Related parts for PIC18F23K22-I/ML