EasyManua.ls Logo

Cmsemicon CMS32L051 - 17.4 Operation of EVENTC

Default Icon
703 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...
V1.2.2
CMS32L051 User Manual |Chapter 17 Linkage Controller (EVENTC)
www.mcu.com.cn 610 / 703
17.4 Operation of EVENTC
The path used by the event signal generated by each peripheral function as an interrupt request for
the interrupt control circuit and the path used as an eventc event are independent of each other.
Therefore, each event signal is independent of interrupt control and can be used as an event signal for the
operation of peripheral functions of the event receiver.
The relationship between interrupt handling and EVENTC is shown in Figure 17-3. This figure takes
the relationship between peripheral functions with interrupt request status flags and interrupt allow bits
(which control whether to allow or disable) as an example.
The peripheral function that accepts an event through EVENTC operates according to the operation of
the receiver peripheral function after receiving the event (refer to Table 17-3 Correspondence between the
setting value of ELSELRn register (n=00~14) and the operation when the link target peripheral function
accepts the event
Figure 17-3 The relationship between interrupt processing and EVENTC
Note Some peripheral features do not have this feature.
The response to the perimeter function that accepts the event is shown in Table 17-4.
Table 17-4 Response of the peripheral function of the received event
Event
Acceptance
Target No.
Function of event link target
Operation after event acceptance
Response
1
A/D converter
A/D conversion
The EVENTC event becomes a hardware trigger for
A/D conversion directly.
2
Timer input for Timer40 channel
0
The delay counter enters the
measurement external event counter
for pulse width
Edge detection is performed after 3 or 4 f
CLK
cycles
from the occurrence of the EVENTC event.
3
Timer4 Timer input for 0
channel 1
The delay counter enters the
measurement external event counter
for pulse width
Edge detection is performed after 3 or 4 f
CLK
cycles
from the occurrence of the EVENTC event.
4
The EPWM output controls the
truncation source
Forced cut-off of the pulse output
Becomes a forced cutoff state after 2 or 3 EPWM
operating clock cycles from the occurrence of an
EVENTC event.
Peripheral
functionality
(
Event Recipient
).
CPU
The status flag
is note

Table of Contents

Related product manuals