![Advanced LAN Bypass Скачать руководство пользователя страница 44](http://html1.mh-extra.com/html/advanced/lan-bypass/lan-bypass_user-manual_2855716044.webp)
Advanced LAN Bypass User Manual
34
The reset monitoring state (rm_state) is set with bit masks defined as follows:
These macros are defined in the header file and are available:
3.7.7.3
lbp_err lbp_set_rmt_counter(int segment, int time_100ms)
Sets the countdown value (unit: 100 ms per count) of the reset monitoring timer.
The timer will start as soon as the system powers on. When the timer expires, the
LAN Bypass MCU will start to monitor the reset signal.
Returns 0 on success or the following error codes in the event of an error:
Table 3.29: Parameter rm_mode
Bit masks of rm_state parameter
Meaning
Bit 0 = 0b
reset monitoring state is ignored
Bit 0 = 1b
reset signal is monitored
Bit [2:1] = 00b
N/A (reserved for future use)
Bit [2:1] = 01b
Reset signal monitoring is started by BIOS
Bit [2:1] = 10b
Reset signal monitoring is started by
LBPCU
Bit [2:1] = 11b
Reset monitoring timer timeout
/* Macros for Reset Monitoring State. */
#define lbp_is_rmt_running(x) ((x & 0x01) == 0x01) //MCU
is monitoring reset signal
#define RM_ignore(x) ((x & 0x01)==0x00) //MCU is
not monitoring reset signal
#define SRM_NA(x) ((x & 0x06)==0x00) //
Reserved for future use
#define SRM_by_BIOS(x) ((x & 0x06)==0x02) //Moni-
toring is started by BIOS
#define SRM_by_LBPCU(x) ((x & 0x06)==0x04) //Moni-
toring is started by LBPCU
#define SRM_by_timeout(x) ((x & 0x06)==0x06) //Reset
monitoring timer timeout
Table 3.30: API Function "lbp_set_rmt_counter" Error Codes
Name
Error Code
LBP_ERR_INTERFACE_OPEN
0x89
LBP_ERR_FW_NRDY
0x8A
LBP_ERR_FW_CS
0x8B
LBP_ERR_PARAM_OUT_OF_BOUND
0x93
LBP_ERR_LBP_INIT
0x95
LBP_ERR_COMMAND_NOT_SUPPORT
0x96
Table 38: API Function "lbp_set_rmt_counter" Error Codes
Содержание LAN Bypass
Страница 1: ...User Manual Advantech Advanced LAN Bypass...
Страница 4: ...Advanced LAN Bypass User Manual iv...
Страница 10: ...Advanced LAN Bypass User Manual x...
Страница 11: ...Chapter 1 1 ADVANCED LAN BYPASS...
Страница 14: ...Advanced LAN Bypass User Manual 4...
Страница 15: ...Chapter 2 2 OVERVIEW...
Страница 26: ...Advanced LAN Bypass User Manual 16...
Страница 27: ...Chapter 3 3 LIBLBPCU ADVANCED LAN BYPASS LIBRARY...
Страница 51: ...Chapter 4 4 LBPCU...
Страница 79: ...Appendix A A OS limitation...
Страница 81: ...71 Advanced LAN Bypass User Manual Appendix A OS limitation...