EasyManua.ls Logo

Cmsemicon CMS32L051 - Noise Filter Enable Register 1 (NFEN1)

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 5 Universal Timer Unit (Timer4)
www.mcu.com.cn 138 / 703
5.3.13 Noise filter enable register 1 (NFEN1)
The NFEN1 register sets whether the noise filter is used for the input signal of the timer input pins
of each channel of Unit 0. For pins that need to be noise canceled, the corresponding position 1 must
be placed for the noise filter to be effective. When the noise filter is active, detect whether the two
clocks are consistent after synchronization through the running clock (fMCK) of the object channel;
When the noise filter is invalid, the synchronization is only made through the running clock (fMCK) of
the object channel.
The NFEN1 register is set via an 8-bit memory operation command. After the reset signal is
generated, the value of the NFEN1 register changes to 00H.
For details, please refer to 5.5.1(2) Selecting the Valid Edge of the TImn Pin Input Signal (CCSmn=1)
and 5 .5.2 Start Timing of Counters and Control of 5.7 Timer Inputs (TImn).
Figure 5-22 Table of Noise Filter Enable Register 1 (NFEN1)
Address: 0x40040471
Symbol
7 6 5 4 3 2 1 0
NFEN1
TNFEN03
Whether the input signal noise filter of the TI03 pin is used or not
0
Noise filter OFF
1
Noise filter ON
TNFEN02
Whether the input signal noise filter of the TI02 pin is used or not
0
Noise filter OFF
1
Noise filter ON
TNFEN01
Whether the input signal noise filter of the TI01 pin is used or not
0
Noise filter OFF
1
Noise filter ON
TNFEN00
Whether the input signal noise filter of the TI00 pin is used or not
0
Noise filter OFF
1
Noise filter ON
Note: The configuration of the timer input/output pins of channels 0 to 3 is described in Chapter 2 Pin Functions.
0
0
0
0
TNFEN03
TNFEN02
TNFEN01
TNFEN00

Table of Contents

Related product manuals