Syntax
typedef struct {
  VMUINT8 debounce_enable;
  VMUINT8 act_polarity;
  VMUINT8 auto_unmask;
} vm_dcl_eint_control_config_t;
ContentsIndex
PreviousUpNext
vm_dcl_eint_control_config_t
Syntax
typedef struct {
  VMUINT8 debounce_enable;
  VMUINT8 act_polarity;
  VMUINT8 auto_unmask;
} vm_dcl_eint_control_config_t;
Description

This struct is for VM_DCL_EINT_COMMAND_CONFIG command and used by vm_dcl_control(). With this command, a caller can configure the attributes of a specific EINT. The sample code is in the description of VM_DCL_EINT_COMMAND. The usage of all the commands are similar.

File

vmdcl_eint.h

Members
Members 
Description 
VMUINT8 debounce_enable; 
The value is 1 or 0. 1 means to enable the HW debounce; 0 means to disable. 
VMUINT8 act_polarity; 
The value is 1 0r 0. 1 means the positive active; 0 means the negative active. 
VMUINT8 auto_unmask; 
The value is 1 or 0. 1 means unmask after callback; 0 means not to unmask and the users must unmask themselves. 
Group
Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at support@toolsfactory.com.