Сделана документация на то, что есть сейчас

This commit is contained in:
2024-10-16 16:03:37 +03:00
parent 6a08b0462d
commit 8939ab257f
750 changed files with 10725 additions and 350180 deletions

View File

@@ -1,13 +1,23 @@
/**
**************************************************************************
* @file arm_defines.h
* @brief Заголовочный файл портирующий ARM дефайны.
**************************************************************************
@details
Данный файл переопределяет ARM дефайны так, чтобы они компилировались
MSVC. Дефайны представляют собой или заглушку или заменены выражением
с аналогичным ARM компилятору функционалом.
**************************************************************************/
#define __disable_irq()
/* CMSIS compiler specific defines */
#ifndef __ASM
#define __ASM __asm
#endif
#ifndef __IO
#define __IO volatile
#endif
#ifndef __inline
#define __inline inline
#endif
@@ -31,11 +41,13 @@
#define __USED __attribute__((used))
#endif
#ifndef __WEAK
#define __WEAK __declspec(selectany)
// #define __weak __WEAK
#endif
#ifndef __weak
#define __weak
#endif
#ifndef __PACKED
#define __PACKED __attribute__((packed))
@@ -76,21 +88,8 @@
#ifndef __RESTRICT
#define __RESTRICT __restrict
#endif
#ifndef __weak
#define __weak
#endif
//#define __ASM()
//#define __DSB()
//#define __ISB()
//#define __NOP()
//#define __WFI()
//#define __SEV()
//#define __WFE()
//#define __DMB()
/* ########################## Core Instruction Access ######################### */
/**
\brief No Operation
\details No Operation does nothing. This instruction can be used for code alignment purposes.