EasyManuals Logo

ST STM8S Reference Manual

ST STM8S
449 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #246 background imageLoading...
Page #246 background image
8-bit basic timer (TIM4, TIM6) RM0016
246/449 Doc ID 14587 Rev 8
19.6.2 Control register 2 (TIM6_CR2)
Address offset: 0x01
Reset value: 0x00
Note: This register is not available in TIM4.
19.6.3 Slave mode control register (TIM6_SMCR)
Address offset: 0x02
Reset value: 0x00
Note: This register is not available in TIM4.
76543210
Reserved
MMS[2:0]
Reserved
rw rw rw
Bit 7 Reserved, must be kept cleared
Bits 6:4 MMS[2:0]: Master mode selection
These bits are used to select the information to be sent in master mode to for synchronization
(TRGO). The combination is as follows:
000: Reset - the UG bit from the TIM6_EGR register is used as a trigger output (TRGO). If the reset
is generated by the trigger input (clock/trigger mode controller configured in trigger reset mode), the
signal on the TRGO is delayed compared to the actual reset.
001: Enable - the counter enable signal is used as a trigger output (TRGO). It is used to start several
timers at the same time or to control a window in which a slave timer is enabled. The counter enable
signal is generated by a logic OR between the CEN control bit and the trigger input when configured
in gated mode. When the counter enable signal is controlled by the trigger input, there is a delay on
TRGO, except if the master/slave mode is selected (see the MSM bit description in the TIM6_SMCR
register).
010: Update - The update event is selected as trigger output (TRGO)
011: Reserved
100: Reserved
101: Reserved
111: Reserved
Bits 3:0 Reserved, must be kept cleared
76543210
MSM TS[2:0]
Reserved
SMS[2:0]
rw rw rw rw rw rw rw
Bit 7 MSM: Master/slave mode
0: No action
1: The effect of an event on the trigger input (TRGI) is delayed to allow a perfect synchronization
between timers (through TRGO).

Table of Contents

Other manuals for ST STM8S

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the ST STM8S and is the answer not in the manual?

ST STM8S Specifications

General IconGeneral
BrandST
ModelSTM8S
CategoryMicrocontrollers
LanguageEnglish

Related product manuals