Sharp LH79524 User Manual page 444

Table of Contents

Advertisement

LH79524/LH79525 User's Guide
BITS NAME
11:10 CMP0
9:8
7:6
5:4
3:2
1:0
Table 15-7. CMP_CAP_CTRL0 Register Definitions
Output Value Select Timer/Counter Operation: Programs the value (when a
compare match occurs) output on CTCMP0A when the CNT0 Register matches
the T0CMP0 Register.
00 = No change occurs to the output CTCMP0A
01 = Output 0 to CTCMP0A
10 = Output 1 to CTCMP0A
11 = Toggle the output to CTCMP0A
PWM Operation:
00 = Invalid
01 = Active LOW PWM output polarity
10 = Active HIGH PWM output polarity
11 = Invalid
IMPORTANT: CMP1 and CMP0 must be programmed to the same polarity.
Input Edge Select Selects the edge used as the capture trigger on the
CTCAP0E pin. This field and the capture function are inactive in PWM mode.
00 = Capture input CTCAP0E is ignored
CAPE
01 = Rising edge of CTCAP0E
10 = Falling edge of CTCAP0E
11 = Both edges of CTCAP0E
Input Edge Select Selects the edge used as the capture trigger on the
CTCAP0D pin. This field and the capture function are inactive in PWM mode.
00 = Capture input CTCAP0D is ignored
CAPD
01 = Rising edge of CTCAP0D
10 = Falling edge of CTCAP0D
11 = Both edges of CTCAP0D
Input Edge Select Selects the edge used as the capture trigger on the
CTCAP0C pin. This field and the capture function are inactive in PWM mode.
00 = Capture input CTCAP0C is ignored
CAPC
01 = Rising edge of CTCAP0C
10 = Falling edge of CTCAP0C
11 = Both edges of CTCAP0C
Input Edge Select Selects the edge used as the capture trigger on the
CTCAP0B pin. This field and the capture function are inactive in PWM mode.
00 = Capture input CTCAP0B is ignored
CAPB
01 = Rising edge of CTCAP0B
10 = Falling edge of CTCAP0B
11 = Both edges of CTCAP0B
Input Edge Select Selects the edge used as the capture trigger on the
CTCAP0A pin. This field and the capture function are inactive in PWM mode.
00 = Capture input CTCAP0A is ignored
CAPA
01 = Rising edge of CTCAP0A
10 = Falling edge of CTCAP0A
11 = Both edges of CTCAP0A
DESCRIPTION
Version 1.0
Timers
15-9

Advertisement

Table of Contents
loading

This manual is also suitable for:

Lh79525

Table of Contents