![]() |
Altera SoCAL
16.0
The Altera SoC Abstraction Layer (SoCAL) API Reference Manual
|
Name: GPIO Configuration Register 1
Size: 32 bits
Address Offset: 0x74
Read/Write Access: Read
Register Layout
Bits | Access | Reset | Description |
---|---|---|---|
[1:0] | R | 0x2 | ALT_GPIO_CFG_REG1_APB_DATA_WIDTH |
[3:2] | R | 0x0 | ALT_GPIO_CFG_REG1_NUM_PORTS |
[4] | R | 0x1 | ALT_GPIO_CFG_REG1_PORTA_SINGLE_CTL |
[5] | R | 0x1 | ALT_GPIO_CFG_REG1_PORTB_SINGLE_CTL |
[6] | R | 0x1 | ALT_GPIO_CFG_REG1_PORTC_SINGLE_CTL |
[7] | R | 0x1 | ALT_GPIO_CFG_REG1_PORTD_SINGLE_CTL |
[8] | R | 0x0 | ALT_GPIO_CFG_REG1_HW_PORTA |
[9] | R | 0x0 | ALT_GPIO_CFG_REG1_HW_PORTB |
[10] | R | 0x0 | ALT_GPIO_CFG_REG1_HW_PORTC |
[11] | R | 0x0 | ALT_GPIO_CFG_REG1_HW_PORTD |
[12] | R | 0x1 | ALT_GPIO_CFG_REG1_PORTA_INTR |
[13] | R | 0x1 | ALT_GPIO_CFG_REG1_DEBOUNCE |
[14] | R | 0x1 | ALT_GPIO_CFG_REG1_ADD_ENC_PARAMS |
[15] | R | 0x1 | ALT_GPIO_CFG_REG1_GPIO_ID |
[20:16] | R | 0x1f | ALT_GPIO_CFG_REG1_ENC_ID_WIDTH |
[31:21] | ??? | 0x0 | UNDEFINED |
Field : apb_data_width | |||||||
The value of this register is derived from the GPIO_APB_DATA_WIDTH configuration parameter. 0x0 = 8 bits 0x1 = 16 bits 0x2 = 32 bits 0x3 = Reserved Field Enumeration Values:
Field Access Macros: | |||||||
#define | ALT_GPIO_CFG_REG1_APB_DATA_WIDTH_E_WIDTH32BITS 0x2 | ||||||
#define | ALT_GPIO_CFG_REG1_APB_DATA_WIDTH_LSB 0 | ||||||
#define | ALT_GPIO_CFG_REG1_APB_DATA_WIDTH_MSB 1 | ||||||
#define | ALT_GPIO_CFG_REG1_APB_DATA_WIDTH_WIDTH 2 | ||||||
#define | ALT_GPIO_CFG_REG1_APB_DATA_WIDTH_SET_MSK 0x00000003 | ||||||
#define | ALT_GPIO_CFG_REG1_APB_DATA_WIDTH_CLR_MSK 0xfffffffc | ||||||
#define | ALT_GPIO_CFG_REG1_APB_DATA_WIDTH_RESET 0x2 | ||||||
#define | ALT_GPIO_CFG_REG1_APB_DATA_WIDTH_GET(value) (((value) & 0x00000003) >> 0) | ||||||
#define | ALT_GPIO_CFG_REG1_APB_DATA_WIDTH_SET(value) (((value) << 0) & 0x00000003) | ||||||
Field : num_ports | |||||||
The value of this register is derived from the GPIO_NUM_PORT configuration parameter. 0x0 =1 0x1 = 2 0x2 = 3 0x3 = 4 Field Enumeration Values:
Field Access Macros: | |||||||
#define | ALT_GPIO_CFG_REG1_NUM_PORTS_E_ONEPORTA 0x0 | ||||||
#define | ALT_GPIO_CFG_REG1_NUM_PORTS_LSB 2 | ||||||
#define | ALT_GPIO_CFG_REG1_NUM_PORTS_MSB 3 | ||||||
#define | ALT_GPIO_CFG_REG1_NUM_PORTS_WIDTH 2 | ||||||
#define | ALT_GPIO_CFG_REG1_NUM_PORTS_SET_MSK 0x0000000c | ||||||
#define | ALT_GPIO_CFG_REG1_NUM_PORTS_CLR_MSK 0xfffffff3 | ||||||
#define | ALT_GPIO_CFG_REG1_NUM_PORTS_RESET 0x0 | ||||||
#define | ALT_GPIO_CFG_REG1_NUM_PORTS_GET(value) (((value) & 0x0000000c) >> 2) | ||||||
#define | ALT_GPIO_CFG_REG1_NUM_PORTS_SET(value) (((value) << 2) & 0x0000000c) | ||||||
Field : porta_single_ctl | |||||||
The value of this register is derived from the GPIO_PORTA_SINGLE_CTL configuration parameter. 0 = False 1 = True Field Enumeration Values:
Field Access Macros: | |||||||
#define | ALT_GPIO_CFG_REG1_PORTA_SINGLE_CTL_E_SOFTCTLONLY 0x1 | ||||||
#define | ALT_GPIO_CFG_REG1_PORTA_SINGLE_CTL_LSB 4 | ||||||
#define | ALT_GPIO_CFG_REG1_PORTA_SINGLE_CTL_MSB 4 | ||||||
#define | ALT_GPIO_CFG_REG1_PORTA_SINGLE_CTL_WIDTH 1 | ||||||
#define | ALT_GPIO_CFG_REG1_PORTA_SINGLE_CTL_SET_MSK 0x00000010 | ||||||
#define | ALT_GPIO_CFG_REG1_PORTA_SINGLE_CTL_CLR_MSK 0xffffffef | ||||||
#define | ALT_GPIO_CFG_REG1_PORTA_SINGLE_CTL_RESET 0x1 | ||||||
#define | ALT_GPIO_CFG_REG1_PORTA_SINGLE_CTL_GET(value) (((value) & 0x00000010) >> 4) | ||||||
#define | ALT_GPIO_CFG_REG1_PORTA_SINGLE_CTL_SET(value) (((value) << 4) & 0x00000010) | ||||||
Field : portb_single_ctl | |||||||
The value of this register is derived from the GPIO_PORTB_SINGLE_CTL configuration parameter. 0 = False 1 = True Field Enumeration Values:
Field Access Macros: | |||||||
#define | ALT_GPIO_CFG_REG1_PORTB_SINGLE_CTL_E_SOFTCTLONLY 0x1 | ||||||
#define | ALT_GPIO_CFG_REG1_PORTB_SINGLE_CTL_LSB 5 | ||||||
#define | ALT_GPIO_CFG_REG1_PORTB_SINGLE_CTL_MSB 5 | ||||||
#define | ALT_GPIO_CFG_REG1_PORTB_SINGLE_CTL_WIDTH 1 | ||||||
#define | ALT_GPIO_CFG_REG1_PORTB_SINGLE_CTL_SET_MSK 0x00000020 | ||||||
#define | ALT_GPIO_CFG_REG1_PORTB_SINGLE_CTL_CLR_MSK 0xffffffdf | ||||||
#define | ALT_GPIO_CFG_REG1_PORTB_SINGLE_CTL_RESET 0x1 | ||||||
#define | ALT_GPIO_CFG_REG1_PORTB_SINGLE_CTL_GET(value) (((value) & 0x00000020) >> 5) | ||||||
#define | ALT_GPIO_CFG_REG1_PORTB_SINGLE_CTL_SET(value) (((value) << 5) & 0x00000020) | ||||||
Field : portc_single_ctl | |||||||
The value of this register is derived from the GPIO_PORTC_SINGLE_CTL configuration parameter. 0 = False 1 = True Field Enumeration Values:
Field Access Macros: | |||||||
#define | ALT_GPIO_CFG_REG1_PORTC_SINGLE_CTL_E_SOFTCTLONLY 0x1 | ||||||
#define | ALT_GPIO_CFG_REG1_PORTC_SINGLE_CTL_LSB 6 | ||||||
#define | ALT_GPIO_CFG_REG1_PORTC_SINGLE_CTL_MSB 6 | ||||||
#define | ALT_GPIO_CFG_REG1_PORTC_SINGLE_CTL_WIDTH 1 | ||||||
#define | ALT_GPIO_CFG_REG1_PORTC_SINGLE_CTL_SET_MSK 0x00000040 | ||||||
#define | ALT_GPIO_CFG_REG1_PORTC_SINGLE_CTL_CLR_MSK 0xffffffbf | ||||||
#define | ALT_GPIO_CFG_REG1_PORTC_SINGLE_CTL_RESET 0x1 | ||||||
#define | ALT_GPIO_CFG_REG1_PORTC_SINGLE_CTL_GET(value) (((value) & 0x00000040) >> 6) | ||||||
#define | ALT_GPIO_CFG_REG1_PORTC_SINGLE_CTL_SET(value) (((value) << 6) & 0x00000040) | ||||||
Field : portd_single_ctl | |||||||
The value of this register is derived from the GPIO_PORTD_SINGLE_CTL configuration parameter. 0 = False 1 = True Field Enumeration Values:
Field Access Macros: | |||||||
#define | ALT_GPIO_CFG_REG1_PORTD_SINGLE_CTL_E_SOFTCTLONLY 0x1 | ||||||
#define | ALT_GPIO_CFG_REG1_PORTD_SINGLE_CTL_LSB 7 | ||||||
#define | ALT_GPIO_CFG_REG1_PORTD_SINGLE_CTL_MSB 7 | ||||||
#define | ALT_GPIO_CFG_REG1_PORTD_SINGLE_CTL_WIDTH 1 | ||||||
#define | ALT_GPIO_CFG_REG1_PORTD_SINGLE_CTL_SET_MSK 0x00000080 | ||||||
#define | ALT_GPIO_CFG_REG1_PORTD_SINGLE_CTL_CLR_MSK 0xffffff7f | ||||||
#define | ALT_GPIO_CFG_REG1_PORTD_SINGLE_CTL_RESET 0x1 | ||||||
#define | ALT_GPIO_CFG_REG1_PORTD_SINGLE_CTL_GET(value) (((value) & 0x00000080) >> 7) | ||||||
#define | ALT_GPIO_CFG_REG1_PORTD_SINGLE_CTL_SET(value) (((value) << 7) & 0x00000080) | ||||||
Field : hw_porta | |||||||
The value of this register is derived from the GPIO_HW_PORTA configuration parameter. 0 = Exclude 1 = Include Field Enumeration Values:
Field Access Macros: | |||||||
#define | ALT_GPIO_CFG_REG1_HW_PORTA_E_PORTANOHARD 0x0 | ||||||
#define | ALT_GPIO_CFG_REG1_HW_PORTA_LSB 8 | ||||||
#define | ALT_GPIO_CFG_REG1_HW_PORTA_MSB 8 | ||||||
#define | ALT_GPIO_CFG_REG1_HW_PORTA_WIDTH 1 | ||||||
#define | ALT_GPIO_CFG_REG1_HW_PORTA_SET_MSK 0x00000100 | ||||||
#define | ALT_GPIO_CFG_REG1_HW_PORTA_CLR_MSK 0xfffffeff | ||||||
#define | ALT_GPIO_CFG_REG1_HW_PORTA_RESET 0x0 | ||||||
#define | ALT_GPIO_CFG_REG1_HW_PORTA_GET(value) (((value) & 0x00000100) >> 8) | ||||||
#define | ALT_GPIO_CFG_REG1_HW_PORTA_SET(value) (((value) << 8) & 0x00000100) | ||||||
Field : hw_portb | |
The value of this register is derived from the GPIO_HW_PORTB configuration parameter. 0 = Exclude 1 = Include Field Access Macros: | |
#define | ALT_GPIO_CFG_REG1_HW_PORTB_LSB 9 |
#define | ALT_GPIO_CFG_REG1_HW_PORTB_MSB 9 |
#define | ALT_GPIO_CFG_REG1_HW_PORTB_WIDTH 1 |
#define | ALT_GPIO_CFG_REG1_HW_PORTB_SET_MSK 0x00000200 |
#define | ALT_GPIO_CFG_REG1_HW_PORTB_CLR_MSK 0xfffffdff |
#define | ALT_GPIO_CFG_REG1_HW_PORTB_RESET 0x0 |
#define | ALT_GPIO_CFG_REG1_HW_PORTB_GET(value) (((value) & 0x00000200) >> 9) |
#define | ALT_GPIO_CFG_REG1_HW_PORTB_SET(value) (((value) << 9) & 0x00000200) |
Field : hw_portc | |
The value of this register is derived from the GPIO_HW_PORTC configuration parameter. 0 = Exclude 1 = Include Field Access Macros: | |
#define | ALT_GPIO_CFG_REG1_HW_PORTC_LSB 10 |
#define | ALT_GPIO_CFG_REG1_HW_PORTC_MSB 10 |
#define | ALT_GPIO_CFG_REG1_HW_PORTC_WIDTH 1 |
#define | ALT_GPIO_CFG_REG1_HW_PORTC_SET_MSK 0x00000400 |
#define | ALT_GPIO_CFG_REG1_HW_PORTC_CLR_MSK 0xfffffbff |
#define | ALT_GPIO_CFG_REG1_HW_PORTC_RESET 0x0 |
#define | ALT_GPIO_CFG_REG1_HW_PORTC_GET(value) (((value) & 0x00000400) >> 10) |
#define | ALT_GPIO_CFG_REG1_HW_PORTC_SET(value) (((value) << 10) & 0x00000400) |
Field : hw_portd | |
The value of this register is derived from the GPIO_HW_PORTD configuration parameter. 0 = Exclude 1 = Include Field Access Macros: | |
#define | ALT_GPIO_CFG_REG1_HW_PORTD_LSB 11 |
#define | ALT_GPIO_CFG_REG1_HW_PORTD_MSB 11 |
#define | ALT_GPIO_CFG_REG1_HW_PORTD_WIDTH 1 |
#define | ALT_GPIO_CFG_REG1_HW_PORTD_SET_MSK 0x00000800 |
#define | ALT_GPIO_CFG_REG1_HW_PORTD_CLR_MSK 0xfffff7ff |
#define | ALT_GPIO_CFG_REG1_HW_PORTD_RESET 0x0 |
#define | ALT_GPIO_CFG_REG1_HW_PORTD_GET(value) (((value) & 0x00000800) >> 11) |
#define | ALT_GPIO_CFG_REG1_HW_PORTD_SET(value) (((value) << 11) & 0x00000800) |
Field : porta_intr | |||||||
The value of this register is derived from the GPIO_PORTA_INTR configuration parameter. 0 = Exclude 1 = Include Field Enumeration Values:
Field Access Macros: | |||||||
#define | ALT_GPIO_CFG_REG1_PORTA_INTR_E_PORTAINTERR 0x1 | ||||||
#define | ALT_GPIO_CFG_REG1_PORTA_INTR_LSB 12 | ||||||
#define | ALT_GPIO_CFG_REG1_PORTA_INTR_MSB 12 | ||||||
#define | ALT_GPIO_CFG_REG1_PORTA_INTR_WIDTH 1 | ||||||
#define | ALT_GPIO_CFG_REG1_PORTA_INTR_SET_MSK 0x00001000 | ||||||
#define | ALT_GPIO_CFG_REG1_PORTA_INTR_CLR_MSK 0xffffefff | ||||||
#define | ALT_GPIO_CFG_REG1_PORTA_INTR_RESET 0x1 | ||||||
#define | ALT_GPIO_CFG_REG1_PORTA_INTR_GET(value) (((value) & 0x00001000) >> 12) | ||||||
#define | ALT_GPIO_CFG_REG1_PORTA_INTR_SET(value) (((value) << 12) & 0x00001000) | ||||||
Field : debounce | |||||||
The value of this register is derived from the GPIO_DEBOUNCE configuration parameter. 0 = Exclude 1 = Include Field Enumeration Values:
Field Access Macros: | |||||||
#define | ALT_GPIO_CFG_REG1_DEBOUNCE_E_DEBOUNCEA 0x1 | ||||||
#define | ALT_GPIO_CFG_REG1_DEBOUNCE_LSB 13 | ||||||
#define | ALT_GPIO_CFG_REG1_DEBOUNCE_MSB 13 | ||||||
#define | ALT_GPIO_CFG_REG1_DEBOUNCE_WIDTH 1 | ||||||
#define | ALT_GPIO_CFG_REG1_DEBOUNCE_SET_MSK 0x00002000 | ||||||
#define | ALT_GPIO_CFG_REG1_DEBOUNCE_CLR_MSK 0xffffdfff | ||||||
#define | ALT_GPIO_CFG_REG1_DEBOUNCE_RESET 0x1 | ||||||
#define | ALT_GPIO_CFG_REG1_DEBOUNCE_GET(value) (((value) & 0x00002000) >> 13) | ||||||
#define | ALT_GPIO_CFG_REG1_DEBOUNCE_SET(value) (((value) << 13) & 0x00002000) | ||||||
Field : add_encoded_params | |||||||
The value of this register is derived from the GPIO_ADD_ENCODED_PARAMS configuration parameter. 0 = False 1 = True Field Enumeration Values:
Field Access Macros: | |||||||
#define | ALT_GPIO_CFG_REG1_ADD_ENC_PARAMS_E_ADDENCPARAMS 0x1 | ||||||
#define | ALT_GPIO_CFG_REG1_ADD_ENC_PARAMS_LSB 14 | ||||||
#define | ALT_GPIO_CFG_REG1_ADD_ENC_PARAMS_MSB 14 | ||||||
#define | ALT_GPIO_CFG_REG1_ADD_ENC_PARAMS_WIDTH 1 | ||||||
#define | ALT_GPIO_CFG_REG1_ADD_ENC_PARAMS_SET_MSK 0x00004000 | ||||||
#define | ALT_GPIO_CFG_REG1_ADD_ENC_PARAMS_CLR_MSK 0xffffbfff | ||||||
#define | ALT_GPIO_CFG_REG1_ADD_ENC_PARAMS_RESET 0x1 | ||||||
#define | ALT_GPIO_CFG_REG1_ADD_ENC_PARAMS_GET(value) (((value) & 0x00004000) >> 14) | ||||||
#define | ALT_GPIO_CFG_REG1_ADD_ENC_PARAMS_SET(value) (((value) << 14) & 0x00004000) | ||||||
Field : gpio_id | |||||||
The value of this register is derived from the GPIO_ID configuration parameter. 0 = Exclude 1 = Include Field Enumeration Values:
Field Access Macros: | |||||||
#define | ALT_GPIO_CFG_REG1_GPIO_ID_E_IDCODE 0x1 | ||||||
#define | ALT_GPIO_CFG_REG1_GPIO_ID_LSB 15 | ||||||
#define | ALT_GPIO_CFG_REG1_GPIO_ID_MSB 15 | ||||||
#define | ALT_GPIO_CFG_REG1_GPIO_ID_WIDTH 1 | ||||||
#define | ALT_GPIO_CFG_REG1_GPIO_ID_SET_MSK 0x00008000 | ||||||
#define | ALT_GPIO_CFG_REG1_GPIO_ID_CLR_MSK 0xffff7fff | ||||||
#define | ALT_GPIO_CFG_REG1_GPIO_ID_RESET 0x1 | ||||||
#define | ALT_GPIO_CFG_REG1_GPIO_ID_GET(value) (((value) & 0x00008000) >> 15) | ||||||
#define | ALT_GPIO_CFG_REG1_GPIO_ID_SET(value) (((value) << 15) & 0x00008000) | ||||||
Field : encoded_id_width | |||||||
The value of this register is derived from the GPIO_ID_WIDTH configuration parameter. Field Enumeration Values:
Field Access Macros: | |||||||
#define | ALT_GPIO_CFG_REG1_ENC_ID_WIDTH_E_ENCIDWIDTH 0x1f | ||||||
#define | ALT_GPIO_CFG_REG1_ENC_ID_WIDTH_LSB 16 | ||||||
#define | ALT_GPIO_CFG_REG1_ENC_ID_WIDTH_MSB 20 | ||||||
#define | ALT_GPIO_CFG_REG1_ENC_ID_WIDTH_WIDTH 5 | ||||||
#define | ALT_GPIO_CFG_REG1_ENC_ID_WIDTH_SET_MSK 0x001f0000 | ||||||
#define | ALT_GPIO_CFG_REG1_ENC_ID_WIDTH_CLR_MSK 0xffe0ffff | ||||||
#define | ALT_GPIO_CFG_REG1_ENC_ID_WIDTH_RESET 0x1f | ||||||
#define | ALT_GPIO_CFG_REG1_ENC_ID_WIDTH_GET(value) (((value) & 0x001f0000) >> 16) | ||||||
#define | ALT_GPIO_CFG_REG1_ENC_ID_WIDTH_SET(value) (((value) << 16) & 0x001f0000) | ||||||
Data Structures | |
struct | ALT_GPIO_CFG_REG1_s |
Macros | |
#define | ALT_GPIO_CFG_REG1_RESET 0x001ff0f2 |
#define | ALT_GPIO_CFG_REG1_OFST 0x74 |
#define | ALT_GPIO_CFG_REG1_ADDR(base) ALT_CAST(void *, (ALT_CAST(char *, (base)) + ALT_GPIO_CFG_REG1_OFST)) |
Typedefs | |
typedef struct ALT_GPIO_CFG_REG1_s | ALT_GPIO_CFG_REG1_t |
struct ALT_GPIO_CFG_REG1_s |
WARNING: The C register and register group struct declarations are provided for convenience and illustrative purposes. They should, however, be used with caution as the C language standard provides no guarantees about the alignment or atomicity of device memory accesses. The recommended practice for writing hardware drivers is to use the SoCAL access macros and alt_read_word() and alt_write_word() functions.
The struct declaration for register ALT_GPIO_CFG_REG1.
Data Fields | ||
---|---|---|
const uint32_t | apb_data_width: 2 | ALT_GPIO_CFG_REG1_APB_DATA_WIDTH |
const uint32_t | num_ports: 2 | ALT_GPIO_CFG_REG1_NUM_PORTS |
const uint32_t | porta_single_ctl: 1 | ALT_GPIO_CFG_REG1_PORTA_SINGLE_CTL |
const uint32_t | portb_single_ctl: 1 | ALT_GPIO_CFG_REG1_PORTB_SINGLE_CTL |
const uint32_t | portc_single_ctl: 1 | ALT_GPIO_CFG_REG1_PORTC_SINGLE_CTL |
const uint32_t | portd_single_ctl: 1 | ALT_GPIO_CFG_REG1_PORTD_SINGLE_CTL |
const uint32_t | hw_porta: 1 | ALT_GPIO_CFG_REG1_HW_PORTA |
const uint32_t | hw_portb: 1 | ALT_GPIO_CFG_REG1_HW_PORTB |
const uint32_t | hw_portc: 1 | ALT_GPIO_CFG_REG1_HW_PORTC |
const uint32_t | hw_portd: 1 | ALT_GPIO_CFG_REG1_HW_PORTD |
const uint32_t | porta_intr: 1 | ALT_GPIO_CFG_REG1_PORTA_INTR |
const uint32_t | debounce: 1 | ALT_GPIO_CFG_REG1_DEBOUNCE |
const uint32_t | add_encoded_params: 1 | ALT_GPIO_CFG_REG1_ADD_ENC_PARAMS |
const uint32_t | gpio_id: 1 | ALT_GPIO_CFG_REG1_GPIO_ID |
const uint32_t | encoded_id_width: 5 | ALT_GPIO_CFG_REG1_ENC_ID_WIDTH |
uint32_t | __pad0__: 11 | UNDEFINED |
#define ALT_GPIO_CFG_REG1_APB_DATA_WIDTH_E_WIDTH32BITS 0x2 |
Enumerated value for register field ALT_GPIO_CFG_REG1_APB_DATA_WIDTH
APB Data Width = 32-bits
#define ALT_GPIO_CFG_REG1_APB_DATA_WIDTH_LSB 0 |
The Least Significant Bit (LSB) position of the ALT_GPIO_CFG_REG1_APB_DATA_WIDTH register field.
#define ALT_GPIO_CFG_REG1_APB_DATA_WIDTH_MSB 1 |
The Most Significant Bit (MSB) position of the ALT_GPIO_CFG_REG1_APB_DATA_WIDTH register field.
#define ALT_GPIO_CFG_REG1_APB_DATA_WIDTH_WIDTH 2 |
The width in bits of the ALT_GPIO_CFG_REG1_APB_DATA_WIDTH register field.
#define ALT_GPIO_CFG_REG1_APB_DATA_WIDTH_SET_MSK 0x00000003 |
The mask used to set the ALT_GPIO_CFG_REG1_APB_DATA_WIDTH register field value.
#define ALT_GPIO_CFG_REG1_APB_DATA_WIDTH_CLR_MSK 0xfffffffc |
The mask used to clear the ALT_GPIO_CFG_REG1_APB_DATA_WIDTH register field value.
#define ALT_GPIO_CFG_REG1_APB_DATA_WIDTH_RESET 0x2 |
The reset value of the ALT_GPIO_CFG_REG1_APB_DATA_WIDTH register field.
#define ALT_GPIO_CFG_REG1_APB_DATA_WIDTH_GET | ( | value | ) | (((value) & 0x00000003) >> 0) |
Extracts the ALT_GPIO_CFG_REG1_APB_DATA_WIDTH field value from a register.
#define ALT_GPIO_CFG_REG1_APB_DATA_WIDTH_SET | ( | value | ) | (((value) << 0) & 0x00000003) |
Produces a ALT_GPIO_CFG_REG1_APB_DATA_WIDTH register field value suitable for setting the register.
#define ALT_GPIO_CFG_REG1_NUM_PORTS_E_ONEPORTA 0x0 |
Enumerated value for register field ALT_GPIO_CFG_REG1_NUM_PORTS
Number of GPIO Ports = 1
#define ALT_GPIO_CFG_REG1_NUM_PORTS_LSB 2 |
The Least Significant Bit (LSB) position of the ALT_GPIO_CFG_REG1_NUM_PORTS register field.
#define ALT_GPIO_CFG_REG1_NUM_PORTS_MSB 3 |
The Most Significant Bit (MSB) position of the ALT_GPIO_CFG_REG1_NUM_PORTS register field.
#define ALT_GPIO_CFG_REG1_NUM_PORTS_WIDTH 2 |
The width in bits of the ALT_GPIO_CFG_REG1_NUM_PORTS register field.
#define ALT_GPIO_CFG_REG1_NUM_PORTS_SET_MSK 0x0000000c |
The mask used to set the ALT_GPIO_CFG_REG1_NUM_PORTS register field value.
#define ALT_GPIO_CFG_REG1_NUM_PORTS_CLR_MSK 0xfffffff3 |
The mask used to clear the ALT_GPIO_CFG_REG1_NUM_PORTS register field value.
#define ALT_GPIO_CFG_REG1_NUM_PORTS_RESET 0x0 |
The reset value of the ALT_GPIO_CFG_REG1_NUM_PORTS register field.
#define ALT_GPIO_CFG_REG1_NUM_PORTS_GET | ( | value | ) | (((value) & 0x0000000c) >> 2) |
Extracts the ALT_GPIO_CFG_REG1_NUM_PORTS field value from a register.
#define ALT_GPIO_CFG_REG1_NUM_PORTS_SET | ( | value | ) | (((value) << 2) & 0x0000000c) |
Produces a ALT_GPIO_CFG_REG1_NUM_PORTS register field value suitable for setting the register.
#define ALT_GPIO_CFG_REG1_PORTA_SINGLE_CTL_E_SOFTCTLONLY 0x1 |
Enumerated value for register field ALT_GPIO_CFG_REG1_PORTA_SINGLE_CTL
Software Enabled Individual Port Control
#define ALT_GPIO_CFG_REG1_PORTA_SINGLE_CTL_LSB 4 |
The Least Significant Bit (LSB) position of the ALT_GPIO_CFG_REG1_PORTA_SINGLE_CTL register field.
#define ALT_GPIO_CFG_REG1_PORTA_SINGLE_CTL_MSB 4 |
The Most Significant Bit (MSB) position of the ALT_GPIO_CFG_REG1_PORTA_SINGLE_CTL register field.
#define ALT_GPIO_CFG_REG1_PORTA_SINGLE_CTL_WIDTH 1 |
The width in bits of the ALT_GPIO_CFG_REG1_PORTA_SINGLE_CTL register field.
#define ALT_GPIO_CFG_REG1_PORTA_SINGLE_CTL_SET_MSK 0x00000010 |
The mask used to set the ALT_GPIO_CFG_REG1_PORTA_SINGLE_CTL register field value.
#define ALT_GPIO_CFG_REG1_PORTA_SINGLE_CTL_CLR_MSK 0xffffffef |
The mask used to clear the ALT_GPIO_CFG_REG1_PORTA_SINGLE_CTL register field value.
#define ALT_GPIO_CFG_REG1_PORTA_SINGLE_CTL_RESET 0x1 |
The reset value of the ALT_GPIO_CFG_REG1_PORTA_SINGLE_CTL register field.
#define ALT_GPIO_CFG_REG1_PORTA_SINGLE_CTL_GET | ( | value | ) | (((value) & 0x00000010) >> 4) |
Extracts the ALT_GPIO_CFG_REG1_PORTA_SINGLE_CTL field value from a register.
#define ALT_GPIO_CFG_REG1_PORTA_SINGLE_CTL_SET | ( | value | ) | (((value) << 4) & 0x00000010) |
Produces a ALT_GPIO_CFG_REG1_PORTA_SINGLE_CTL register field value suitable for setting the register.
#define ALT_GPIO_CFG_REG1_PORTB_SINGLE_CTL_E_SOFTCTLONLY 0x1 |
Enumerated value for register field ALT_GPIO_CFG_REG1_PORTB_SINGLE_CTL
Software Enabled Individual Port Control
#define ALT_GPIO_CFG_REG1_PORTB_SINGLE_CTL_LSB 5 |
The Least Significant Bit (LSB) position of the ALT_GPIO_CFG_REG1_PORTB_SINGLE_CTL register field.
#define ALT_GPIO_CFG_REG1_PORTB_SINGLE_CTL_MSB 5 |
The Most Significant Bit (MSB) position of the ALT_GPIO_CFG_REG1_PORTB_SINGLE_CTL register field.
#define ALT_GPIO_CFG_REG1_PORTB_SINGLE_CTL_WIDTH 1 |
The width in bits of the ALT_GPIO_CFG_REG1_PORTB_SINGLE_CTL register field.
#define ALT_GPIO_CFG_REG1_PORTB_SINGLE_CTL_SET_MSK 0x00000020 |
The mask used to set the ALT_GPIO_CFG_REG1_PORTB_SINGLE_CTL register field value.
#define ALT_GPIO_CFG_REG1_PORTB_SINGLE_CTL_CLR_MSK 0xffffffdf |
The mask used to clear the ALT_GPIO_CFG_REG1_PORTB_SINGLE_CTL register field value.
#define ALT_GPIO_CFG_REG1_PORTB_SINGLE_CTL_RESET 0x1 |
The reset value of the ALT_GPIO_CFG_REG1_PORTB_SINGLE_CTL register field.
#define ALT_GPIO_CFG_REG1_PORTB_SINGLE_CTL_GET | ( | value | ) | (((value) & 0x00000020) >> 5) |
Extracts the ALT_GPIO_CFG_REG1_PORTB_SINGLE_CTL field value from a register.
#define ALT_GPIO_CFG_REG1_PORTB_SINGLE_CTL_SET | ( | value | ) | (((value) << 5) & 0x00000020) |
Produces a ALT_GPIO_CFG_REG1_PORTB_SINGLE_CTL register field value suitable for setting the register.
#define ALT_GPIO_CFG_REG1_PORTC_SINGLE_CTL_E_SOFTCTLONLY 0x1 |
Enumerated value for register field ALT_GPIO_CFG_REG1_PORTC_SINGLE_CTL
Software Enabled Individual Port Control
#define ALT_GPIO_CFG_REG1_PORTC_SINGLE_CTL_LSB 6 |
The Least Significant Bit (LSB) position of the ALT_GPIO_CFG_REG1_PORTC_SINGLE_CTL register field.
#define ALT_GPIO_CFG_REG1_PORTC_SINGLE_CTL_MSB 6 |
The Most Significant Bit (MSB) position of the ALT_GPIO_CFG_REG1_PORTC_SINGLE_CTL register field.
#define ALT_GPIO_CFG_REG1_PORTC_SINGLE_CTL_WIDTH 1 |
The width in bits of the ALT_GPIO_CFG_REG1_PORTC_SINGLE_CTL register field.
#define ALT_GPIO_CFG_REG1_PORTC_SINGLE_CTL_SET_MSK 0x00000040 |
The mask used to set the ALT_GPIO_CFG_REG1_PORTC_SINGLE_CTL register field value.
#define ALT_GPIO_CFG_REG1_PORTC_SINGLE_CTL_CLR_MSK 0xffffffbf |
The mask used to clear the ALT_GPIO_CFG_REG1_PORTC_SINGLE_CTL register field value.
#define ALT_GPIO_CFG_REG1_PORTC_SINGLE_CTL_RESET 0x1 |
The reset value of the ALT_GPIO_CFG_REG1_PORTC_SINGLE_CTL register field.
#define ALT_GPIO_CFG_REG1_PORTC_SINGLE_CTL_GET | ( | value | ) | (((value) & 0x00000040) >> 6) |
Extracts the ALT_GPIO_CFG_REG1_PORTC_SINGLE_CTL field value from a register.
#define ALT_GPIO_CFG_REG1_PORTC_SINGLE_CTL_SET | ( | value | ) | (((value) << 6) & 0x00000040) |
Produces a ALT_GPIO_CFG_REG1_PORTC_SINGLE_CTL register field value suitable for setting the register.
#define ALT_GPIO_CFG_REG1_PORTD_SINGLE_CTL_E_SOFTCTLONLY 0x1 |
Enumerated value for register field ALT_GPIO_CFG_REG1_PORTD_SINGLE_CTL
Software Enabled Individual Port Control
#define ALT_GPIO_CFG_REG1_PORTD_SINGLE_CTL_LSB 7 |
The Least Significant Bit (LSB) position of the ALT_GPIO_CFG_REG1_PORTD_SINGLE_CTL register field.
#define ALT_GPIO_CFG_REG1_PORTD_SINGLE_CTL_MSB 7 |
The Most Significant Bit (MSB) position of the ALT_GPIO_CFG_REG1_PORTD_SINGLE_CTL register field.
#define ALT_GPIO_CFG_REG1_PORTD_SINGLE_CTL_WIDTH 1 |
The width in bits of the ALT_GPIO_CFG_REG1_PORTD_SINGLE_CTL register field.
#define ALT_GPIO_CFG_REG1_PORTD_SINGLE_CTL_SET_MSK 0x00000080 |
The mask used to set the ALT_GPIO_CFG_REG1_PORTD_SINGLE_CTL register field value.
#define ALT_GPIO_CFG_REG1_PORTD_SINGLE_CTL_CLR_MSK 0xffffff7f |
The mask used to clear the ALT_GPIO_CFG_REG1_PORTD_SINGLE_CTL register field value.
#define ALT_GPIO_CFG_REG1_PORTD_SINGLE_CTL_RESET 0x1 |
The reset value of the ALT_GPIO_CFG_REG1_PORTD_SINGLE_CTL register field.
#define ALT_GPIO_CFG_REG1_PORTD_SINGLE_CTL_GET | ( | value | ) | (((value) & 0x00000080) >> 7) |
Extracts the ALT_GPIO_CFG_REG1_PORTD_SINGLE_CTL field value from a register.
#define ALT_GPIO_CFG_REG1_PORTD_SINGLE_CTL_SET | ( | value | ) | (((value) << 7) & 0x00000080) |
Produces a ALT_GPIO_CFG_REG1_PORTD_SINGLE_CTL register field value suitable for setting the register.
#define ALT_GPIO_CFG_REG1_HW_PORTA_E_PORTANOHARD 0x0 |
Enumerated value for register field ALT_GPIO_CFG_REG1_HW_PORTA
Software Configuration Control Enabled
#define ALT_GPIO_CFG_REG1_HW_PORTA_LSB 8 |
The Least Significant Bit (LSB) position of the ALT_GPIO_CFG_REG1_HW_PORTA register field.
#define ALT_GPIO_CFG_REG1_HW_PORTA_MSB 8 |
The Most Significant Bit (MSB) position of the ALT_GPIO_CFG_REG1_HW_PORTA register field.
#define ALT_GPIO_CFG_REG1_HW_PORTA_WIDTH 1 |
The width in bits of the ALT_GPIO_CFG_REG1_HW_PORTA register field.
#define ALT_GPIO_CFG_REG1_HW_PORTA_SET_MSK 0x00000100 |
The mask used to set the ALT_GPIO_CFG_REG1_HW_PORTA register field value.
#define ALT_GPIO_CFG_REG1_HW_PORTA_CLR_MSK 0xfffffeff |
The mask used to clear the ALT_GPIO_CFG_REG1_HW_PORTA register field value.
#define ALT_GPIO_CFG_REG1_HW_PORTA_RESET 0x0 |
The reset value of the ALT_GPIO_CFG_REG1_HW_PORTA register field.
#define ALT_GPIO_CFG_REG1_HW_PORTA_GET | ( | value | ) | (((value) & 0x00000100) >> 8) |
Extracts the ALT_GPIO_CFG_REG1_HW_PORTA field value from a register.
#define ALT_GPIO_CFG_REG1_HW_PORTA_SET | ( | value | ) | (((value) << 8) & 0x00000100) |
Produces a ALT_GPIO_CFG_REG1_HW_PORTA register field value suitable for setting the register.
#define ALT_GPIO_CFG_REG1_HW_PORTB_LSB 9 |
The Least Significant Bit (LSB) position of the ALT_GPIO_CFG_REG1_HW_PORTB register field.
#define ALT_GPIO_CFG_REG1_HW_PORTB_MSB 9 |
The Most Significant Bit (MSB) position of the ALT_GPIO_CFG_REG1_HW_PORTB register field.
#define ALT_GPIO_CFG_REG1_HW_PORTB_WIDTH 1 |
The width in bits of the ALT_GPIO_CFG_REG1_HW_PORTB register field.
#define ALT_GPIO_CFG_REG1_HW_PORTB_SET_MSK 0x00000200 |
The mask used to set the ALT_GPIO_CFG_REG1_HW_PORTB register field value.
#define ALT_GPIO_CFG_REG1_HW_PORTB_CLR_MSK 0xfffffdff |
The mask used to clear the ALT_GPIO_CFG_REG1_HW_PORTB register field value.
#define ALT_GPIO_CFG_REG1_HW_PORTB_RESET 0x0 |
The reset value of the ALT_GPIO_CFG_REG1_HW_PORTB register field.
#define ALT_GPIO_CFG_REG1_HW_PORTB_GET | ( | value | ) | (((value) & 0x00000200) >> 9) |
Extracts the ALT_GPIO_CFG_REG1_HW_PORTB field value from a register.
#define ALT_GPIO_CFG_REG1_HW_PORTB_SET | ( | value | ) | (((value) << 9) & 0x00000200) |
Produces a ALT_GPIO_CFG_REG1_HW_PORTB register field value suitable for setting the register.
#define ALT_GPIO_CFG_REG1_HW_PORTC_LSB 10 |
The Least Significant Bit (LSB) position of the ALT_GPIO_CFG_REG1_HW_PORTC register field.
#define ALT_GPIO_CFG_REG1_HW_PORTC_MSB 10 |
The Most Significant Bit (MSB) position of the ALT_GPIO_CFG_REG1_HW_PORTC register field.
#define ALT_GPIO_CFG_REG1_HW_PORTC_WIDTH 1 |
The width in bits of the ALT_GPIO_CFG_REG1_HW_PORTC register field.
#define ALT_GPIO_CFG_REG1_HW_PORTC_SET_MSK 0x00000400 |
The mask used to set the ALT_GPIO_CFG_REG1_HW_PORTC register field value.
#define ALT_GPIO_CFG_REG1_HW_PORTC_CLR_MSK 0xfffffbff |
The mask used to clear the ALT_GPIO_CFG_REG1_HW_PORTC register field value.
#define ALT_GPIO_CFG_REG1_HW_PORTC_RESET 0x0 |
The reset value of the ALT_GPIO_CFG_REG1_HW_PORTC register field.
#define ALT_GPIO_CFG_REG1_HW_PORTC_GET | ( | value | ) | (((value) & 0x00000400) >> 10) |
Extracts the ALT_GPIO_CFG_REG1_HW_PORTC field value from a register.
#define ALT_GPIO_CFG_REG1_HW_PORTC_SET | ( | value | ) | (((value) << 10) & 0x00000400) |
Produces a ALT_GPIO_CFG_REG1_HW_PORTC register field value suitable for setting the register.
#define ALT_GPIO_CFG_REG1_HW_PORTD_LSB 11 |
The Least Significant Bit (LSB) position of the ALT_GPIO_CFG_REG1_HW_PORTD register field.
#define ALT_GPIO_CFG_REG1_HW_PORTD_MSB 11 |
The Most Significant Bit (MSB) position of the ALT_GPIO_CFG_REG1_HW_PORTD register field.
#define ALT_GPIO_CFG_REG1_HW_PORTD_WIDTH 1 |
The width in bits of the ALT_GPIO_CFG_REG1_HW_PORTD register field.
#define ALT_GPIO_CFG_REG1_HW_PORTD_SET_MSK 0x00000800 |
The mask used to set the ALT_GPIO_CFG_REG1_HW_PORTD register field value.
#define ALT_GPIO_CFG_REG1_HW_PORTD_CLR_MSK 0xfffff7ff |
The mask used to clear the ALT_GPIO_CFG_REG1_HW_PORTD register field value.
#define ALT_GPIO_CFG_REG1_HW_PORTD_RESET 0x0 |
The reset value of the ALT_GPIO_CFG_REG1_HW_PORTD register field.
#define ALT_GPIO_CFG_REG1_HW_PORTD_GET | ( | value | ) | (((value) & 0x00000800) >> 11) |
Extracts the ALT_GPIO_CFG_REG1_HW_PORTD field value from a register.
#define ALT_GPIO_CFG_REG1_HW_PORTD_SET | ( | value | ) | (((value) << 11) & 0x00000800) |
Produces a ALT_GPIO_CFG_REG1_HW_PORTD register field value suitable for setting the register.
#define ALT_GPIO_CFG_REG1_PORTA_INTR_E_PORTAINTERR 0x1 |
Enumerated value for register field ALT_GPIO_CFG_REG1_PORTA_INTR
Port A Interrupts Enabled
#define ALT_GPIO_CFG_REG1_PORTA_INTR_LSB 12 |
The Least Significant Bit (LSB) position of the ALT_GPIO_CFG_REG1_PORTA_INTR register field.
#define ALT_GPIO_CFG_REG1_PORTA_INTR_MSB 12 |
The Most Significant Bit (MSB) position of the ALT_GPIO_CFG_REG1_PORTA_INTR register field.
#define ALT_GPIO_CFG_REG1_PORTA_INTR_WIDTH 1 |
The width in bits of the ALT_GPIO_CFG_REG1_PORTA_INTR register field.
#define ALT_GPIO_CFG_REG1_PORTA_INTR_SET_MSK 0x00001000 |
The mask used to set the ALT_GPIO_CFG_REG1_PORTA_INTR register field value.
#define ALT_GPIO_CFG_REG1_PORTA_INTR_CLR_MSK 0xffffefff |
The mask used to clear the ALT_GPIO_CFG_REG1_PORTA_INTR register field value.
#define ALT_GPIO_CFG_REG1_PORTA_INTR_RESET 0x1 |
The reset value of the ALT_GPIO_CFG_REG1_PORTA_INTR register field.
#define ALT_GPIO_CFG_REG1_PORTA_INTR_GET | ( | value | ) | (((value) & 0x00001000) >> 12) |
Extracts the ALT_GPIO_CFG_REG1_PORTA_INTR field value from a register.
#define ALT_GPIO_CFG_REG1_PORTA_INTR_SET | ( | value | ) | (((value) << 12) & 0x00001000) |
Produces a ALT_GPIO_CFG_REG1_PORTA_INTR register field value suitable for setting the register.
#define ALT_GPIO_CFG_REG1_DEBOUNCE_E_DEBOUNCEA 0x1 |
Enumerated value for register field ALT_GPIO_CFG_REG1_DEBOUNCE
Debounce is Enabled
#define ALT_GPIO_CFG_REG1_DEBOUNCE_LSB 13 |
The Least Significant Bit (LSB) position of the ALT_GPIO_CFG_REG1_DEBOUNCE register field.
#define ALT_GPIO_CFG_REG1_DEBOUNCE_MSB 13 |
The Most Significant Bit (MSB) position of the ALT_GPIO_CFG_REG1_DEBOUNCE register field.
#define ALT_GPIO_CFG_REG1_DEBOUNCE_WIDTH 1 |
The width in bits of the ALT_GPIO_CFG_REG1_DEBOUNCE register field.
#define ALT_GPIO_CFG_REG1_DEBOUNCE_SET_MSK 0x00002000 |
The mask used to set the ALT_GPIO_CFG_REG1_DEBOUNCE register field value.
#define ALT_GPIO_CFG_REG1_DEBOUNCE_CLR_MSK 0xffffdfff |
The mask used to clear the ALT_GPIO_CFG_REG1_DEBOUNCE register field value.
#define ALT_GPIO_CFG_REG1_DEBOUNCE_RESET 0x1 |
The reset value of the ALT_GPIO_CFG_REG1_DEBOUNCE register field.
#define ALT_GPIO_CFG_REG1_DEBOUNCE_GET | ( | value | ) | (((value) & 0x00002000) >> 13) |
Extracts the ALT_GPIO_CFG_REG1_DEBOUNCE field value from a register.
#define ALT_GPIO_CFG_REG1_DEBOUNCE_SET | ( | value | ) | (((value) << 13) & 0x00002000) |
Produces a ALT_GPIO_CFG_REG1_DEBOUNCE register field value suitable for setting the register.
#define ALT_GPIO_CFG_REG1_ADD_ENC_PARAMS_E_ADDENCPARAMS 0x1 |
Enumerated value for register field ALT_GPIO_CFG_REG1_ADD_ENC_PARAMS
Enable IP indentification
#define ALT_GPIO_CFG_REG1_ADD_ENC_PARAMS_LSB 14 |
The Least Significant Bit (LSB) position of the ALT_GPIO_CFG_REG1_ADD_ENC_PARAMS register field.
#define ALT_GPIO_CFG_REG1_ADD_ENC_PARAMS_MSB 14 |
The Most Significant Bit (MSB) position of the ALT_GPIO_CFG_REG1_ADD_ENC_PARAMS register field.
#define ALT_GPIO_CFG_REG1_ADD_ENC_PARAMS_WIDTH 1 |
The width in bits of the ALT_GPIO_CFG_REG1_ADD_ENC_PARAMS register field.
#define ALT_GPIO_CFG_REG1_ADD_ENC_PARAMS_SET_MSK 0x00004000 |
The mask used to set the ALT_GPIO_CFG_REG1_ADD_ENC_PARAMS register field value.
#define ALT_GPIO_CFG_REG1_ADD_ENC_PARAMS_CLR_MSK 0xffffbfff |
The mask used to clear the ALT_GPIO_CFG_REG1_ADD_ENC_PARAMS register field value.
#define ALT_GPIO_CFG_REG1_ADD_ENC_PARAMS_RESET 0x1 |
The reset value of the ALT_GPIO_CFG_REG1_ADD_ENC_PARAMS register field.
#define ALT_GPIO_CFG_REG1_ADD_ENC_PARAMS_GET | ( | value | ) | (((value) & 0x00004000) >> 14) |
Extracts the ALT_GPIO_CFG_REG1_ADD_ENC_PARAMS field value from a register.
#define ALT_GPIO_CFG_REG1_ADD_ENC_PARAMS_SET | ( | value | ) | (((value) << 14) & 0x00004000) |
Produces a ALT_GPIO_CFG_REG1_ADD_ENC_PARAMS register field value suitable for setting the register.
#define ALT_GPIO_CFG_REG1_GPIO_ID_E_IDCODE 0x1 |
Enumerated value for register field ALT_GPIO_CFG_REG1_GPIO_ID
GPIO ID Code
#define ALT_GPIO_CFG_REG1_GPIO_ID_LSB 15 |
The Least Significant Bit (LSB) position of the ALT_GPIO_CFG_REG1_GPIO_ID register field.
#define ALT_GPIO_CFG_REG1_GPIO_ID_MSB 15 |
The Most Significant Bit (MSB) position of the ALT_GPIO_CFG_REG1_GPIO_ID register field.
#define ALT_GPIO_CFG_REG1_GPIO_ID_WIDTH 1 |
The width in bits of the ALT_GPIO_CFG_REG1_GPIO_ID register field.
#define ALT_GPIO_CFG_REG1_GPIO_ID_SET_MSK 0x00008000 |
The mask used to set the ALT_GPIO_CFG_REG1_GPIO_ID register field value.
#define ALT_GPIO_CFG_REG1_GPIO_ID_CLR_MSK 0xffff7fff |
The mask used to clear the ALT_GPIO_CFG_REG1_GPIO_ID register field value.
#define ALT_GPIO_CFG_REG1_GPIO_ID_RESET 0x1 |
The reset value of the ALT_GPIO_CFG_REG1_GPIO_ID register field.
#define ALT_GPIO_CFG_REG1_GPIO_ID_GET | ( | value | ) | (((value) & 0x00008000) >> 15) |
Extracts the ALT_GPIO_CFG_REG1_GPIO_ID field value from a register.
#define ALT_GPIO_CFG_REG1_GPIO_ID_SET | ( | value | ) | (((value) << 15) & 0x00008000) |
Produces a ALT_GPIO_CFG_REG1_GPIO_ID register field value suitable for setting the register.
#define ALT_GPIO_CFG_REG1_ENC_ID_WIDTH_E_ENCIDWIDTH 0x1f |
Enumerated value for register field ALT_GPIO_CFG_REG1_ENC_ID_WIDTH
Width of ID Field
#define ALT_GPIO_CFG_REG1_ENC_ID_WIDTH_LSB 16 |
The Least Significant Bit (LSB) position of the ALT_GPIO_CFG_REG1_ENC_ID_WIDTH register field.
#define ALT_GPIO_CFG_REG1_ENC_ID_WIDTH_MSB 20 |
The Most Significant Bit (MSB) position of the ALT_GPIO_CFG_REG1_ENC_ID_WIDTH register field.
#define ALT_GPIO_CFG_REG1_ENC_ID_WIDTH_WIDTH 5 |
The width in bits of the ALT_GPIO_CFG_REG1_ENC_ID_WIDTH register field.
#define ALT_GPIO_CFG_REG1_ENC_ID_WIDTH_SET_MSK 0x001f0000 |
The mask used to set the ALT_GPIO_CFG_REG1_ENC_ID_WIDTH register field value.
#define ALT_GPIO_CFG_REG1_ENC_ID_WIDTH_CLR_MSK 0xffe0ffff |
The mask used to clear the ALT_GPIO_CFG_REG1_ENC_ID_WIDTH register field value.
#define ALT_GPIO_CFG_REG1_ENC_ID_WIDTH_RESET 0x1f |
The reset value of the ALT_GPIO_CFG_REG1_ENC_ID_WIDTH register field.
#define ALT_GPIO_CFG_REG1_ENC_ID_WIDTH_GET | ( | value | ) | (((value) & 0x001f0000) >> 16) |
Extracts the ALT_GPIO_CFG_REG1_ENC_ID_WIDTH field value from a register.
#define ALT_GPIO_CFG_REG1_ENC_ID_WIDTH_SET | ( | value | ) | (((value) << 16) & 0x001f0000) |
Produces a ALT_GPIO_CFG_REG1_ENC_ID_WIDTH register field value suitable for setting the register.
#define ALT_GPIO_CFG_REG1_RESET 0x001ff0f2 |
The reset value of the ALT_GPIO_CFG_REG1 register.
#define ALT_GPIO_CFG_REG1_OFST 0x74 |
The byte offset of the ALT_GPIO_CFG_REG1 register from the beginning of the component.
#define ALT_GPIO_CFG_REG1_ADDR | ( | base | ) | ALT_CAST(void *, (ALT_CAST(char *, (base)) + ALT_GPIO_CFG_REG1_OFST)) |
The address of the ALT_GPIO_CFG_REG1 register.
typedef struct ALT_GPIO_CFG_REG1_s ALT_GPIO_CFG_REG1_t |
The typedef declaration for register ALT_GPIO_CFG_REG1.