Add more general SetMosState() and SetPwmValue() functions

This commit is contained in:
2024-09-03 00:28:33 +02:00
parent 4453156641
commit 0110c22455
2 changed files with 97 additions and 130 deletions

View File

@@ -1,7 +1,9 @@
#ifndef MAD_CORE_COMMON_H
#define MAD_CORE_COMMON_H
#include <stddef.h>
#include <stdarg.h>
#include <stdbool.h>
#define UNUSED(s) (void)(s)
#define BIT(n) (0x1U << (n))