Functions

Local functions

Functions

static void mg_Load (void)
 Module function to load settings from EEPROM.
 ISR (SIG_INTERRUPT1)
 Service routine for pedal sensor interrupt.
 ISR (SIG_INTERRUPT0)
 Service routine for tacho sensor interrupt.
 ISR (SIG_OUTPUT_COMPARE2A)
 Service routine for timer interrupt.
int main (void)
 Main entry function. Executes the application loop.
static E_BOOL mg_RelayControl (void)
 Enables or disables the motor.