EasyManua.ls Logo

Sharp LH79524 - Page 444

Sharp LH79524
555 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
LH79524/LH79525 User’s Guide Timers
Version 1.0 15-9
11:10 CMP0
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.
9:8 CAPE
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
01 = Rising edge of CTCAP0E
10 = Falling edge of CTCAP0E
11 = Both edges of CTCAP0E
7:6 CAPD
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
01 = Rising edge of CTCAP0D
10 = Falling edge of CTCAP0D
11 = Both edges of CTCAP0D
5:4 CAPC
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
01 = Rising edge of CTCAP0C
10 = Falling edge of CTCAP0C
11 = Both edges of CTCAP0C
3:2 CAPB
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
01 = Rising edge of CTCAP0B
10 = Falling edge of CTCAP0B
11 = Both edges of CTCAP0B
1:0 CAPA
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
01 = Rising edge of CTCAP0A
10 = Falling edge of CTCAP0A
11 = Both edges of CTCAP0A
Table 15-7. CMP_CAP_CTRL0 Register Definitions
BITS NAME DESCRIPTION

Table of Contents

Related product manuals