PIC18LF6310T-I/PT Microchip Technology, PIC18LF6310T-I/PT Datasheet - Page 152

IC,MICROCONTROLLER,8-BIT,PIC CPU,CMOS,TQFP,64PIN,PLASTIC

PIC18LF6310T-I/PT

Manufacturer Part Number
PIC18LF6310T-I/PT
Description
IC,MICROCONTROLLER,8-BIT,PIC CPU,CMOS,TQFP,64PIN,PLASTIC
Manufacturer
Microchip Technology
Series
PIC® 18Fr
Datasheets

Specifications of PIC18LF6310T-I/PT

Rohs Compliant
YES
Core Processor
PIC
Core Size
8-Bit
Speed
40MHz
Connectivity
I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, HLVD, POR, PWM, WDT
Number Of I /o
54
Program Memory Size
8KB (4K x 16)
Program Memory Type
FLASH
Ram Size
768 x 8
Voltage - Supply (vcc/vdd)
2 V ~ 5.5 V
Data Converters
A/D 12x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
64-TFQFP
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Lead Free Status / RoHS Status
Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC18LF6310T-I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
PIC18F6310/6410/8310/8410
12.1
Timer0 can operate as either a timer or a counter; the
mode is selected by clearing the T0CS bit (T0CON<5>).
In Timer mode (T0CS = 0), the module increments on
every clock by default, unless a different prescaler value
is selected (see
register is written to, the increment is inhibited for the fol-
lowing two instruction cycles. The user can work around
this by writing an adjusted value to the TMR0 register.
The Counter mode is selected by setting the T0CS bit
(= 1). In Counter mode, Timer0 increments either on
every rising or falling edge of pin, RA4/T0CKI. The
incrementing edge is determined by the Timer0 Source
Edge Select bit, T0SE (T0CON<4>); clearing this bit
selects the rising edge. Restrictions on the external
clock input are discussed below.
An external clock source can be used to drive Timer0;
however, it must meet certain requirements to ensure
that the external clock can be synchronized with the
FIGURE 12-1:
FIGURE 12-2:
DS39635C-page 152
Note: Upon Reset, Timer0 is enabled in 8-bit mode with the clock input from T0CKI maximum prescale.
T0CKI pin
Note: Upon Reset, Timer0 is enabled in 8-bit mode with the clock input from T0CKI maximum prescale.
T0CKI pin
Timer0 Operation
T0SE
T0CS
T0PS<2:0>
PSA
F
OSC
Section 12.3
T0SE
T0CS
T0PS<2:0>
PSA
F
/4
OSC
/4
TIMER0 BLOCK DIAGRAM (8-BIT MODE)
TIMER0 BLOCK DIAGRAM (16-BIT MODE)
0
1
“Prescaler”). If the TMR0
0
1
Programmable
Prescaler
Programmable
Prescaler
3
3
0
1
0
1
(2 T
Sync with
Internal
Clocks
CY
(2 T
Sync with
Delay)
Internal
Clocks
CY
internal phase clock (T
synchronization and the onset of incrementing the
timer/counter.
12.2
TMR0H is not the actual high byte of Timer0 in 16-bit
mode; it is actually a buffered version of the real high
byte of Timer0, which is not directly readable nor
writable (refer to
the contents of the high byte of Timer0 during a read of
TMR0L. This provides the ability to read all 16 bits of
Timer0, without having to verify that the read of the high
and low byte were valid, due to a rollover between
successive reads of the high and low byte.
Similarly, a write to the high byte of Timer0 must also
take place through the TMR0H Buffer register. The high
byte is updated with the contents of TMR0H when a
write occurs to TMR0L. This allows all 16 bits of Timer0
to be updated at once.
Delay)
Timer0 Reads and Writes in
16-Bit Mode
TMR0L
8
TMR0L
Figure
8
8
8
OSC
 2010 Microchip Technology Inc.
12-2). TMR0H is updated with
High Byte
TMR0H
TMR0
8
). There is a delay between
8
on Overflow
Internal Data Bus
TMR0IF
8
Set
Internal Data Bus
Read TMR0L
Write TMR0L
on Overflow
TMR0IF
Set

Related parts for PIC18LF6310T-I/PT