Figure 6.8-36 Initial State And Polarity Control With Rising Edge Dead-Time Insertion - Nuvoton ISD94124BYI Technical Reference Manual

Isd arm cortex-m4f soc
Table of Contents

Advertisement

Initial State
PWM_WGCTL0
PWM_WGCTL1
PWM_CH0
PWM_CH1
PWM_CH0
PWM_CH1
PWM_CH0
PWM_CH1
PWM_CH0
PWM_CH1
Dead-time insertion; It is only effective in complementary mode
Note: PINVx: Negative Polarity control bits; It controls the PWM
output initial state and polarity, x denotes 0 or 1.

Figure 6.8-36 Initial State and Polarity Control with Rising Edge Dead-Time Insertion

6.8.5.25 PWM Interrupt Generator
There are three independent interrupts for each PWM as shown in Figure 6.8-37.
st
The 1
PWM interrupt (PWM_INT) comes from PWM complementary pair events. The counter can
generate the Zero point Interrupt Flag ZIFn (PWM_INTSTS0[5:0] , n=0,1..5) and the Period point
Interrupt Flag PIFn (PWM_INTSTS0[13:8] , n=0,1..5). When PWM channel n's counter equals to
the comparator value stored in PWM_CMPDATn register, the different interrupt flags will be
triggered depending on the counting direction. If the matching occurs at up–count direction, the Up
Interrupt Flag CMPUIFn (PWM_INTSTS0[21:16]) is set and if matching at the opposite direction,
the Down Interrupt Flag CMPDIFn (PWM_INTSTS0[29:24]) is set. If the corresponding interrupt
enable bits are set, the trigger events will generates interrupt signals.
nd
The 2
interrupt is the capture interrupt (CAP_INT). It shares the PWM_INT vector in NVIC. The
CAP_INT can be generated when the CAPRLIFn (PWM_CAPIF[5:0]) flag is triggered and the
Capture Rising Interrupt Enable bit CAPRIENn (PWM_CAPIEN[5:0]) is set to 1. Or in the falling
edge condition, the CAPFLIFn (PWM_CAPIF[13:8]) flag can be triggered when the Capture Falling
Interrupt Enable bit CAPFIENn (PWM_CAPIEN[13:8]) is set to 1.
The last one is the brake interrupt (BRK_INT). The details of the BRK_INT is described in the PWM
Brake section.
The Figure 6.8-37 demonstrates the architecture of the PWM interrupts.
Sep 9, 2019
ISD94100 Series Technical Reference Manual
PWM Starts
off
on
off
off
off
on
off
on
off
off
off
on
on
off
off
off
off
on
off
on
off
off
on
off
Page 432 of 928
on
(PINV0=0)
off
(PINV1=0)
on
(PINV0=1)
off
(PINV1=0)
on
(PINV0=0)
off
(PINV1=1)
on
(PINV0=1)
off
(PINV1=1)
Rev1.09

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents