AN2262 Motorola / Freescale Semiconductor, AN2262 Datasheet - Page 93

no-image

AN2262

Manufacturer Part Number
AN2262
Description
Wireless HC08 Modem
Manufacturer
Motorola / Freescale Semiconductor
Datasheet
}
void SciRx_On(void)
{
#ifdef SCI_CTS_CONTROL
#endif
#ifdef SCI_XONXOFF_CONTROL
#endif
}
void SciRx_Off(void)
{
#ifdef SCI_CTS_CONTROL
#endif
#ifdef SCI_XONXOFF_CONTROL
#endif
//
}
#pragma TRAP_PROC
void SciRx_Int(void)
{
#ifdef SCI_IDLE_DETECTION
MOTOROLA
}
// space for other bytes
sciRxLen -= len;
return len;
// signal it
SCI_CTS = SCI_CTS_ON;
// ready to receive
sciTxPriority = 1;
sciTxPriorityByte = XON;
EnaTxInt();
EnaRxInt();
// signal it
SCI_CTS = SCI_CTS_OFF;
// ready to receive
sciTxPriority = 1;
sciTxPriorityByte = XOFF;
EnaTxInt();
// serve the interrupt
_scs1 = SCS1;
_rxch = SCDR;
// note: if no idle detection is needed, the
// only reason for interrupt is SCRF (no need for if)
// SCRF interrupt ?
// fast modulo
if(rxRP == rxSize)
DisRxInt();
rxRP = 0;
// and return # of bytes delivered
Wireless HC08 Modem
Source Code
AN2262/D
93

Related parts for AN2262