PIC16C926-I/CL Microchip Technology, PIC16C926-I/CL Datasheet - Page 39

no-image

PIC16C926-I/CL

Manufacturer Part Number
PIC16C926-I/CL
Description
64/68-Pin CMOS Microcontrollers with LCD Driver
Manufacturer
Microchip Technology
Datasheet
4.6
PORTF is a digital input only port. Each pin is multi-
plexed with an LCD segment driver. These pins have
Schmitt Trigger input buffers.
EXAMPLE 4-6:
TABLE 4-11:
TABLE 4-12:
Legend: ST = Schmitt Trigger input
107h
187h
10Dh
Legend: Shaded cells are not used by PORTF.
Address
2001 Microchip Technology Inc.
BCF STATUS,
BSF STATUS,
BCF LCDSE,
BCF LCDSE,
Note 1: On a Power-on Reset, these pins are
RF0/SEG12
RF1/SEG13
RF2/SEG14
RF3/SEG15
RF4/SEG16
RF5/SEG17
RF6/SEG18
RF7/SEG19
Name
PORTF and TRISF Register
2: To configure the pins as a digital port, the
PORTF
TRISF
LCDSE
Name
configured as LCD segment drivers.
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.
PORTF FUNCTIONS
SUMMARY OF REGISTERS ASSOCIATED WITH PORTF
RP0
RP1
SE16
SE12
PORTF Data Direction Control Register
Bit#
bit0
bit1
bit2
bit3
bit4
bit5
bit6
bit7
SE29
Bit 7
INITIALIZING PORTF
RF7
;Select Bank2
;
;Make all PORTF
;digital inputs
Buffer Type
SE27
Bit 6
RF6
ST
ST
ST
ST
ST
ST
ST
ST
SE20
Bit 5
RF5
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.
SE16
Bit 4
RF4
Preliminary
SE12
Bit 3
RF3
FIGURE 4-8:
Bit 2
RF2
SE9
LCD
Segment Data
LCD Segment
Output Enable
LCD
Common Data
LCD Common
Output Enable
LCDSE<n>
Data Bus
RD Port
RD TRIS
Bit 1
RF1
SE5
Function
PIC16C925/926
Bit 0
RF0
SE0
V
PORTF BLOCK DIAGRAM
DD
Q
EN
0000 0000
1111 1111
1111 1111
Power-on
Value on
EN
D
Reset
DS39544A-page 37
LCD Output pin
Digital Input/
Schmitt
Trigger
Input
Buffer
Value on all
0000 0000
1111 1111
1111 1111
RESETS
other

Related parts for PIC16C926-I/CL