Jump to main content
PIC16F18156/76 Full-Featured 28/40-Pin Microcontrollers
Search
Product Pages
PIC16F18156
PIC16F18176
Home
16
I/O Ports
16.14
Register Definitions: Port Control
Introduction
PIC16F181
Family Summary
Core Features
1
Packages
2
Pin Diagrams
3
Pin Allocation Tables
4
Guidelines for Getting Started with
PIC16F181
Microcontrollers
5
Register and Bit Naming Conventions
6
Register Legend
7
Enhanced Mid-Range CPU
8
Device Configuration
9
Memory Organization
10
Resets
11
OSC - Oscillator Module (With Fail-Safe Clock Monitor)
12
INT - Interrupts
13
Power-Saving Modes
14
WWDT - Windowed Watchdog Timer
15
NVM - Nonvolatile Memory Control
16
I/O Ports
16.1
Overview
16.2
PORTx - Data Register
16.3
LATx - Output Latch
16.4
TRISx - Direction Control
16.5
ANSELx - Analog Control
16.6
WPUx - Weak Pull-Up Control
16.7
INLVLx - Input Threshold Control
16.8
SLRCONx - Slew Rate Control
16.9
ODCONx - Open-Drain Control
16.10
Edge Selectable Interrupt-on-Change
16.11
I
2
C Pad Control
16.12
I/O Priorities
16.13
MCLR
/V
PP
/RE3
Pin
16.14
Register Definitions: Port Control
16.14.1
PORTx
PORTx
16.14.2
LATx
LATx
16.14.3
TRISx
TRISx
16.14.4
ANSELx
ANSELx
16.14.5
WPUx
WPUx
16.14.6
INLVLx
INLVLx
16.14.7
SLRCONx
SLRCONx
16.14.8
ODCONx
ODCONx
16.14.9
RxyI2C
RxyI2C
16.15
Register Summary - I/O Ports
17
IOC - Interrupt-on-Change
18
PPS - Peripheral Pin Select Module
19
CRC - Cyclic Redundancy Check Module with Memory Scanner
20
PMD - Peripheral Module Disable
21
CLKREF - Reference Clock Output Module
22
TMR0 - Timer0 Module
23
TMR1 - Timer1 Module with Gate Control
24
TMR2 - Timer2 Module
25
NCO - Numerically Controlled Oscillator Module
26
CWG - Complementary Waveform Generator Module
27
CCP - Capture/Compare/PWM Module
28
Capture, Compare, and PWM Timers Selection
29
PWM - Pulse-Width Modulator with Compare
30
CLC - Configurable Logic Cell
31
MSSP - Host Synchronous Serial Port Module
32
EUSART - Enhanced Universal Synchronous Asynchronous Receiver Transmitter
33
ADC - Analog-to-Digital Converter with Computation Module
34
DAC - Digital-to-Analog Converter Module
35
CMP - Comparator Module
36
FVR - Fixed Voltage Reference
37
Temperature Indicator Module
38
ZCD - Zero-Cross Detection Module
39
Charge Pump
40
Instruction Set Summary
41
ICSP™ - In-Circuit Serial Programming™
42
Register Summary
43
Electrical Specifications
44
DC and AC Characteristics Graphs and Tables
45
Packaging Information
46
Appendix A: Revision History
Microchip Information
16.14 Register Definitions: Port Control