st52f513 STMicroelectronics, st52f513 Datasheet - Page 80

no-image

st52f513

Manufacturer Part Number
st52f513
Description
8-bit Microcontrollers
Manufacturer
STMicroelectronics
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
st52f5136G3M6
Manufacturer:
ST
0
Part Number:
st52f513F3M6TR
Manufacturer:
ON
Quantity:
2 835
Part Number:
st52f513G3M6
Manufacturer:
ST
0
Part Number:
st52f513G3M6
Manufacturer:
ST
Quantity:
20 000
Part Number:
st52f513G3M6TR
Manufacturer:
ST
Quantity:
20 000
Part Number:
st52f513GM6
Manufacturer:
ST
0
Part Number:
st52f513Y3M6
Manufacturer:
ST
0
ST52510xx ST52513xx
PWM/Timer 1 Control Register 2 (PWM1_CR2)
Configuration Register 13 (0Dh) Read/Write
Reset Value: 0000 0000 (00h)
Bit 7-6: Not Used
Bit 5: T1WAV T1OUT Waveform
Bit 4-0: T1PRESC PWM/Timer 1 Prescaler
12.6.2 PWM/Timer 1 Input Registers.
PWM/Timer 1 Counter High Input Register
(PWM1_COUNT_IN_H)
Input Register 26 (01Ah) Read only
Reset Value: 0000 0000 (00h)
Bit 7-0: T1CI15-8 PWM/Timer 1 Counter MSB
In this register the current value of the Timer 1
Counter MSB can be read.
Warning: Both of the PWMx_COUNT_IN_x
registers must be always read. To avoid side
effects, the values stored inside these registers are
frozen, and new updates cannot be stored, until
both the values are read.
PWM/Timer 1 Counter Low Input Register
(PWM1_COUNT_IN_L)
Input Register 27 (01Bh) Read only
Reset Value: 0000 0000 (00h)
80/136
T1CI15
T1CI7
7
7
7
-
0: pulse (type2)
1: square (type1)
T1CI14
The PWM/Timer 1 clock is divided by a
factor equal to 2
value allowed for T1PRESC is 10000
(010h).
T1CI6
-
T1WAV
T1CI13
T1CI5
5
T1CI12
T1CI4
T1PRESC
T1CI11
T1CI3
T1PRESC
T1CI10
T1CI2
. The maximum
T1CI9
T1CI1
T1CI8
T1CI0
0
0
0
Bit 7-0: T1CI7-0 PWM/Timer 1 Counter LSB
In this register the current value of the Timer 1
Counter LSB can be read.
Warning: Both of the PWMx_COUNT_IN_x
registers must be always read. To avoid side
effects, the values stored inside these registers are
frozen, and new updates cannot be stored, until
both the values are read.
PWM/Timer 1 Status Register (PWM1_STATUS)
Input Register 28 (01Ch) Read only
Reset Value: 0000 0000 (00h)
Bit 7-4: Not Used
Bit 3: T1OVFL PWM/Timer 1 counter overflow flag
Bit 2: T1OUT T1OUT pin value
Bit 1: T1RST Reset Status
Bit 0: T1SST Start Status
PWM/Timer 1 Capture High Input Register
(PWM1_CAPTURE_H)
Input Register 29 (01Dh) Read only
Reset Value: 0000 0000 (00h)
Bit 7-0: T1CP15-8 PWM/Timer 1 Capture MSB
In this register the counter value after the last stop
can be read.
T1CP15 T1CP14 T1CP13 T1CP12 T1CP11 T1CP10 T1CP9
7
7
-
0: no overflow occurred since last reset
1: overflow occurred
0: T1OUT pin is at logical level 0
1: T1OUT pin is at logical level 1
0: PWM/Timer 1 is reset
1: PWM/Timer 1 is set
0: PWM/Timer 1 is stopped
1: PWM/Timer 1 is running
-
-
-
T1OVFL T1OUT
T1RST
T1SST
T1CP8
0
0

Related parts for st52f513