DatasheetQ Logo
Electronic component search and free download site. Transistors,MosFET ,Diode,Integrated circuits

PIC16LC924-08/CL View Datasheet(PDF) - Microchip Technology

Part Name
Description
Manufacturer
PIC16LC924-08/CL
Microchip
Microchip Technology 
PIC16LC924-08/CL Datasheet PDF : 189 Pages
First Prev 31 32 33 34 35 36 37 38 39 40 Next Last
5.6 PORTF and TRISF Register
PORTF is an digital input only port. Each pin is multi-
plexed with an LCD segment driver. These pins have
Schmitt Trigger input buffers.
Note 1: On a Power-on Reset these pins are con-
figured as LCD segment drivers.
Note 2: To configure the pins as a digital port, the
corresponding bits in the LCDSE register
must be cleared. Any bit set in the LCDSE
register overrides any bit settings in the
corresponding TRIS register.
EXAMPLE 5-6: INITIALIZING PORTF
BCF STATUS,RP0
BSF STATUS,RP1
BCF LCDSE,SE16
BCF LCDSE,SE12
;Select Bank2
;
;Make all PORTF
;digital inputs
PIC16C9XX
FIGURE 5-9: PORTF BLOCK DIAGRAM
LCD
Segment Data
LCD Segment
Output Enable
LCD
Common Data
LCD Common
Output Enable
Digital Input/
LCD Output pin
LCDSE<n>
Data Bus
Q
D
Schmitt
Trigger
input
buffer
RD PORT
ENEN
VDD
RD TRIS
TABLE 5-11: PORTF FUNCTIONS
Name
Bit# Buffer Type
RF0/SEG12
bit0
ST
RF1/SEG13
bit1
ST
RF2/SEG14
bit2
ST
RF3/SEG15
bit3
ST
RF4/SEG16
bit4
ST
RF5/SEG17
bit5
ST
RF6/SEG18
bit6
ST
RF7/SEG19
bit7
ST
Legend: ST = Schmitt Trigger input
Function
Digital input or Segment Driver12
Digital input or Segment Driver13
Digital input or Segment Driver14
Digital input or Segment Driver15
Digital input or Segment Driver16
Digital input or Segment Driver17
Digital input or Segment Driver18
Digital input or Segment Driver19
TABLE 5-12: SUMMARY OF REGISTERS ASSOCIATED WITH PORTF
Address Name
Bit 7 Bit 6 Bit 5 Bit 4 Bit 3
107h
PORTF
RF7 RF6 RF5 RF4 RF3
187h
TRISF PORTF Data Direction Control Register
10Dh LCDSE SE29 SE27 SE20
Legend: Shaded cells are not used by PORTF.
SE16
SE12
Bit 2
RF2
SE9
Bit 1
RF1
SE5
Bit 0
RF0
SE0
Value on
Power-on
Reset
Value on all
other resets
0000 0000 0000 0000
1111 1111 1111 1111
1111 1111 1111 1111
© 1997 Microchip Technology Inc.
DS30444E - page 39

Share Link: 

datasheetq.com  [ Privacy Policy ]Request Datasheet ] [ Contact Us ]