SW006010 Microchip Technology, SW006010 Datasheet - Page 66

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
apRNOVS^-page 62
C17 C Compiler Libraries
OpenUSART1
OpenUSART2 (Continued)
Remarks:
Return Value:
File Name:
Code Example:
putcUSART1
putcUSART2
Function:
File Name:
putrsUSART1
putrsUSART2
Device:
Function:
Include:
Prototype:
Arguments:
Remarks:
Return Value:
File Name:
Code Example:
This function configures the USART module for interrupts,
baud rate, sync or async operation, 8- or 9-bit mode, master or
slave mode and single or continuous reception.
None
u1open.c
u2open.c
OpenUSART1(USART_TX_INT_OFF&USART_RX_INT_OFF&USART_
ASYNCH_MODE&USART_EIGHT_BIT&USART_CONT_RX, 25);
putrsUSART1: PIC17C4X, PIC17C756
putrsUSART2: PIC17C756
Writes a string of characters in ROM to the USART including
the null character.
usart16.h
void putrsUSART1 (static const rom char *data);
void putrsUSART2 (static const rom char *data);
data
The value of data is a pointer to a string in contiguous RAM
locations within the same bank.
This function writes a string of data in program memory to the
USART, including the null character.
None
u1putrs.c
u2putrs.c
rom char mybuff [20];
putrsUSART1(mybuff);
This function operates identically to WriteUSARTx.
#define
in
usart16.h
 2002 Microchip Technology Inc.

Related parts for SW006010