17.02.2015 Views

CCS C Compiler Manual PCB / PCM / PCH

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Also See:<br />

None<br />

tx_buffer_bytes()<br />

Syntax:<br />

Parameters:<br />

Returns:<br />

Function:<br />

Availability:<br />

Requires:<br />

Examples:<br />

Example Files:<br />

value = tx_buffer_bytes([stream]);<br />

stream – optional parameter specifying the stream defined in<br />

#USE RS232.<br />

Number of bytes in transmit buffer that still need to be sent.<br />

Function to determine the number of bytes in transmit buffer that still<br />

need to be sent.<br />

All devices<br />

#USE RS232<br />

#USE_RS232(UART1,BAUD=9600,TRANSMIT_BUFFER=50)<br />

void main(void) {<br />

char string[] = “Hello”;<br />

if(tx_buffer_bytes()

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!