/hal_nxp-3.7.0/mcux/mcux-sdk/drivers/tsi/ |
D | fsl_tsi_v4.h | 349 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 …]
|
D | fsl_tsi_v5.h | 758 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 …]
|
D | fsl_tsi_v5.c | 78 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 …]
|
D | fsl_tsi_v4.c | 35 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/ |
D | fsl_tsi_v4.h | 349 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 …]
|
D | fsl_tsi_v4.c | 35 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/ |
D | fsl_tsi_v6.h | 779 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 …]
|
D | fsl_tsi_v6.c | 75 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/ |
D | fsl_tsi_v5.h | 817 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 …]
|
D | fsl_tsi_v5.c | 78 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/ |
D | MKL25Z4.h | 4345 …__IO uint32_t GENCS; /**< TSI General Control and Status Register, off… member
|
/hal_nxp-3.7.0/mcux/mcux-sdk/devices/MKE15Z4/ |
D | MKE15Z4.h | 10971 …__IO uint32_t GENCS; /**< TSI General Control and Status Register, off… member
|
/hal_nxp-3.7.0/mcux/mcux-sdk/devices/MKW40Z4/ |
D | MKW40Z4.h | 8871 …__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/ |
D | MKW30Z4.h | 8871 …__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/ |
D | MKW20Z4.h | 8871 …__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/ |
D | MKE16Z4.h | 11808 …__IO uint32_t GENCS; /**< TSI General Control and Status Register, off… member
|
/hal_nxp-3.7.0/mcux/mcux-sdk/devices/MKE13Z7/ |
D | MKE13Z7.h | 13668 …__IO uint32_t GENCS; /**< TSI General Control and Status Register, off… member
|
/hal_nxp-3.7.0/mcux/mcux-sdk/devices/MKE17Z7/ |
D | MKE17Z7.h | 13672 …__IO uint32_t GENCS; /**< TSI General Control and Status Register, off… member
|
/hal_nxp-3.7.0/mcux/mcux-sdk/devices/MKE17Z9/ |
D | MKE17Z9.h | 13643 …__IO uint32_t GENCS; /**< TSI general control and status register, off… member
|
/hal_nxp-3.7.0/mcux/mcux-sdk/devices/MKE13Z9/ |
D | MKE13Z9.h | 13640 …__IO uint32_t GENCS; /**< TSI general control and status register, off… member
|
/hal_nxp-3.7.0/mcux/mcux-sdk/devices/MKE15Z7/ |
D | MKE15Z7.h | 13883 …__IO uint32_t GENCS; /**< TSI General Control and Status Register, off… member
|
/hal_nxp-3.7.0/mcux/mcux-sdk/devices/K32L2A31A/ |
D | K32L2A31A.h | 17099 __IO uint32_t GENCS; /**< TSI General Control and Status Register, offset: 0x0 */ member
|
/hal_nxp-3.7.0/mcux/mcux-sdk/devices/K32L2A41A/ |
D | K32L2A41A.h | 17099 __IO uint32_t GENCS; /**< TSI General Control and Status Register, offset: 0x0 */ member
|
/hal_nxp-3.7.0/mcux/mcux-sdk/devices/MKW31Z4/ |
D | MKW31Z4.h | 7759 …__IO uint32_t GENCS; /**< TSI General Control and Status Register, off… member
|
/hal_nxp-3.7.0/mcux/mcux-sdk/devices/MKW41Z4/ |
D | MKW41Z4.h | 7759 …__IO uint32_t GENCS; /**< TSI General Control and Status Register, off… member
|