예제 #1
0
파일: main.c 프로젝트: twm/VTMotor
inline void configure()
{
    // Initialize SMBus
    SMBusInit();
    SMBEnable();

    conf_TMR0();
    conf_motors();

    SREG |= _BV(7); /* Enable interrupts */
}
예제 #2
0
파일: main.c 프로젝트: thomma/VTMotor
inline void configure()
{
	uint8_t addr = GetAddr();
  // Initialize SMBus
   SMBusInit(addr);
  SMBEnable();

  conf_TMR0();
  conf_motors();

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