Ignore:
Timestamp:
Sep 7, 2025, 3:51:43 PM (3 months ago)
Author:
f.jahn
Message:

RTC implementiert

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/fw_g473rct/SES/inc/fast_current.h

    r24 r25  
    1616
    1717//--- GLOBALE DEFINES ----------------------------------------------------------
     18#define FAST_CURRENT_I_SENSE_GAIN                                                 40.0
     19#define FAST_CURRENT_ADC_OFFSET                                                   32768
     20#define FAST_CURRENT_ADC_RESOLUTION                                               32768 //65536/2 da im differential mode
     21
     22
     23  #if (DEVICETYPE == 500)
     24    #define FAST_CURRENT_SHUNT_RESISTOR 0.000125       
     25  #elif (DEVICETYPE == 250)
     26    #define FAST_CURRENT_SHUNT_RESISTOR 0.000250       
     27  #elif (DEVICETYPE == 125)
     28    #define FAST_CURRENT_SHUNT_RESISTOR 0.000500       
     29  #else
     30  #error No valid device type
     31  #endif
     32               
     33
    1834
    1935//--- GLOBALE VARIABLEN PROTOTYPEN ---------------------------------------------
Note: See TracChangeset for help on using the changeset viewer.