Skip to content

djdisodo/avr_embassy_time

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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);

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages