2008-03-27 10:09 PM
2011-05-17 12:51 AM
Hello all,
The STR9 manual does not state thatCode:
TIM0->SR = 0xBFFF ;
must be executed inside the ISR of a timer (that is, to clear the status bit set by hardware indicating that the counter equals the output compare register). If you don't, your CPU will crack... However, this is specified in the user manual for the STR7!