816
Chapter 39 Programmable Pulse Generator
7.Q & A
Triggers are selectable for PPG8, PPG9, PPG10, and PPG11 independently.
Triggers are selectable for PPG12, PPG13, PPG14, and PPG15 independently.
The same trigger can be specified for a group of PPGs to activate all these PPGs simultaneously. (See “8.
Caution (Page No.821)”.)
• Trigger edge selection
Trigger edges are set using trigger input edge selection bits (PCN.EG[1:0]).
(See “8. Caution (Page No.821)”.)
Internal Trigger
PPG8 PPG9 PPG10 PPG11
Internal Trigger Specification Bit
TSEL0[3:0] TSEL1[3:0] TSEL2[3:0] TSEL3[3:0]
To select the EN0 bit of the GCN22 register Set “0000” Set “0000” Set “0000” Set “0000”
To select the EN1 bit of the GCN22 register Set “0001” Set “0001” Set “0001” Set “0001”
To select the EN2 bit of the GCN22 register Set “0010” Set “0010” Set “0010” Set “0010”
To select the EN3 bit of the GCN22 register Set “0011” Set “0011” Set “0011” Set “0011”
To select reload timer 4 Set “0100” Set “0100” Set “0100” Set “0100”
To select reload timer 5 Set “0101” Set “0101” Set “0101” Set “0101”
External Trigger
PPG9 PPG9 PPG10 PPG11
External Trigger Specification Bit
TSEL0[3:0] TSEL1[3:0] TSEL2[3:0] TSEL3[3:0]
To select the external trigger on GP14_0 Set “1000” Set “1000” Set “1000” Set “1000”
To select the external trigger on GP14_1 Set “1001” Set “1001” Set “1001” Set “1001”
To select the external trigger on GP14_2 Set “1010” Set “1010” Set “1010” Set “1010”
To select the external trigger on GP14_3 Set “1011” Set “1011” Set “1011” Set “1011”
Internal Trigger
PPG12 PPG13 PPG14 PPG15
Internal Trigger Specification Bit
TSEL0[3:0] TSEL1[3:0] TSEL2[3:0] TSEL3[3:0]
To select the EN0 bit of the GCN23 register Set “0000” Set “0000” Set “0000” Set “0000”
To select the EN1 bit of the GCN23 register Set “0001” Set “0001” Set “0001” Set “0001”
To select the EN2 bit of the GCN23 register Set “0010” Set “0010” Set “0010” Set “0010”
To select the EN3 bit of the GCN23 register Set “0011” Set “0011” Set “0011” Set “0011”
To select reload timer 6 Set “0100” Set “0100” Set “0100” Set “0100”
To select reload timer 7 Set “0101” Set “0101” Set “0101” Set “0101”
External Trigger
PPG12 PPG13 PPG14 PPG15
External Trigger Specification Bit
TSEL0[3:0] TSEL1[3:0] TSEL2[3:0] TSEL3[3:0]
To select the external trigger on GP14_4 Set “1000” Set “1000” Set “1000” Set “1000”
To select the external trigger on GP14_5 Set “1001” Set “1001” Set “1001” Set “1001”
To select the external trigger on GP14_6 Set “1010” Set “1010” Set “1010” Set “1010”
To select the external trigger on GP14_7 Set “1011” Set “1011” Set “1011” Set “1011”
Trigger Edge Selection Trigger Input Edge Selection Bits (EG1-EG0)
When not detected (software trigger only) Set “00”.
“L” -> “H” Trigger generated on the rising edge Set “01”.
“H” -> “L” Trigger generated on the falling edge Set “10”.
Trigger generated on both edges Set “11”.