| поискавой системы для электроныых деталей |
|
UM0324 датащи(PDF) 101 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
UM0324 датащи(HTML) 101 Page - STMicroelectronics |
|
101 / 105 page ![]() UM0324 Additional information 101/105 Figure 51. Processing captured value when timer did not overflow Figure 52. Processing captured value when timer did overflow Prescaler decreased in prev. int? Capture < 0x5500? Is the prescaler already 0? Store current prescaler value + 1 Reset flag indicating decrement Store current prescaler value Store current prescaler value Store current prescaler value Decrease prescaler register Set flag indicating decrement for next capture interrupt Yes No No No Yes Store capture value Prescaler decreased in prev. int? Capture < 0x5500? Is the prescaler already 0? Store current prescaler value + 1 Reset flag indicating decrement Store current prescaler value Store current prescaler value Store current prescaler value Decrease prescaler register Set flag indicating decrement for next capture interrupt Yes No No No Yes Store capture value Is overflow Cnt=0? Does Capture exceeds 16-bit format? Prescaler will overflow? Compute total number of clock cycle (+0x10000 per overflow Make it fit 16-bit by increasing PrscBuf Set max value to CaptBuf and PrscBuf Store capture value in CaptBuf Store prescaler value in PrscBuf Store CaptBuf and PrscBuf in array Did previous capture cause overflow? Is prescaler at max value already? Increase Timer clock presale Set flag indicating increment for next capture interrupt Reset flag indicating increment Is overflow Cnt=0? Does Capture exceeds 16-bit format? Prescaler will overflow? Compute total number of clock cycle (+0x10000 per overflow Make it fit 16-bit by increasing PrscBuf Set max value to CaptBuf and PrscBuf Store capture value in CaptBuf Store prescaler value in PrscBuf Store CaptBuf and PrscBuf in array Did previous capture cause overflow? Is prescaler at max value already? Increase Timer clock presale Set flag indicating increment for next capture interrupt Reset flag indicating increment |
|
ссылки 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 |