SW006010 Microchip Technology, SW006010 Datasheet - Page 36

no-image

SW006010

Manufacturer Part Number
SW006010
Description
MPLAB 17C SOFTWARE
Manufacturer
Microchip Technology
Datasheets

Specifications of SW006010

Tool Function
Compiler
Tool Type
Compiler
Processor Series
PIC17C
Lead Free Status / RoHS Status
Not applicable / Not applicable
For Use With/related Products
MPLAB®
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
MPLAB
2.7
apRNOVS^-page 32
PORT B FUNCTIONS
C17 C Compiler Libraries
This section contains a list of individual functions and an example of use of the
functions in this section. Functions may be implemented as macros.
2.7.1
ClosePORTB
Device:
Function:
Include:
Prototype:
Arguments:
Remarks:
Return Value:
File Name:
Code Example:
DisablePullups
Device:
Function:
Include:
Prototype:
Arguments:
Remarks:
Return Value:
File Name:
Code Example:
EnablePullups
Device:
Function:
Include:
Prototype:
Arguments:
Remarks:
Return Value:
File Name:
Code Example:
Function Descriptions
PIC17C4X, PIC17C756
Disables the interrupts and internal pull-up resistors for
portb16.h
void ClosePORTB (void);
None
This function disables the
the
resistors by setting the
None
pbclose.c
ClosePORTB();
PIC17C4X, PIC17C756
Disables the internal pull-up resistors on
portb16.h
void DisablePullups (void);
None
This function disables the internal pull-up resistors on
setting the
None
pulldis.c
DisablePullups();
PIC17C4X, PIC17C756
Enables the internal pull-up resistors on
portb16.h
void EnablePullups (void);
None
This function enables the internal pull-up resistors on
clearing the
None
pullen.c
EnablePullups();
RBIE
bit in the
NOT_RBPU
NOT_RBPU
PIE
register. It also disables the internal pull-up
bit in the
NOT_RBPU
bit in the
PORTB
PORTA
interrupt on change by clearing
PORTA
bit in the
 2002 Microchip Technology Inc.
register.
register.
PORTB
PORTB
PORTA
.
.
register.
PORTB
PORTB
PORTB.
. by
by

Related parts for SW006010