![]() |
Infineon MOTIX™ MCU TLE985x Device Family SDK
|
Go to the source code of this file.
Current Sense Amplifier low level access library.
Enumerations | |
enum | TCSA_Gain { CSA_GAIN_10 = 0 , CSA_GAIN_20 = 1 , CSA_GAIN_40 = 2 , CSA_GAIN_60 = 3 } |
This enum lists the CSA Gain Settings. More... | |
Functions | |
void | CSA_Init (void) |
Initializes the CSA module. More... | |
INLINE void | CSA_Power_On (void) |
Switches on CSA. More... | |
INLINE void | CSA_Power_Off (void) |
Switches off CSA. More... | |
INLINE void | CSA_Set_Gain (TCSA_Gain gain) |
Sets CSA Gain value. More... | |
enum TCSA_Gain |
void CSA_Init | ( | void | ) |
Initializes the CSA module.
INLINE void CSA_Power_Off | ( | void | ) |
Switches off CSA.
Example
This example switches off CSA.
INLINE void CSA_Power_On | ( | void | ) |
Switches on CSA.
Example
This example switches on CSA.
Sets CSA Gain value.
gain | Gain setting, see TCSA_Gain |
Example
This example configures CSA Gain value to 40.