Interrupt Examples

29 views
Skip to first unread message

James H

unread,
Jun 30, 2021, 10:48:32 PM6/30/21
to Tock Embedded OS Development Discussion
Can someone recommend an easy capsule/crate to model for a simple interrupt?  The interrupt is intended to alert a user application to read a series of memory mapped registers.  

Regards,
James.  

Philip Levis

unread,
Jul 1, 2021, 12:24:11 PM7/1/21
to James H, Tock Embedded OS Development Discussion
Do you want to virtualize the service (allow multiple applications to handle the interrupt)?

capsules/src/gpio.rs is probably a good place to start.

Phil

--
You received this message because you are subscribed to the Google Groups "Tock Embedded OS Development Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tock-dev+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tock-dev/67a0e993-dcb5-454a-be09-c7dc2afde9b5n%40googlegroups.com.

———————
Philip Levis (he/him)
Associate Professor, Computer Science and Electrical Engineering
Faculty Director, lab64 Maker Space
Stanford University
http://csl.stanford.edu/~pal

Reply all
Reply to author
Forward
0 new messages