blob: 3540f6d3893c82ffc4423b4ca6d6f362bce3d539 [file] [log] [blame]
Ben Tyner9ae5ca42020-02-28 13:13:50 -06001#include <libpdbg.h>
2
3#include <attn/attn_handler.hpp>
4
5// The attnHandler() function is called when the an attention GPIO event is
6// triggered. We call it here directly to simulatea a GPIO event.
7int main()
8{
9 int rc = 0; // return code
10
11 // initialize pdbg targets
12 pdbg_targets_init(nullptr);
13
14 // exercise attention gpio event path
15 attn::attnHandler(false);
16
17 return rc;
18}