PIC16F785-I/P Microchip Technology Inc., PIC16F785-I/P Datasheet - Page 55

no-image

PIC16F785-I/P

Manufacturer Part Number
PIC16F785-I/P
Description
MCU, 8-Bit, 2KW Flash, 128 RAM, 18 I/O, DIP-20
Manufacturer
Microchip Technology Inc.
Datasheet

Specifications of PIC16F785-I/P

A/d Inputs
12-Channel, 10-Bit
Comparators
2
Cpu Speed
5 MIPS
Eeprom Memory
256 Bytes
Input Output
17
Memory Type
Flash
Number Of Bits
8
Package Type
20-pin PDIP
Programmable Memory
3.5K Bytes
Ram Size
128 Bytes
Speed
20 MHz
Timers
2-8-bit, 1-16-bit
Voltage, Range
2-5.5 V
Lead Free Status / Rohs Status
RoHS Compliant part Electrostatic Device
REGISTER 6-1:
© 2006 Microchip Technology Inc.
bit 7
bit 6
bit 5-4
bit 3
bit 2
bit 1
bit 0
bit 7
T1GINV: Timer1 Gate Invert bit
1 = Timer1 gate is high true (see bit 6)
0 = Timer1 gate is low true (see bit 6)
TMR1GE: Timer1 Gate Enable bit
If TMR1ON = 0:
This bit is ignored
If TMR1ON = 1:
1 = Timer1 is on if Timer1 gate is true (see bit 7)
0 = Timer1 is on independent of Timer1 gate
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
T1OSCEN: LP Oscillator Enable Control bit
If System Clock is INTOSC without CLKOUT or LP mode:
1 = LP oscillator is enabled for Timer1 clock
0 = LP oscillator is off
Else:
This bit is ignored
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.
TMR1CS: Timer1 Clock Source Select bit
1 = External clock from T1CKI pin (on the rising edge)
0 = Internal clock (F
TMR1ON: Timer1 On bit
1 = Enables Timer1
0 = Stops Timer1
Legend:
R = Readable bit
-n = Value at POR
T1GINV
T1CON: TIMER1 CONTROL REGISTER (ADDRESS: 10h)
R/W-0
Note 1: T1GINV bit inverts the Timer1 gate logic, regardless of source.
2: TMR1GE bit must be set to use either T1G pin or C2OUT, as selected by T1GSS bit
(1)
(CM2CON1<1>), as a Timer1 gate source.
TMR1GE
R/W-0
OSC
(2)
/4)
T1CKPS1 T1CKPS0 T1OSCEN T1SYNC
R/W-0
W = Writable bit
‘1’ = Bit is set
Preliminary
(1)
(2)
R/W-0
PIC16F785/HV785
U = Unimplemented bit, read as ‘0’
‘0’ = Bit is cleared
R/W-0
R/W-0
x = Bit is unknown
TMR1CS TMR1ON
R/W-0
DS41249D-page 53
R/W-0
bit 0

Related parts for PIC16F785-I/P