Home
last modified time | relevance | path

Searched refs:pinIndex (Results 1 – 2 of 2) sorted by relevance

/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/llwu/
Dfsl_llwu.c27 void LLWU_SetExternalWakeupPinMode(LLWU_Type *base, uint32_t pinIndex, llwu_external_pin_mode_t pin… in LLWU_SetExternalWakeupPinMode() argument
34 switch (pinIndex >> 4U) in LLWU_SetExternalWakeupPinMode()
52 regOffset = ((pinIndex & 0x0FU) << 1U); in LLWU_SetExternalWakeupPinMode()
61 switch (pinIndex >> 2U) in LLWU_SetExternalWakeupPinMode()
107 regOffset = (uint8_t)((pinIndex & 0x03U) << 1U); in LLWU_SetExternalWakeupPinMode()
125 bool LLWU_GetExternalWakeupPinFlag(LLWU_Type *base, uint32_t pinIndex) in LLWU_GetExternalWakeupPinFlag() argument
128 return (0U != (base->PF & (1UL << pinIndex))); in LLWU_GetExternalWakeupPinFlag()
133 switch (pinIndex >> 3U) in LLWU_GetExternalWakeupPinFlag()
181 if (0U != (*regBase & (1U << pinIndex % 8U))) in LLWU_GetExternalWakeupPinFlag()
207 void LLWU_ClearExternalWakeupPinFlag(LLWU_Type *base, uint32_t pinIndex) in LLWU_ClearExternalWakeupPinFlag() argument
[all …]
Dfsl_llwu.h85 uint32_t pinIndex; /*!< A pin number */ member
162 void LLWU_SetExternalWakeupPinMode(LLWU_Type *base, uint32_t pinIndex, llwu_external_pin_mode_t pin…
174 bool LLWU_GetExternalWakeupPinFlag(LLWU_Type *base, uint32_t pinIndex);
184 void LLWU_ClearExternalWakeupPinFlag(LLWU_Type *base, uint32_t pinIndex);