De_User (15.11.2007 20:33, просмотров: 127) ответил De_User на Т.е. нужны следующие ресурсы, например, таймер T1, pin входа таймера T1, выход OCR1A?
Ещё вопрос: как найти в DataSheet максимальную частоту, которую можно подавать на T1? Нашёл только упоминание Noise Canceler (4 сист. цикла)
The noise canceler improves noise immunity by using a simple digital filtering scheme. The noise canceler input is monitored over four samples, and all four must be equal for changing the output that in turn is used by the edge detector.
The noise canceler is enabled by setting the Input Capture Noise Canceler (ICNCn) bit in Timer/Counter Control Register B (TCCRnB). When enabled the noise canceler introduces additional four system clock cycles of delay from a change applied to the input, to the update of the ICRn Register.
The noise canceler uses the system clock and is therefore not affected by the prescaler.
(!!!) Note that the input of the noise canceler and edge detector is always enabled unless the Timer/Counter is set in a Waveform Generation mode that uses ICRn to define TOP.
============================================
Для SPI Slave mode, например, всё понятно:
Low period: longer than 2 CPU clock cycles.
High period: longer than 2 CPU clock cycles.
Let's come together right now !