#define _XNUT_XXX_H_INCLUDED "cfg/xnut.h"
#define F_CPU NUT_CPU_FREQ
Switch LED S1 off
#define LED_S1_OFF
Switch LED S1 red
#define LED_S1_RED
Toggle LED S1 between red and off
#define LED_S1_RED_TOGGLE
Switch LED S1 green
#define LED_S1_GREEN
Toggle LED S1 between green and off
#define LED_S1_GREEN_TOGGLE
#define LED_S1_RED_GREEN_TOGGLE
Switch LED S2 off
#define LED_S2_OFF
Switch LED S2 red
#define LED_S2_RED
Toggle LED S2 between red and off
#define LED_S2_RED_TOGGLE
Switch LED S2 green
#define LED_S2_GREEN
Toggle LED S2 between green and off
#define LED_S2_GREEN_TOGGLE
#define LED_S2_RED_GREEN_TOGGLE
* Configure Ser 0 to operate in RS232 mode. * * In RS232 mode receiption from SUB-D connector J9 is enabled * and the receiver on connector J6-2/3 is disabled.
#define SER0_RS232_MODE
* Configure Ser 0 to operate in RS485 mode. * * In RS485 mode receiption from connector J6-2/3 is enabled * and the receiver on SUB-D connector J9 is disabled.
#define SER0_RS485_MODE
* Switches the RS485 line driver of Ser 0 on. * * RS485 is a half-duplex link and the line driver must be switched off to * allow receiption of data.
#define SER0_RS485_DRV_ON
* Switches the RS485 line driver of Ser 0 off.
#define SER0_RS485_DRV_OFF
* Configure Ser 1 to operate in RS232 mode. * * In RS232 mode receiption from SUB-D connector J7 is enabled * and the receiver on connector J6-5/6 is disabled.
#define SER1_RS232_MODE
* Configure Ser 1 to operate in RS485 mode. * * In RS485 mode receiption from connector J6-5/6 is enabled * and the receiver on SUB-D connector J7 is disabled.
#define SER1_RS485_MODE
* Switches the RS485 line driver of Ser 1 on. * * RS485 is a half-duplex link and the line driver must be switched off to * allow receiption of data.
#define SER1_RS485_DRV_ON
* Switches the RS485 line driver of Ser 1 off.
#define SER1_RS485_DRV_OFF
* Returns the status of the RS232 CD signal input * of Ser 0 on SUB-D connector J9 * * @return 1 if CD is asserted
#define SER0_GET_CD
* Returns the status of the RS232 RI signal input * of Ser 0 on SUB-D connector J9 * * @return 1 if RI is asserted
#define SER0_GET_RI
* Returns the status of the RS232 CTS signal input * of Ser 0 on SUB-D connector J9 * * @return 1 if CTS is asserted
#define SER0_GET_CTS
* Returns the status of the RS232 DSR signal input of Ser 0 on * SUB-D connector J9 * * @note Feature only available for devices with serial number * 224 upwards (since PCB Revision C) * @return 1 if DSR is asserted
#define SER0_GET_DSR
* Asserts the RS232 RTS signal output of Ser 0 on SUB-D connector J9
#define SER0_SET_RTS
* Clears the RS232 RTS signal output of Ser 0 on SUB-D connector J9
#define SER0_CLR_RTS
* Asserts the RS232 DTR signal output of Ser 0 on SUB-D * connector J9 * * @note Feature only available for devices with serial number * 224 upwards (since PCB Revision C)
#define SER0_SET_DTR
* Clears the RS232 DTR signal output of Ser 0 on SUB-D * connector J9 * * @note Feature only available for devices with serial number * 224 upwards (since PCB Revision C)
#define SER0_CLR_DTR