|  | Dual Active Bridge Development Board (Part-No. ) |
Content |  |  |  |  |  |

Loading...
Searching...
No Matches
dev_vin_isolated.h
1/*
2 * File: dev_vin_isolated.h
3 * Author: M15690
4 *
5 * Created on July 16, 2024, 4:13 PM
6 */
7
8#ifndef DEV_VIN_ISOLATED_H
9#define DEV_VIN_ISOLATED_H
10
11
28#define OV_THRESHOLD_VOLT 900
29#define OV_THRESHOLD_SCALING 0.282
30#define OV_THRESHOLD_RAW (OV_THRESHOLD_VOLT / OV_THRESHOLD_SCALING )
31
32#define OV_THRESHOLD_HYST 140
33#define OV_THRESHOLD_HYST_HALF (OV_THRESHOLD_HYST/2)
34
35#define OV_UPPER_THRESHOLD_WITH_HYST OV_THRESHOLD_RAW + OV_THRESHOLD_HYST_HALF
36//#define OV_THRESHOLD_HYST 140
37#define OV_LOWER_THRESHOLD_WITH_HYST OV_THRESHOLD_RAW - OV_THRESHOLD_HYST_HALF
38
39#define UV_THRESHOLD_VOLT 500
40#define UV_THRESHOLD_SCALING 0.282
41#define UV_THRESHOLD_RAW (UV_THRESHOLD_VOLT / UV_THRESHOLD_SCALING)
42
43#define UV_THRESHOLD_HYST 140
44#define UV_THRESHOLD_HYST_HALF (OV_THRESHOLD_HYST/2)
45
46#define UV_UPPER_THRESHOLD_WITH_HYST UV_THRESHOLD_RAW + UV_THRESHOLD_HYST_HALF
47//#define UV_THRESHOLD_HYST 140
48#define UV_LOWER_THRESHOLD_WITH_HYST UV_THRESHOLD_RAW - UV_THRESHOLD_HYST_HALF
49
50#define FAULT_PERSISTENCE_COUNT 4
51
52extern void Dev_VinIsolated_Initialize(void);
53extern void Dev_VinIsolated_Start(void);
54
55#endif /* DEV_VIN_ISOLATED_H */
56