コード例 #1
0
ファイル: portserial_m.c プロジェクト: Triney/code
/*
 * Create an interrupt handler for the transmit buffer empty interrupt
 * (or an equivalent) for your target processor. This function should then
 * call pxMBFrameCBTransmitterEmpty( ) which tells the protocol stack that
 * a new character can be sent. The protocol stack will then call
 * xMBPortSerialPutByte( ) to send the character.
 */
void prvvUARTTxReadyISR_Master(void)
{
    pxMBMasterFrameCBTransmitterEmpty();
}
コード例 #2
0
ファイル: portserial_m.c プロジェクト: Liu1992/GasSub_LPC1788
/* 
 * Create an interrupt handler for the transmit buffer empty interrupt
 * (or an equivalent) for your target processor. This function should then
 * call pxMBFrameCBTransmitterEmpty( ) which tells the protocol stack that
 * a new character can be sent. The protocol stack will then call 
 * xMBPortSerialPutByte( ) to send the character.
 */
void prvvUARTTxReadyISR(RS485_NUM RS485_X)
{
	pxMBMasterFrameCBTransmitterEmpty(RS485_X);
}