Firmware# Note Firmware is highly in flux and this documentation is mostly a notepad for myself as I work on it. Comms process_USB_rx() Drive Variables enc_angle_int electrical_angle_offset Functions Calibration and Diagnostic estimate_phase_resistance() check_supply_voltage() Gate drive set_duty_phase_A() set_duty_phase_B() set_duty_phase_C() set_duty_phases() FOC set_current_setpoints() foc_interrupt() clarke_transform() park_transform() inverse_clarke_transform() inverse_park_transform() App Functions app_setup() app_status_led_task()