Download Print this page

ST STM32F301 6 Series Reference Manual page 323

Advanced arm-based 32-bit mcus

Advertisement

RM0366
Bits 14:12 PGPSC[2:0]: Pulse generator prescaler
Note: These bits must not be modified when an acquisition is ongoing.
Note: Some configurations are forbidden. Refer to the
Bits 11:8 Reserved, must be kept at reset value.
Bits 7:5 MCV[2:0]: Max count value
Note: These bits must not be modified when an acquisition is ongoing.
Bit 4 IODEF: I/O Default mode
Note: This bit must not be modified when an acquisition is ongoing.
Bit 3 SYNCPOL: Synchronization pin polarity
These bits are set and cleared by software.They select the AHB clock divider used to
generate the pulse generator clock (PGCLK).
000: f
HCLK
001: f
/2
HCLK
010: f
/4
HCLK
011: f
/8
HCLK
100: f
/16
HCLK
101: f
/32
HCLK
110: f
/64
HCLK
111: f
/128
HCLK
acquisition sequence
These bits are set and cleared by software. They define the maximum number of charge
transfer pulses that can be generated before a max count error is generated.
000: 255
001: 511
010: 1023
011: 2047
100: 4095
101: 8191
110: 16383
111: reserved
This bit is set and cleared by software. It defines the configuration of all the TSC I/Os when
there is no ongoing acquisition. When there is an ongoing acquisition, it defines the
configuration of all unused I/Os (not defined as sampling capacitor I/O or as channel I/O).
0: I/Os are forced to output push-pull low
1: I/Os are in input floating
This bit is set and cleared by software to select the polarity of the synchronization input pin.
0: Falling edge only
1: Rising edge and high level
for details.
RM0366 Rev 5
Touch sensing controller (TSC)
Section 16.3.4: Charge transfer
323/874
330

Advertisement

loading
Need help?

Need help?

Do you have a question about the STM32F301 6 Series and is the answer not in the manual?

This manual is also suitable for:

Stm32f301 8 seriesStm32f318 8 series