MAX32600 User’s Guide
Peripheral Management Unit (PMU)
6.3 PMU Programming Details
STOP
• Set to 1 if this op code is to terminate op code processing after execution.
• This also clears the START bit field in the
register.
6.3.5
PMU Op Code: LOOP (0x04)
The LOOP op code will cause the PMU engine to fetch the next op code at the specified location rather than sequentially in memory until the specified loop counter
(counter0 or counter1, in
) decrements to zero. The specified loop counter will decrement by one each time this op code is executed by the PMU engine.
When the specified loop counter reaches zero, the next sequential op code will be fetched. The zero check is performed after the specified counter is decremented.
The INT and STOP fields in this op code are not checked until the specified counter reaches zero.
The loop counters are sticky counters and do not need to be reloaded when a new LOOP op code is fetched unless a new counter value is needed.
Figure 6.6: PMU LOOP Op Code Details
INT
• Set to 1 to generate an interrupt to the CPU upon completion of this op code.
STOP
• Set to 1 if this op code is to terminate op code processing after execution.
• This also clears the START bit field in the
register.
Rev.1.3 April 2015
Maxim Integrated
Page 203
Содержание MAX32600
Страница 1: ...MAX32600 User s Guide April 2015...