Electronic Components Datasheet Search
  New Zealand  ▼
ALLDATASHEET.CO.NZ

X  

PIC16C641-04/TQ Datasheet(PDF) 34 Page - Microchip Technology

Part # PIC16C641-04/TQ
Description  8-Bit EPROM Microcontrollers with Analog Comparators
PDF  136 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  MICROCHIP [Microchip Technology]
Direct Link  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

PIC16C641-04/TQ Datasheet(HTML) 34 Page - Microchip Technology

Back Button PIC16C641-04/TQ Datasheet HTML 30Page - Microchip Technology PIC16C641-04/TQ Datasheet HTML 31Page - Microchip Technology PIC16C641-04/TQ Datasheet HTML 32Page - Microchip Technology PIC16C641-04/TQ Datasheet HTML 33Page - Microchip Technology PIC16C641-04/TQ Datasheet HTML 34Page - Microchip Technology PIC16C641-04/TQ Datasheet HTML 35Page - Microchip Technology PIC16C641-04/TQ Datasheet HTML 36Page - Microchip Technology PIC16C641-04/TQ Datasheet HTML 37Page - Microchip Technology PIC16C641-04/TQ Datasheet HTML 38Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 34 / 136 page
background image
PIC16C64X & PIC16C66X
DS30559A-page 34
Preliminary
© 1996 Microchip Technology Inc.
5.3
PORTC and TRISC Registers
PORTC is an 8-bit bi-directional port. Each pin is indi-
vidually configurable as an input or output through the
TRISC register. PORTC pins have Schmitt Trigger
input buffers.
EXAMPLE 5-3:
INITIALIZING PORTC
CLRF
PORTC
; Initialize PORTC by
; clearing output
; data latches
BSF
STATUS, RP0
; Select Bank 1
MOVLW
0xCF
; Value used to
; initialize data
; direction
MOVWF
TRISC
; Set RC<3:0> as inputs
; RC<5:4> as outputs
; RC<7:6> as inputs
FIGURE 5-7:
PORTC BLOCK DIAGRAM (IN
I/O PORT MODE)
Data
bus
WR
PORT
WR
TRIS
RD PORT
Data Latch
TRIS Latch
RD TRIS
Schmitt
Trigger
input
buffer
I/O pin(1)
Note 1: I/O pins have protection diodes to VDD and VSS.
Q
D
CK
Q
D
CK
EN
QD
EN
TABLE 5-5:
PORTC FUNCTIONS
TABLE 5-6:
SUMMARY OF REGISTERS ASSOCIATED WITH PORTC
Name
Bit#
Buffer Type
Function
RC0
bit0
ST
Input/output
RC1
bit1
ST
Input/output
RC2
bit2
ST
Input/output
RC3
bit3
ST
Input/output
RC4
bit4
ST
Input/output
RC5
bit5
ST
Input/output
RC6
bit6
ST
Input/output
RC7
bit7
ST
Input/output
Legend: ST = Schmitt Trigger input
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
07h
PORTC
RC7
RC6
RC5
RC4
RC3
RC2
RC1
RC0
xxxx xxxx
uuuu uuuu
87h
TRISC
TRISC7
TRISC6
TRISC5 TRISC4 TRISC3 TRISC2 TRISC1 TRISC0
1111 1111
1111 1111
Legend: x = unknown, u = unchanged.



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