Gate Driver Interface provides the APIs for reading the current and voltage channels.
Additionally, if the DRV is used, the interface configures the CSA gain and other
gate driver register configurations via SPI communication. Gate Driver Interface
includes three parts:
- Gate Driver Library: has the open-source APIs to configure the gate driver
registers through SPI if the gate driver is a SPI based
- Gate Driver HAL Interface: handles the configurations of ADC channels to
convert phase voltage inputs and phase current inputs from gate driver
- Gate Driver Macro Definition: the ADC memory indexes used for reading the
current and voltages are defined in the file (gateDriver.h)