PIC18F24J11 MICROCHIP [Microchip Technology], PIC18F24J11 Datasheet - Page 211

no-image

PIC18F24J11

Manufacturer Part Number
PIC18F24J11
Description
28/44-Pin, Low-Power, High-Performance USB Microcontrollers with nanoWatt XLP Technology
Manufacturer
MICROCHIP [Microchip Technology]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC18F24J11-I/ML
Manufacturer:
MICROCHIP
Quantity:
49 000
Part Number:
PIC18F24J11-I/SO
Manufacturer:
Microchip Technology
Quantity:
1 960
13.8.4
When Timer1 Gate Single Pulse mode is enabled, it is
possible to capture a single pulse gate event. Timer1
Gate Single Pulse mode is first enabled by setting the
T1GSPM bit in the T1GCON register. Next, the
T1GGO/T1DONE bit in the T1GCON register must be
set. The Timer1 will be fully enabled on the next incre-
menting edge. On the next trailing edge of the pulse,
the T1GGO/T1DONE bit will automatically be cleared.
No other gate events will be allowed to increment
Timer1 until the T1GGO/T1DONE bit is once again set
in software.
FIGURE 13-6:
 2011 Microchip Technology Inc.
TMR1GE
T1GSPM
T1DONE
T1GPOL
T1GVAL
T1GGO/
RTCCIF
T1G_IN
Timer1
T1CKI
TIMER1 GATE SINGLE PULSE
MODE
TIMER1 GATE SINGLE PULSE MODE
Cleared by Software
N
Counting Enabled on
Rising Edge of T1G
Set by Software
N + 1
PIC18F46J11 FAMILY
Clearing the T1GSPM bit of the T1GCON register will
also clear the T1GGO/T1DONE bit. See
for timing details.
Enabling the Toggle mode and the Single Pulse mode,
simultaneously, will permit both sections to work together.
This allows the cycle times on the Timer1 gate source to
be measured. See
13.8.5
When the Timer1 gate value status is utilized, it is
possible to read the most current level of the gate
control value. The value is stored in the T1GVAL bit in
the T1GCON register. The T1GVAL bit is valid even
when the Timer1 gate is not enabled (TMR1GE bit is
cleared).
Set by Hardware on
Falling Edge of T1GVAL
Cleared by Hardware on
Falling Edge of T1GVAL
TIMER1 GATE VALUE STATUS
N + 2
Figure 13-7
for timing details.
DS39932D-page 211
Cleared by
Software
Figure 13-6

Related parts for PIC18F24J11