Go to the documentation of this file.
7 #define DSD_START_OFFSET 0x0200
8 #define EEPROM_VERSION_OFFSET 0x020E
9 #define EEPROM_HW_PARAM_POINTER_ADDRESS 0x0218
10 #define EEPROM_HW_PARAM_POINTER_ADDRRES_MAP5 0x0220
11 #define GPIO_SECTION_START_OFFSET 0x03
13 #define COMPATIBILITY_SECTION_LENGTH 42
14 #define COMPATIBILITY_SECTION_LENGTH_MAP5 84
17 #define EEPROM_MAP5_MAJORVERSION 5
18 #define EEPROM_MAP5_MINORVERSION 0
21 #define MAX_NUM_OF_BLINKS 10
22 #define NUM_OF_GPIO_PINS 16
24 #define DISABLE_GPIO_NUM 0xFF
25 #define EVENT_SIGNALED 1
27 #define MAX_FILE_NAME_BUFFER_SIZE 100
29 #define TURN_ON_LED(GPIO, index) do { \
30 UINT gpio_val = GPIO; \
31 (Adapter->LEDInfo.LEDState[index].BitPolarity == 1) ? \
32 wrmaltWithLock(Adapter, BCM_GPIO_OUTPUT_SET_REG, &gpio_val, sizeof(gpio_val)) : \
33 wrmaltWithLock(Adapter, BCM_GPIO_OUTPUT_CLR_REG, &gpio_val, sizeof(gpio_val)); \
36 #define TURN_OFF_LED(GPIO, index) do { \
37 UINT gpio_val = GPIO; \
38 (Adapter->LEDInfo.LEDState[index].BitPolarity == 1) ? \
39 wrmaltWithLock(Adapter, BCM_GPIO_OUTPUT_CLR_REG, &gpio_val, sizeof(gpio_val)) : \
40 wrmaltWithLock(Adapter, BCM_GPIO_OUTPUT_SET_REG, &gpio_val, sizeof(gpio_val)); \
43 #define B_ULONG32 unsigned long
95 #define BCM_LED_THREAD_DISABLED 0
96 #define BCM_LED_THREAD_RUNNING_ACTIVELY 1
97 #define BCM_LED_THREAD_RUNNING_INACTIVELY 2