Wirepas SDK
uart_wakeup.h
Go to the documentation of this file.
1
/* Copyright 2022 Wirepas Ltd. All Rights Reserved.
2
*
3
* See file LICENSE.txt for full license details.
4
*
5
*/
6
12
#ifndef UART_WAKEUP_
13
#define UART_WAKEUP_
14
15
#include "
gpio.h
"
16
22
void
UartWakeup_enable
(
gpio_in_event_cb_f
cb);
23
27
void
UartWakeup_disable
(
void
);
28
29
#endif
/* UART_WAKEUP_ */
UartWakeup_enable
void UartWakeup_enable(gpio_in_event_cb_f cb)
Enable wake-up functionality.
gpio.h
Board-independent GPIO functions.
UartWakeup_disable
void UartWakeup_disable(void)
Disable wake-up functionality.
gpio_in_event_cb_f
void(* gpio_in_event_cb_f)(gpio_id_t id, gpio_in_event_e event)
Callback structure for a GPIO event.
Definition:
gpio.h:110