1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-31 17:31:18 +01:00
RIOT/cpu/riscv_common/include/periph_cpu_common.h
2025-09-26 20:06:29 +02:00

43 lines
632 B
C

/*
* SPDX-FileCopyrightText: 2020 Koen Zandberg <koen@bergzand.net>
* SPDX-License-Identifier: LGPL-2.1-only
*/
#pragma once
/**
* @ingroup cpu_riscv_common
* @{
*
* @file
* @brief CPU specific definitions for internal peripheral handling
*
* @author Koen Zandberg <koen@bergzand.net>
*/
#include <inttypes.h>
#include "cpu.h"
#ifdef __cplusplus
extern "C" {
#endif
/**
* @name Power management configuration
* @{
*/
#define PROVIDES_PM_SET_LOWEST
/** @} */
/**
* @brief Convenience typedef for interrupt lines
*/
typedef unsigned irqn_t;
#ifdef __cplusplus
}
#endif
/** @} */