\n
address_offset : 0x0 Bytes (0x0)
size : 0x4 byte (0x0)
mem_usage : registers
protection :
address_offset : 0x8 Bytes (0x0)
size : 0x4 byte (0x0)
mem_usage : registers
protection :
address_offset : 0x10 Bytes (0x0)
size : 0x4 byte (0x0)
mem_usage : registers
protection :
address_offset : 0x18 Bytes (0x0)
size : 0xC byte (0x0)
mem_usage : registers
protection :
address_offset : 0x40 Bytes (0x0)
size : 0x4 byte (0x0)
mem_usage : registers
protection :
address_offset : 0x48 Bytes (0x0)
size : 0x4 byte (0x0)
mem_usage : registers
protection :
address_offset : 0x50 Bytes (0x0)
size : 0x4 byte (0x0)
mem_usage : registers
protection :
address_offset : 0x58 Bytes (0x0)
size : 0xC byte (0x0)
mem_usage : registers
protection :
address_offset : 0x800 Bytes (0x0)
size : 0x58 byte (0x0)
mem_usage : registers
protection :
GPIO PA Pin I/O Mode Control
address_offset : 0x0 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
MODE0 : Port [A/B] Pin[N] I/O Mode Control
Each GPIO Px pin has four modes:
Note: PB_MODE[15:6] are reserved to 0.
bits : 0 - 1 (2 bit)
access : read-write
Enumeration:
#00 : 0
GPIO Px[n] pin is in INPUT mode
#01 : 1
GPIO Px[n] pin is in OUTPUT mode
#10 : 2
GPIO Px[n] pin is in Open-Drain mode
#11 : 3
GPIO Px[n] pin is in Quasi-bidirectional mode
End of enumeration elements list.
MODE1 : Port [A/B] Pin[N] I/O Mode Control
Each GPIO Px pin has four modes:
Note: PB_MODE[15:6] are reserved to 0.
bits : 2 - 3 (2 bit)
access : read-write
Enumeration:
#00 : 0
GPIO Px[n] pin is in INPUT mode
#01 : 1
GPIO Px[n] pin is in OUTPUT mode
#10 : 2
GPIO Px[n] pin is in Open-Drain mode
#11 : 3
GPIO Px[n] pin is in Quasi-bidirectional mode
End of enumeration elements list.
MODE2 : Port [A/B] Pin[N] I/O Mode Control
Each GPIO Px pin has four modes:
Note: PB_MODE[15:6] are reserved to 0.
bits : 4 - 5 (2 bit)
access : read-write
Enumeration:
#00 : 0
GPIO Px[n] pin is in INPUT mode
#01 : 1
GPIO Px[n] pin is in OUTPUT mode
#10 : 2
GPIO Px[n] pin is in Open-Drain mode
#11 : 3
GPIO Px[n] pin is in Quasi-bidirectional mode
End of enumeration elements list.
MODE3 : Port [A/B] Pin[N] I/O Mode Control
Each GPIO Px pin has four modes:
Note: PB_MODE[15:6] are reserved to 0.
bits : 6 - 7 (2 bit)
access : read-write
Enumeration:
#00 : 0
GPIO Px[n] pin is in INPUT mode
#01 : 1
GPIO Px[n] pin is in OUTPUT mode
#10 : 2
GPIO Px[n] pin is in Open-Drain mode
#11 : 3
GPIO Px[n] pin is in Quasi-bidirectional mode
End of enumeration elements list.
MODE4 : Port [A/B] Pin[N] I/O Mode Control
Each GPIO Px pin has four modes:
Note: PB_MODE[15:6] are reserved to 0.
bits : 8 - 9 (2 bit)
access : read-write
Enumeration:
#00 : 0
GPIO Px[n] pin is in INPUT mode
#01 : 1
GPIO Px[n] pin is in OUTPUT mode
#10 : 2
GPIO Px[n] pin is in Open-Drain mode
#11 : 3
GPIO Px[n] pin is in Quasi-bidirectional mode
End of enumeration elements list.
MODE5 : Port [A/B] Pin[N] I/O Mode Control
Each GPIO Px pin has four modes:
Note: PB_MODE[15:6] are reserved to 0.
bits : 10 - 11 (2 bit)
access : read-write
Enumeration:
#00 : 0
GPIO Px[n] pin is in INPUT mode
#01 : 1
GPIO Px[n] pin is in OUTPUT mode
#10 : 2
GPIO Px[n] pin is in Open-Drain mode
#11 : 3
GPIO Px[n] pin is in Quasi-bidirectional mode
End of enumeration elements list.
MODE6 : Port [A/B] Pin[N] I/O Mode Control
Each GPIO Px pin has four modes:
Note: PB_MODE[15:6] are reserved to 0.
bits : 12 - 13 (2 bit)
access : read-write
Enumeration:
#00 : 0
GPIO Px[n] pin is in INPUT mode
#01 : 1
GPIO Px[n] pin is in OUTPUT mode
#10 : 2
GPIO Px[n] pin is in Open-Drain mode
#11 : 3
GPIO Px[n] pin is in Quasi-bidirectional mode
End of enumeration elements list.
MODE7 : Port [A/B] Pin[N] I/O Mode Control
Each GPIO Px pin has four modes:
Note: PB_MODE[15:6] are reserved to 0.
bits : 14 - 15 (2 bit)
access : read-write
Enumeration:
#00 : 0
GPIO Px[n] pin is in INPUT mode
#01 : 1
GPIO Px[n] pin is in OUTPUT mode
#10 : 2
GPIO Px[n] pin is in Open-Drain mode
#11 : 3
GPIO Px[n] pin is in Quasi-bidirectional mode
End of enumeration elements list.
MODE8 : Port [A/B] Pin[N] I/O Mode Control
Each GPIO Px pin has four modes:
Note: PB_MODE[15:6] are reserved to 0.
bits : 16 - 17 (2 bit)
access : read-write
Enumeration:
#00 : 0
GPIO Px[n] pin is in INPUT mode
#01 : 1
GPIO Px[n] pin is in OUTPUT mode
#10 : 2
GPIO Px[n] pin is in Open-Drain mode
#11 : 3
GPIO Px[n] pin is in Quasi-bidirectional mode
End of enumeration elements list.
MODE9 : Port [A/B] Pin[N] I/O Mode Control
Each GPIO Px pin has four modes:
Note: PB_MODE[15:6] are reserved to 0.
bits : 18 - 19 (2 bit)
access : read-write
Enumeration:
#00 : 0
GPIO Px[n] pin is in INPUT mode
#01 : 1
GPIO Px[n] pin is in OUTPUT mode
#10 : 2
GPIO Px[n] pin is in Open-Drain mode
#11 : 3
GPIO Px[n] pin is in Quasi-bidirectional mode
End of enumeration elements list.
MODE10 : Port [A/B] Pin[N] I/O Mode Control
Each GPIO Px pin has four modes:
Note: PB_MODE[15:6] are reserved to 0.
bits : 20 - 21 (2 bit)
access : read-write
Enumeration:
#00 : 0
GPIO Px[n] pin is in INPUT mode
#01 : 1
GPIO Px[n] pin is in OUTPUT mode
#10 : 2
GPIO Px[n] pin is in Open-Drain mode
#11 : 3
GPIO Px[n] pin is in Quasi-bidirectional mode
End of enumeration elements list.
MODE11 : Port [A/B] Pin[N] I/O Mode Control
Each GPIO Px pin has four modes:
Note: PB_MODE[15:6] are reserved to 0.
bits : 22 - 23 (2 bit)
access : read-write
Enumeration:
#00 : 0
GPIO Px[n] pin is in INPUT mode
#01 : 1
GPIO Px[n] pin is in OUTPUT mode
#10 : 2
GPIO Px[n] pin is in Open-Drain mode
#11 : 3
GPIO Px[n] pin is in Quasi-bidirectional mode
End of enumeration elements list.
MODE12 : Port [A/B] Pin[N] I/O Mode Control
Each GPIO Px pin has four modes:
Note: PB_MODE[15:6] are reserved to 0.
bits : 24 - 25 (2 bit)
access : read-write
Enumeration:
#00 : 0
GPIO Px[n] pin is in INPUT mode
#01 : 1
GPIO Px[n] pin is in OUTPUT mode
#10 : 2
GPIO Px[n] pin is in Open-Drain mode
#11 : 3
GPIO Px[n] pin is in Quasi-bidirectional mode
End of enumeration elements list.
MODE13 : Port [A/B] Pin[N] I/O Mode Control
Each GPIO Px pin has four modes:
Note: PB_MODE[15:6] are reserved to 0.
bits : 26 - 27 (2 bit)
access : read-write
Enumeration:
#00 : 0
GPIO Px[n] pin is in INPUT mode
#01 : 1
GPIO Px[n] pin is in OUTPUT mode
#10 : 2
GPIO Px[n] pin is in Open-Drain mode
#11 : 3
GPIO Px[n] pin is in Quasi-bidirectional mode
End of enumeration elements list.
MODE14 : Port [A/B] Pin[N] I/O Mode Control
Each GPIO Px pin has four modes:
Note: PB_MODE[15:6] are reserved to 0.
bits : 28 - 29 (2 bit)
access : read-write
Enumeration:
#00 : 0
GPIO Px[n] pin is in INPUT mode
#01 : 1
GPIO Px[n] pin is in OUTPUT mode
#10 : 2
GPIO Px[n] pin is in Open-Drain mode
#11 : 3
GPIO Px[n] pin is in Quasi-bidirectional mode
End of enumeration elements list.
MODE15 : Port [A/B] Pin[N] I/O Mode Control
Each GPIO Px pin has four modes:
Note: PB_MODE[15:6] are reserved to 0.
bits : 30 - 31 (2 bit)
access : read-write
Enumeration:
#00 : 0
GPIO Px[n] pin is in INPUT mode
#01 : 1
GPIO Px[n] pin is in OUTPUT mode
#10 : 2
GPIO Px[n] pin is in Open-Drain mode
#11 : 3
GPIO Px[n] pin is in Quasi-bidirectional mode
End of enumeration elements list.
GPIO PA Pin Value
address_offset : 0x10 Bytes (0x0)
size : -1 bit
access : read-only
reset_value : 0x0
reset_Mask : 0x0
PIN : Port [A/B] Pin[N] Pin Values
Each bit of the register reflects the actual status of the respective Px.n pin. If the bit is 1, it indicates the corresponding pin status is high else the pin status is low.
Note: PB_PIN[15:6] are reserved to 0.
bits : 0 - 15 (16 bit)
access : read-only
GPIO PA Interrupt Trigger Type
address_offset : 0x18 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
TYPE : Port [A/B] Pin[N] Edge Or Level Detection Interrupt Trigger Type Control
TYPE[n] is used to control whether the interrupt mode is level triggered or edge triggered. If the interrupt mode is level triggered, the input source is sampled by one HCLK clock to generate the interrupt
Note: If level triggered interrupt is selected, then only one level can be selected in the Px_INTEN register. If both levels are set, the setting is ignored and no interrupt will occur
bits : 0 - 15 (16 bit)
access : read-write
Enumeration:
0 : 0
Edge triggered interrupt
1 : 1
Level triggered interrupt
End of enumeration elements list.
GPIO PA Interrupt Enable
address_offset : 0x1C Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
FLIEN0 : Port [A/B] Interrupt Enable By Input Falling Edge Or Input Level Low
FLIEN[n] is used to enable the falling/low-level interrupt for each of the corresponding input Px.n pin. To set 1 also enables the pin wake-up function.
When setting the FLIEN[n] (Px_INTEN[n]) bit to 1 :
If the interrupt is configured as level trigger mode (TYPE[n] is set to 1), one interrupt will occur while the input Px.n state is at low level.
If the interrupt is configured as edge trigger mode (TYPE[n] is set to 0), one interrupt will occur while he input Px.n state changes from high to low.
bits : 0 - 0 (1 bit)
access : read-write
Enumeration:
#0 : 0
Disable Px.n for low-level or high-to-low interrupt
#1 : 1
Enable Px.n for low-level or high-to-low interrupt
End of enumeration elements list.
FLIEN1 : Port [A/B] Interrupt Enable By Input Falling Edge Or Input Level Low
FLIEN[n] is used to enable the falling/low-level interrupt for each of the corresponding input Px.n pin. To set 1 also enables the pin wake-up function.
When setting the FLIEN[n] (Px_INTEN[n]) bit to 1 :
If the interrupt is configured as level trigger mode (TYPE[n] is set to 1), one interrupt will occur while the input Px.n state is at low level.
If the interrupt is configured as edge trigger mode (TYPE[n] is set to 0), one interrupt will occur while he input Px.n state changes from high to low.
bits : 1 - 1 (1 bit)
access : read-write
Enumeration:
#0 : 0
Disable Px.n for low-level or high-to-low interrupt
#1 : 1
Enable Px.n for low-level or high-to-low interrupt
End of enumeration elements list.
FLIEN2 : Port [A/B] Interrupt Enable By Input Falling Edge Or Input Level Low
FLIEN[n] is used to enable the falling/low-level interrupt for each of the corresponding input Px.n pin. To set 1 also enables the pin wake-up function.
When setting the FLIEN[n] (Px_INTEN[n]) bit to 1 :
If the interrupt is configured as level trigger mode (TYPE[n] is set to 1), one interrupt will occur while the input Px.n state is at low level.
If the interrupt is configured as edge trigger mode (TYPE[n] is set to 0), one interrupt will occur while he input Px.n state changes from high to low.
bits : 2 - 2 (1 bit)
access : read-write
Enumeration:
#0 : 0
Disable Px.n for low-level or high-to-low interrupt
#1 : 1
Enable Px.n for low-level or high-to-low interrupt
End of enumeration elements list.
FLIEN3 : Port [A/B] Interrupt Enable By Input Falling Edge Or Input Level Low
FLIEN[n] is used to enable the falling/low-level interrupt for each of the corresponding input Px.n pin. To set 1 also enables the pin wake-up function.
When setting the FLIEN[n] (Px_INTEN[n]) bit to 1 :
If the interrupt is configured as level trigger mode (TYPE[n] is set to 1), one interrupt will occur while the input Px.n state is at low level.
If the interrupt is configured as edge trigger mode (TYPE[n] is set to 0), one interrupt will occur while he input Px.n state changes from high to low.
bits : 3 - 3 (1 bit)
access : read-write
Enumeration:
#0 : 0
Disable Px.n for low-level or high-to-low interrupt
#1 : 1
Enable Px.n for low-level or high-to-low interrupt
End of enumeration elements list.
FLIEN4 : Port [A/B] Interrupt Enable By Input Falling Edge Or Input Level Low
FLIEN[n] is used to enable the falling/low-level interrupt for each of the corresponding input Px.n pin. To set 1 also enables the pin wake-up function.
When setting the FLIEN[n] (Px_INTEN[n]) bit to 1 :
If the interrupt is configured as level trigger mode (TYPE[n] is set to 1), one interrupt will occur while the input Px.n state is at low level.
If the interrupt is configured as edge trigger mode (TYPE[n] is set to 0), one interrupt will occur while he input Px.n state changes from high to low.
bits : 4 - 4 (1 bit)
access : read-write
Enumeration:
#0 : 0
Disable Px.n for low-level or high-to-low interrupt
#1 : 1
Enable Px.n for low-level or high-to-low interrupt
End of enumeration elements list.
FLIEN5 : Port [A/B] Interrupt Enable By Input Falling Edge Or Input Level Low
FLIEN[n] is used to enable the falling/low-level interrupt for each of the corresponding input Px.n pin. To set 1 also enables the pin wake-up function.
When setting the FLIEN[n] (Px_INTEN[n]) bit to 1 :
If the interrupt is configured as level trigger mode (TYPE[n] is set to 1), one interrupt will occur while the input Px.n state is at low level.
If the interrupt is configured as edge trigger mode (TYPE[n] is set to 0), one interrupt will occur while he input Px.n state changes from high to low.
bits : 5 - 5 (1 bit)
access : read-write
Enumeration:
#0 : 0
Disable Px.n for low-level or high-to-low interrupt
#1 : 1
Enable Px.n for low-level or high-to-low interrupt
End of enumeration elements list.
FLIEN6 : Port [A/B] Interrupt Enable By Input Falling Edge Or Input Level Low
FLIEN[n] is used to enable the falling/low-level interrupt for each of the corresponding input Px.n pin. To set 1 also enables the pin wake-up function.
When setting the FLIEN[n] (Px_INTEN[n]) bit to 1 :
If the interrupt is configured as level trigger mode (TYPE[n] is set to 1), one interrupt will occur while the input Px.n state is at low level.
If the interrupt is configured as edge trigger mode (TYPE[n] is set to 0), one interrupt will occur while he input Px.n state changes from high to low.
bits : 6 - 6 (1 bit)
access : read-write
Enumeration:
#0 : 0
Disable Px.n for low-level or high-to-low interrupt
#1 : 1
Enable Px.n for low-level or high-to-low interrupt
End of enumeration elements list.
FLIEN7 : Port [A/B] Interrupt Enable By Input Falling Edge Or Input Level Low
FLIEN[n] is used to enable the falling/low-level interrupt for each of the corresponding input Px.n pin. To set 1 also enables the pin wake-up function.
When setting the FLIEN[n] (Px_INTEN[n]) bit to 1 :
If the interrupt is configured as level trigger mode (TYPE[n] is set to 1), one interrupt will occur while the input Px.n state is at low level.
If the interrupt is configured as edge trigger mode (TYPE[n] is set to 0), one interrupt will occur while he input Px.n state changes from high to low.
bits : 7 - 7 (1 bit)
access : read-write
Enumeration:
#0 : 0
Disable Px.n for low-level or high-to-low interrupt
#1 : 1
Enable Px.n for low-level or high-to-low interrupt
End of enumeration elements list.
FLIEN8 : Port [A/B] Interrupt Enable By Input Falling Edge Or Input Level Low
FLIEN[n] is used to enable the falling/low-level interrupt for each of the corresponding input Px.n pin. To set 1 also enables the pin wake-up function.
When setting the FLIEN[n] (Px_INTEN[n]) bit to 1 :
If the interrupt is configured as level trigger mode (TYPE[n] is set to 1), one interrupt will occur while the input Px.n state is at low level.
If the interrupt is configured as edge trigger mode (TYPE[n] is set to 0), one interrupt will occur while he input Px.n state changes from high to low.
bits : 8 - 8 (1 bit)
access : read-write
Enumeration:
#0 : 0
Disable Px.n for low-level or high-to-low interrupt
#1 : 1
Enable Px.n for low-level or high-to-low interrupt
End of enumeration elements list.
FLIEN9 : Port [A/B] Interrupt Enable By Input Falling Edge Or Input Level Low
FLIEN[n] is used to enable the falling/low-level interrupt for each of the corresponding input Px.n pin. To set 1 also enables the pin wake-up function.
When setting the FLIEN[n] (Px_INTEN[n]) bit to 1 :
If the interrupt is configured as level trigger mode (TYPE[n] is set to 1), one interrupt will occur while the input Px.n state is at low level.
If the interrupt is configured as edge trigger mode (TYPE[n] is set to 0), one interrupt will occur while he input Px.n state changes from high to low.
bits : 9 - 9 (1 bit)
access : read-write
Enumeration:
#0 : 0
Disable Px.n for low-level or high-to-low interrupt
#1 : 1
Enable Px.n for low-level or high-to-low interrupt
End of enumeration elements list.
FLIEN10 : Port [A/B] Interrupt Enable By Input Falling Edge Or Input Level Low
FLIEN[n] is used to enable the falling/low-level interrupt for each of the corresponding input Px.n pin. To set 1 also enables the pin wake-up function.
When setting the FLIEN[n] (Px_INTEN[n]) bit to 1 :
If the interrupt is configured as level trigger mode (TYPE[n] is set to 1), one interrupt will occur while the input Px.n state is at low level.
If the interrupt is configured as edge trigger mode (TYPE[n] is set to 0), one interrupt will occur while he input Px.n state changes from high to low.
bits : 10 - 10 (1 bit)
access : read-write
Enumeration:
#0 : 0
Disable Px.n for low-level or high-to-low interrupt
#1 : 1
Enable Px.n for low-level or high-to-low interrupt
End of enumeration elements list.
FLIEN11 : Port [A/B] Interrupt Enable By Input Falling Edge Or Input Level Low
FLIEN[n] is used to enable the falling/low-level interrupt for each of the corresponding input Px.n pin. To set 1 also enables the pin wake-up function.
When setting the FLIEN[n] (Px_INTEN[n]) bit to 1 :
If the interrupt is configured as level trigger mode (TYPE[n] is set to 1), one interrupt will occur while the input Px.n state is at low level.
If the interrupt is configured as edge trigger mode (TYPE[n] is set to 0), one interrupt will occur while he input Px.n state changes from high to low.
bits : 11 - 11 (1 bit)
access : read-write
Enumeration:
#0 : 0
Disable Px.n for low-level or high-to-low interrupt
#1 : 1
Enable Px.n for low-level or high-to-low interrupt
End of enumeration elements list.
FLIEN12 : Port [A/B] Interrupt Enable By Input Falling Edge Or Input Level Low
FLIEN[n] is used to enable the falling/low-level interrupt for each of the corresponding input Px.n pin. To set 1 also enables the pin wake-up function.
When setting the FLIEN[n] (Px_INTEN[n]) bit to 1 :
If the interrupt is configured as level trigger mode (TYPE[n] is set to 1), one interrupt will occur while the input Px.n state is at low level.
If the interrupt is configured as edge trigger mode (TYPE[n] is set to 0), one interrupt will occur while he input Px.n state changes from high to low.
bits : 12 - 12 (1 bit)
access : read-write
Enumeration:
#0 : 0
Disable Px.n for low-level or high-to-low interrupt
#1 : 1
Enable Px.n for low-level or high-to-low interrupt
End of enumeration elements list.
FLIEN13 : Port [A/B] Interrupt Enable By Input Falling Edge Or Input Level Low
FLIEN[n] is used to enable the falling/low-level interrupt for each of the corresponding input Px.n pin. To set 1 also enables the pin wake-up function.
When setting the FLIEN[n] (Px_INTEN[n]) bit to 1 :
If the interrupt is configured as level trigger mode (TYPE[n] is set to 1), one interrupt will occur while the input Px.n state is at low level.
If the interrupt is configured as edge trigger mode (TYPE[n] is set to 0), one interrupt will occur while he input Px.n state changes from high to low.
bits : 13 - 13 (1 bit)
access : read-write
Enumeration:
#0 : 0
Disable Px.n for low-level or high-to-low interrupt
#1 : 1
Enable Px.n for low-level or high-to-low interrupt
End of enumeration elements list.
FLIEN14 : Port [A/B] Interrupt Enable By Input Falling Edge Or Input Level Low
FLIEN[n] is used to enable the falling/low-level interrupt for each of the corresponding input Px.n pin. To set 1 also enables the pin wake-up function.
When setting the FLIEN[n] (Px_INTEN[n]) bit to 1 :
If the interrupt is configured as level trigger mode (TYPE[n] is set to 1), one interrupt will occur while the input Px.n state is at low level.
If the interrupt is configured as edge trigger mode (TYPE[n] is set to 0), one interrupt will occur while he input Px.n state changes from high to low.
bits : 14 - 14 (1 bit)
access : read-write
Enumeration:
#0 : 0
Disable Px.n for low-level or high-to-low interrupt
#1 : 1
Enable Px.n for low-level or high-to-low interrupt
End of enumeration elements list.
FLIEN15 : Port [A/B] Interrupt Enable By Input Falling Edge Or Input Level Low
FLIEN[n] is used to enable the falling/low-level interrupt for each of the corresponding input Px.n pin. To set 1 also enables the pin wake-up function.
When setting the FLIEN[n] (Px_INTEN[n]) bit to 1 :
If the interrupt is configured as level trigger mode (TYPE[n] is set to 1), one interrupt will occur while the input Px.n state is at low level.
If the interrupt is configured as edge trigger mode (TYPE[n] is set to 0), one interrupt will occur while he input Px.n state changes from high to low.
bits : 15 - 15 (1 bit)
access : read-write
Enumeration:
#0 : 0
Disable Px.n for low-level or high-to-low interrupt
#1 : 1
Enable Px.n for low-level or high-to-low interrupt
End of enumeration elements list.
RHIEN0 : Port [A/B] Interrupt Enable By Input Rising Edge Or Input Level High
RHIEN[n] is used to enable the rising/high-level interrupt for each of the corresponding input Px.n pin. To set 1 also enables the pin wake-up function.
When setting the RHIEN[n] (Px_INTEN[n+16]) bit to 1 :
If the interrupt is configured as level trigger mode (TYPE[n] is set to 1), one interrupt will occur while the input Px.n state is at high level.
If the interrupt is configured as edge trigger mode (TYPE[n] is set to 0), one interrupt will occur while he input Px.n state changes from low to high.
bits : 16 - 16 (1 bit)
access : read-write
Enumeration:
#0 : 0
Disable Px.n for low-to-high or level-high interrupt
#1 : 1
Enable Px.n for low-to-high or level-high interrupt
End of enumeration elements list.
RHIEN1 : Port [A/B] Interrupt Enable By Input Rising Edge Or Input Level High
RHIEN[n] is used to enable the rising/high-level interrupt for each of the corresponding input Px.n pin. To set 1 also enables the pin wake-up function.
When setting the RHIEN[n] (Px_INTEN[n+16]) bit to 1 :
If the interrupt is configured as level trigger mode (TYPE[n] is set to 1), one interrupt will occur while the input Px.n state is at high level.
If the interrupt is configured as edge trigger mode (TYPE[n] is set to 0), one interrupt will occur while he input Px.n state changes from low to high.
bits : 17 - 17 (1 bit)
access : read-write
Enumeration:
#0 : 0
Disable Px.n for low-to-high or level-high interrupt
#1 : 1
Enable Px.n for low-to-high or level-high interrupt
End of enumeration elements list.
RHIEN2 : Port [A/B] Interrupt Enable By Input Rising Edge Or Input Level High
RHIEN[n] is used to enable the rising/high-level interrupt for each of the corresponding input Px.n pin. To set 1 also enables the pin wake-up function.
When setting the RHIEN[n] (Px_INTEN[n+16]) bit to 1 :
If the interrupt is configured as level trigger mode (TYPE[n] is set to 1), one interrupt will occur while the input Px.n state is at high level.
If the interrupt is configured as edge trigger mode (TYPE[n] is set to 0), one interrupt will occur while he input Px.n state changes from low to high.
bits : 18 - 18 (1 bit)
access : read-write
Enumeration:
#0 : 0
Disable Px.n for low-to-high or level-high interrupt
#1 : 1
Enable Px.n for low-to-high or level-high interrupt
End of enumeration elements list.
RHIEN3 : Port [A/B] Interrupt Enable By Input Rising Edge Or Input Level High
RHIEN[n] is used to enable the rising/high-level interrupt for each of the corresponding input Px.n pin. To set 1 also enables the pin wake-up function.
When setting the RHIEN[n] (Px_INTEN[n+16]) bit to 1 :
If the interrupt is configured as level trigger mode (TYPE[n] is set to 1), one interrupt will occur while the input Px.n state is at high level.
If the interrupt is configured as edge trigger mode (TYPE[n] is set to 0), one interrupt will occur while he input Px.n state changes from low to high.
bits : 19 - 19 (1 bit)
access : read-write
Enumeration:
#0 : 0
Disable Px.n for low-to-high or level-high interrupt
#1 : 1
Enable Px.n for low-to-high or level-high interrupt
End of enumeration elements list.
RHIEN4 : Port [A/B] Interrupt Enable By Input Rising Edge Or Input Level High
RHIEN[n] is used to enable the rising/high-level interrupt for each of the corresponding input Px.n pin. To set 1 also enables the pin wake-up function.
When setting the RHIEN[n] (Px_INTEN[n+16]) bit to 1 :
If the interrupt is configured as level trigger mode (TYPE[n] is set to 1), one interrupt will occur while the input Px.n state is at high level.
If the interrupt is configured as edge trigger mode (TYPE[n] is set to 0), one interrupt will occur while he input Px.n state changes from low to high.
bits : 20 - 20 (1 bit)
access : read-write
Enumeration:
#0 : 0
Disable Px.n for low-to-high or level-high interrupt
#1 : 1
Enable Px.n for low-to-high or level-high interrupt
End of enumeration elements list.
RHIEN5 : Port [A/B] Interrupt Enable By Input Rising Edge Or Input Level High
RHIEN[n] is used to enable the rising/high-level interrupt for each of the corresponding input Px.n pin. To set 1 also enables the pin wake-up function.
When setting the RHIEN[n] (Px_INTEN[n+16]) bit to 1 :
If the interrupt is configured as level trigger mode (TYPE[n] is set to 1), one interrupt will occur while the input Px.n state is at high level.
If the interrupt is configured as edge trigger mode (TYPE[n] is set to 0), one interrupt will occur while he input Px.n state changes from low to high.
bits : 21 - 21 (1 bit)
access : read-write
Enumeration:
#0 : 0
Disable Px.n for low-to-high or level-high interrupt
#1 : 1
Enable Px.n for low-to-high or level-high interrupt
End of enumeration elements list.
RHIEN6 : Port [A/B] Interrupt Enable By Input Rising Edge Or Input Level High
RHIEN[n] is used to enable the rising/high-level interrupt for each of the corresponding input Px.n pin. To set 1 also enables the pin wake-up function.
When setting the RHIEN[n] (Px_INTEN[n+16]) bit to 1 :
If the interrupt is configured as level trigger mode (TYPE[n] is set to 1), one interrupt will occur while the input Px.n state is at high level.
If the interrupt is configured as edge trigger mode (TYPE[n] is set to 0), one interrupt will occur while he input Px.n state changes from low to high.
bits : 22 - 22 (1 bit)
access : read-write
Enumeration:
#0 : 0
Disable Px.n for low-to-high or level-high interrupt
#1 : 1
Enable Px.n for low-to-high or level-high interrupt
End of enumeration elements list.
RHIEN7 : Port [A/B] Interrupt Enable By Input Rising Edge Or Input Level High
RHIEN[n] is used to enable the rising/high-level interrupt for each of the corresponding input Px.n pin. To set 1 also enables the pin wake-up function.
When setting the RHIEN[n] (Px_INTEN[n+16]) bit to 1 :
If the interrupt is configured as level trigger mode (TYPE[n] is set to 1), one interrupt will occur while the input Px.n state is at high level.
If the interrupt is configured as edge trigger mode (TYPE[n] is set to 0), one interrupt will occur while he input Px.n state changes from low to high.
bits : 23 - 23 (1 bit)
access : read-write
Enumeration:
#0 : 0
Disable Px.n for low-to-high or level-high interrupt
#1 : 1
Enable Px.n for low-to-high or level-high interrupt
End of enumeration elements list.
RHIEN8 : Port [A/B] Interrupt Enable By Input Rising Edge Or Input Level High
RHIEN[n] is used to enable the rising/high-level interrupt for each of the corresponding input Px.n pin. To set 1 also enables the pin wake-up function.
When setting the RHIEN[n] (Px_INTEN[n+16]) bit to 1 :
If the interrupt is configured as level trigger mode (TYPE[n] is set to 1), one interrupt will occur while the input Px.n state is at high level.
If the interrupt is configured as edge trigger mode (TYPE[n] is set to 0), one interrupt will occur while he input Px.n state changes from low to high.
bits : 24 - 24 (1 bit)
access : read-write
Enumeration:
#0 : 0
Disable Px.n for low-to-high or level-high interrupt
#1 : 1
Enable Px.n for low-to-high or level-high interrupt
End of enumeration elements list.
RHIEN9 : Port [A/B] Interrupt Enable By Input Rising Edge Or Input Level High
RHIEN[n] is used to enable the rising/high-level interrupt for each of the corresponding input Px.n pin. To set 1 also enables the pin wake-up function.
When setting the RHIEN[n] (Px_INTEN[n+16]) bit to 1 :
If the interrupt is configured as level trigger mode (TYPE[n] is set to 1), one interrupt will occur while the input Px.n state is at high level.
If the interrupt is configured as edge trigger mode (TYPE[n] is set to 0), one interrupt will occur while he input Px.n state changes from low to high.
bits : 25 - 25 (1 bit)
access : read-write
Enumeration:
#0 : 0
Disable Px.n for low-to-high or level-high interrupt
#1 : 1
Enable Px.n for low-to-high or level-high interrupt
End of enumeration elements list.
RHIEN10 : Port [A/B] Interrupt Enable By Input Rising Edge Or Input Level High
RHIEN[n] is used to enable the rising/high-level interrupt for each of the corresponding input Px.n pin. To set 1 also enables the pin wake-up function.
When setting the RHIEN[n] (Px_INTEN[n+16]) bit to 1 :
If the interrupt is configured as level trigger mode (TYPE[n] is set to 1), one interrupt will occur while the input Px.n state is at high level.
If the interrupt is configured as edge trigger mode (TYPE[n] is set to 0), one interrupt will occur while he input Px.n state changes from low to high.
bits : 26 - 26 (1 bit)
access : read-write
Enumeration:
#0 : 0
Disable Px.n for low-to-high or level-high interrupt
#1 : 1
Enable Px.n for low-to-high or level-high interrupt
End of enumeration elements list.
RHIEN11 : Port [A/B] Interrupt Enable By Input Rising Edge Or Input Level High
RHIEN[n] is used to enable the rising/high-level interrupt for each of the corresponding input Px.n pin. To set 1 also enables the pin wake-up function.
When setting the RHIEN[n] (Px_INTEN[n+16]) bit to 1 :
If the interrupt is configured as level trigger mode (TYPE[n] is set to 1), one interrupt will occur while the input Px.n state is at high level.
If the interrupt is configured as edge trigger mode (TYPE[n] is set to 0), one interrupt will occur while he input Px.n state changes from low to high.
bits : 27 - 27 (1 bit)
access : read-write
Enumeration:
#0 : 0
Disable Px.n for low-to-high or level-high interrupt
#1 : 1
Enable Px.n for low-to-high or level-high interrupt
End of enumeration elements list.
RHIEN12 : Port [A/B] Interrupt Enable By Input Rising Edge Or Input Level High
RHIEN[n] is used to enable the rising/high-level interrupt for each of the corresponding input Px.n pin. To set 1 also enables the pin wake-up function.
When setting the RHIEN[n] (Px_INTEN[n+16]) bit to 1 :
If the interrupt is configured as level trigger mode (TYPE[n] is set to 1), one interrupt will occur while the input Px.n state is at high level.
If the interrupt is configured as edge trigger mode (TYPE[n] is set to 0), one interrupt will occur while he input Px.n state changes from low to high.
bits : 28 - 28 (1 bit)
access : read-write
Enumeration:
#0 : 0
Disable Px.n for low-to-high or level-high interrupt
#1 : 1
Enable Px.n for low-to-high or level-high interrupt
End of enumeration elements list.
RHIEN13 : Port [A/B] Interrupt Enable By Input Rising Edge Or Input Level High
RHIEN[n] is used to enable the rising/high-level interrupt for each of the corresponding input Px.n pin. To set 1 also enables the pin wake-up function.
When setting the RHIEN[n] (Px_INTEN[n+16]) bit to 1 :
If the interrupt is configured as level trigger mode (TYPE[n] is set to 1), one interrupt will occur while the input Px.n state is at high level.
If the interrupt is configured as edge trigger mode (TYPE[n] is set to 0), one interrupt will occur while he input Px.n state changes from low to high.
bits : 29 - 29 (1 bit)
access : read-write
Enumeration:
#0 : 0
Disable Px.n for low-to-high or level-high interrupt
#1 : 1
Enable Px.n for low-to-high or level-high interrupt
End of enumeration elements list.
RHIEN14 : Port [A/B] Interrupt Enable By Input Rising Edge Or Input Level High
RHIEN[n] is used to enable the rising/high-level interrupt for each of the corresponding input Px.n pin. To set 1 also enables the pin wake-up function.
When setting the RHIEN[n] (Px_INTEN[n+16]) bit to 1 :
If the interrupt is configured as level trigger mode (TYPE[n] is set to 1), one interrupt will occur while the input Px.n state is at high level.
If the interrupt is configured as edge trigger mode (TYPE[n] is set to 0), one interrupt will occur while he input Px.n state changes from low to high.
bits : 30 - 30 (1 bit)
access : read-write
Enumeration:
#0 : 0
Disable Px.n for low-to-high or level-high interrupt
#1 : 1
Enable Px.n for low-to-high or level-high interrupt
End of enumeration elements list.
RHIEN15 : Port [A/B] Interrupt Enable By Input Rising Edge Or Input Level High
RHIEN[n] is used to enable the rising/high-level interrupt for each of the corresponding input Px.n pin. To set 1 also enables the pin wake-up function.
When setting the RHIEN[n] (Px_INTEN[n+16]) bit to 1 :
If the interrupt is configured as level trigger mode (TYPE[n] is set to 1), one interrupt will occur while the input Px.n state is at high level.
If the interrupt is configured as edge trigger mode (TYPE[n] is set to 0), one interrupt will occur while he input Px.n state changes from low to high.
bits : 31 - 31 (1 bit)
access : read-write
Enumeration:
#0 : 0
Disable Px.n for low-to-high or level-high interrupt
#1 : 1
Enable Px.n for low-to-high or level-high interrupt
End of enumeration elements list.
GPIO PA Interrupt Source Flag
address_offset : 0x20 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
INTSRC : Port [A/B] Interrupt Source Flag
Read operation:
bits : 0 - 15 (16 bit)
access : read-write
Enumeration:
0 : 0
No interrupt from Px.n.
No action
1 : 1
Px.n generated an interrupt.
Clear the corresponding pending interrupt
End of enumeration elements list.
GPIO PB Pin I/O Mode Control
address_offset : 0x40 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
GPIO PB Data Output Value
address_offset : 0x48 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
GPIO PB Pin Value
address_offset : 0x50 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
GPIO PB Interrupt Trigger Type
address_offset : 0x58 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
GPIO PB Interrupt Enable
address_offset : 0x5C Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
GPIO PB Interrupt Source Flag
address_offset : 0x60 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
GPIO PA Data Output Value
address_offset : 0x8 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
DOUT : Port [A/B] Pin[N] Output Value
Each of these bits controls the status of a GPIO pin when the GPIO pin is configured as output, open-drain or quasi-bidirectional mode.
Note: PB_DOUT[15:6] are reserved to 0.
bits : 0 - 15 (16 bit)
access : read-write
Enumeration:
0 : 0
GPIO port [A/B] Pin[n] will drive Low if the corresponding output mode bit is set
1 : 1
GPIO port [A/B] Pin[n] will drive High if the corresponding output mode bit is set
End of enumeration elements list.
GPIO PA.n Pin Data Input/Output Register
address_offset : 0x800 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
PDIO : GPIO Px.n Pin Data Input/Output
Writing this bit can control one GPIO pin output value.
bits : 0 - 0 (1 bit)
access : read-write
Enumeration:
#0 : 0
Corresponding GPIO pin set to low
#1 : 1
Corresponding GPIO pin set to high
End of enumeration elements list.
GPIO PA.n Pin Data Input/Output Register
address_offset : 0x804 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
GPIO PA.n Pin Data Input/Output Register
address_offset : 0x808 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
GPIO PA.n Pin Data Input/Output Register
address_offset : 0x80C Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
GPIO PA.n Pin Data Input/Output Register
address_offset : 0x810 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
GPIO PA.n Pin Data Input/Output Register
address_offset : 0x814 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
GPIO PA.n Pin Data Input/Output Register
address_offset : 0x818 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
GPIO PA.n Pin Data Input/Output Register
address_offset : 0x81C Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
GPIO PA.n Pin Data Input/Output Register
address_offset : 0x820 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
GPIO PA.n Pin Data Input/Output Register
address_offset : 0x824 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
GPIO PA.n Pin Data Input/Output Register
address_offset : 0x828 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
GPIO PA.n Pin Data Input/Output Register
address_offset : 0x82C Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
GPIO PA.n Pin Data Input/Output Register
address_offset : 0x830 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
GPIO PA.n Pin Data Input/Output Register
address_offset : 0x834 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
GPIO PA.n Pin Data Input/Output Register
address_offset : 0x838 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
GPIO PA.n Pin Data Input/Output Register
address_offset : 0x83C Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
GPIO PB.n Pin Data Input/Output Register
address_offset : 0x840 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
GPIO PB.n Pin Data Input/Output Register
address_offset : 0x844 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
GPIO PB.n Pin Data Input/Output Register
address_offset : 0x848 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
GPIO PB.n Pin Data Input/Output Register
address_offset : 0x84C Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
GPIO PB.n Pin Data Input/Output Register
address_offset : 0x850 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
GPIO PB.n Pin Data Input/Output Register
address_offset : 0x854 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
Is something missing? Is something wrong? can you help correct it ? Please contact us at info@chipselect.org !
This website is sponsored by Embeetle, an IDE designed from scratch for embedded software developers.