\n
address_offset : 0x0 Bytes (0x0)
size : 0x10 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 : Keyboard debounce time (N*1 ms with N = 1 to 63). 0x0: no debouncing 0x1 to 0x3F: 1 ms to 63 ms debounce time
bits : 0 - 5 (6 bit)
access : read-write
WKUP_SFT_KEYHIT : 0 = no effect 1 = emulate key hit. The event counter and counter2 will increment by 1 (after debouncing if enabled). 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 generated 1 = if the event counter reaches the value set by WKUP_COMPARE_REG an IRQ will be generated
bits : 7 - 14 (8 bit)
access : read-write
WKUP2_ENABLE_IRQ : 0 = no interrupt will be generated 1 = if the event counter2 reaches the value set by WKUP_COMPARE_REG an IRQ will be generated
bits : 8 - 16 (9 bit)
access : read-write
Number of events before wakeup interrupt
address_offset : 0x2 Bytes (0x0)
size : 16 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
WKUP_COMPARE : Defines the number of events -1 that have to be counted before the wakeup interrupt will be given. value 0 means one event.
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_STATUS : Gives 1 when there is a wkup pending IRQ. Writing 1 will reset the interrupt.
bits : 0 - 0 (1 bit)
access : read-write
WKUP2_IRQ_STATUS : Gives 1 when there is a wkup2 pending IRQ. Writing 1 will reset the interrupt.
bits : 1 - 2 (2 bit)
access : read-write
WKUP_CNTR_RST : writing 1 will reset the event counter
bits : 2 - 4 (3 bit)
access : write-only
WKUP2_CNTR_RST : writing 1 will reset the event2 counter
bits : 3 - 6 (4 bit)
access : write-only
Actual number of events of the wakeup counter
address_offset : 0x6 Bytes (0x0)
size : 16 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
EVENT_VALUE : This value represents the number of events that have been counted so far. It will be reset by resetting the interrupt.
bits : 0 - 7 (8 bit)
access : read-only
EVENT2_VALUE : This value represents the number of events that have been counted so far. It will be reset by resetting the interrupt.
bits : 8 - 23 (16 bit)
access : read-only
Select which inputs from P0 port can trigger wkup counter
address_offset : 0x8 Bytes (0x0)
size : 16 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
WKUP_SELECT_GPIO : 0 = input P0x is not enabled for wakeup event counter 1 = input P0x is enabled for wakeup event counter
bits : 0 - 11 (12 bit)
access : read-write
Select which inputs from P1 port can trigger wkup counter
address_offset : 0xA Bytes (0x0)
size : 16 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
WKUP2_SELECT_GPIO : 0 = input P0x is not enabled for wakeup event counter 1 = input P0x is enabled for wakeup event counter
bits : 0 - 11 (12 bit)
access : read-write
Select the sensitivity polarity for each P0 input
address_offset : 0xC Bytes (0x0)
size : 16 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
WKUP_POL_GPIO : 0 = the enabled input P0x increments the event counter if that input goes high 1 = the enabled input P0x increments the event counter if that input goes low
bits : 0 - 11 (12 bit)
access : read-write
Select the sensitivity polarity for each P1 input
address_offset : 0xE Bytes (0x0)
size : 16 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
WKUP2_POL_GPIO : 0 = the enabled input P0x increments the event2 counter if that input goes high 1 = the enabled input P0x increments the event2 counter if that input goes low
bits : 0 - 11 (12 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.