26#define __AVR_ATmega32U4__ 1
34#ifdef __INTELLISENSE__
37#include <avr/pgmspace.h>
151 0xff, 3, 6, 2, 5, 1, 4};
165 0xff, 5, 3, 1, 6, 4, 2};
Motor config header file.
#define CL_PIN
PIN where low side gate PWM for phase C is connected.
#define AL_PIN
PIN where low side gate PWM for phase A is connected.
#define BL_PIN
PIN where low side gate PWM for phase B is connected.
const uint8_t expectedHallSequenceReverse[7]
Table of Expected Hall Sensor Values in Reverse Direction.
const uint8_t expectedHallSequenceForward[7]
Table of Expected Hall Sensor Values in Forward Direction.
const uint8_t blockCommutationTableReverse[32]
Block Commutation Port Direction Masks for Reverse Driving.
const uint8_t blockCommutationTableForward[32]
Block Commutation Port Direction Masks for Forward Driving.