![Microchip Technology PIC12F1501 Скачать руководство пользователя страница 163](http://html1.mh-extra.com/html/microchip-technology/pic12f1501/pic12f1501_manual_1785833163.webp)
PIC16(L)F1508/9
DS40001609E-page 164
2011-2015 Microchip Technology Inc.
REGISTER 19-2:
T1GCON: TIMER1 GATE CONTROL REGISTER
R/W-0/u
R/W-0/u
R/W-0/u
R/W-0/u
R/W/HC-0/u
R-x/x
R/W-0/u
R/W-0/u
TMR1GE
T1GPOL
T1GTM
T1GSPM
T1GGO/
DONE
T1GVAL
T1GSS<1:0>
bit 7
bit 0
Legend:
R = Readable bit
W = Writable bit
U = Unimplemented bit, read as ‘0’
u = Bit is unchanged
x = Bit is unknown
-n/n = Value at POR and BOR/Value at all other Resets
‘1’ = Bit is set
‘0’ = Bit is cleared
HC = Bit is cleared by hardware
bit 7
TMR1GE:
Timer1 Gate Enable bit
If TMR1ON =
0
:
This bit is ignored
If TMR1ON =
1
:
1
= Timer1 counting is controlled by the Timer1 gate function
0
= Timer1 counts regardless of Timer1 gate function
bit 6
T1GPOL:
Timer1 Gate Polarity bit
1
= Timer1 gate is active-high (Timer1 counts when gate is high)
0
= Timer1 gate is active-low (Timer1 counts when gate is low)
bit 5
T1GTM:
Timer1 Gate Toggle Mode bit
1
= Timer1 Gate Toggle mode is enabled
0
= Timer1 Gate Toggle mode is disabled and toggle flip-flop is cleared
Timer1 gate flip-flop toggles on every rising edge.
bit 4
T1GSPM:
Timer1 Gate Single-Pulse Mode bit
1
= Timer1 gate Single-Pulse mode is enabled and is controlling Timer1 gate
0
= Timer1 gate Single-Pulse mode is disabled
bit 3
T1GGO/DONE:
Timer1 Gate Single-Pulse Acquisition Status bit
1
= Timer1 gate single-pulse acquisition is ready, waiting for an edge
0
= Timer1 gate single-pulse acquisition has completed or has not been started
bit 2
T1GVAL:
Timer1 Gate Value Status bit
Indicates the current state of the Timer1 gate that could be provided to TMR1H:TMR1L.
Unaffected by Timer1 Gate Enable (TMR1GE).
bit 1-0
T1GSS<1:0>:
Timer1 Gate Source Select bits
11
= Comparator 2 optionally synchronized output (C2OUT_sync)
10
= Comparator 1 optionally synchronized output (C1OUT_sync)
01
= Timer0 overflow output (T0_overflow)
00
= Timer1 gate pin (T1G)
Содержание PIC12F1501
Страница 307: ...PIC16 L F1508 9 DS40001609E page 308 2011 2015 Microchip Technology Inc NOTES...
Страница 392: ...2011 2015 Microchip Technology Inc DS40001609E page 393 PIC16 L F1508 9 1RWH 6 7 7 588 8 7...
Страница 399: ...PIC16 L F1508 9 DS40001609E page 400 2011 2015 Microchip Technology Inc NOTES...