\n

KPP

Peripheral Memory Blocks

address_offset : 0x0 Bytes (0x0)
size : 0x8 byte (0x0)
mem_usage : registers
protection : not protected

Registers

KPCR

KPSR

KDDR

KPDR


KPCR

Keypad Control Register
address_offset : 0x0 Bytes (0x0)
size : 16 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

KPCR KPCR read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 KRE KCO

KRE : Keypad Row Enable
bits : 0 - 7 (8 bit)
access : read-write

Enumeration:

0 : KRE_0

Row is not included in the keypad key press detect.

0x1 : KRE_1

Row is included in the keypad key press detect.

End of enumeration elements list.

KCO : Keypad Column Strobe Open-Drain Enable
bits : 8 - 15 (8 bit)
access : read-write

Enumeration:

0 : TOTEM_POLE

Column strobe output is totem pole drive.

0x1 : OPEN_DRAIN

Column strobe output is open drain.

End of enumeration elements list.


KPSR

Keypad Status Register
address_offset : 0x2 Bytes (0x0)
size : 16 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

KPSR KPSR read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 KPKD KPKR KDSC KRSS KDIE KRIE

KPKD : Keypad Key Depress
bits : 0 - 0 (1 bit)
access : read-write

Enumeration:

0 : KPKD_0

No key presses detected

0x1 : KPKD_1

A key has been depressed

End of enumeration elements list.

KPKR : Keypad Key Release
bits : 1 - 1 (1 bit)
access : read-write

Enumeration:

0 : KPKR_0

No key release detected

0x1 : KPKR_1

All keys have been released

End of enumeration elements list.

KDSC : Key Depress Synchronizer Clear
bits : 2 - 2 (1 bit)
access : read-write

Enumeration:

0 : KDSC_0

No effect

0x1 : KDSC_1

Set bits that clear the keypad depress synchronizer chain

End of enumeration elements list.

KRSS : Key Release Synchronizer Set
bits : 3 - 3 (1 bit)
access : read-write

Enumeration:

0 : KRSS_0

No effect

0x1 : KRSS_1

Set bits which sets keypad release synchronizer chain

End of enumeration elements list.

KDIE : Keypad Key Depress Interrupt Enable
bits : 8 - 8 (1 bit)
access : read-write

Enumeration:

0 : KDIE_0

No interrupt request is generated when KPKD is set.

0x1 : KDIE_1

An interrupt request is generated when KPKD is set.

End of enumeration elements list.

KRIE : Keypad Release Interrupt Enable
bits : 9 - 9 (1 bit)
access : read-write

Enumeration:

0 : KRIE_0

No interrupt request is generated when KPKR is set.

0x1 : KRIE_1

An interrupt request is generated when KPKR is set.

End of enumeration elements list.


KDDR

Keypad Data Direction Register
address_offset : 0x4 Bytes (0x0)
size : 16 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

KDDR KDDR read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 KRDD KCDD

KRDD : Keypad Row Data Direction
bits : 0 - 7 (8 bit)
access : read-write

Enumeration:

0 : INPUT

ROWn pin configured as an input.

0x1 : OUTPUT

ROWn pin configured as an output.

End of enumeration elements list.

KCDD : Keypad Column Data Direction Register
bits : 8 - 15 (8 bit)
access : read-write

Enumeration:

0 : INPUT

COLn pin is configured as an input.

0x1 : OUTPUT

COLn pin is configured as an output.

End of enumeration elements list.


KPDR

Keypad Data Register
address_offset : 0x6 Bytes (0x0)
size : 16 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

KPDR KPDR read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 KRD KCD

KRD : Keypad Row Data
bits : 0 - 7 (8 bit)
access : read-write

KCD : Keypad Column Data
bits : 8 - 15 (8 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 EmbeetleEmbeetle, an IDE designed from scratch for embedded software developers.