Syntax
typedef enum {
  VM_DCL_SIO_GROUP_START = 0,
  VM_DCL_I2C_GROUP_START = 0x100,
  VM_DCL_SPI_GROUP_START = 0x200,
  VM_DCL_ADC_GROUP_START = 0x300,
  VM_DCL_GPIO_GROUP_START = 0x400,
  VM_DCL_PWM_GROUP_START = 0x500,
  VM_DCL_PMU_GROUP_START = 0xB00,
  VM_DCL_KBD_GROUP_START = 0xF00,
  VM_DCL_EINT_GROUP_START = 0x1C00
} VM_DCL_DEVICE_GROUP;
ContentsIndex
PreviousUpNext
VM_DCL_DEVICE_GROUP
Syntax
typedef enum {
  VM_DCL_SIO_GROUP_START = 0,
  VM_DCL_I2C_GROUP_START = 0x100,
  VM_DCL_SPI_GROUP_START = 0x200,
  VM_DCL_ADC_GROUP_START = 0x300,
  VM_DCL_GPIO_GROUP_START = 0x400,
  VM_DCL_PWM_GROUP_START = 0x500,
  VM_DCL_PMU_GROUP_START = 0xB00,
  VM_DCL_KBD_GROUP_START = 0xF00,
  VM_DCL_EINT_GROUP_START = 0x1C00
} VM_DCL_DEVICE_GROUP;
Description

This is the device number group enum. Each group device may have several devices. The specific device number please reference to the device driver.

File

vmdcl.h

Members
Members 
Description 
VM_DCL_SIO_GROUP_START = 0 
SIO(UART, USB) device number starts. Refer to VM_DCL_SIO_DEVICE_SERIAL_PORT
VM_DCL_I2C_GROUP_START = 0x100 
I2C device number starts. Refer to VM_DCL_I2C_DEVICE
VM_DCL_SPI_GROUP_START = 0x200 
SPI device number starts. Refer to VM_DCL_SPI_DEVICE
VM_DCL_ADC_GROUP_START = 0x300 
ADC device number starts. Refer to VM_DCL_ADC_DEVICE
VM_DCL_GPIO_GROUP_START = 0x400 
GPIO device number starts. Refer to VM_DCL_GPIO_DEVICE
VM_DCL_PWM_GROUP_START = 0x500 
PWM device number starts. Refer to VM_DCL_PWM_DEVICE
VM_DCL_PMU_GROUP_START = 0xB00 
PMU device number starts. Refer to VM_DCL_PMU_DEVICE
VM_DCL_KBD_GROUP_START = 0xF00 
KBD device number starts. Refer to VM_DCL_KBD_DEVICE 
VM_DCL_EINT_GROUP_START = 0x1C00 
EINT device number starts. Refer to VM_DCL_EINT_DEVICE
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.