blob: b0b954b62c3baa816c47c12bfa5a0ab095f95b32 [file] [log] [blame]
Ben Tyner0205f3b2020-02-24 10:24:47 -06001#pragma once
2
Ben Tyner3fb52e52020-03-31 10:10:07 -05003#include <attn/attn_config.hpp>
4
Ben Tyner0205f3b2020-02-24 10:24:47 -06005namespace attn
6{
7
8/**
9 * @brief Load the attention handler as a gpio monitor
10 *
11 * Request the attention gpio for monitoring and attach the attention handler
12 * as the gpio event handler.
13 *
Ben Tyner3fb52e52020-03-31 10:10:07 -050014 * @param i_config pointer to attention handler configuration object
Ben Tyner0205f3b2020-02-24 10:24:47 -060015 *
16 * @return 0 == success
17 */
Ben Tyner3fb52e52020-03-31 10:10:07 -050018int attnDaemon(Config* i_config);
Ben Tyner0205f3b2020-02-24 10:24:47 -060019
20} // namespace attn