Datasheet

V850ES/JG3-H, V850ES/JH3-H CHAPTER 11 MOTOR CONTROL FUNCTION
R01UH0042EJ0500 Rev.5.00 Page 603 of 1513
Aug 12, 2011
11.4.3 Interrupt culling function
The interrupts to be culled are INTTAB1CC0 (crest interrupt) and INTTAB1OV (valley interrupt).
The TAB1OPT1.TAB1ICE bit is used to enable output of the INTTAB1CC0 interrupt and the number of times the
interrupt is to be culled.
The TAB1OPT1.TAB1IOE bit is used to enable output of the INTTAB1OV interrupt and the number of times the
interrupt is to be culled.
The TAB1OPT1.TAB1ID4 to TAB1OPT1.TAB1ID0 bits are used to specify the number of counts by which a specified
interrupt is to be culled. The interrupt is masked for the duration of the specified number of counts and is generated
at the next interrupt timing.
The TAB1OPT2.TAB1RDE bit is used to specify whether transfer is to be culled or not.
If it is specified that transfer is to be culled, transfer is executed at the same timing as the interrupt output after culling.
If it is specified that transfer is not to be culled, transfer is executed at the transfer timing after the TAB1CCR1 register
has been written.
The TAB1OPT0.TAB1CMS bit is used to specify whether the registers with a transfer function are batch rewritten or
anytime rewritten.
The values of the registers are updated in synchronization with transfer when the TAB1CMS bit is 0. When the
TAB1CMS bit is 1, the values of the registers are immediately updated when a new value is written to the registers.
Transfer is performed from the TAB1CCRm register to the CCRm buffer register in synchronization with the interrupt
culling timing.
Cautions 1. When using the interrupt culling function in the batch rewrite mode (transfer mode), execute the
function in the intermittent batch rewrite mode (transfer culling mode).
2. The interrupt is generated at the timing after culling.
Remark m = 1 to 3