Hi, Dialog,
In the function of the timer handler ,if I want to use the SPI interface , is it necessary to check whether the periph is power on (like if (GetBits16(SYS_STAT_REG, PER_IS_DOWN))
periph_init();)?
or use the SPI directlly?
Device:
Hi liyang,
No, i suppose its not necessary.
The da will wake up and call the periph_init() in the wake up handler so all the peripherals should be enabled.
Thanks MT_dialog
Hi, Dialog,
OK, Thank you very muuch!
Thanks liyang