Home
last modified time | relevance | path

Searched refs:GENCS (Results 1 – 25 of 39) sorted by relevance

12

/hal_nxp-3.7.0/mcux/mcux-sdk/drivers/tsi/
Dfsl_tsi_v4.h349 return (base->GENCS & ((uint32_t)kTSI_EndOfScanFlag | (uint32_t)kTSI_OutOfRangeFlag)); in TSI_GetStatusFlags()
371 return (base->GENCS & TSI_GENCS_STM_MASK); in TSI_GetScanTriggerMode()
383 return (bool)(base->GENCS & TSI_GENCS_SCNIP_MASK); in TSI_IsScanInProgress()
395 base->GENCS = (base->GENCS & ~(TSI_GENCS_PS_MASK | ALL_FLAGS_MASK)) | (TSI_GENCS_PS(prescaler)); in TSI_SetElectrodeOSCPrescaler()
407 … base->GENCS = (base->GENCS & ~(TSI_GENCS_NSCN_MASK | ALL_FLAGS_MASK)) | (TSI_GENCS_NSCN(number)); in TSI_SetNumberOfScans()
423 base->GENCS = (base->GENCS & ~ALL_FLAGS_MASK) | TSI_GENCS_TSIEN_MASK; /* Enable module */ in TSI_EnableModule()
427 … base->GENCS = (base->GENCS & ~ALL_FLAGS_MASK) & (~TSI_GENCS_TSIEN_MASK); /* Disable module */ in TSI_EnableModule()
445 base->GENCS = in TSI_EnableLowPower()
446 …(base->GENCS & ~ALL_FLAGS_MASK) | TSI_GENCS_STPE_MASK; /* Module enabled in low power stop modes */ in TSI_EnableLowPower()
450 base->GENCS = in TSI_EnableLowPower()
[all …]
Dfsl_tsi_v5.h758 return (base->GENCS & (uint32_t)((uint32_t)kTSI_EndOfScanFlag | (uint32_t)kTSI_OutOfRangeFlag)); in TSI_GetStatusFlags()
780 return (base->GENCS & TSI_GENCS_STM_MASK); in TSI_GetScanTriggerMode()
792 return (bool)(base->GENCS & TSI_GENCS_SCNIP_MASK); in TSI_IsScanInProgress()
808 base->GENCS = (base->GENCS & ~ALL_FLAGS_MASK) | TSI_GENCS_TSIEN_MASK; /* Enable module */ in TSI_EnableModule()
812 … base->GENCS = (base->GENCS & ~ALL_FLAGS_MASK) & (~TSI_GENCS_TSIEN_MASK); /* Disable module */ in TSI_EnableModule()
830 base->GENCS = in TSI_EnableLowPower()
831 …(base->GENCS & ~ALL_FLAGS_MASK) | TSI_GENCS_STPE_MASK; /* Module enabled in low power stop modes */ in TSI_EnableLowPower()
835 base->GENCS = in TSI_EnableLowPower()
836 …(base->GENCS & ~ALL_FLAGS_MASK) & (~TSI_GENCS_STPE_MASK); /* Module disabled in low power stop mod… in TSI_EnableLowPower()
853 …base->GENCS = (base->GENCS & ~ALL_FLAGS_MASK) | TSI_GENCS_STM_MASK; /* Enable hardware trigger sca… in TSI_EnableHardwareTriggerScan()
[all …]
Dfsl_tsi_v5.c78 if ((bool)(base->GENCS & TSI_GENCS_TSIEN_MASK)) in TSI_InitSelfCapMode()
83 if ((bool)(base->GENCS & TSI_GENCS_TSIIEN_MASK)) in TSI_InitSelfCapMode()
94 base->GENCS = in TSI_InitSelfCapMode()
95 …(base->GENCS & (~(ALL_FLAGS_MASK | TSI_GENCS_DVOLT_MASK))) | TSI_GENCS_DVOLT(config->commonConfig.… in TSI_InitSelfCapMode()
147 if ((bool)(base->GENCS & TSI_GENCS_TSIEN_MASK)) in TSI_InitMutualCapMode()
152 if ((bool)(base->GENCS & (uint32_t)TSI_GENCS_TSIIEN_MASK)) in TSI_InitMutualCapMode()
162 base->GENCS = in TSI_InitMutualCapMode()
163 …(base->GENCS & (~(ALL_FLAGS_MASK | TSI_GENCS_DVOLT_MASK))) | TSI_GENCS_DVOLT(config->commonConfig.… in TSI_InitMutualCapMode()
208 base->GENCS = 0U; in TSI_Deinit()
352 if ((bool)(base->GENCS & TSI_GENCS_TSIIEN_MASK)) in TSI_SelfCapCalibrate()
[all …]
Dfsl_tsi_v4.c35 if ((bool)(base->GENCS & TSI_GENCS_TSIEN_MASK)) in TSI_Init()
40 if ((bool)(base->GENCS & TSI_GENCS_TSIIEN_MASK)) in TSI_Init()
90 base->GENCS = 0U; in TSI_Deinit()
186 if ((bool)(base->GENCS & TSI_GENCS_TSIIEN_MASK)) in TSI_Calibrate()
218 uint32_t regValue = base->GENCS & (~ALL_FLAGS_MASK); in TSI_EnableInterrupts()
233 base->GENCS = regValue; /* write value to register */ in TSI_EnableInterrupts()
247 uint32_t regValue = base->GENCS & (~ALL_FLAGS_MASK); in TSI_DisableInterrupts()
262 base->GENCS = regValue; /* write value to register */ in TSI_DisableInterrupts()
276 uint32_t regValue = base->GENCS & (~ALL_FLAGS_MASK); in TSI_ClearStatusFlags()
287 base->GENCS = regValue; /* write value to register */ in TSI_ClearStatusFlags()
/hal_nxp-3.7.0/mcux/mcux-sdk/drivers/tsi/tsi_v4/
Dfsl_tsi_v4.h349 return (base->GENCS & ((uint32_t)kTSI_EndOfScanFlag | (uint32_t)kTSI_OutOfRangeFlag)); in TSI_GetStatusFlags()
371 return (base->GENCS & TSI_GENCS_STM_MASK); in TSI_GetScanTriggerMode()
383 return (bool)(base->GENCS & TSI_GENCS_SCNIP_MASK); in TSI_IsScanInProgress()
395 base->GENCS = (base->GENCS & ~(TSI_GENCS_PS_MASK | ALL_FLAGS_MASK)) | (TSI_GENCS_PS(prescaler)); in TSI_SetElectrodeOSCPrescaler()
407 … base->GENCS = (base->GENCS & ~(TSI_GENCS_NSCN_MASK | ALL_FLAGS_MASK)) | (TSI_GENCS_NSCN(number)); in TSI_SetNumberOfScans()
423 base->GENCS = (base->GENCS & ~ALL_FLAGS_MASK) | TSI_GENCS_TSIEN_MASK; /* Enable module */ in TSI_EnableModule()
427 … base->GENCS = (base->GENCS & ~ALL_FLAGS_MASK) & (~TSI_GENCS_TSIEN_MASK); /* Disable module */ in TSI_EnableModule()
445 base->GENCS = in TSI_EnableLowPower()
446 …(base->GENCS & ~ALL_FLAGS_MASK) | TSI_GENCS_STPE_MASK; /* Module enabled in low power stop modes */ in TSI_EnableLowPower()
450 base->GENCS = in TSI_EnableLowPower()
[all …]
Dfsl_tsi_v4.c35 if ((bool)(base->GENCS & TSI_GENCS_TSIEN_MASK)) in TSI_Init()
40 if ((bool)(base->GENCS & TSI_GENCS_TSIIEN_MASK)) in TSI_Init()
90 base->GENCS = 0U; in TSI_Deinit()
186 if ((bool)(base->GENCS & TSI_GENCS_TSIIEN_MASK)) in TSI_Calibrate()
218 uint32_t regValue = base->GENCS & (~ALL_FLAGS_MASK); in TSI_EnableInterrupts()
233 base->GENCS = regValue; /* write value to register */ in TSI_EnableInterrupts()
247 uint32_t regValue = base->GENCS & (~ALL_FLAGS_MASK); in TSI_DisableInterrupts()
262 base->GENCS = regValue; /* write value to register */ in TSI_DisableInterrupts()
276 uint32_t regValue = base->GENCS & (~ALL_FLAGS_MASK); in TSI_ClearStatusFlags()
287 base->GENCS = regValue; /* write value to register */ in TSI_ClearStatusFlags()
/hal_nxp-3.7.0/mcux/mcux-sdk/drivers/tsi/tsi_v6/
Dfsl_tsi_v6.h779 return (base->GENCS & TSI_GENCS_STM_MASK); in TSI_GetScanTriggerMode()
796 base->GENCS = base->GENCS | TSI_GENCS_TSIEN_MASK; /* Enable module */ in TSI_EnableModule()
801 base->GENCS = base->GENCS & ~TSI_GENCS_TSIEN_MASK; /* Disable module */ in TSI_EnableModule()
819 base->GENCS = in TSI_EnableLowPower()
820 …(base->GENCS & ~ALL_FLAGS_MASK) | TSI_GENCS_STPE_MASK; /* Module enabled in low power stop modes */ in TSI_EnableLowPower()
824 base->GENCS = in TSI_EnableLowPower()
825 …(base->GENCS & ~ALL_FLAGS_MASK) & (~TSI_GENCS_STPE_MASK); /* Module disabled in low power stop mod… in TSI_EnableLowPower()
843 base->GENCS = base->GENCS | TSI_GENCS_STM_MASK; /* Enable hardware trigger scan */ in TSI_EnableHardwareTriggerScan()
848 base->GENCS = base->GENCS & ~TSI_GENCS_STM_MASK; /* Enable software trigger scan */ in TSI_EnableHardwareTriggerScan()
860 base->GENCS |= TSI_GENCS_SWTS_MASK; in TSI_StartSoftwareTrigger()
[all …]
Dfsl_tsi_v6.c75 if ((bool)(base->GENCS & TSI_GENCS_TSIEN_MASK)) in TSI_InitSelfCapMode()
86 temp = (base->GENCS) & ~(TSI_GENCS_SETCLK_MASK); in TSI_InitSelfCapMode()
87 base->GENCS = temp | (TSI_GENCS_SETCLK(config->commonConfig.mainClock)); in TSI_InitSelfCapMode()
93 …base->GENCS = (base->GENCS & (~(TSI_GENCS_DVOLT_MASK))) | TSI_GENCS_DVOLT(config->commonConfig.dvo… in TSI_InitSelfCapMode()
145 if ((bool)(base->GENCS & TSI_GENCS_TSIEN_MASK)) in TSI_InitMutualCapMode()
154 temp = (base->GENCS) & ~(TSI_GENCS_SETCLK_MASK); in TSI_InitMutualCapMode()
155 base->GENCS = temp | (TSI_GENCS_SETCLK(config->commonConfig.mainClock)); in TSI_InitMutualCapMode()
158 …base->GENCS = (base->GENCS & (~(TSI_GENCS_DVOLT_MASK))) | TSI_GENCS_DVOLT(config->commonConfig.dvo… in TSI_InitMutualCapMode()
207 base->GENCS = 0U; in TSI_Deinit()
353 if ((bool)(base->GENCS & TSI_GENCS_ESOR_MASK)) in TSI_SelfCapCalibrate()
[all …]
/hal_nxp-3.7.0/mcux/mcux-sdk/drivers/tsi/tsi_v5/
Dfsl_tsi_v5.h817 return (base->GENCS & (uint32_t)((uint32_t)kTSI_EndOfScanFlag | (uint32_t)kTSI_OutOfRangeFlag)); in TSI_GetStatusFlags()
839 return (base->GENCS & TSI_GENCS_STM_MASK); in TSI_GetScanTriggerMode()
851 return (bool)(base->GENCS & TSI_GENCS_SCNIP_MASK); in TSI_IsScanInProgress()
867 base->GENCS = (base->GENCS & ~ALL_FLAGS_MASK) | TSI_GENCS_TSIEN_MASK; /* Enable module */ in TSI_EnableModule()
871 … base->GENCS = (base->GENCS & ~ALL_FLAGS_MASK) & (~TSI_GENCS_TSIEN_MASK); /* Disable module */ in TSI_EnableModule()
889 base->GENCS = in TSI_EnableLowPower()
890 …(base->GENCS & ~ALL_FLAGS_MASK) | TSI_GENCS_STPE_MASK; /* Module enabled in low power stop modes */ in TSI_EnableLowPower()
894 base->GENCS = in TSI_EnableLowPower()
895 …(base->GENCS & ~ALL_FLAGS_MASK) & (~TSI_GENCS_STPE_MASK); /* Module disabled in low power stop mod… in TSI_EnableLowPower()
912 …base->GENCS = (base->GENCS & ~ALL_FLAGS_MASK) | TSI_GENCS_STM_MASK; /* Enable hardware trigger sca… in TSI_EnableHardwareTriggerScan()
[all …]
Dfsl_tsi_v5.c78 if ((bool)(base->GENCS & TSI_GENCS_TSIEN_MASK)) in TSI_InitSelfCapMode()
83 if ((bool)(base->GENCS & TSI_GENCS_TSIIEN_MASK)) in TSI_InitSelfCapMode()
101 base->GENCS = in TSI_InitSelfCapMode()
102 …(base->GENCS & (~(ALL_FLAGS_MASK | TSI_GENCS_DVOLT_MASK))) | TSI_GENCS_DVOLT(config->commonConfig.… in TSI_InitSelfCapMode()
154 if ((bool)(base->GENCS & TSI_GENCS_TSIEN_MASK)) in TSI_InitMutualCapMode()
159 if ((bool)(base->GENCS & (uint32_t)TSI_GENCS_TSIIEN_MASK)) in TSI_InitMutualCapMode()
169 base->GENCS = in TSI_InitMutualCapMode()
170 …(base->GENCS & (~(ALL_FLAGS_MASK | TSI_GENCS_DVOLT_MASK))) | TSI_GENCS_DVOLT(config->commonConfig.… in TSI_InitMutualCapMode()
215 base->GENCS = 0U; in TSI_Deinit()
359 if ((bool)(base->GENCS & TSI_GENCS_TSIIEN_MASK)) in TSI_SelfCapCalibrate()
[all …]
/hal_nxp-3.7.0/mcux/mcux-sdk/devices/MKL25Z4/
DMKL25Z4.h4345 …__IO uint32_t GENCS; /**< TSI General Control and Status Register, off… member
/hal_nxp-3.7.0/mcux/mcux-sdk/devices/MKE15Z4/
DMKE15Z4.h10971 …__IO uint32_t GENCS; /**< TSI General Control and Status Register, off… member
/hal_nxp-3.7.0/mcux/mcux-sdk/devices/MKW40Z4/
DMKW40Z4.h8871 …__IO uint32_t GENCS; /**< TSI General Control and Status Register, off… member
8887 #define TSI_GENCS_REG(base) ((base)->GENCS)
/hal_nxp-3.7.0/mcux/mcux-sdk/devices/MKW30Z4/
DMKW30Z4.h8871 …__IO uint32_t GENCS; /**< TSI General Control and Status Register, off… member
8887 #define TSI_GENCS_REG(base) ((base)->GENCS)
/hal_nxp-3.7.0/mcux/mcux-sdk/devices/MKW20Z4/
DMKW20Z4.h8871 …__IO uint32_t GENCS; /**< TSI General Control and Status Register, off… member
8887 #define TSI_GENCS_REG(base) ((base)->GENCS)
/hal_nxp-3.7.0/mcux/mcux-sdk/devices/MKE16Z4/
DMKE16Z4.h11808 …__IO uint32_t GENCS; /**< TSI General Control and Status Register, off… member
/hal_nxp-3.7.0/mcux/mcux-sdk/devices/MKE13Z7/
DMKE13Z7.h13668 …__IO uint32_t GENCS; /**< TSI General Control and Status Register, off… member
/hal_nxp-3.7.0/mcux/mcux-sdk/devices/MKE17Z7/
DMKE17Z7.h13672 …__IO uint32_t GENCS; /**< TSI General Control and Status Register, off… member
/hal_nxp-3.7.0/mcux/mcux-sdk/devices/MKE17Z9/
DMKE17Z9.h13643 …__IO uint32_t GENCS; /**< TSI general control and status register, off… member
/hal_nxp-3.7.0/mcux/mcux-sdk/devices/MKE13Z9/
DMKE13Z9.h13640 …__IO uint32_t GENCS; /**< TSI general control and status register, off… member
/hal_nxp-3.7.0/mcux/mcux-sdk/devices/MKE15Z7/
DMKE15Z7.h13883 …__IO uint32_t GENCS; /**< TSI General Control and Status Register, off… member
/hal_nxp-3.7.0/mcux/mcux-sdk/devices/K32L2A31A/
DK32L2A31A.h17099 __IO uint32_t GENCS; /**< TSI General Control and Status Register, offset: 0x0 */ member
/hal_nxp-3.7.0/mcux/mcux-sdk/devices/K32L2A41A/
DK32L2A41A.h17099 __IO uint32_t GENCS; /**< TSI General Control and Status Register, offset: 0x0 */ member
/hal_nxp-3.7.0/mcux/mcux-sdk/devices/MKW31Z4/
DMKW31Z4.h7759 …__IO uint32_t GENCS; /**< TSI General Control and Status Register, off… member
/hal_nxp-3.7.0/mcux/mcux-sdk/devices/MKW41Z4/
DMKW41Z4.h7759 …__IO uint32_t GENCS; /**< TSI General Control and Status Register, off… member

12