![]() |
![]() |
MSP430UltrasonicLibrary
02_20_00_15
|
Go to the source code of this file.
Macros | |
#define | USSSWLIB_ENABLE_EXTERNAL_CIRCUITRY_CONTROL false |
#define | ENABLE_USS_LIB_BENCHMARK false |
#define | USSSWLIB_TIMER_BASE_ADDRESS (TIMER_A2_BASE) |
#define | USSLIB_HAL_TIMER_RXEN_CCR0_VECTOR (TIMER0_A0_VECTOR) |
#define | USSLIB_HAL_TIMER_RXEN_CCR1_VECTOR (TIMER0_A1_VECTOR) |
#define | USSLIB_HAL_TIMER_CCR0_VECTOR (TIMER0_A0_VECTOR) |
#define | USSLIB_HAL_TIMER_CCR1_VECTOR (TIMER0_A1_VECTOR) |
#define | USS_HAL_LEA_DATA(var, align) |
Typedefs | |
typedef enum _USSLIB_HAL_capture_mode_ | USSLIB_HAL_capture_mode |
Selects the desired power mode while USS capture is done, API will remain in this mode until capture is done. More... | |
Enumerations | |
enum | _USSLIB_HAL_capture_mode_ { USSLIB_HAL_capture_mode_ups = 0, USSLIB_HAL_capture_mode_dns } |
Selects the desired power mode while USS capture is done, API will remain in this mode until capture is done. More... | |
Functions | |
void | USSLIB_HAL_initGPIO (void) |
function to initialize GPIOs used by USS Library More... | |
void | USSLIB_HAL_configGPIOForCapture (USSLIB_HAL_capture_mode mode) |
function to configure capture gpios More... | |
void | USSLIB_HAL_configureRxEnTimer (uint16_t ASQTimerCounts, uint16_t RxEnTimerCounts) |
function to configure Timer used to control RxEn AFE pin state More... | |
void | USSLIB_HAL_startRxEnTimer (void) |
function to start Timer used to control RxEn AFE pin state More... | |
void | USSLIB_HAL_configGPIOAfterCapture (void) |
function to configure GPIOs after acquisition More... | |
Variables | |
volatile uint16_t | USS_LEA_IFG |
void(* | USSSWLIB_SAPH_DATAERR_callback )(void) |
Contains function callback pointer for USS SAPH DATAERR. More... | |
void(* | USSSWLIB_SAPH_TMFTO_callback )(void) |
Contains function callback pointer for USS SAPH TMFTO. More... | |
void(* | USSSWLIB_SAPH_SEQDN_callback )(void) |
Contains function callback pointer for USS SAPH SEQDN. More... | |
void(* | USSSWLIB_SAPH_PNGDN_callback )(void) |
Contains function callback pointer for USS SAPH PNGDN. More... | |
void(* | USSSWLIB_UUPS_PREQIG_callback )(void) |
Contains function callback pointer for USS UUPS PREQIG. More... | |
void(* | USSSWLIB_UUPS_PTMOUT_callback )(void) |
Contains function callback pointer for USS UUPS_PTMOUT. More... | |
void(* | USSSWLIB_UUPS_STPBYDB_callback )(void) |
Contains function callback pointer for USS UUPS_STPBYDB. More... | |
void(* | USSSWLIB_HSPLL_PLLunlock_callback )(void) |
Contains function callback pointer for USS HSPLL_UNLOCK. More... | |
void(* | USSSWLIB_SDHS_OVF_callback )(void) |
Contains function callback pointer for USS_SDHS_OVF. More... | |
void(* | USSSWLIB_SDHS_ACQDONE_callback )(void) |
Contains function callback pointer for USS_SDHS_OVINLVL. More... | |
void(* | USSSWLIB_SDHS_SSTRG_callback )(void) |
Contains function callback pointer for USS_SDHS_SSTRG. More... | |
void(* | USSSWLIB_SDHS_DTRDY_callback )(void) |
Contains function callback pointer for USS_SDHS_DTRDY. More... | |
void(* | USSSWLIB_SDHS_WINHI_callback )(void) |
Contains function callback pointer for USS_SDHS_WINHI. More... | |
void(* | USSSWLIB_SDHS_WINLO_callback )(void) |
Contains function callback pointer for USS_SDHS_WINLO. More... | |
#define USSSWLIB_ENABLE_EXTERNAL_CIRCUITRY_CONTROL false |
#define ENABLE_USS_LIB_BENCHMARK false |
#define USSSWLIB_TIMER_BASE_ADDRESS (TIMER_A2_BASE) |
Referenced by USSLIB_HAL_TIMER_INT(), and USSLIB_HAL_TIMER_INT_CCRn().
#define USSLIB_HAL_TIMER_RXEN_CCR0_VECTOR (TIMER0_A0_VECTOR) |
#define USSLIB_HAL_TIMER_RXEN_CCR1_VECTOR (TIMER0_A1_VECTOR) |
#define USSLIB_HAL_TIMER_CCR0_VECTOR (TIMER0_A0_VECTOR) |
#define USSLIB_HAL_TIMER_CCR1_VECTOR (TIMER0_A1_VECTOR) |
#define USS_HAL_LEA_DATA | ( | var, | |
align | |||
) |
typedef enum _USSLIB_HAL_capture_mode_ USSLIB_HAL_capture_mode |
Selects the desired power mode while USS capture is done, API will remain in this mode until capture is done.
void USSLIB_HAL_initGPIO | ( | void | ) |
function to initialize GPIOs used by USS Library
Referenced by USS_configureUltrasonicMeasurement().
void USSLIB_HAL_configGPIOForCapture | ( | USSLIB_HAL_capture_mode | mode | ) |
function to configure capture gpios
Referenced by USS_commonTriggerSingleCapture().
void USSLIB_HAL_configureRxEnTimer | ( | uint16_t | ASQTimerCounts, |
uint16_t | RxEnTimerCounts | ||
) |
function to configure Timer used to control RxEn AFE pin state
Referenced by USS_configureUltrasonicMeasurement().
void USSLIB_HAL_startRxEnTimer | ( | void | ) |
function to start Timer used to control RxEn AFE pin state
Referenced by USS_commonTriggerSingleCapture().
void USSLIB_HAL_configGPIOAfterCapture | ( | void | ) |
function to configure GPIOs after acquisition
Referenced by USS_commonTriggerSingleCapture().
volatile uint16_t USS_LEA_IFG |
void(* USSSWLIB_SAPH_DATAERR_callback) (void) |
Contains function callback pointer for USS SAPH DATAERR.
Referenced by ISR_SAPH(), USS_registerSAPHInterruptCallback(), and USS_unregisterSAPHInterruptCallback().
void(* USSSWLIB_SAPH_TMFTO_callback) (void) |
Contains function callback pointer for USS SAPH TMFTO.
Referenced by ISR_SAPH(), USS_registerSAPHInterruptCallback(), and USS_unregisterSAPHInterruptCallback().
void(* USSSWLIB_SAPH_SEQDN_callback) (void) |
Contains function callback pointer for USS SAPH SEQDN.
Referenced by ISR_SAPH(), USS_registerSAPHInterruptCallback(), and USS_unregisterSAPHInterruptCallback().
void(* USSSWLIB_SAPH_PNGDN_callback) (void) |
Contains function callback pointer for USS SAPH PNGDN.
Referenced by ISR_SAPH(), USS_registerSAPHInterruptCallback(), and USS_unregisterSAPHInterruptCallback().
void(* USSSWLIB_UUPS_PREQIG_callback) (void) |
Contains function callback pointer for USS UUPS PREQIG.
Referenced by ISR_UUPS(), USS_registerUUPSInterruptCallback(), and USS_unregisterUUPSInterruptCallback().
void(* USSSWLIB_UUPS_PTMOUT_callback) (void) |
Contains function callback pointer for USS UUPS_PTMOUT.
Referenced by ISR_UUPS(), USS_registerUUPSInterruptCallback(), and USS_unregisterUUPSInterruptCallback().
void(* USSSWLIB_UUPS_STPBYDB_callback) (void) |
Contains function callback pointer for USS UUPS_STPBYDB.
Referenced by ISR_UUPS(), USS_registerUUPSInterruptCallback(), and USS_unregisterUUPSInterruptCallback().
void(* USSSWLIB_HSPLL_PLLunlock_callback) (void) |
Contains function callback pointer for USS HSPLL_UNLOCK.
Referenced by ISR_HSPLL(), USS_registerHSPLLInterruptCallback(), and USS_unregisterHSPLLInterruptCallback().
void(* USSSWLIB_SDHS_OVF_callback) (void) |
Contains function callback pointer for USS_SDHS_OVF.
Referenced by ISR_SDHS(), USS_registerSDHSInterruptCallback(), and USS_unregisterSDHSInterruptCallback().
void(* USSSWLIB_SDHS_ACQDONE_callback) (void) |
Contains function callback pointer for USS_SDHS_OVINLVL.
Referenced by ISR_SDHS(), USS_registerSDHSInterruptCallback(), and USS_unregisterSDHSInterruptCallback().
void(* USSSWLIB_SDHS_SSTRG_callback) (void) |
Contains function callback pointer for USS_SDHS_SSTRG.
Referenced by ISR_SDHS(), USS_registerSDHSInterruptCallback(), and USS_unregisterSDHSInterruptCallback().
void(* USSSWLIB_SDHS_DTRDY_callback) (void) |
Contains function callback pointer for USS_SDHS_DTRDY.
Referenced by ISR_SDHS(), USS_registerSDHSInterruptCallback(), and USS_unregisterSDHSInterruptCallback().
void(* USSSWLIB_SDHS_WINHI_callback) (void) |
Contains function callback pointer for USS_SDHS_WINHI.
Referenced by ISR_SDHS(), USS_registerSDHSInterruptCallback(), and USS_unregisterSDHSInterruptCallback().
void(* USSSWLIB_SDHS_WINLO_callback) (void) |
Contains function callback pointer for USS_SDHS_WINLO.
Referenced by ISR_SDHS(), USS_registerSDHSInterruptCallback(), and USS_unregisterSDHSInterruptCallback().