PIC16F882-E/SS Microchip Technology, PIC16F882-E/SS Datasheet - Page 50

no-image

PIC16F882-E/SS

Manufacturer Part Number
PIC16F882-E/SS
Description
IC,MICROCONTROLLER,8-BIT,PIC CPU,CMOS,SSOP,28PIN,PLASTIC
Manufacturer
Microchip Technology
Series
PIC® 16Fr

Specifications of PIC16F882-E/SS

Core Processor
PIC
Core Size
8-Bit
Speed
20MHz
Connectivity
I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
24
Program Memory Size
3.5KB (2K x 14)
Program Memory Type
FLASH
Eeprom Size
128 x 8
Ram Size
128 x 8
Voltage - Supply (vcc/vdd)
2 V ~ 5.5 V
Data Converters
A/D 11x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 125°C
Package / Case
28-SSOP
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
PIC16F882/883/884/886/887
REGISTER 3-4:
REGISTER 3-5:
REGISTER 3-6:
DS41291F-page 48
bit 7
Legend:
R = Readable bit
-n = Value at POR
bit 7-6
bit 5-0
Note 1:
bit 7
Legend:
R = Readable bit
-n = Value at POR
bit 7-0
bit 7
Legend:
R = Readable bit
-n = Value at POR
bit 7-0
TRISB7
R/W-1
R/W-x
RB7
U-0
Setting a pin to an analog input automatically disables the digital input circuitry, weak pull-ups, and
interrupt-on-change if available. The corresponding TRIS bit must be set to Input mode in order to allow
external control of the voltage on the pin.
Unimplemented: Read as ‘0’
ANS<13:8>: Analog Select bits
Analog select between analog or digital function on pins AN<13:8>, respectively.
1 = Analog input. Pin is assigned as analog input
0 = Digital I/O. Pin is assigned to port or special function.
RB<7:0>: PORTB I/O Pin bit
1 = Port pin is > V
0 = Port pin is < V
TRISB<7:0>: PORTB Tri-State Control bit
1 = PORTB pin configured as an input (tri-stated)
0 = PORTB pin configured as an output
TRISB6
R/W-x
R/W-1
U-0
RB6
ANSELH: ANALOG SELECT HIGH REGISTER
PORTB: PORTB REGISTER
TRISB: PORTB TRI-STATE REGISTER
W = Writable bit
‘1’ = Bit is set
W = Writable bit
W = Writable bit
‘1’ = Bit is set
‘1’ = Bit is set
ANS13
TRISB5
R/W-1
R/W-x
IH
IL
R/W-1
RB5
TRISB4
ANS12
R/W-1
R/W-1
R/W-x
RB4
U = Unimplemented bit, read as ‘0’
‘0’ = Bit is cleared
U = Unimplemented bit, read as ‘0’
‘0’ = Bit is cleared
U = Unimplemented bit, read as ‘0’
‘0’ = Bit is cleared
TRISB3
ANS11
R/W-x
R/W-1
R/W-1
RB3
(1)
.
TRISB2
ANS10
R/W-1
R/W-1
R/W-x
RB2
© 2009 Microchip Technology Inc.
x = Bit is unknown
x = Bit is unknown
x = Bit is unknown
TRISB1
R/W-1
ANS9
R/W-x
R/W-1
RB1
TRISB0
R/W-1
ANS8
R/W-1
R/W-x
RB0
bit 0
bit 0
bit 0

Related parts for PIC16F882-E/SS