MCPcopy Create free account
hub / github.com/Santroller/Santroller / attentionInterrupt

Function attentionInterrupt

lib/psx_controller/psx_controller.cpp:95–98  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

93static const uint8_t commandPollInput[] = {0x01, 0x42, 0x00, 0xFF, 0xFF};
94PSXController *controller;
95void attentionInterrupt(uint gpio, uint32_t events)
96{
97 controller->processData(true, false);
98}
99
100static int64_t restart_handler(__unused alarm_id_t id, void *user_data)
101{

Callers

nothing calls this directly

Calls 1

processDataMethod · 0.45

Tested by

no test coverage detected