|
brazos-trapezoidal
|
Serial Buffer parameter file. More...


Go to the source code of this file.
Macros | |
| #define | START_BYTE 0xAA |
| #define | SERIAL_TX_BUFFER_SIZE 4 |
| #define | SERIAL_RX_BUFFER_SIZE 5 |
| #define | SERIAL_BUFFER_SLOT_SIZE 255 |
| #define | SCI_HEADER_SIZE 4 |
| #define | UART_POINTER main__pointerUart0() |
| #define | SCI_SEND(data, num) uart_send( UART_POINTER, data, num, false ) |
| #define | SCI_RECEIVE(data, num) uart_receive( UART_POINTER, data, num, false ) |
| #define | SCI_BYTESSENT() uart_getTxCount( UART_POINTER ) |
| #define | SCI_BYTESEXPECTEDTX() customUart_getTxExpected( UART_POINTER ) |
| #define | SCI_BYTESRECEIVED() uart_getRxCount( UART_POINTER ) |
| #define | SCI_RESETERRORFLAGS() |
| #define | SCI_DISABLEINTRX() uart_control( UART_POINTER, UART_CTL_RX_INT_EN, DISABLE ) |
| #define | SCI_DISABLERX() uart_control( UART_POINTER, UART_CTL_RX_EN, DISABLE ) |
| #define | SCI_TX_PIN_STATE() |
| #define SCI_BYTESEXPECTEDTX | ( | ) | customUart_getTxExpected( UART_POINTER ) |
Definition at line 64 of file SerialBuffer_prm.h.
| #define SCI_BYTESRECEIVED | ( | ) | uart_getRxCount( UART_POINTER ) |
Definition at line 65 of file SerialBuffer_prm.h.
| #define SCI_BYTESSENT | ( | ) | uart_getTxCount( UART_POINTER ) |
Definition at line 63 of file SerialBuffer_prm.h.
| #define SCI_DISABLEINTRX | ( | ) | uart_control( UART_POINTER, UART_CTL_RX_INT_EN, DISABLE ) |
Definition at line 69 of file SerialBuffer_prm.h.
| #define SCI_DISABLERX | ( | ) | uart_control( UART_POINTER, UART_CTL_RX_EN, DISABLE ) |
Definition at line 70 of file SerialBuffer_prm.h.
| #define SCI_HEADER_SIZE 4 |
Size of the message header up to the number of data bytes
Definition at line 48 of file SerialBuffer_prm.h.
| #define SCI_RECEIVE | ( | data, | |
| num | |||
| ) | uart_receive( UART_POINTER, data, num, false ) |
Definition at line 61 of file SerialBuffer_prm.h.
| #define SCI_RESETERRORFLAGS | ( | ) |
Definition at line 68 of file SerialBuffer_prm.h.
| #define SCI_SEND | ( | data, | |
| num | |||
| ) | uart_send( UART_POINTER, data, num, false ) |
Macros to define the interface to the physical layer, (UART, SPI, ..)
Definition at line 60 of file SerialBuffer_prm.h.
| #define SCI_TX_PIN_STATE | ( | ) |
Macros to define gpio function to get the TX pin state
Definition at line 78 of file SerialBuffer_prm.h.
| #define SERIAL_BUFFER_SLOT_SIZE 255 |
Defines the size of the Serial buffer Slot (the size of each package) Maximum size = 255
Definition at line 43 of file SerialBuffer_prm.h.
| #define SERIAL_RX_BUFFER_SIZE 5 |
Defines the size of the Serial RX buffer Maximum size = 255
Definition at line 38 of file SerialBuffer_prm.h.
| #define SERIAL_TX_BUFFER_SIZE 4 |
Defines the size of the Serial TX buffer Maximum size = 255
Definition at line 33 of file SerialBuffer_prm.h.
| #define START_BYTE 0xAA |
Definition at line 28 of file SerialBuffer_prm.h.
| #define UART_POINTER main__pointerUart0() |
Pointer UART
Definition at line 53 of file SerialBuffer_prm.h.