Download Media Engine Software User Manual
Transcript
Media Engine Software User Manual Set DIO state <method> (DO port) BYTE bChNum; BYTE bBuf; int nRet; nRet = SetDioState (bChNum, bBuf); parameter bChNum Channel number 1-5 bBuf Buffer of DIO state 0 : OFF 1 : ON 0 : success non Zero : Error (System error code) return Note Attention Table 26: Set DIO state <method> (DO port) Filtering GPIO Chatter Signal chatter can be controlled by software using the Polling and the Chattering controls. Name Default Remark Polling 10 select X millisecond for polling DIO Chattering 30 Select Y millisecond for filtering chattering Table 27: Polling and the Chattering Controls You can modify the polling and the chattering information using the registry data. Setting are found at HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Dio. The following diagrams show the relationship between input signals and the effect that polling and chattering settings have on the input signals. 30 PS-XMESW-UM-010 February 18, 2010