|
Defines |
#define | NUT_DEPRECATED |
#define | NUT_AHDLC_RECV_DMA_SIZE 64 |
#define | UART_RECEIVER_TIMEOUT 32 |
#define | SIG_UART sig_UART1 |
#define | US_ID US1_ID |
#define | US_GPIO_PINS 0x00000360 |
#define | IN_ACC_MAP(c, m) (( ((uint8_t) (c)) < 0x20) && ((m) & (1UL << (c))) != 0) |
#define | NUT_THREAD_AHDLCRXSTACK 2048 |
Functions |
int | AhdlcAt91IOCtl (NUTDEVICE *dev, int req, void *conf) |
| Perform on-chip UART control functions.
|
int | AhdlcAt91Init (NUTDEVICE *dev) |
| Initialize asynchronous HDLC device.
|
int | AhdlcAt91Read (NUTFILE *fp, void *buffer, int size) |
| Read from the asynchronous HDLC device.
|
int | AhdlcAt91Put (NUTDEVICE *dev, CONST void *buffer, int len, int pflg) |
| Write to the asynchronous HDLC device.
|
int | AhdlcAt91Write (NUTFILE *fp, CONST void *buffer, int len) |
| Write to the asynchronous HDLC device.
|
int | AhdlcAt91Write_P (NUTFILE *fp, PGM_P buffer, int len) |
| Write to the asynchronous HDLC device.
|
NUTFILE * | AhdlcAt91Open (NUTDEVICE *dev, CONST char *name, int mode, int acc) |
| Open the asynchronous HDLC device.
|
int | AhdlcAt91Close (NUTFILE *fp) |
| Close the asynchronous HDLC device.
|
Variables |
NUTDEVICE | devAhdlc1 |
| Device information structure.
|
UART1 RTS Handshake Control |
UART1_RTS_BIT must be defined in arch/avr.h
|
int | AhdlcOutput (NUTDEVICE *dev, NETBUF *nb) |
| Send HDLC frame.
|
void | AhdlcRx (void *arg) |
| Asynchronous HDLC receiver thread.
|