Example #1
0
File: main.c Project: twm/VTMotor
inline void configure()
{
    // Initialize SMBus
    SMBusInit();
    SMBEnable();

    conf_TMR0();
    conf_motors();

    SREG |= _BV(7); /* Enable interrupts */
}
Example #2
0
inline void configure()
{
	uint8_t addr = GetAddr();
  // Initialize SMBus
   SMBusInit(addr);
  SMBEnable();

  conf_TMR0();
  conf_motors();

  SREG |= _BV(7); /* Enable interrupts */
}