Loading...
Searching...
No Matches
csi.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2024 Prime Controls, Inc.(R)
3 * SPDX-License-Identifier: LGPL-2.1-only
4 */
5
6#pragma once
7
17
18#include "cpu_conf.h"
19#include "kernel_defines.h"
20
21#ifdef __cplusplus
22extern "C" {
23#endif
24
25#ifdef RCC_CR_CSION
26# ifndef CONFIG_CLOCK_CSI
27# define CONFIG_CLOCK_CSI 4 /* Default CSI frequency is 4MHz */
28# endif
29# define CLOCK_CSI CONFIG_CLOCK_CSI
30#endif
31
32#ifdef __cplusplus
33}
34#endif
35
Common macros and compiler attributes/pragmas configuration.