Renesas M16C Laptop User Manual


 
Rev.1.10 Jul 01, 2005 page 296 of 318
REJ09B0124-0110
M16C/6N Group (M16C/6NK, M16C/6NM) 22. Usage Precaution
Under development
This document is under development and its contents are subject to change.
22.10 Thee-Phase Motor Control Timer Function
If there is a possibility that you may write data to TAi-1 register (i = 1, 2, 4) near Timer B2 overflow, read the
value of TB2 register, verify that there is sufficient time until Timer B2 overflows, before doing an immediate
write to TAi-1 register.
In order to shorten the period from reading TB2 register to writing data to TAi-1 register, ensure that no
interrupt will be processed during this period.
If there is not enough time till Timer B2 overflows, only write to TAi-1 register after Timer B2 overflowed.