Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
en:netzer:io [2014/08/16 16:05] svesch [Input capture (since version 1.6)] |
en:netzer:io [2014/08/17 16:46] svesch [Impulse output] |
||
---|---|---|---|
Line 161: | Line 161: | ||
Analogous to PWM a pulsed current is generated at the pin. It is always triggered whenever an internal counter flows over. The time duration of the counter is (65556*pulse unit). For IO3 and SPI_INT the same internal counter is used, so that both signals are always in phase. | Analogous to PWM a pulsed current is generated at the pin. It is always triggered whenever an internal counter flows over. The time duration of the counter is (65556*pulse unit). For IO3 and SPI_INT the same internal counter is used, so that both signals are always in phase. | ||
+ | |||
+ | Read more on the [[impulse|impulse page]]. | ||
==== Input capture (since version 1.6) ==== | ==== Input capture (since version 1.6) ==== | ||
Line 176: | Line 178: | ||
The measured value must be multiplied with the set time unit to get the final measured time. | The measured value must be multiplied with the set time unit to get the final measured time. | ||
+ | |||
+ | The measured value is 0xFFFF if the timer has overflown before the capture edge has occured. | ||
+ | |||
//Mode single current pulse// | //Mode single current pulse// |