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

PIC16C926T-IL View Datasheet(PDF) - Microchip Technology

Part Name
Description
Manufacturer
PIC16C926T-IL
Microchip
Microchip Technology 
PIC16C926T-IL Datasheet PDF : 182 Pages
First Prev 31 32 33 34 35 36 37 38 39 40 Next Last
4.6 PORTF and TRISF Register
PORTF is a 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
configured as LCD segment drivers.
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 4-6: INITIALIZING PORTF
BCF STATUS, RP0
BSF STATUS, RP1
;Select Bank2
;
BCF LCDSE, SE16 ;Make all PORTF
BCF LCDSE, SE12 ;digital inputs
PIC16C925/926
FIGURE 4-8:
LCD
Segment Data
LCD Segment
Output Enable
PORTF BLOCK DIAGRAM
LCD
Common Data
LCD Common
Output Enable
LCDSE<n>
Digital Input/
LCD Output pin
Data Bus
RD Port
Q
D
ENEN
Schmitt
Trigger
Input
Buffer
VDD
RD TRIS
TABLE 4-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 4-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 SE16 SE12
Legend: Shaded cells are not used by PORTF.
Bit 2
RF2
SE9
Bit 1
RF1
SE5
Bit 0
RF0
SE0
Value on
Power-on
Reset
Value on all
other
RESETS
0000 0000
1111 1111
1111 1111
0000 0000
1111 1111
1111 1111
2001 Microchip Technology Inc.
Preliminary
DS39544A-page 37

Share Link: 

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