MCPcopy Create free account
hub / github.com/GValiente/butano / commit_interrupt_handler

Function commit_interrupt_handler

butano/src/bn_hdma_manager.cpp:255–265  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

253}
254
255void commit_interrupt_handler()
256{
257 static_data& data = data_ref();
258 hdma::interrupt_handler_type new_high_priority_interrupt_handler = data.new_high_priority_interrupt_handler;
259
260 if(data.current_high_priority_interrupt_handler != new_high_priority_interrupt_handler)
261 {
262 data.current_high_priority_interrupt_handler = new_high_priority_interrupt_handler;
263 bn::hw::irq::set_isr(bn::hw::irq::id::DMA0, new_high_priority_interrupt_handler);
264 }
265}
266
267bool commit_entries(bool use_dma)
268{

Callers 2

enableFunction · 0.85
update_implFunction · 0.85

Calls 1

set_isrFunction · 0.85

Tested by

no test coverage detected