Go to the documentation of this file.
26 #ifndef IFXPSI5S_CFG_H
27 #define IFXPSI5S_CFG_H 1
35 #include "_Reg/IfxPsi5s_bf.h"
36 #include "_Reg/IfxPsi5s_reg.h"
44 #define IFXPSI5S_NUM_CHANNELS 8
46 #define IFXPSI5S_STEP_RANGE 1024
48 #define IFXPSI5S_WDT_COUNT 7
50 #define IFXPSI5S_SLOT_COUNT 6
52 #define IFXPSI5S_ENABLE_CHANNELTRIGGER (1 << 8)
54 #define IFXPSI5S_ENABLE_CHANNEL (1 << 16)
56 #define IFXPSI5S_BG_RANGE 8192
58 #define IFXPSI5S_FDV_RANGE 2048
60 #define IFXPSI5S_BAUDRATE_1562500 1562500
64 #define IFXPSI5S_GCR_CHANNELS_ENABLE_MASK ((1 << IFXPSI5S_NUM_CHANNELS) - 1) << 16
66 #define IFXPSI5S_GCR_CHANNEL_TRIGGER_COUNTERS_ENABLE_MASK ((1 << IFXPSI5S_NUM_CHANNELS) - 1) << 8
68 #define IFXPSI5S_DEFAULT_SLOWCLOCK_FREQ 4000000
70 #define IFXPSI5S_DEFAULT_FASTCLOCK_FREQ 6000000
72 #define IFXPSI5S_DEFAULT_TIMESTAMP_FREQ 1000000