Kinetis SDK v.1.3 API Reference Manual
Rev. 0
Freescale Semiconductor, Inc.
|
#include <assert.h>
#include <stdint.h>
#include "fsl_device_registers.h"
Data Structures | |
struct | tsi_n_consecutive_scans_limits_t |
TSI low power scan intervals limits. More... | |
Functions | |
void | TSI_HAL_Init (TSI_Type *base) |
Initialize hardware. More... | |
void | TSI_HAL_SetConfiguration (TSI_Type *base, tsi_config_t *config) |
Set configuration of hardware. More... | |
uint32_t | TSI_HAL_Recalibrate (TSI_Type *base, tsi_config_t *config, const uint32_t electrodes, const tsi_parameter_limits_t *parLimits) |
Recalibrate TSI hardware. More... | |
void | TSI_HAL_EnableLowPower (TSI_Type *base) |
Enable low power for TSI module. More... | |
void | TSI_HAL_DisableLowPower (TSI_Type *base) |
Disable low power for TSI module. More... | |
static uint32_t | TSI_HAL_IsModuleEnabled (TSI_Type *base) |
Get module flag enable. More... | |
static uint32_t | TSI_HAL_GetScanTriggerMode (TSI_Type *base) |
Get TSI scan trigger mode. More... | |
static uint32_t | TSI_HAL_IsScanInProgress (TSI_Type *base) |
Get scan in progress flag. More... | |
static uint32_t | TSI_HAL_GetEndOfScanFlag (TSI_Type *base) |
Get end of scan flag. More... | |
static uint32_t | TSI_HAL_GetOutOfRangeFlag (TSI_Type *base) |
Get out of range flag. More... | |
static tsi_electrode_osc_prescaler_t | TSI_HAL_GetPrescaler (TSI_Type *base) |
Get prescaler. More... | |
static tsi_n_consecutive_scans_t | TSI_HAL_GetNumberOfScans (TSI_Type *base) |
Get number of scans (NSCN). More... | |