8.2 Startup Routine

The startup routine is to be executed after the microcontroller has been reset and before the main function is executed.

In the sample program, this routine is divided into two parts.

-

Initialization routine for hardware

-

Initialization routine for user program