SW006010 Microchip Technology, SW006010 Datasheet - Page 63

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
2.13
 2002 Microchip Technology Inc.
USART FUNCTIONS
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.13.1
BusyUSART1
BusyUSART2
Device:
Function:
Include:
Prototype:
Arguments:
Remarks:
Return Value:
File Name:
Code Example:
CloseUSART1
CloseUSART2
Device:
Function:
Include:
Prototype:
Arguments:
Remarks:
Return Value:
File Name:
Code Example:
Function Descriptions
BusyUSART1: PIC17C4X, PIC17C756
BusyUSART2: PIC17C756
Returns the status of the
usart16.h
char BusyUSART1 (void);
char BusyUSART2 (void);
None
This function returns the status of the
register.
If the USART transmitter is busy, a value of 1 is returned. If the
USART receiver is idle, then a value of 0 is returned.
u1busy.c
u2busy.c
while (BusyUSART1());
CloseUSART1: PIC17C4X, PIC17C756
CloseUSART2: PIC17C756
Disables the specified USART.
usart16.h
void CloseUSART1 (void);
void CloseUSART2 (void);
None
This function disables the specified USARTs interrupts,
transmitter and receiver.
None
u1close.c
u2close.c
CloseUSART1();
Hardware Peripheral Library
TRMT
flag bit in the
TRMT
flag bit in the
TXSTA?
apRNOVS^-page 59
register.
TXSTA?

Related parts for SW006010