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_config_t |
TSI configuration structure. More... | |
struct | tsi_parameter_limits_t |
TSI operation mode limits. More... | |
Functions | |
static void | TSI_HAL_EnableOutOfRangeInterrupt (TSI_Type *base) |
Enables an out-of-range interrupt. More... | |
static void | TSI_HAL_EnableEndOfScanInterrupt (TSI_Type *base) |
Enables the end of the scan interrupt. More... | |
static void | TSI_HAL_EnableModule (TSI_Type *base) |
Enables the Touch Sensing Input Module. More... | |
static void | TSI_HAL_DisableModule (TSI_Type *base) |
Disables the Touch Sensing Input Module. More... | |
static void | TSI_HAL_EnableInterrupt (TSI_Type *base) |
Enables the TSI module interrupt. More... | |
static void | TSI_HAL_DisableInterrupt (TSI_Type *base) |
Disables the TSI interrupt. More... | |
static uint32_t | TSI_HAL_IsInterruptEnabled (TSI_Type *base) |
Gets the interrupt enable flag. More... | |
static uint32_t | TSI_HAL_GetEnableStop (TSI_Type *base) |
Gets the TSI STOP enable. More... | |
static void | TSI_HAL_EnableStop (TSI_Type *base) |
Sets the TSI STOP enable. More... | |
static void | TSI_HAL_DisableStop (TSI_Type *base) |
Sets the TSI STOP disable. More... | |
static void | TSI_HAL_EnableHardwareTriggerScan (TSI_Type *base) |
Enables the periodical (hardware) trigger scan. More... | |
static void | TSI_HAL_EnableSoftwareTriggerScan (TSI_Type *base) |
Enables the periodical (hardware) trigger scan. More... | |
static void | TSI_HAL_CurrentSourcePairSwapped (TSI_Type *base) |
Swaps the current sources (CURSW) of electrode oscillator and reference oscillator. More... | |
static void | TSI_HAL_CurrentSourcePairNotSwapped (TSI_Type *base) |
Does not swap the current sources (CURSW) of electrode oscillator and reference oscillator. More... | |
static uint32_t | TSI_HAL_GetCurrentSourcePairSwapped (TSI_Type *base) |
Gets the current source pair swapped status. More... | |
static void | TSI_HAL_ClearOutOfRangeFlag (TSI_Type *base) |
Clears an out-of-range flag. More... | |
static void | TSI_HAL_ClearEndOfScanFlag (TSI_Type *base) |
Clears the end of scan flag. More... | |
static void | TSI_HAL_SetPrescaler (TSI_Type *base, tsi_electrode_osc_prescaler_t prescaler) |
Sets the prescaler. More... | |
static void | TSI_HAL_SetNumberOfScans (TSI_Type *base, tsi_n_consecutive_scans_t number) |
Sets the number of scans (NSCN). More... | |
static void | TSI_HAL_SetMeasuredChannelNumber (TSI_Type *base, uint32_t channel) |
Sets the the measured channel number. More... | |
static uint32_t | TSI_HAL_GetMeasuredChannelNumber (TSI_Type *base) |
Gets the measured channel number. More... | |
static void | TSI_HAL_DmaTransferEnable (TSI_Type *base) |
DMA transfer enable. More... | |
static void | TSI_HAL_DmaTransferDisable (TSI_Type *base) |
DMA transfer disable - does not generate DMA transfer request. More... | |
static uint32_t | TSI_HAL_IsDmaTransferEnable (TSI_Type *base) |
Gets the DMA transfer enable flag. More... | |
static void | TSI_HAL_StartSoftwareTrigger (TSI_Type *base) |
Starts measurement (trigger the new measurement). More... | |
static uint32_t | TSI_HAL_GetCounter (TSI_Type *base) |
Gets the conversion counter value. More... | |
static void | TSI_HAL_SetLowThreshold (TSI_Type *base, uint32_t low_threshold) |
Sets the TSI wake-up channel low threshold. More... | |
static void | TSI_HAL_SetHighThreshold (TSI_Type *base, uint32_t high_threshold) |
Sets the TSI wake-up channel high threshold. More... | |
static void | TSI_HAL_SetMode (TSI_Type *base, tsi_analog_mode_select_t mode) |
Sets the analog mode of the TSI module. More... | |
static tsi_analog_mode_select_t | TSI_HAL_GetMode (TSI_Type *base) |
Gets the analog mode of the TSI module. More... | |
static uint32_t | TSI_HAL_GetNoiseResult (TSI_Type *base) |
Gets the analog mode of the TSI module. More... | |
static void | TSI_HAL_SetReferenceChargeCurrent (TSI_Type *base, tsi_reference_osc_charge_current_t current) |
Sets the reference oscillator charge current. More... | |
static tsi_reference_osc_charge_current_t | TSI_HAL_GetReferenceChargeCurrent (TSI_Type *base) |
Gets the reference oscillator charge current. More... | |
static void | TSI_HAL_SetOscilatorVoltageRails (TSI_Type *base, tsi_oscilator_voltage_rails_t dvolt) |
Sets the oscillator's voltage rails. More... | |
static tsi_oscilator_voltage_rails_t | TSI_HAL_GetOscilatorVoltageRails (TSI_Type *base) |
Gets the oscillator's voltage rails. More... | |
static void | TSI_HAL_SetElectrodeChargeCurrent (TSI_Type *base, tsi_external_osc_charge_current_t current) |
Sets the external electrode charge current. More... | |
static tsi_external_osc_charge_current_t | TSI_HAL_GetElectrodeChargeCurrent (TSI_Type *base) |
Gets the electrode charge current. More... | |
Variables | |
uint32_t | tsi_hal_gencs |
|
inlinestatic |
base | TSI module base address. |
|
inlinestatic |
base | TSI module base address. |
|
inlinestatic |
base | TSI module base address. |
|
inlinestatic |
base | TSI module base address. |
|
inlinestatic |
base | TSI module base address. |
|
inlinestatic |
base | TSI module base address. |
|
inlinestatic |
base | TSI module base address. |
|
inlinestatic |
This enables TSI module function in low power modes.
base | TSI module base address. |
|
inlinestatic |
The TSI is disabled in low power modes.
base | TSI module base address. |
|
inlinestatic |
base | TSI module base address. |
|
inlinestatic |
base | TSI module base address. |
|
inlinestatic |
base | TSI module base address. |
|
inlinestatic |
base | TSI module base address. |
prescaler | Prescaler value. |
|
inlinestatic |
base | TSI module base address. |
number | Number of scans. |
|
inlinestatic |
base | TSI module base address. |
|
inlinestatic |
base | TSI module base address. |
low_threshold | Low counter threshold. |
|
inlinestatic |
base | TSI module base address. |
high_threshold | High counter threshold. |
|
inlinestatic |
base | TSI module base address. |
current | The charge current. |
|
inlinestatic |
base | TSI module base address. |
|
inlinestatic |
base | TSI module base address. |
current | Electrode current. |
|
inlinestatic |
base | TSI module base address. |