5 gcn2: general control register 2 – FUJITSU MB91460 SERIES FR60 User Manual
Page 822

806
Chapter 39 Programmable Pulse Generator
4.Registers
4.5 GCN2: General Control Register 2
Generates PPG0-PPG3, PPG4-PPG7, PPG8-PPG11 and PPG12-PPG15 internal trigger levels using
software.
• GCN20 (PPG0-PPG3): Address 0103h (Access:
Byte
)
• GCN21 (PPG4-PPG7): Address 0107h (Access:
Byte
)
• GCN22 (PPG8-PPG11): Address 010Bh (Access:
Byte
)
• GCN23 (PPG12-PPG15): Address 0323h (Access:
Byte
)
Meaning of Bit Attribute Symbols (Page No.10)
” for details of the attributes.)
• Bits 7-4: Undefined.Always write “0”. The read value is the value as written.
(See “
• Bit 3: EN3 trigger input
• Bit 2: EN2 trigger input
• Bit 1: EN1 trigger input
• Bit 0: EN0 trigger input
• Set the levels of internal triggers EN0, EN1, EN2, and EN3.
• If any of the EN trigger inputs (EN0, EN1, EN2, EN3) is selected with the trigger specification bits
(GCN10.TSEL0[3:0], GCN10.TSEL1[3:0], GCN10.TSEL2[3:0], and GCN10.TSEL3[3:0]) of PPG0, PPG1,
PPG2, PPG3, then the selected EN serves as a PPG trigger input bit.
• If any of the EN trigger inputs (EN0, EN1, EN2, EN3) is selected with the trigger specification bits
(GCN11.TSEL0[3:0], GCN11.TSEL1[3:0], GCN11.TSEL2[3:0], and GCN11.TSEL3[3:0]) of PPG4, PPG5,
PPG6, PPG7, then the selected EN serves as a PPG trigger input bit.
• If any of the EN trigger inputs (EN0, EN1, EN2, EN3) is selected with the trigger specification bits
(GCN12.TSEL0[3:0], GCN12.TSEL1[3:0], GCN12.TSEL2[3:0], and GCN12.TSEL3[3:0]) of PPG8, PPG9,
PPG10, PPG11, then the selected EN serves as a PPG trigger input bit.
• If any of the EN trigger inputs (EN0, EN1, EN2, EN3) is selected with the trigger specification bits
(GCN13.TSEL0[3:0], GCN13.TSEL1[3:0], GCN13.TSEL2[3:0], and GCN13.TSEL3[3:0]) of PPG12,
PPG13, PPG14, of PPG15, then the selected EN serves as a PPG trigger input bit.
• If the state selected with the trigger input edge selection bit (EGS[1:0]) is generated by software using the
trigger input bit (selected EN0, EN1, EN2, or EN3), the choice serves as an activation trigger to activate
the PPG.
7
6
5
4
3
2
1
0
bit
–
–
–
–
EN3
EN2
EN1
EN0
0
0
0
0
0
0
0
0
Initial value
R/W0
R/W0
R/W0
R/W0
R/W
R/W
R/W
R/W
Attribute
EN0, EN1, EN2, and EN3
Internal Triggers EN0, EN1, EN2, and EN3
0
Set the level to “L”.
1
Set the level to “H”.