801
Chapter 39 Programmable Pulse Generator
4.Registers
4.3 PCN: PPG Control Status register
Controls the operations and status of PPGs.
• PCN00 (PPG0): Address 0116h (Access: Byte, Half-word)
• PCN01 (PPG1): Address 011Eh (Access: Byte, Half-word)
• PCN02 (PPG2): Address 0126h (Access: Byte, Half-word)
• PCN03 (PPG3): Address 012Eh (Access: Byte, Half-word)
• PCN04 (PPG4): Address 0136h (Access: Byte, Half-word)
• PCN05 (PPG5): Address 013Eh (Access: Byte, Half-word)
• PCN06 (PPG6): Address 0146h (Access: Byte, Half-word)
• PCN07 (PPG7): Address 014Eh (Access: Byte, Half-word)
• PCN08 (PPG8): Address 0156h (Access: Byte, Half-word)
• PCN09 (PPG9): Address 015Eh (Access: Byte, Half-word)
• PCN10 (PPG10): Address 0166h (Access: Byte, Half-word)
• PCN11 (PPG11): Address 016Eh (Access: Byte, Half-word)
• PCN12 (PPG12): Address 0336h (Access: Byte, Half-word)
• PCN13 (PPG13): Address 033Eh (Access: Byte, Half-word)
• PCN14 (PPG14): Address 0346h (Access: Byte, Half-word)
• PCN15 (PPG15): Address 034Eh (Access: Byte, Half-word)
(See “Meaning of Bit Attribute Symbols (Page No.10)” for details of the attributes.)
O: Rewritable, x: Not writable (See “8. Caution (Page No.821)”.)
• Bit 15: Timer enable operation
This bit enables the operation of the PPG.
• Bit 14: Software trigger
When the Software Trigger bit is set to “1”, a software trigger is generated to activate the PPG, separately from the
generation of an internal trigger (EN bit, reload timer output).
15 14 13 12 11 10 9 8 Bit
CNTE STGR MDSE RTRG CKS1 CKS0 PGMS –
0 0 0 0 0 0 0 X Initial value
R/W R0/W R/W R/W R/W R/W R/W RX/WX Attribute
OO× × ×××–
Rewrite during
operation
765 4 3210 Bit
EGS1 EGS0 IREN IRQF IRS1 IRS0 – OSEL
0 0 0 0 0 0 X 0 Initial value
R/W R/W R/W R(RM1), W R/W R/W RX/WX R/W Attribute
××OO××– ×
Rewrite during
operation
CNTE Operation
0 Stop
1 Operation
STGR Operation
0 The operation is unaffected by writing (The read value always equals “0”).
1 Software trigger activation