| 数据搜索系统,热门电子元器件搜索 |
|
ST18952 数据表(PDF) 32 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
ST18952 数据表(HTML) 32 Page - STMicroelectronics |
|
32 / 67 page ![]() 32/66 ST18952 TSVR0-1: Timer start value register (Address = 0059/005D, Reset value = 0000 h, Read/Write) TUD Timer up/down counting (bit 1) • When TUD = ‘0’, the TIM is counting ‘down’ (reset value), i.e. the TCVR current value register content is decremented. • When TUD = ‘1’, the TIM is counting ‘up’, i.e. the TCVR current value register content is incremented. TLE Timer load enable (bit 2) • When the counter has reached its end value (TCVR = TEVR), TCVR is (re)loaded with TSVR (‘start value’) register content when TLE = ‘1’. • When TLE = ‘0’ (reset value), the next state of TCVR depends on the TCS bit. TCS Timer continue/stop (bit 3) • When TLE = ‘0’ (no load) and when the counter has reached its end value (TCVR = TEVR), the TCVR content continues to increment/decrement according to TUD bit when TCS = ‘1’ (continue mode). • When TCS = ‘0’ (stop mode - reset value), TCVR is stopped and content is frozen. TIE Timer interrupt enable (bit 4) • When the counter has reached its end value (TCVR = TEVR), an interrupt request is generated on TIR output when TIE = ‘1’. • When TIE = ‘0’ (reset value), TIR output is disabled (=‘1’). TCM Timer cock mode (bit 5) • When TCM = ‘0’ (reset value), the TCVR clock is derived from internal MCLK clock according to TFP bits. • When TCM = ‘1’, the TCVR clock is the external ECLK clock. TFP(3:0) Timer frequency prescaler (bits 9-4; TFP(3) = msb) • When TCM = ‘0’ (internal clock), the TCVR register clock is derived from the MCLK clock input by dividing MCLK by 2(2+ TFP). The coding is as follows: TFP = 0h prescaler by 2 (reset value) MCLK divided by 4 TFP = 1h prescaler by 4 MCLK divided by 8 TFP = 2h prescaler by 8 MCLK divided by 16 -... TFP = Fh prescaler by 216MCLK divided by 217 Bits 10-11 RESERVED and must be written as’0’ Bits 12-15 Unused and read as’0’ 15 14 13 12 11 10 9876 54 3210 TSV 15 TSV 14 TSV 13 TSV 12 TSV 11 TSV 10 TSV 9 TSV 8 TSV 7 TSV 6 TSV 5 TSV 4 TSV 3 TSV 2 TSV 1 TSV 0 Bit Function TSV(15:0) Timer start value (bits15-0, TSV15 is msb |
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 All Rights Reserved©Alldatasheet.com |
| 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 |