Hekateros/fw/Encoder/Encoder.c
void init(void)
{
  // intialize I/O ports
  initPorts();

  // load configuration from eeprom
  dbLoad();

  // initialize I2C
  twiInit();
  
  encoderInit();

  // set global interupts enable.
  sei();
}
/*!
 * \brief Initialize the ATMega168 for the Encoder.
 */
\brief Initialize the ATMega168 for the Encoder.
\ brief Initialize the ATMega168 for the Encoder .
void init(void)
{
  initPorts();
  dbLoad();
  twiInit();
  encoderInit();
  sei();
}
void init ( void ) { initPorts ( ) ; dbLoad ( ) ; twiInit ( ) ; encoderInit ( ) ; sei ( ) ; }
\brief Initialize the ATMega168 for the Encoder.
\ brief Initialize the ATMega168 for the Encoder .
// intialize I/O ports // load configuration from eeprom // initialize I2C // set global interupts enable.