Searched refs:TK (Results 1 – 3 of 3) sorted by relevance
35 TK->SCANC |= TK_SCANC_TK_EN_Msk; in TK_Open()38 TK->IDLSC = 0; in TK_Open()39 TK->IDLSC1 = 0; in TK_Open()40 TK->POLSEL = 0; in TK_Open()44 TK->IDLSC1 = 0; in TK_Open()45 TK->POLSEL1 = 0; in TK_Open()47 TK->POLC &= ~(TK_POLC_IDLS16_Msk | TK_POLC_POL16_Msk); in TK_Open()58 TK->SCANC &= ~TK_SCANC_TK_EN_Msk; in TK_Close()76 TK->SCANC &= ~TK_SCANC_TRG_EN_Msk; in TK_SetScanMode()77 TK->REFC &= ~TK_REFC_SCAN_ALL_Msk; in TK_SetScanMode()[all …]
149 #define TK_ENABLE_SCAN_KEY(u32Mask) (TK->SCANC |= (u32Mask&0x1FFFF)); \150 (TK->SCANC1 |= ((u32Mask)>>17))159 #define TK_DISABLE_SCAN_KEY(u32Mask) (TK->SCANC &= ~(u32Mask&0x1FFFF)); \160 (TK->SCANC1 &= ~((u32Mask)>>17))170 #define TK_ENABLE_REF_KEY(u32Mask) (TK->REFC |= (u32Mask&0x1FFFF)); \171 (TK->REFC1 |= (u32Mask>>17))182 #define TK_DISABLE_REF_KEY(u32Mask) (TK->REFC &= ~(u32Mask&0x1FFFF)); \183 (TK->REFC1 &= ~(u32Mask>>17))190 #define TK_START_SCAN() (TK->SCANC |= TK_SCANC_SCAN_Msk)204 #define TK_SET_PULSE_WIDTH(u32PulseWidth) (TK->REFC = (TK->REFC & ~TK_REFC_PULSET_Msk) | (u32PulseW…[all …]
530 #define TK ((TK_T *) TK_BASE) macro