| поискавой системы для электроныых деталей |
|
ST10F296 датащи(PDF) 181 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
ST10F296 датащи(HTML) 181 Page - STMicroelectronics |
|
181 / 346 page ![]() Obsolete Product(s) - Obsolete Product(s) ST10F296E Analog-to-digital converter (ADC) 181/346 Clock The XTCVR register clock is the prescaler output. The prescaler allows the basic register frequency to be divided, therebyoffering a wide range of counting periods, from 22 to 233 cycles. Registers The XTCVR register input is linked to several sources: ● XTSVR register (start value) for reload when the period is finished, or for load when the timer is starting. ● Incrementer output when the ‘up’ mode is selected ● Decrementer output when the ’down’ mode is selected ● Selection between sources is made through the XTCR control register. By setting the TEN bit of the XTCR register to 1 when starting the timer, XTCVR is loaded with the XTSVR value on the first rising edge of the counting clock (XB_CLK in Figure 63). The XTCVR register output is continuously compared to the XTEVR register to detect the end of the counting period. When the registers are equal, several things are done depending on the XTCR control register content: ● The output XADCINJ trigger event is generated conditionally depending on the TOE control bit. ● XTCVR is loaded with XTSVR, or it stops, or it continues to count (see Table 117: Different counting modes on page 181). XTEVR, XTSVR and all the XTCR bits except TEN must not be modified while the timer is counting (while XTCR.TEN = 1). The timer can be configured only when it is stopped (TEN = 0). If this rule is not respected, timer behavior is not guaranteed. When programming the timer, the XTEVR, XTSVR and XTCR bits (except TEN) can be modified, with TEN = 0. The timer is started by modifying the TEN bit. To stop the timer, the TEN bit is modified from 1 to 0. To avoid any problems, it is recommended to modify the XTCR register in two steps: First, by writing the new value without setting the TEN bit and second, by re-writing the new value with the the TEN bit set. . Note: Setting the TEN bit to 1 loads the XTCVR register with the TSVR value. If the ‘down’ counter mode is selected and XTSVR is less then XTEVR, the XTCVR is loaded with the XTSVR value, but, the timer does not start to count (the current value is hold). The same behavior occurs in up counter mode (TUD = 1) if TSVR > TEVR. Table 117. Different counting modes TLE TCS TCVR(n) = TEVR TUD TEN TCVR (n+1) comments xx x x 0 TCVR (n) Timer disable x0 1 x 1 Stop xx 0 0 TCVR (n)-1 Decrement 0 1 1 Decrement (continue) xx 0 1 TCVR (n)+1 Increment 0 1 1 Increment (continue) 1 1 1 x TSVR Load Obsolete Product(s) - Obsolete Product(s) |
|
ссылки URL |
| Вашему бизинису помогли Аллдатащит? [ DONATE ] |
Что такое Аллдатащит | реклама | контакт | Конфиденциальность | Ссылка на техническое описание | обмен ссыками | поиск по производителю 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 |