Providing delay

 When we set some delay say 500ms in timer tab automatically code generator will generate the code.But how to access that in main program within the loop?

can anybody help me? 

  • Initialize timer, start timer and wait for interrupt (if interrupt is enabled) or wait for interrupt request bit to be set (if interrupt is not enabled)?
    You could have a look at the code generator manual (in e2 studio V6.3 it is in eclipse\plugins\com.renesas.cg.help_2.8.1.v20171208-1045\help\) to get an idea which functions are available.