![GigaDevice Semiconductor GD32A50 Series Скачать руководство пользователя страница 401](http://html.mh-extra.com/html/gigadevice-semiconductor/gd32a50-series/gd32a50-series_user-manual_2225782401.webp)
GD32A50x User Manual
401
When multi mode channel 0 is configured in output mode, and the MCH0MSEL[1:0]
= 2b’00, these bits specifie the multi mode channel 0 output signal polarity.
00: Multi mode channel 0 active high
01: Multi mode channel 0 active low
10: Reserved.
11: Reserved.
When multi mode channel 0 is configured in input mode, these bits specifie the multi
mode channel 0 input signal’s polarity. MCH0FP[1:0] will select the active trigger or
capture polarity for multi mode channel 0 input signals.
00: Multi mode channel 0 input signal’s rising edge is the active signal for capture
or trigger operation in slave mode. And multi mode channel 0 input signal will not
be inverted.
01: Multi mode channel 0 input signal’s falling edge is the active signal for capture
or trigger operation in slave mode. And multi mode channel 0 input signal will be
inverted.
10: Reserved.
11: Noninverted/both multi mode channel 0 input signal’s edges.
This bit cannot be modified when PROT[1:0] bit-field in TIMERx_CCHP register is
11 or 10.
Multi mode channel 0 capture/compare value register (TIMERx_MCH0CV)
Address offset: 0x54
Reset value: 0x0000 0000
This register has to be accessed by word (32-bit).
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
Reserved
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
MCH0VAL[15:0]
rw
Bits
Fields
Descriptions
31:16
Reserved
Must be kept at reset value.
15:0
MCH0VAL[15:0]
Capture/compare value of multi mode channel 0.
When multi mode channel 0 is configured in input mode, this bit-field indicates the
counter value at the last capture event. And this bit-field is read-only.
When multi mode channel 0 is configured in output mode, this bit-field contains
value to be compared to the counter. When the corresponding shadow register is
enabled, the shadow register updates by every update event.