MSP430UltrasonicLibrary  02_20_00_15
ussSwLibCommonSAPH.h
Go to the documentation of this file.
1 #ifndef _USSSWLIBCOMMONSAPH_H_
2 #define _USSSWLIBCOMMONSAPH_H_
3 
4 //#############################################################################
5 //
11 //
12 // Group: MSP
13 // Target Device: Banshee
14 //
15 // (C) Copyright 2015, Texas Instruments, Inc.
16 //#############################################################################
17 // TI Release: __PRODUCT_NAME__
18 // Release Date: __PACKAGE_RELEASE_DATE__
19 //#############################################################################
20 
21 
22 //*****************************************************************************
23 // includes
24 //*****************************************************************************
25 #include <msp430.h>
26 #include <stdint.h>
27 #include <stdbool.h>
28 #include <math.h>
29 #include <intrinsics.h>
30 #include "ussSwLib.h"
31 #include "ussSwLibCommonUSS.h"
32 #include "USSGenericRegDef.h"
33 #include "IQmathLib.h"
34 
35 //*****************************************************************************
38 //*****************************************************************************
39 
40 #ifdef __cplusplus
41 
42 extern "C" {
43 #endif
44 
45 //*****************************************************************************
46 // defines
47 //*****************************************************************************
48 #define USS_SAPH_MAX_MULTITONE_UPDATE_FREQ_IN_HZ (420000)
49 
50 #define USS_SAPH_MAX_STOP_PULSES (16)
51 
52 //*****************************************************************************
53 // typedefs
54 //*****************************************************************************
55 
56 
57 //*****************************************************************************
58 // globals
59 //*****************************************************************************
60 
61 
62 //*****************************************************************************
63 // the function prototypes
64 //*****************************************************************************
65 
69 
72 
75 
76 #ifdef __MSP430_HAS_SAPH_A__
77 extern USS_message_code commonConfigureMultiTone(USS_SW_Library_configuration *config);
78 #endif
79 
80 
81 #ifdef __cplusplus
82 }
83 #endif // extern "C"
84 
85 
86 #endif // end of _USSSWLIBCOMMONSAPH_H_ definition
Contains USS SW Lib configuration.
Definition: ussSwLib.h:1611
USS_message_code commonValidateSAPHconfigruation(USS_SW_Library_configuration *config)
Definition: ussSwLibCommonSAPH.c:231
enum _USS_measurement_pulse_generation_mode_ USS_measurement_pulse_generation_mode
Lists pulse generation options.
Contains all USS SW Library enums, structs, macros, function and global variables definitions...
enum _USS_message_code_ USS_message_code
The following enumeration contain all possible USS SW Library return message codes.
USS_message_code commonConfigurePPGDutyCyle(USS_SW_Library_configuration *config, USS_measurement_pulse_generation_mode mode)
Definition: ussSwLibCommonSAPH.c:34
enum _USS_test_channel_ USS_test_channel
Selects USS channel to be used for test (Used for Application Debug API)
USS_message_code commonConfigurePPGForManualMode(USS_SW_Library_configuration *config, USS_test_channel pPGChannel)
Definition: ussSwLibCommonSAPH.c:164
© Copyright 1995-2018, Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy policy | Terms of use | Terms of sale