English
Language : 

PIC16LF1508 Datasheet, PDF (293/384 Pages) Microchip Technology – 20-Pin Flash, 8-Bit Microcontrollers with nanoWatt XLP Technology
PIC16(L)F1508/9
25.9 NCOx Control Registers
REGISTER 25-1: NCOxCON: NCOx CONTROL REGISTER
R/W-0/0
R/W-0/0
R-0/0
R/W-0/0
U-0
U-0
NxEN
NxOE
NxOUT
NxPOL
—
—
bit 7
U-0
R/W-0/0
—
NxPFM
bit 0
Legend:
R = Readable bit
u = Bit is unchanged
‘1’ = Bit is set
W = Writable bit
x = Bit is unknown
‘0’ = Bit is cleared
U = Unimplemented bit, read as ‘0’
-n/n = Value at POR and BOR/Value at all other Resets
bit 7
bit 6
bit 5
bit 4
bit 3-1
bit 0
NxEN: NCOx Enable bit
1 = NCOx module is enabled
0 = NCOx module is disabled
NxOE: NCOx Output Enable bit
1 = NCOx output pin is enabled
0 = NCOx output pin is disabled
NxOUT: NCOx Output bit
1 = NCOx output is high
0 = NCOx output is low
NxPOL: NCOx Polarity bit
1 = NCOx output signal is active-high
0 = NCOx output signal is active-low
Unimplemented: Read as ‘0’.
NxPFM: NCOx Pulse Frequency Mode bit
1 = NCOx operates in Pulse Frequency mode
0 = NCOx operates in Fixed Duty Cycle mode
REGISTER 25-2: NCOxCLK: NCOx INPUT CLOCK CONTROL REGISTER
R/W-0/0
R/W-0/0
R/W-0/0
U-0
U-0
U-0
NxPWS<2:0>
—
—
—
bit 7
R/W-0/0
R/W-0/0
NxCKS<1:0>
bit 0
Legend:
R = Readable bit
u = Bit is unchanged
‘1’ = Bit is set
W = Writable bit
x = Bit is unknown
‘0’ = Bit is cleared
U = Unimplemented bit, read as ‘0’
-n/n = Value at POR and BOR/Value at all other Resets
bit 7-5
bit 4-2
bit 1-0
NxPWS<2:0>: NCOx Output Pulse Width Select bits(1, 2)
111 = 128 NCOx clock periods
110 = 64 NCOx clock periods
101 = 32 NCOx clock periods
100 = 16 NCOx clock periods
011 = 8 NCOx clock periods
010 = 4 NCOx clock periods
001 = 2 NCOx clock periods
000 = 1 NCOx clock periods
Unimplemented: Read as ‘0’
NxCKS<1:0>: NCOx Clock Source Select bits
11 =
10 =
01 =
00 =
NCO1CLK
LC1OUT
FOSC
HFINTOSC (16 MHz)
Note 1: NxPWS applies only when operating in Pulse Frequency mode.
2: If NCOx pulse width is greater than NCOx overflow period, operation is undeterminate.
 2011 Microchip Technology Inc.
Preliminary
DS41609A-page 293