|
Mobil_surveillance_system 1
|
UART2 functions source file. More...
#include "UART2.h"Go to the source code of this file.
Functions | |
| void | UART2_rxHandler (void) |
| void | UART2_txHandler (void) |
| void | UART2_initUART2 (void) |
| void | UART2_primeTransmit (void) |
| int | UART2_read (void) |
| int | UART2_write (char *pcBuffer, unsigned int uiLength) |
| void | UART2_sendChar (void) |
| tBoolean | UART2_isWritingDone (void) |
| void | UART2_setAppendResponseCallbackFunction (tpfUART2AppendResponseCallbackFunction pfCallbackAppendResponse) |
| void | UART2_flushRx (void) |
| void | UART2_flushTx (void) |
Variables | |
| tBoolean | ge_tbUART2RXITFLAG = 0 |
| This flag are use to indicate if a character has just sent from the uart2 buffer. | |
| tBoolean | ge_tbUART2TXITFLAG = 0 |
| This flag are use to indicate if a chareacter has just arrived into the uart2 buffer. | |
| tpfUART2AppendResponseCallbackFunction | g_pfOnCallbackGPRSAppendResponse |
| Function pointer pointed to the GPRS_appendResponse function. | |
| unsigned char | g_pcUart2RxBuffer [UART2_RX_BUFFER_SIZE] = {'\0'} |
| FIFO buffer for the uart2 rx. All of the character coming form the uart2 will be taken into this buffer temporary. | |
| unsigned int | g_uiUart2RxWriteIndex = 0 |
| Write index variable of the g_pcUart2RxBuffer buffer. | |
| unsigned int | g_uiUart2RxReadIndex = 0 |
| Read index varibale of the g_pcUart2RxBuffer buffer. | |
| unsigned char | g_pcUart2TxBuffer [UART2_RX_BUFFER_SIZE] = {'\0'} |
| unsigned int | g_uiUart2TxWriteIndex = 0 |
| Write index variable for the g_pcUart2TxBuffer buffer. | |
| unsigned int | g_uiUart2TxReadIndex = 0 |
| Read index variable for the g_pcUart2TxBuffer buffer. | |
UART2 functions source file.
Definition in file UART2.c.
| void UART2_setAppendResponseCallbackFunction | ( | tpfUART2AppendResponseCallbackFunction | pfCallbackAppendResponse | ) |
| pfCallbackAppendResponse |
Definition at line 246 of file UART2.c.
{
g_pfOnCallbackGPRSAppendResponse = pfCallbackAppendResponse;
}
| unsigned char g_pcUart2TxBuffer[UART2_RX_BUFFER_SIZE] = {'\0'} |
1.7.4