STMicroelectronics STM32F05 series Reference Manual page 369

Advanced arm-based 32-bit mcus
Table of Contents

Advertisement

RM0091
Bits 1:0 CC1S: Capture/Compare 1 selection
Note: CC1S bits are writable only when the channel is OFF (CC1E = 0 in TIMx_CCER).
Input capture mode
Bits 15:8
Reserved
Bits 7:4 IC1F: Input capture 1 filter
This bit-field defines the frequency used to sample TI1 input and the length of the digital filter
applied to TI1. The digital filter is made of an event counter in which N events are needed to
validate a transition on the output:
0000: No filter, sampling is done at f
0001: f
0010: f
0011: f
0100: f
0101: f
0110: f
0111: f
Note: In current silicon revision, f
Bits 3:2 IC1PSC: Input capture 1 prescaler
This bit-field defines the ratio of the prescaler acting on CC1 input (IC1).
The prescaler is reset as soon as CC1E='0' (TIMx_CCER register).
00: no prescaler, capture is done each time an edge is detected on the capture input
01: capture is done once every 2 events
10: capture is done once every 4 events
11: capture is done once every 8 events
Bits 1:0 CC1S: Capture/Compare 1 selection
This bit-field defines the direction of the channel (input/output) as well as the used input.
00: CC1 channel is configured as output
01: CC1 channel is configured as input, IC1 is mapped on TI1
10:
11:
Note: CC1S bits are writable only when the channel is OFF (CC1E = 0 in TIMx_CCER).
This bit-field defines the direction of the channel (input/output) as well as the used input.
00: CC1 channel is configured as output.
01: CC1 channel is configured as input, IC1 is mapped on TI1.
10: Reserved
11: Reserved
=f
SAMPLING
CK_INT
=f
SAMPLING
CK_INT
=f
SAMPLING
CK_INT
=f
/2, N=6
SAMPLING
DTS
=f
/2, N=8
SAMPLING
DTS
=f
/4, N=6
SAMPLING
DTS
=f
/4, N=8
SAMPLING
DTS
2 or 3.
Doc ID 018940 Rev 1
DTS
, N=2
, N=4
, N=8
is replaced in the formula by CK_INT when ICxF[3:0]= 1,
DTS
General-purpose timer (TIM14)
1000: f
=f
/8, N=6
SAMPLING
DTS
1001: f
=f
/8, N=8
SAMPLING
DTS
1010: f
=f
/16, N=5
SAMPLING
DTS
1011: f
=f
/16, N=6
SAMPLING
DTS
1100: f
=f
/16, N=8
SAMPLING
DTS
1101: f
=f
/32, N=5
SAMPLING
DTS
1110: f
=f
/32, N=6
SAMPLING
DTS
1111: f
=f
/32, N=8
SAMPLING
DTS
369/742

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the STM32F05 series and is the answer not in the manual?

Questions and answers

Table of Contents