mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-11 06:23:39 +00:00
WIP interrupts via ptrtoint handler
This commit is contained in:
@@ -23,3 +23,8 @@ func New(id int, handler func(Interrupt)) Interrupt
|
||||
// function: it is only for telling the compiler about the mapping between an
|
||||
// interrupt number and the interrupt handler name.
|
||||
func Register(id int, handlerName string) int
|
||||
|
||||
type handle struct {
|
||||
handler func(Interrupt)
|
||||
Interrupt
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user