Contiki-NG
Loading...
Searching...
No Matches
board-buttons.c
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2026, RISE Research Institutes of Sweden AB
3
* All rights reserved.
4
*
5
* Author: Joakim Eriksson <joakim.eriksson@ri.se>
6
*
7
* SPDX-License-Identifier: BSD-3-Clause
8
*/
9
10
/**
11
* \file
12
* Board-specific button initialization for Seeed XIAO nRF54L15
13
*/
14
15
#include "contiki.h"
16
#include "
dev/button-hal.h
"
17
18
/* Stub implementations to avoid nrfx v2.x API dependency */
19
#include <stddef.h>
20
21
/* Provide empty button list */
22
button_hal_button_t
*button_hal_buttons[] = { NULL };
23
unsigned
char
button_hal_button_cnt = 0;
24
25
/* Stub for v2.x API compatibility */
26
/*---------------------------------------------------------------------------*/
27
void
28
nrfx_gpiote_in_event_enable(
unsigned
int
pin,
unsigned
char
enable)
29
{
30
/* Stub - no buttons to enable */
31
}
32
/*---------------------------------------------------------------------------*/
button-hal.h
Header file for the button HAL.
button_hal_button_t
struct button_hal_button_s button_hal_button_t
A logical representation of a user button.
Definition
button-hal.h:145
arch
platform
nrf
nrf54l15
xiao
board-buttons.c
Generated on Wed Jun 3 2026 15:14:15 for Contiki-NG by
1.10.0