PIC12LF1840-E/P Microchip Technology, PIC12LF1840-E/P Datasheet - Page 158
![7 KB Flash, 256 Bytes RAM, 32 MHz Int. Osc, 6 I/0, Enhanced Mid Range Core, Nano](/photos/16/3/160349/pdip8_sml.jpg)
PIC12LF1840-E/P
Manufacturer Part Number
PIC12LF1840-E/P
Description
7 KB Flash, 256 Bytes RAM, 32 MHz Int. Osc, 6 I/0, Enhanced Mid Range Core, Nano
Manufacturer
Microchip Technology
Series
PIC® XLP™ 12Fr
Datasheet
1.PIC12F1840-EMF.pdf
(382 pages)
Specifications of PIC12LF1840-E/P
Processor Series
PIC12F
Core
PIC
Program Memory Type
Flash
Program Memory Size
7 KB
Data Ram Size
256 B
Interface Type
MI2C, SPI, EUSART
Number Of Timers
3
Operating Supply Voltage
1.8 V to 5.5 V
Maximum Operating Temperature
+ 125 C
Mounting Style
Through Hole
Package / Case
PDIP-8
Development Tools By Supplier
MPLAB IDE Software
Minimum Operating Temperature
- 40 C
Core Processor
RISC
Core Size
8-Bit
Speed
32MHz
Connectivity
I²C, LIN, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
5
Eeprom Size
256 x 8
Ram Size
256 x 8
Voltage - Supply (vcc/vdd)
1.8 V ~ 3.6 V
Data Converters
A/D 4x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 125°C
Lead Free Status / Rohs Status
Details
- Current page: 158 of 382
- Download datasheet (4Mb)
PIC12(L)F1840
REGISTER 19-2:
REGISTER 19-3:
TABLE 19-2:
DS41441B-page 158
bit 7
Legend:
R = Readable bit
u = Bit is unchanged
‘1’ = Bit is set
bit 7
bit 6
bit 5-4
bit 3-1
bit 0
bit 7
Legend:
R = Readable bit
u = Bit is unchanged
‘1’ = Bit is set
bit 7-1
bit 0
ANSELA
CM1CON0
CM1CON1
CMOUT
INTCON
PIE2
PIR2
TRISA
Legend:
Name
R/W-0/0
C1INTP
U-0
—
— = unimplemented, read as ‘0’. Shaded cells are unused by the comparator module.
C1INTP
C1INTP: Comparator Interrupt on Positive Going Edge Enable bits
1 = The C1IF interrupt flag will be set upon a positive going edge of the C1OUT bit
0 = No interrupt flag will be set on a positive going edge of the C1OUT bit
C1INTN: Comparator Interrupt on Negative Going Edge Enable bits
1 = The C1IF interrupt flag will be set upon a negative going edge of the C1OUT bit
0 = No interrupt flag will be set on a negative going edge of the C1OUT bit
C1PCH<1:0>: Comparator Positive Input Channel Select bits
00 = C1VP connects to C1IN+ pin
01 = C1VP connects to DAC Voltage Reference
10 = C1VP connects to FVR Voltage Reference
Unimplemented: Read as ‘0’
C1NCH: Comparator Negative Input Channel Select bit
0 =
1 =
Unimplemented: Read as ‘0’
MC1OUT: Mirror Copy of C1OUT bit
OSFIE
OSFIF
C1ON
Bit 7
GIE
SUMMARY OF REGISTERS ASSOCIATED WITH COMPARATOR MODULE
—
—
—
R/W-0/0
C1INTN
U-0
C1VN connects to C1IN0- pin
C1VN connects to C1IN1- pin
—
CM1CON1: COMPARATOR C1 CONTROL REGISTER 1
CMOUT: COMPARATOR OUTPUT REGISTER
C1INTN
C1OUT
PEIE
Bit 6
W = Writable bit
x = Bit is unknown
‘0’ = Bit is cleared
W = Writable bit
x = Bit is unknown
‘0’ = Bit is cleared
—
—
—
—
—
R/W-0/0
U-0
—
C1PCH<1:0>
C1PCH1
TMR0IE
TRISA5
C1OE
C1IE
Bit 5
C1IF
—
—
R/W-0/0
U-0
Preliminary
—
C1PCH0
TRISA4
ANSA4
C1POL
INTE
EEIE
Bit 4
EEIF
—
U = Unimplemented bit, read as ‘0’
-n/n = Value at POR and BOR/Value at all other Resets
U = Unimplemented bit, read as ‘0’
-n/n = Value at POR and BOR/Value at all other Resets
TRISA3
BCL1IE
BCL1IF
IOCIE
U-0
U-0
Bit 3
—
—
—
—
—
—
TMR0IF
TRISA2
ANSA2
C1SP
Bit 2
—
—
—
—
U-0
U-0
—
—
TRISA1
C1HYS
ANSA1
2011 Microchip Technology Inc.
Bit 1
INTF
—
—
—
—
U-0
U-0
—
—
MC1OUT
C1SYNC
TRISA0
C1NCH
ANSA0
IOCIF
Bit 0
—
—
MC1OUT
R/W-0/0
C1NCH
R-0/0
Register
on Page
116
157
158
158
115
83
85
87
bit 0
bit 0
Related parts for PIC12LF1840-E/P
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![TC1014-2.7VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1014-5.0VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1055-2.5VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1055-2.7VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1055-2.8VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1055-4.0VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1186-2.5VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1186-2.85VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet: