embassy_time implementation for avr
change AVR_EMBASSY_TIME_QUEUE_SIZE
environmental variable to change queue_size
you can use cargo as well
[env]
AVR_EMBASSY_TIME_QUEUE_SIZE=4
note: bug or not use of join! macro on time bound tasks it will use lot of queue space
use macro to define interrupt
recommend to define this on main.rs but can be any module;
define_interrupt!(atmega328p);
initialize driver by running this code before using any time related function
init_system_time(&mut dp.TC0);