Defines | |
#define | DEBUG_INIT_BAUTRATE 115200 |
Functions | |
NUTFILE * | Lpc17xxDevDebugOpen (NUTDEVICE *dev, const char *name, int mode, int acc) |
Open debug device. | |
int | Lpc17xxDevDebugClose (NUTFILE *fp) |
Close debug device. |
#define DEBUG_INIT_BAUTRATE 115200 |
Open debug device.
dev | Pointer to a previously registered NUTDEVICE structure. |
name | Ignored, typically points to an empty string. |
mode | Ignored, operation mode. |
acc | Ignored, should be zero. |
References _NUTDEVICE::dev_dcb, _NUTFILE::nf_dev, _NUTFILE::nf_fcb, _NUTFILE::nf_next, and NULL.
static int Lpc17xxDevDebugClose | ( | NUTFILE * | fp | ) |
Close debug device.
fp | Pointer to a _NUTFILE structure, obtained by a previous call to LpcDevDebugOpen(). |