RTEMS 6.1-rc5
|
KPCR - Keypad Control Register | |
#define | KPP_KPCR_KRE_MASK (0xFFU) |
#define | KPP_KPCR_KRE_SHIFT (0U) |
#define | KPP_KPCR_KRE(x) (((uint16_t)(((uint16_t)(x)) << KPP_KPCR_KRE_SHIFT)) & KPP_KPCR_KRE_MASK) |
#define | KPP_KPCR_KCO_MASK (0xFF00U) |
#define | KPP_KPCR_KCO_SHIFT (8U) |
#define | KPP_KPCR_KCO(x) (((uint16_t)(((uint16_t)(x)) << KPP_KPCR_KCO_SHIFT)) & KPP_KPCR_KCO_MASK) |
KPSR - Keypad Status Register | |
#define | KPP_KPSR_KPKD_MASK (0x1U) |
#define | KPP_KPSR_KPKD_SHIFT (0U) |
#define | KPP_KPSR_KPKD(x) (((uint16_t)(((uint16_t)(x)) << KPP_KPSR_KPKD_SHIFT)) & KPP_KPSR_KPKD_MASK) |
#define | KPP_KPSR_KPKR_MASK (0x2U) |
#define | KPP_KPSR_KPKR_SHIFT (1U) |
#define | KPP_KPSR_KPKR(x) (((uint16_t)(((uint16_t)(x)) << KPP_KPSR_KPKR_SHIFT)) & KPP_KPSR_KPKR_MASK) |
#define | KPP_KPSR_KDSC_MASK (0x4U) |
#define | KPP_KPSR_KDSC_SHIFT (2U) |
#define | KPP_KPSR_KDSC(x) (((uint16_t)(((uint16_t)(x)) << KPP_KPSR_KDSC_SHIFT)) & KPP_KPSR_KDSC_MASK) |
#define | KPP_KPSR_KRSS_MASK (0x8U) |
#define | KPP_KPSR_KRSS_SHIFT (3U) |
#define | KPP_KPSR_KRSS(x) (((uint16_t)(((uint16_t)(x)) << KPP_KPSR_KRSS_SHIFT)) & KPP_KPSR_KRSS_MASK) |
#define | KPP_KPSR_KDIE_MASK (0x100U) |
#define | KPP_KPSR_KDIE_SHIFT (8U) |
#define | KPP_KPSR_KDIE(x) (((uint16_t)(((uint16_t)(x)) << KPP_KPSR_KDIE_SHIFT)) & KPP_KPSR_KDIE_MASK) |
#define | KPP_KPSR_KRIE_MASK (0x200U) |
#define | KPP_KPSR_KRIE_SHIFT (9U) |
#define | KPP_KPSR_KRIE(x) (((uint16_t)(((uint16_t)(x)) << KPP_KPSR_KRIE_SHIFT)) & KPP_KPSR_KRIE_MASK) |
KDDR - Keypad Data Direction Register | |
#define | KPP_KDDR_KRDD_MASK (0xFFU) |
#define | KPP_KDDR_KRDD_SHIFT (0U) |
#define | KPP_KDDR_KRDD(x) (((uint16_t)(((uint16_t)(x)) << KPP_KDDR_KRDD_SHIFT)) & KPP_KDDR_KRDD_MASK) |
#define | KPP_KDDR_KCDD_MASK (0xFF00U) |
#define | KPP_KDDR_KCDD_SHIFT (8U) |
#define | KPP_KDDR_KCDD(x) (((uint16_t)(((uint16_t)(x)) << KPP_KDDR_KCDD_SHIFT)) & KPP_KDDR_KCDD_MASK) |
KPCR - Keypad Control Register | |
#define | KPP_KPCR_KRE_MASK (0xFFU) |
#define | KPP_KPCR_KRE_SHIFT (0U) |
#define | KPP_KPCR_KRE(x) (((uint16_t)(((uint16_t)(x)) << KPP_KPCR_KRE_SHIFT)) & KPP_KPCR_KRE_MASK) |
#define | KPP_KPCR_KCO_MASK (0xFF00U) |
#define | KPP_KPCR_KCO_SHIFT (8U) |
#define | KPP_KPCR_KCO(x) (((uint16_t)(((uint16_t)(x)) << KPP_KPCR_KCO_SHIFT)) & KPP_KPCR_KCO_MASK) |
KPSR - Keypad Status Register | |
#define | KPP_KPSR_KPKD_MASK (0x1U) |
#define | KPP_KPSR_KPKD_SHIFT (0U) |
#define | KPP_KPSR_KPKD(x) (((uint16_t)(((uint16_t)(x)) << KPP_KPSR_KPKD_SHIFT)) & KPP_KPSR_KPKD_MASK) |
#define | KPP_KPSR_KPKR_MASK (0x2U) |
#define | KPP_KPSR_KPKR_SHIFT (1U) |
#define | KPP_KPSR_KPKR(x) (((uint16_t)(((uint16_t)(x)) << KPP_KPSR_KPKR_SHIFT)) & KPP_KPSR_KPKR_MASK) |
#define | KPP_KPSR_KDSC_MASK (0x4U) |
#define | KPP_KPSR_KDSC_SHIFT (2U) |
#define | KPP_KPSR_KDSC(x) (((uint16_t)(((uint16_t)(x)) << KPP_KPSR_KDSC_SHIFT)) & KPP_KPSR_KDSC_MASK) |
#define | KPP_KPSR_KRSS_MASK (0x8U) |
#define | KPP_KPSR_KRSS_SHIFT (3U) |
#define | KPP_KPSR_KRSS(x) (((uint16_t)(((uint16_t)(x)) << KPP_KPSR_KRSS_SHIFT)) & KPP_KPSR_KRSS_MASK) |
#define | KPP_KPSR_KDIE_MASK (0x100U) |
#define | KPP_KPSR_KDIE_SHIFT (8U) |
#define | KPP_KPSR_KDIE(x) (((uint16_t)(((uint16_t)(x)) << KPP_KPSR_KDIE_SHIFT)) & KPP_KPSR_KDIE_MASK) |
#define | KPP_KPSR_KRIE_MASK (0x200U) |
#define | KPP_KPSR_KRIE_SHIFT (9U) |
#define | KPP_KPSR_KRIE(x) (((uint16_t)(((uint16_t)(x)) << KPP_KPSR_KRIE_SHIFT)) & KPP_KPSR_KRIE_MASK) |
KDDR - Keypad Data Direction Register | |
#define | KPP_KDDR_KRDD_MASK (0xFFU) |
#define | KPP_KDDR_KRDD_SHIFT (0U) |
#define | KPP_KDDR_KRDD(x) (((uint16_t)(((uint16_t)(x)) << KPP_KDDR_KRDD_SHIFT)) & KPP_KDDR_KRDD_MASK) |
#define | KPP_KDDR_KCDD_MASK (0xFF00U) |
#define | KPP_KDDR_KCDD_SHIFT (8U) |
#define | KPP_KDDR_KCDD(x) (((uint16_t)(((uint16_t)(x)) << KPP_KDDR_KCDD_SHIFT)) & KPP_KDDR_KCDD_MASK) |
KPDR - Keypad Data Register | |
#define | KPP_KPDR_KRD_MASK (0xFFU) |
#define | KPP_KPDR_KRD_SHIFT (0U) |
#define | KPP_KPDR_KRD(x) (((uint16_t)(((uint16_t)(x)) << KPP_KPDR_KRD_SHIFT)) & KPP_KPDR_KRD_MASK) |
#define | KPP_KPDR_KCD_MASK (0xFF00U) |
#define | KPP_KPDR_KCD_SHIFT (8U) |
#define | KPP_KPDR_KCD(x) (((uint16_t)(((uint16_t)(x)) << KPP_KPDR_KCD_SHIFT)) & KPP_KPDR_KCD_MASK) |
KPCR - Keypad Control Register | |
#define | KPP_KPCR_KRE_MASK (0xFFU) |
#define | KPP_KPCR_KRE_SHIFT (0U) |
#define | KPP_KPCR_KRE(x) (((uint16_t)(((uint16_t)(x)) << KPP_KPCR_KRE_SHIFT)) & KPP_KPCR_KRE_MASK) |
#define | KPP_KPCR_KCO_MASK (0xFF00U) |
#define | KPP_KPCR_KCO_SHIFT (8U) |
#define | KPP_KPCR_KCO(x) (((uint16_t)(((uint16_t)(x)) << KPP_KPCR_KCO_SHIFT)) & KPP_KPCR_KCO_MASK) |
KPSR - Keypad Status Register | |
#define | KPP_KPSR_KPKD_MASK (0x1U) |
#define | KPP_KPSR_KPKD_SHIFT (0U) |
#define | KPP_KPSR_KPKD(x) (((uint16_t)(((uint16_t)(x)) << KPP_KPSR_KPKD_SHIFT)) & KPP_KPSR_KPKD_MASK) |
#define | KPP_KPSR_KPKR_MASK (0x2U) |
#define | KPP_KPSR_KPKR_SHIFT (1U) |
#define | KPP_KPSR_KPKR(x) (((uint16_t)(((uint16_t)(x)) << KPP_KPSR_KPKR_SHIFT)) & KPP_KPSR_KPKR_MASK) |
#define | KPP_KPSR_KDSC_MASK (0x4U) |
#define | KPP_KPSR_KDSC_SHIFT (2U) |
#define | KPP_KPSR_KDSC(x) (((uint16_t)(((uint16_t)(x)) << KPP_KPSR_KDSC_SHIFT)) & KPP_KPSR_KDSC_MASK) |
#define | KPP_KPSR_KRSS_MASK (0x8U) |
#define | KPP_KPSR_KRSS_SHIFT (3U) |
#define | KPP_KPSR_KRSS(x) (((uint16_t)(((uint16_t)(x)) << KPP_KPSR_KRSS_SHIFT)) & KPP_KPSR_KRSS_MASK) |
#define | KPP_KPSR_KDIE_MASK (0x100U) |
#define | KPP_KPSR_KDIE_SHIFT (8U) |
#define | KPP_KPSR_KDIE(x) (((uint16_t)(((uint16_t)(x)) << KPP_KPSR_KDIE_SHIFT)) & KPP_KPSR_KDIE_MASK) |
#define | KPP_KPSR_KRIE_MASK (0x200U) |
#define | KPP_KPSR_KRIE_SHIFT (9U) |
#define | KPP_KPSR_KRIE(x) (((uint16_t)(((uint16_t)(x)) << KPP_KPSR_KRIE_SHIFT)) & KPP_KPSR_KRIE_MASK) |
KDDR - Keypad Data Direction Register | |
#define | KPP_KDDR_KRDD_MASK (0xFFU) |
#define | KPP_KDDR_KRDD_SHIFT (0U) |
#define | KPP_KDDR_KRDD(x) (((uint16_t)(((uint16_t)(x)) << KPP_KDDR_KRDD_SHIFT)) & KPP_KDDR_KRDD_MASK) |
#define | KPP_KDDR_KCDD_MASK (0xFF00U) |
#define | KPP_KDDR_KCDD_SHIFT (8U) |
#define | KPP_KDDR_KCDD(x) (((uint16_t)(((uint16_t)(x)) << KPP_KDDR_KCDD_SHIFT)) & KPP_KDDR_KCDD_MASK) |
KPDR - Keypad Data Register | |
#define | KPP_KPDR_KRD_MASK (0xFFU) |
#define | KPP_KPDR_KRD_SHIFT (0U) |
#define | KPP_KPDR_KRD(x) (((uint16_t)(((uint16_t)(x)) << KPP_KPDR_KRD_SHIFT)) & KPP_KPDR_KRD_MASK) |
#define | KPP_KPDR_KCD_MASK (0xFF00U) |
#define | KPP_KPDR_KCD_SHIFT (8U) |
#define | KPP_KPDR_KCD(x) (((uint16_t)(((uint16_t)(x)) << KPP_KPDR_KCD_SHIFT)) & KPP_KPDR_KCD_MASK) |
#define KPP_KDDR_KCDD | ( | x | ) | (((uint16_t)(((uint16_t)(x)) << KPP_KDDR_KCDD_SHIFT)) & KPP_KDDR_KCDD_MASK) |
KCDD 0b00000000..COLn pin is configured as an input. 0b00000001..COLn pin is configured as an output.
#define KPP_KDDR_KCDD | ( | x | ) | (((uint16_t)(((uint16_t)(x)) << KPP_KDDR_KCDD_SHIFT)) & KPP_KDDR_KCDD_MASK) |
KCDD - KCDD 0b00000000..COLn pin is configured as an input. 0b00000001..COLn pin is configured as an output.
#define KPP_KDDR_KCDD | ( | x | ) | (((uint16_t)(((uint16_t)(x)) << KPP_KDDR_KCDD_SHIFT)) & KPP_KDDR_KCDD_MASK) |
KCDD - KCDD 0b00000000..COLn pin is configured as an input. 0b00000001..COLn pin is configured as an output.
#define KPP_KDDR_KRDD | ( | x | ) | (((uint16_t)(((uint16_t)(x)) << KPP_KDDR_KRDD_SHIFT)) & KPP_KDDR_KRDD_MASK) |
KRDD 0b00000000..ROWn pin configured as an input. 0b00000001..ROWn pin configured as an output.
#define KPP_KDDR_KRDD | ( | x | ) | (((uint16_t)(((uint16_t)(x)) << KPP_KDDR_KRDD_SHIFT)) & KPP_KDDR_KRDD_MASK) |
KRDD - KRDD 0b00000000..ROWn pin configured as an input. 0b00000001..ROWn pin configured as an output.
#define KPP_KDDR_KRDD | ( | x | ) | (((uint16_t)(((uint16_t)(x)) << KPP_KDDR_KRDD_SHIFT)) & KPP_KDDR_KRDD_MASK) |
KRDD - KRDD 0b00000000..ROWn pin configured as an input. 0b00000001..ROWn pin configured as an output.
#define KPP_KPCR_KCO | ( | x | ) | (((uint16_t)(((uint16_t)(x)) << KPP_KPCR_KCO_SHIFT)) & KPP_KPCR_KCO_MASK) |
KCO 0b00000000..Column strobe output is totem pole drive. 0b00000001..Column strobe output is open drain.
#define KPP_KPCR_KCO | ( | x | ) | (((uint16_t)(((uint16_t)(x)) << KPP_KPCR_KCO_SHIFT)) & KPP_KPCR_KCO_MASK) |
KCO - KCO 0b00000000..Column strobe output is totem pole drive. 0b00000001..Column strobe output is open drain.
#define KPP_KPCR_KCO | ( | x | ) | (((uint16_t)(((uint16_t)(x)) << KPP_KPCR_KCO_SHIFT)) & KPP_KPCR_KCO_MASK) |
KCO - KCO 0b00000000..Column strobe output is totem pole drive. 0b00000001..Column strobe output is open drain.
#define KPP_KPCR_KRE | ( | x | ) | (((uint16_t)(((uint16_t)(x)) << KPP_KPCR_KRE_SHIFT)) & KPP_KPCR_KRE_MASK) |
KRE 0b00000000..Row is not included in the keypad key press detect. 0b00000001..Row is included in the keypad key press detect.
#define KPP_KPCR_KRE | ( | x | ) | (((uint16_t)(((uint16_t)(x)) << KPP_KPCR_KRE_SHIFT)) & KPP_KPCR_KRE_MASK) |
KRE - KRE 0b00000000..Row is not included in the keypad key press detect. 0b00000001..Row is included in the keypad key press detect.
#define KPP_KPCR_KRE | ( | x | ) | (((uint16_t)(((uint16_t)(x)) << KPP_KPCR_KRE_SHIFT)) & KPP_KPCR_KRE_MASK) |
KRE - KRE 0b00000000..Row is not included in the keypad key press detect. 0b00000001..Row is included in the keypad key press detect.
#define KPP_KPDR_KCD | ( | x | ) | (((uint16_t)(((uint16_t)(x)) << KPP_KPDR_KCD_SHIFT)) & KPP_KPDR_KCD_MASK) |
KCD - KCD
#define KPP_KPDR_KCD | ( | x | ) | (((uint16_t)(((uint16_t)(x)) << KPP_KPDR_KCD_SHIFT)) & KPP_KPDR_KCD_MASK) |
KCD - KCD
#define KPP_KPDR_KRD | ( | x | ) | (((uint16_t)(((uint16_t)(x)) << KPP_KPDR_KRD_SHIFT)) & KPP_KPDR_KRD_MASK) |
KRD - KRD
#define KPP_KPDR_KRD | ( | x | ) | (((uint16_t)(((uint16_t)(x)) << KPP_KPDR_KRD_SHIFT)) & KPP_KPDR_KRD_MASK) |
KRD - KRD
#define KPP_KPSR_KDIE | ( | x | ) | (((uint16_t)(((uint16_t)(x)) << KPP_KPSR_KDIE_SHIFT)) & KPP_KPSR_KDIE_MASK) |
KDIE 0b0..No interrupt request is generated when KPKD is set. 0b1..An interrupt request is generated when KPKD is set.
#define KPP_KPSR_KDIE | ( | x | ) | (((uint16_t)(((uint16_t)(x)) << KPP_KPSR_KDIE_SHIFT)) & KPP_KPSR_KDIE_MASK) |
KDIE - KDIE 0b0..No interrupt request is generated when KPKD is set. 0b1..An interrupt request is generated when KPKD is set.
#define KPP_KPSR_KDIE | ( | x | ) | (((uint16_t)(((uint16_t)(x)) << KPP_KPSR_KDIE_SHIFT)) & KPP_KPSR_KDIE_MASK) |
KDIE - KDIE 0b0..No interrupt request is generated when KPKD is set. 0b1..An interrupt request is generated when KPKD is set.
#define KPP_KPSR_KDSC | ( | x | ) | (((uint16_t)(((uint16_t)(x)) << KPP_KPSR_KDSC_SHIFT)) & KPP_KPSR_KDSC_MASK) |
KDSC 0b0..No effect 0b1..Set bits that clear the keypad depress synchronizer chain
#define KPP_KPSR_KDSC | ( | x | ) | (((uint16_t)(((uint16_t)(x)) << KPP_KPSR_KDSC_SHIFT)) & KPP_KPSR_KDSC_MASK) |
KDSC - KDSC 0b0..No effect 0b1..Set bits that clear the keypad depress synchronizer chain
#define KPP_KPSR_KDSC | ( | x | ) | (((uint16_t)(((uint16_t)(x)) << KPP_KPSR_KDSC_SHIFT)) & KPP_KPSR_KDSC_MASK) |
KDSC - KDSC 0b0..No effect 0b1..Set bits that clear the keypad depress synchronizer chain
#define KPP_KPSR_KPKD | ( | x | ) | (((uint16_t)(((uint16_t)(x)) << KPP_KPSR_KPKD_SHIFT)) & KPP_KPSR_KPKD_MASK) |
KPKD 0b0..No key presses detected 0b1..A key has been depressed
#define KPP_KPSR_KPKD | ( | x | ) | (((uint16_t)(((uint16_t)(x)) << KPP_KPSR_KPKD_SHIFT)) & KPP_KPSR_KPKD_MASK) |
KPKD - KPKD 0b0..No key presses detected 0b1..A key has been depressed
#define KPP_KPSR_KPKD | ( | x | ) | (((uint16_t)(((uint16_t)(x)) << KPP_KPSR_KPKD_SHIFT)) & KPP_KPSR_KPKD_MASK) |
KPKD - KPKD 0b0..No key presses detected 0b1..A key has been depressed
#define KPP_KPSR_KPKR | ( | x | ) | (((uint16_t)(((uint16_t)(x)) << KPP_KPSR_KPKR_SHIFT)) & KPP_KPSR_KPKR_MASK) |
KPKR 0b0..No key release detected 0b1..All keys have been released
#define KPP_KPSR_KPKR | ( | x | ) | (((uint16_t)(((uint16_t)(x)) << KPP_KPSR_KPKR_SHIFT)) & KPP_KPSR_KPKR_MASK) |
KPKR - KPKR 0b0..No key release detected 0b1..All keys have been released
#define KPP_KPSR_KPKR | ( | x | ) | (((uint16_t)(((uint16_t)(x)) << KPP_KPSR_KPKR_SHIFT)) & KPP_KPSR_KPKR_MASK) |
KPKR - KPKR 0b0..No key release detected 0b1..All keys have been released
#define KPP_KPSR_KRIE | ( | x | ) | (((uint16_t)(((uint16_t)(x)) << KPP_KPSR_KRIE_SHIFT)) & KPP_KPSR_KRIE_MASK) |
KRIE 0b0..No interrupt request is generated when KPKR is set. 0b1..An interrupt request is generated when KPKR is set.
#define KPP_KPSR_KRIE | ( | x | ) | (((uint16_t)(((uint16_t)(x)) << KPP_KPSR_KRIE_SHIFT)) & KPP_KPSR_KRIE_MASK) |
KRIE - KRIE 0b0..No interrupt request is generated when KPKR is set. 0b1..An interrupt request is generated when KPKR is set.
#define KPP_KPSR_KRIE | ( | x | ) | (((uint16_t)(((uint16_t)(x)) << KPP_KPSR_KRIE_SHIFT)) & KPP_KPSR_KRIE_MASK) |
KRIE - KRIE 0b0..No interrupt request is generated when KPKR is set. 0b1..An interrupt request is generated when KPKR is set.
#define KPP_KPSR_KRSS | ( | x | ) | (((uint16_t)(((uint16_t)(x)) << KPP_KPSR_KRSS_SHIFT)) & KPP_KPSR_KRSS_MASK) |
KRSS 0b0..No effect 0b1..Set bits which sets keypad release synchronizer chain
#define KPP_KPSR_KRSS | ( | x | ) | (((uint16_t)(((uint16_t)(x)) << KPP_KPSR_KRSS_SHIFT)) & KPP_KPSR_KRSS_MASK) |
KRSS - KRSS 0b0..No effect 0b1..Set bits which sets keypad release synchronizer chain
#define KPP_KPSR_KRSS | ( | x | ) | (((uint16_t)(((uint16_t)(x)) << KPP_KPSR_KRSS_SHIFT)) & KPP_KPSR_KRSS_MASK) |
KRSS - KRSS 0b0..No effect 0b1..Set bits which sets keypad release synchronizer chain