Files
JIANT/firmware/hal/fm1_cc.h
T
2026-10-03 21:27:34 +09:00

11 lines
561 B
C

/* SPDX-License-Identifier: GPL-3.0-only
* Copyright (C) 2026 Leo Kuroshita (@kurogedelic), Hügelton Instruments */
/* FM1_INLINE: register helpers that must inline into their caller, so the
* SFR access sequence (and its timing, in ISRs and IRQ-off sections) is the
* one written at the call site; -Os would otherwise out-line a helper with
* several callers. RAM-resident code (.ram_text) may only use these, never
* a called helper (build.py checks .ram_text for calls). */
#pragma once
#define FM1_INLINE static inline __attribute__((always_inline))