Zephyr Project API
3.7.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
atmel_sam_supc.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2023 Bjarki Arge Andreasen
3
*
4
* SPDX-License-Identifier: Apache-2.0
5
*/
6
7
#ifndef ZEPHYR_INCLUDE_DRIVERS_POWER_ATMEL_SAM_SUPC_H_
8
#define ZEPHYR_INCLUDE_DRIVERS_POWER_ATMEL_SAM_SUPC_H_
9
10
#define SAM_DT_SUPC_CONTROLLER DEVICE_DT_GET(DT_NODELABEL(supc))
11
12
#define SAM_DT_SUPC_WAKEUP_SOURCE_ID(node_id) \
13
DT_PROP_BY_IDX(node_id, wakeup_source_id wakeup_source_id)
14
15
#define SAM_DT_INST_SUPC_WAKEUP_SOURCE_ID(inst) \
16
SAM_DT_SUPC_WAKEUP_SOURCE_ID(DT_DRV_INST(inst))
17
18
#endif
/* ZEPHYR_INCLUDE_DRIVERS_POWER_ATMEL_SAM_SUPC_H_ */
include
zephyr
drivers
power
atmel_sam_supc.h
Generated on Sun Sep 15 2024 17:01:30 for Zephyr Project API by
1.9.8