pinebuds/platform/cmsis/inc/system_ARMCM.h
Ben V. Brown 75381150fd Formatting
Formatting Pass 1

Lots of fixups to adding stdint and stdbool all over the place

Formatting Pass 2
Formatting Pass 3
Formatting Pass 4

Update app_bt_stream.cpp
2023-02-02 07:56:49 +11:00

47 lines
1.1 KiB
C

/***************************************************************************
*
* Copyright 2015-2019 BES.
* All rights reserved. All unpublished rights reserved.
*
* No part of this work may be used or reproduced in any form or by any
* means, or stored in a database or retrieval system, without prior written
* permission of BES.
*
* Use of this work is governed by a license granted by BES.
* This work contains confidential and proprietary information of
* BES. which is protected by copyright, trade secret,
* trademark and other intellectual property rights.
*
****************************************************************************/
#ifndef __SYSTEM_ARMCM_H__
#define __SYSTEM_ARMCM_H__
#include "cmsis_compiler.h"
#ifdef __cplusplus
extern "C" {
#endif
#include "stdbool.h"
void SystemInit(void);
#ifdef UNALIGNED_ACCESS
__STATIC_FORCEINLINE bool get_unaligned_access_status(void) { return true; }
__STATIC_FORCEINLINE bool config_unaligned_access(bool enable) { return true; }
#else
bool get_unaligned_access_status(void);
bool config_unaligned_access(bool enable);
#endif
uint32_t get_cpu_id(void);
#ifdef __cplusplus
}
#endif
#endif