Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

PIC16F87 Datasheet(PDF) 60 Page - Microchip Technology

Part # PIC16F87
Description  18/20/28-Pin Enhanced FLASH Microcontrollers with nanoWatt Technology
PDF  214 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  MICROCHIP [Microchip Technology]
Direct Link  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

PIC16F87 Datasheet(HTML) 60 Page - Microchip Technology

Back Button PIC16F87 Datasheet HTML 56Page - Microchip Technology PIC16F87 Datasheet HTML 57Page - Microchip Technology PIC16F87 Datasheet HTML 58Page - Microchip Technology PIC16F87 Datasheet HTML 59Page - Microchip Technology PIC16F87 Datasheet HTML 60Page - Microchip Technology PIC16F87 Datasheet HTML 61Page - Microchip Technology PIC16F87 Datasheet HTML 62Page - Microchip Technology PIC16F87 Datasheet HTML 63Page - Microchip Technology PIC16F87 Datasheet HTML 64Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 60 / 214 page
background image
PIC16F87/88
DS30487B-page 58
Preliminary
 2003 Microchip Technology Inc.
TABLE 5-3:
PORTB FUNCTIONS
TABLE 5-4:
SUMMARY OF REGISTERS ASSOCIATED WITH PORTB
Name
Bit#
Buffer
Function
RB0/INT/CCP1
bit 0
TTL/ST(1) Input/output pin or external interrupt input.
Capture input/Compare output/PWM output pin.
Internal software programmable weak pull-up.
RB1/SDI/SDA
bit 1
TTL/ST(5) Input/output pin, SPI data input pin or I2C data I/O pin.
Internal software programmable weak pull-up.
RB2/SDO/RX/DT
bit 2
TTL/ST(4) Input/output pin, SPI data output pin.
USART asynchronous receive or synchronous data.
Internal software programmable weak pull-up.
RB3/PGM/CCP1(3)
bit 3
TTL/ST(2) Input/output pin, programming in LVP mode or Capture input/Compare
output/PWM output pin. Internal software programmable weak pull-up.
RB4/SCK/SCL
bit 4
TTL/ST(5) Input/output pin or SPI and I2C clock pin (with interrupt-on-change).
Internal software programmable weak pull-up.
RB5/SS/TX/CK
bit 5
TTL
Input/output pin or SPI slave select pin (with interrupt-on-change).
USART asynchronous transmit or synchronous clock.
Internal software programmable weak pull-up.
RB6/AN5/PGC/T1OSO/
T1CKI
bit 6
TTL/ST(2) Input/output pin, analog input(6), serial programming clock
(with interrupt-on-change), Timer1 oscillator output pin or Timer1 clock
input pin. Internal software programmable weak pull-up.
RB7/AN6/PGD/T1OSI
bit 7
TTL/ST(2) Input/output pin, analog input(6), serial programming data (with
interrupt-on-change) or Timer1 oscillator input pin.
Internal software programmable weak pull-up.
Legend: TTL = TTL input, ST = Schmitt Trigger input
Note 1:
This buffer is a Schmitt Trigger input when configured as the external interrupt.
2:
This buffer is a Schmitt Trigger input when used in Serial Programming mode.
3:
Low-Voltage ICSP Programming (LVP) is enabled by default, which disables the RB3 I/O function. LVP
must be disabled to enable RB3 as an I/O pin and allow maximum compatibility to the other 18-pin
mid-range devices.
4:
This buffer is a Schmitt Trigger input when configured for CCP or SSP mode.
5:
This buffer is a Schmitt Trigger input when configured for SPI or I2C mode.
6:
PIC16F88 only.
Address
Name
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Value on
POR, BOR
Value on
all other
RESETS
06h, 106h
PORTB
RB7
RB6
RB5
RB4
RB3
RB2
RB1
RB0
xxxx xxxx
uuuu uuuu
86h, 186h
TRISB
PORTB Data Direction Register
1111 1111
1111 1111
81h, 181h
OPTION
RBPU
INTEDG
T0CS
T0SE
PSA
PS2
PS1
PS0
1111 1111
1111 1111
9Bh
ANSEL(1)
—
ANS6
ANS5
ANS4
ANS3
ANS2
ANS1
ANS0
-111 1111
-111 1111
Legend: x = unknown, u = unchanged. Shaded cells are not used by PORTB.
Note 1:
PIC16F88 device only.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com