AN2262 Motorola / Freescale Semiconductor, AN2262 Datasheet - Page 89

no-image

AN2262

Manufacturer Part Number
AN2262
Description
Wireless HC08 Modem
Manufacturer
Motorola / Freescale Semiconductor
Datasheet
/////////////////////////////////////////////////////////////
// local vars
#pragma DATA_SEG SHORT MY_ZEROPAGE
#ifndef SCI_FIXED_BUFFS
static BYTE* txBuff;
static BYTE
static BYTE* rxBuff;
static BYTE
#endif
static char
static char
static char
static char
static BYTE
static BYTE
#pragma DATA_SEG DEFAULT
// local macros
/////////////////////////////////////////////////////////////////////////
// transmitter
// init SCI transmitter BYTE queue
#ifdef SCI_FIXED_BUFFS
void SCI_InitTx(void)
#else
void SCI_InitTx(BYTE* buff, BYTE size)
#endif
{
#ifndef SCI_FIXED_BUFFS
#endif
#ifdef SCI_TXE_CONTROL
#ifdef SCI_TXE_CONTROL_RX
#endif
MOTOROLA
txBuff = buff;
txSize = size;
txWP = 0;
txRP = 0;
// turn off the line driver
SCI_TXE = SCI_TXE_OFF;
// and turn on the receiver
SCI_RXE = SCI_TXE_ON;
txSize;
rxSize;
txWP;
txRP;
rxWP;
rxRP;
_scs1;
_rxch;
Wireless HC08 Modem
Source Code
AN2262/D
89

Related parts for AN2262