\n
address_offset : 0x0 Bytes (0x0)
size : 0x34 byte (0x0)
mem_usage : registers
protection :
Control register for the wakeup counter
address_offset : 0x0 Bytes (0x0)
size : 16 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
WKUP_DEB_VALUE : Wakeup debounce time. If set to 0, no debouncing will be done. Debounce time: N*1 ms. N =1..63
bits : 0 - 5 (6 bit)
access : read-write
WKUP_SFT_KEYHIT : 0 = no effect 1 = emulate key hit. First make this bit 0 before any new key hit can be sensed.
bits : 6 - 12 (7 bit)
access : read-write
WKUP_ENABLE_IRQ : 0: no interrupt will be enabled 1: if you have an event an IRQ will be generated
bits : 7 - 14 (8 bit)
access : read-write
select which inputs from P3 port can trigger wkup counter
address_offset : 0x10 Bytes (0x0)
size : 16 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
WKUP_SELECT_P3 : 0: input P3x is not enabled for wakeup event 1: input P3x is enabled for wakeup event
bits : 0 - 7 (8 bit)
access : read-write
select which inputs from P3 port can trigger wkup counter
address_offset : 0x12 Bytes (0x0)
size : 16 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
WKUP_SELECT_P4 : 0: input P4x is not enabled for wakeup event 1: input P4x is enabled for wakeup event
bits : 0 - 7 (8 bit)
access : read-write
select the sesitivity polarity for each P0 input
address_offset : 0x14 Bytes (0x0)
size : 16 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
WKUP_POL_P0 : 0: enabled input P0x will give an event if that input goes high 1: enabled input P0x will give an event if that input goes low
bits : 0 - 7 (8 bit)
access : read-write
select the sesitivity polarity for each P1 input
address_offset : 0x16 Bytes (0x0)
size : 16 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
WKUP_POL_P1 : 0: enabled input P1x will give an event if that input goes high 1: enabled input P1x will give an event if that input goes low
bits : 0 - 7 (8 bit)
access : read-write
select the sesitivity polarity for each P2 input
address_offset : 0x18 Bytes (0x0)
size : 16 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
WKUP_POL_P2 : 0: enabled input P2x will give an event if that input goes high 1: enabled input P2x will give an event if that input goes low
bits : 0 - 4 (5 bit)
access : read-write
select the sesitivity polarity for each P3 input
address_offset : 0x1A Bytes (0x0)
size : 16 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
WKUP_POL_P3 : 0: enabled input P3x will give an event if that input goes high 1: enabled input P3x will give an event if that input goes low
bits : 0 - 7 (8 bit)
access : read-write
select the sesitivity polarity for each P3 input
address_offset : 0x1C Bytes (0x0)
size : 16 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
WKUP_POL_P4 : 0: enabled input P4x will give an event if that input goes high 1: enabled input P4x will give an event if that input goes low
bits : 0 - 7 (8 bit)
access : read-write
Event status register for P0 and P1
address_offset : 0x1E Bytes (0x0)
size : 16 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
WKUP_STAT_P0 : Contains the latched value of any toggle of the GPIOs Port P0. WKUP_STAT_P0[0] -> P0_0.
bits : 0 - 7 (8 bit)
access : read-only
WKUP_STAT_P1 : Contains the latched value of any toggle of the GPIOs Port P1. WKUP_STAT_P0[8] -> P1_0.
bits : 8 - 23 (16 bit)
access : read-only
Event status register for P2
address_offset : 0x20 Bytes (0x0)
size : 16 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
WKUP_STAT_P2 : Contains the latched value of any toggle of the GPIOs Port P2 WKUP_STATUS_1[0] -> P2_0.
bits : 0 - 4 (5 bit)
access : read-only
Event status register for P3 and P4
address_offset : 0x22 Bytes (0x0)
size : 16 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
WKUP_STAT_P3 : Contains the latched value of any toggle of the GPIOs Port P3. WKUP_STATUS_2[0] -> P3_0.
bits : 0 - 7 (8 bit)
access : read-only
WKUP_STAT_P4 : Contains the latched value of any toggle of the GPIOs Port P4. WKUP_STATUS_2[8] -> P4_0.
bits : 8 - 23 (16 bit)
access : read-only
Clear event register for P0 and P1
address_offset : 0x24 Bytes (0x0)
size : 16 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
WKUP_CLEAR_P0 : Clear latched value of the GPIOs P0 when corresponding bit is 1
bits : 0 - 7 (8 bit)
access : write-only
WKUP_CLEAR_P1 : Clear latched value of the GPIOs P1 when corresponding bit is 1
bits : 8 - 23 (16 bit)
access : write-only
Clear event register for P2
address_offset : 0x26 Bytes (0x0)
size : 16 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
WKUP_CLEAR_P2 : Clear latched value of the GPIOs P2 when corresponding bit is 1
bits : 0 - 4 (5 bit)
access : write-only
Clear event register for P3 and P4
address_offset : 0x28 Bytes (0x0)
size : 16 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
WKUP_CLEAR_P3 : Clear latched value of the GPIOs P3 when corresponding bit is 1
bits : 0 - 7 (8 bit)
access : write-only
WKUP_CLEAR_P4 : Clear latched value of the GPIOs P4 when corresponding bit is 1
bits : 8 - 23 (16 bit)
access : write-only
select which inputs from P0 port can trigger interrupt
address_offset : 0x2A Bytes (0x0)
size : 16 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
WKUP_SEL_GPIO_P0 : 0: input P0x is not enabled for GPIO interrupt 1: input P0x is enabled for GPIO interrupt
bits : 0 - 7 (8 bit)
access : read-write
select which inputs from P1 port can trigger interrupt
address_offset : 0x2C Bytes (0x0)
size : 16 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
WKUP_SEL_GPIO_P1 : 0: input P1x is not enabled for GPIO interrupt 1: input P1x is enabled for GPIO interrupt
bits : 0 - 7 (8 bit)
access : read-write
select which inputs from P2 port can trigger interrupt
address_offset : 0x2E Bytes (0x0)
size : 16 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
WKUP_SEL_GPIO_P2 : 0: input P2x is not enabled for GPIO interrupt 1: input P2x is enabled for GPIO interrupt
bits : 0 - 4 (5 bit)
access : read-write
select which inputs from P3 port can trigger interrupt
address_offset : 0x30 Bytes (0x0)
size : 16 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
WKUP_SEL_GPIO_P3 : 0: input P3x is not enabled for GPIO interrupt 1: input P3x is enabled for GPIO interrupt
bits : 0 - 7 (8 bit)
access : read-write
select which inputs from P3 port can trigger interrupt
address_offset : 0x32 Bytes (0x0)
size : 16 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
WKUP_SEL_GPIO_P4 : 0: input P4x is not enabled for GPIO interrupt 1: input P4x is enabled for GPIO interrupt
bits : 0 - 7 (8 bit)
access : read-write
Reset wakeup interrupt
address_offset : 0x4 Bytes (0x0)
size : 16 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
WKUP_IRQ_RST : writing any value to this register will reset the interrupt. reading always returns 0.
bits : 0 - 15 (16 bit)
access : write-only
select which inputs from P0 port can trigger wkup counter
address_offset : 0xA Bytes (0x0)
size : 16 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
WKUP_SELECT_P0 : 0: input P0x is not enabled for wakeup event 1: input P0x is enabled for wakeup event
bits : 0 - 7 (8 bit)
access : read-write
select which inputs from P1 port can trigger wkup counter
address_offset : 0xC Bytes (0x0)
size : 16 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
WKUP_SELECT_P1 : 0: input P1x is not enabled for wakeup event 1: input P1x is enabled for wakeup event
bits : 0 - 7 (8 bit)
access : read-write
select which inputs from P2 port can trigger wkup counter
address_offset : 0xE Bytes (0x0)
size : 16 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
WKUP_SELECT_P2 : 0: input P2x is not enabled for wakeup event 1: input P2x is enabled for wakeup event
bits : 0 - 4 (5 bit)
access : read-write
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.