Kinetis SDK v.1.3 API Reference Manual
Rev. 0
Freescale Semiconductor, Inc.
|
Data Structures | |
struct | tsi_reference_osc_charge_current_limits_t |
TSI Reference oscillator charge current select limits. More... | |
struct | tsi_external_osc_charge_current_limits_t |
TSI External oscillator charge current select limits. More... | |
struct | tsi_active_mode_prescaler_limits_t |
TSI active mode prescaler limits. More... | |
struct | tsi_parameter_limits_t |
TSI operation mode limits. More... | |
Functions | |
static void | TSI_HAL_EnableModule (TSI_Type *base) |
Enable Touch Sensing Input Module. More... | |
static void | TSI_HAL_DisableModule (TSI_Type *base) |
Disable Touch Sensing Input Module. More... | |
static void | TSI_HAL_EnableStop (TSI_Type *base) |
Enable TSI module in stop mode. More... | |
static void | TSI_HAL_DisableStop (TSI_Type *base) |
Disable TSI module in stop mode. More... | |
static void | TSI_HAL_EnableOutOfRangeInterrupt (TSI_Type *base) |
Enable out of range interrupt. More... | |
static void | TSI_HAL_EnableEndOfScanInterrupt (TSI_Type *base) |
Enable end of scan interrupt. More... | |
static void | TSI_HAL_EnablePeriodicalScan (TSI_Type *base) |
Enable periodical (hardware) trigger scan. More... | |
static void | TSI_HAL_EnableSoftwareTriggerScan (TSI_Type *base) |
Enable software trigger scan. More... | |
static void | TSI_HAL_EnableErrorInterrupt (TSI_Type *base) |
Enable error interrupt. More... | |
static void | TSI_HAL_DisableErrorInterrupt (TSI_Type *base) |
Disable error interrupt. More... | |
static void | TSI_HAL_ClearOutOfRangeFlag (TSI_Type *base) |
Clear out of range flag. More... | |
static void | TSI_HAL_ClearEndOfScanFlag (TSI_Type *base) |
Clear end of scan flag. More... | |
static void | TSI_HAL_EnableInterrupt (TSI_Type *base) |
Enable TSI module interrupt. More... | |
static void | TSI_HAL_DisableInterrupt (TSI_Type *base) |
Disable TSI interrupt. More... | |
static uint32_t | TSI_HAL_IsInterruptEnabled (TSI_Type *base) |
Get interrupt enable flag. More... | |
static void | TSI_HAL_StartSoftwareTrigger (TSI_Type *base) |
Start measurement (trigger the new measurement). More... | |
static uint32_t | TSI_HAL_IsOverrun (TSI_Type *base) |
Get overrun flag. More... | |
static void | TSI_HAL_ClearOverrunFlag (TSI_Type *base) |
Clear over run flag. More... | |
static uint32_t | TSI_HAL_GetExternalElectrodeErrorFlag (TSI_Type *base) |
Get external electrode error flag. More... | |
static void | TSI_HAL_ClearExternalElectrodeErrorFlag (TSI_Type *base) |
Clear external electrode error flag. More... | |
static void | TSI_HAL_SetPrescaler (TSI_Type *base, tsi_electrode_osc_prescaler_t prescaler) |
Set prescaler. More... | |
static void | TSI_HAL_SetNumberOfScans (TSI_Type *base, tsi_n_consecutive_scans_t number) |
Set number of scans (NSCN). More... | |
static void | TSI_HAL_SetLowPowerScanInterval (TSI_Type *base, tsi_low_power_interval_t interval) |
Set low power scan interval. More... | |
static tsi_low_power_interval_t | TSI_HAL_GetLowPowerScanInterval (TSI_Type *base) |
Get low power scan interval. More... | |
static void | TSI_HAL_SetLowPowerClock (TSI_Type *base, uint32_t clock) |
Set low power clock. More... | |
static uint32_t | TSI_HAL_GetLowPowerClock (TSI_Type *base) |
Get low power clock. More... | |
static void | TSI_HAL_SetReferenceChargeCurrent (TSI_Type *base, tsi_reference_osc_charge_current_t current) |
Set the reference oscilator charge current. More... | |
static tsi_reference_osc_charge_current_t | TSI_HAL_GetReferenceChargeCurrent (TSI_Type *base) |
Get the reference oscilator charge current. More... | |
static void | TSI_HAL_SetElectrodeChargeCurrent (TSI_Type *base, tsi_external_osc_charge_current_t current) |
Set electrode charge current. More... | |
static tsi_external_osc_charge_current_t | TSI_HAL_GetElectrodeChargeCurrent (TSI_Type *base) |
Get electrode charge current. More... | |
static void | TSI_HAL_SetScanModulo (TSI_Type *base, uint32_t modulo) |
Set scan modulo value. More... | |
static uint32_t | TSI_HAL_GetScanModulo (TSI_Type *base) |
Get scan modulo value. More... | |
static void | TSI_HAL_SetActiveModeSource (TSI_Type *base, uint32_t source) |
Set active mode source. More... | |
static uint32_t | TSI_HAL_GetActiveModeSource (TSI_Type *base) |
Get active mode source. More... | |
static void | TSI_HAL_SetActiveModePrescaler (TSI_Type *base, tsi_active_mode_prescaler_t prescaler) |
Set active mode prescaler. More... | |
static uint32_t | TSI_HAL_GetActiveModePrescaler (TSI_Type *base) |
Get active mode prescaler. More... | |
static void | TSI_HAL_SetLowPowerChannel (TSI_Type *base, uint32_t channel) |
Set low power channel. More... | |
static uint32_t | TSI_HAL_GetLowPowerChannel (TSI_Type *base) |
Get low power channel. More... | |
static void | TSI_HAL_EnableChannel (TSI_Type *base, uint32_t channel) |
Enable channel. More... | |
static void | TSI_HAL_EnableChannels (TSI_Type *base, uint32_t channelsMask) |
Enable channels. More... | |
static void | TSI_HAL_DisableChannel (TSI_Type *base, uint32_t channel) |
Disable channel. More... | |
static void | TSI_HAL_DisableChannels (TSI_Type *base, uint32_t channelsMask) |
Disable channels. More... | |
static uint32_t | TSI_HAL_GetEnabledChannel (TSI_Type *base, uint32_t channel) |
Returns if channel is enabled. More... | |
static uint32_t | TSI_HAL_GetEnabledChannels (TSI_Type *base) |
Returns mask of enabled channels. More... | |
static uint16_t | TSI_HAL_GetWakeUpChannelCounter (TSI_Type *base) |
Set the Wake up channel counter. More... | |
static uint32_t | TSI_HAL_GetCounter (TSI_Type *base, uint32_t channel) |
Get tsi counter on actual channel. More... | |
static void | TSI_HAL_SetLowThreshold (TSI_Type *base, uint32_t low_threshold) |
Set low threshold. More... | |
static void | TSI_HAL_SetHighThreshold (TSI_Type *base, uint32_t high_threshold) |
Set high threshold. More... | |