mirror of
https://github.com/isod89/sloop-fm1.git
synced 2026-12-06 12:54:21 +01:00
11 lines
561 B
C
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))
|