Nut/OS  4.10.3
API Reference
debug_at91.h File Reference
#include <sys/file.h>
#include <sys/device.h>
Include dependency graph for debug_at91.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


NUTFILEAt91DevDebugOpen (NUTDEVICE *dev, CONST char *name, int mode, int acc)
 Open debug device.
int At91DevDebugClose (NUTFILE *fp)
 Close debug device.
int At91DevDebugWrite (NUTFILE *fp, CONST void *buffer, int len)
 Send characters to debug device 0.
int At91DevDebugRead (NUTFILE *fp, void *buffer, int size)
long At91DevDebugSize (NUTFILE *fp)
int At91DevDebugIOCtl (NUTDEVICE *dev, int req, void *conf)
 Handle I/O controls for debug device 2.
uint32_t At91BaudRateDiv (uint32_t baud)
 Calculate divisor for a given baud rate.

Function Documentation

int At91DevDebugRead ( NUTFILE fp,
void *  buffer,
int  size 
long At91DevDebugSize ( NUTFILE fp)