Electronic Components Datasheet Search
  British  ▼
ALLDATASHEET.CO.UK

X  

STM8S Datasheet(PDF) 235 Page - STMicroelectronics

Part # STM8S
Description  STM8S Series and STM8AF Series 8-bit microcontrollers
PDF  467 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

STM8S Datasheet(HTML) 235 Page - STMicroelectronics

Back Button STM8S Datasheet HTML 231Page - STMicroelectronics STM8S Datasheet HTML 232Page - STMicroelectronics STM8S Datasheet HTML 233Page - STMicroelectronics STM8S Datasheet HTML 234Page - STMicroelectronics STM8S Datasheet HTML 235Page - STMicroelectronics STM8S Datasheet HTML 236Page - STMicroelectronics STM8S Datasheet HTML 237Page - STMicroelectronics STM8S Datasheet HTML 238Page - STMicroelectronics STM8S Datasheet HTML 239Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 235 / 467 page
background image
DocID14587 Rev 14
235/467
RM0016
16-bit general purpose timers (TIM2, TIM3, TIM5)
261
18.6.7
Event generation register (TIMx_EGR)
Address offset: 0x04 or 0x06 (TIM2), 0x04 (TIM3), 0x06 (TIM5); for TIM2 address see
Section
Reset value: 0x00
7
654
3210
Reserved
TG
Reserved
CC3G
CC2G
CC1G
UG
r
w
r
w
www
Bit 7 Reserved
Bit 6 TG: Trigger generation
This bit is set by software to generate an event. It is automatically cleared by hardware.
0: No action
1: The TIF flag is set in TIM5_SR1 register. An interrupt is generated if enabled by the TIE bit
Note: In TIM2/TIM3 this bit is reserved.
Bits 5:4 Reserved
Bit 3 CC3G: Capture/compare 3 generation
Refer to CC1G description
Bit 2 CC2G: Capture/compare 2 generation
Refer to CC1G description
Bit 1 CC1G: Capture/compare 1 generation
This bit is set by software to generate an even. It is automatically cleared by hardware.
0: No action
1: A capture/compare event is generated on channel 1:
– If the CC1 channel is configured in output mode. In this case, the CC1IF flag is set, and the
corresponding interrupt request is sent if enabled.
– If the CC1 channel configured in input mode. In this case, the current value of the counter is
captured in the TIMx_CCR1 register. The CC1IF flag is set, and the corresponding interrupt request
is sent if enabled. The CC1OF flag is set if the CC1IF flag is already high.
Bit 0 UG: Update generation
This bit can be set by software, it is automatically cleared by hardware.
0: No action
1: Re-initializes the counter and generates an update of the registers. Note that the prescaler
counter is also cleared.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com