Download XE166 Derivatives
Transcript
XE166 Derivatives Peripheral Units (Vol. 2 of 2) Capture/Compare Unit 6 (CCU6) Field Bits Type Description TRPM2 2 rw Trap Mode Control Bit 2 This bit defines how the trap flag TRPF can be cleared after the trap input condition (CTRAP = 0 and TRPPEN = 1) is no longer valid (either by CTRAP = 1 or by TRPPEN = 0). 0B Automatic Mode: Bit TRPF is cleared by HW if the trap input condition is no longer valid. 1B Manual Mode: Bit TRPF stays 0 after the trap input condition is no longer valid. It has to be cleared by SW by writing ISR.RTRPF = 1. TRPEN [13:8] rw Trap Enable Control Setting a bit enables the trap functionality for the following corresponding output signals: TRPEN0 = TRPCTR.8 for output CC60 TRPEN1 = TRPCTR.9 for output COUT60 TRPEN2 = TRPCTR.10 for output CC61 TRPEN3 = TRPCTR.11 for output COUT61 TRPEN4 = TRPCTR.12 for output CC62 TRPEN5 = TRPCTR.13 for output COUT62 0B The trap functionality of the corresponding output signal is disabled. The output state is independent from bit IS.TRPS. 1B The trap functionality of the corresponding output signal is enabled. The output state is set to the passive while IS.TRPS=1. TRPEN13 14 rw Trap Enable Control for Timer T13 0B The trap functionality for output COUT63 is disabled. The output state is independent from bit IS.TRPS. 1B The trap functionality for output COUT63 is enabled. The output state is set to the passive while IS.TRPS=1. User’s Manual CCU6, UM_V0.5D3 18-80 V2.1, 2008-08