Ameba-D User Manual
User Manual All information provided in this document is subject to legal disclaimers. © REALTEK 2019. All rights reserved.
78
Bit
Name
Access
Description
31:
GPIO_PWIDTH_A
Reserved
Read as zero
Reserved
GPIO_PWIDTH_A
–1:0
Interrupt mask
R/W
Controls whether an interrupt on Port A can create an interrupt for
the interrupt controller by not masking it. By default, all interrupts
bits are unmasked. Whenever a 1 is written to a bit in this register, it
masks the interrupt generation capability for this signal; otherwise
interrupts are allowed through. The unmasked status can be read as
well as the resultant status after masking.
0 – Interrupt bits are unmasked (default)
1 – Mask interrupt
Reset Value:
0x0
8.3.3.15
gpio_inttype_level
Name:
Interrupt level
Size:
GPIO_PWIDTH_A
Address offset
: 0x38
Read/write access
: read/write
This register is available only if Port A is configured to generate interrupts (GPIO_PORTA_INTR = Include (1)).
Bit
Name
Access
Description
31:
GPIO_PWIDTH_A
Reserved
Read as zero
Reserved
GPIO_PWIDTH_A
–1:0
Interrupt level
R/W
Controls the type of interrupt that can occur on Port A.
Whenever a 0 is written to a bit of this register, it configures the
interrupt type to be level-sensitive; otherwise, it is edge-sensitive.
0 – Level-sensitive (default)
1 – Edge-sensitive
Reset Value:
0x0
8.3.3.16
gpio_int_polarity
Name:
Interrupt polarity
Size:
GPIO_PWIDTH_A
Address offset
: 0x3C
Read/write access
: read/write
This register is available only if Port A is configured to generate interrupts (GPIO_PORTA_INTR = Include (1)).
Bit
Name
Access
Description
31:
GPIO_PWIDTH_A
Reserved
Read as zero
Reserved
GPIO_PWIDTH_A
–1:0
Interrupt polarity
R/W
Controls the polarity of edge or level sensitivity that can occur on
input of Port A. Whenever a 0 is written to a bit of this register, it
configures the interrupt type to falling-edge or active-low sensitive;
otherwise, it is rising-edge or active-high sensitive.
Realtek confidential files
The document authorized to
SZ99iot
2019-05-15 10:08:03