MCPcopy Create free account
hub / github.com/kiibohd/controller / Scan_setup

Function Scan_setup

Scan/ICPad/scan_loop.c:56–75  ·  view source on GitHub ↗

Setup

Source from the content-addressed store, hash-verified

54
55// Setup
56inline void Scan_setup()
57{
58 // Setup Port Swap module
59 Port_setup();
60
61 // Setup UART Connect, if Output_Available, this is the master node
62 Connect_setup( Output_Available );
63
64 // Setup GPIO pins for matrix scanning
65 Matrix_setup();
66
67 // Setup ISSI chip to control the leds
68 LED_setup();
69
70 // Setup Pixel Map
71 Pixel_setup();
72
73 // Reset scan count
74 Scan_scanCount = 0;
75}
76
77
78// Main Detection Loop

Callers

nothing calls this directly

Calls 5

Port_setupFunction · 0.85
Connect_setupFunction · 0.85
Pixel_setupFunction · 0.85
Matrix_setupFunction · 0.50
LED_setupFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…