ВходНаше всё Теги codebook 无线电组件 Поиск Опросы Закон Суббота
20 апреля
408784 Топик полностью
Apтём (12.05.2013 20:16, просмотров: 213) ответил Ксения на Меня интересует не число таймеров (тем более что с появлением нескольких каналов я перестала понимать, что такое таймер), а число СЧЕТЧИКОВ, способных ОДНОВРЕМЕННО считать импульсы от разных входов.
Счётчиков хватает - в xmega128A1 - 8 штук. Событий тоже 8. Получается 8 счётных входов. 
4.4 Event Counting It is possible to use an event channel as a clock source for a Timer/Counter. This can be used to count the number of events on an event channel. 4.4.1 Configuration In this example, TCC0 will be used to count the number of times a button connected to PD0 has been pressed. 1. Configure PD0 to trigger on rising or falling edge. 2. Select PD0 as event source for event channel 0. 3. Set the digital filter for event channel 0 to the highest possible value. 4. Configure event channel 0 as the clock source for TCC0 . TCC0 will now count the number of times the button connected to PD0 has been pressed.
Смотрите в апноте AVR1001: Getting Started With the XMEGA Event System. Вам сколько входов надо?