PIC12F1840-I/P Microchip Technology, PIC12F1840-I/P Datasheet - Page 207

7 KB Flash, 256 Bytes RAM, 32 MHz Int. Osc, 6 I/0, Enhanced Mid Range Core 8 PDI

PIC12F1840-I/P

Manufacturer Part Number
PIC12F1840-I/P
Description
7 KB Flash, 256 Bytes RAM, 32 MHz Int. Osc, 6 I/0, Enhanced Mid Range Core 8 PDI
Manufacturer
Microchip Technology
Datasheet

Specifications of PIC12F1840-I/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
+ 85 C
Mounting Style
Through Hole
Package / Case
PDIP-8
Development Tools By Supplier
MPLAB IDE Software
Minimum Operating Temperature
- 40 C
Lead Free Status / Rohs Status
Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC12F1840-I/P
Manufacturer:
MICROCHIP
Quantity:
200
REGISTER 24-1:
 2011 Microchip Technology Inc.
bit 7
Legend:
R = Readable bit
u = Bit is unchanged
‘1’ = Bit is set
bit 7-6
bit 5-4
bit 3-0
R/W-00
P1M<1:0>
P1M<1:0>: Enhanced PWM Output Configuration bits
Capture mode:
Unused
Compare mode:
Unused
PWM mode:
DC1B<1:0>: PWM Duty Cycle Least Significant bits
Capture mode:
Unused
Compare mode:
Unused
PWM mode:
These bits are the two LSbs of the PWM duty cycle. The eight MSbs are found in CCPR1L.
CCP1M<3:0>: ECCP1 Mode Select bits
0000 = Capture/Compare/PWM off (resets ECCP1 module)
0001 = Reserved
0010 = Compare mode: toggle output on match
0011 = Reserved
0100 = Capture mode: every falling edge
0101 = Capture mode: every rising edge
0110 = Capture mode: every 4th rising edge
0111 = Capture mode: every 16th rising edge
1000 = Compare mode: initialize ECCP1 pin low; set output on compare match (set CCP1IF)
1001 = Compare mode: initialize ECCP1 pin high; clear output on compare match (set CCP1IF)
1010 = Compare mode: generate software interrupt only; ECCP1 pin reverts to I/O state
1011 = Compare mode: Special Event Trigger (CCP1 resets Timer, sets CCP1IF bit, and starts A/D conversion
PWM mode:
1100 = PWM mode: P1Aactive-high; P1B active-high
1101 = PWM mode: P1A active-high; P1B active-low
1110 = PWM mode: P1A active-low; P1B active-high
1111 = PWM mode: P1A active-low; P1B active-low
If CCP1M<3:2> = 00, 01, 10:
xx = P1A assigned as Capture/Compare input; P1B assigned as port pins
If CCP1M<3:2> = 11:
00 = Single output; P1A modulated; P1B assigned as port pins
01 = Reserved
10 = Half-Bridge output; P1A, P1B modulated with dead-band control
11 = Reserved
R/W-0/0
CCP1CON: CCP1 CONTROL REGISTER
if A/D module is enabled)
W = Writable bit
x = Bit is unknown
‘0’ = Bit is cleared
R/W-0/0
DC1B<1:0>
R/W-0/0
Preliminary
U = Unimplemented bit, read as ‘0’
-n/n = Value at POR and BOR/Value at all other Reset
R/W-0/0
R/W-0/0
PIC12(L)F1840
CCP1M<3:0>
(1)
R/W-0/0
DS41441B-page 207
R/W-0/0
bit 0

Related parts for PIC12F1840-I/P