Moxa ioPAC 8500-5-RJ45-C-T [61/66] Mx_io_led_set

Moxa ioPAC 8020-5-RJ45-C-T [61/66] Mx_io_led_set
Developer's Guide for Moxa RTU Controllers Programmer's Guide
2-53
MX_IO_LED_Set
UINT32 MX_IO_LED_Set(UINT32 state);
Sets the IO LED status according to the state parameter.
Input Parameters
state
0: Off
1: Green
2: Red
Return Value
Result of the call
Notes
ioPAC 8020-C series only
MX_RTC_Get
UINT32 MX_RTC_Get(struct rtc_time *rtc);
To get the RTC. The RTC will be written on the argument rtc.
Output Parameters
rtc
Return Value
Result of the call
MX_RTC_Set
UINT32 MX_RTC_Set(struct rtc_time *rtc);
Sets the Real Time Clock (RTC).
Input Parameters
rtc
Return Value
Result of the call
MX_SWTD_Enable
UINT32 MX_SWTD_Enable(UINT32 swtdtime);
Enables the Software Watchdog. When the Software Watchdog is enabled, it will not trigger the Watchdog.
Input Parameters
swtdtime
the unit is milliseconds
Return Value
Result of the call
MX_SWTD_Disable
UINT32 MX_SWTD_Disable();
Disables the Software Watchdog. When the Software Watchdog is disabled, the kernel will handle the
acknowledgement of the Watchdog function.
Return Value
Result of the call

Содержание

Скачать