![]() |
Basic Native CMSIS Register Access Documentation 1.0
The Common Microcontroller Software Interface Standard (CMSIS) simplifies microcontroller software development, providing a consistent and efficient interface for developers working with Cortex-M and entry-level Cortex-A processors. It promotes code reuse, portability, and interoperability, enabling developers to focus on application-level logic rather than dealing with low-level hardware details.
|
CMSIS STM32F7xx Device Peripheral Access Layer Header File. More...
#include "stm32f746xx.h"
Go to the source code of this file.
Macros | |
| #define | __STM32F7_CMSIS_VERSION_MAIN (0x01) |
| STM32 Family. | |
| #define | __STM32F7_CMSIS_VERSION_SUB1 (0x02) |
| #define | __STM32F7_CMSIS_VERSION_SUB2 (0x0A) |
| #define | __STM32F7_CMSIS_VERSION_RC (0x00) |
| #define | __STM32F7_CMSIS_VERSION |
| #define | IS_FUNCTIONAL_STATE(STATE) (((STATE) == DISABLE) || ((STATE) == ENABLE)) |
| #define | SET_BIT(REG, BIT) ((REG) |= (BIT)) |
| #define | CLEAR_BIT(REG, BIT) ((REG) &= ~(BIT)) |
| #define | READ_BIT(REG, BIT) ((REG) & (BIT)) |
| #define | CLEAR_REG(REG) ((REG) = (0x0)) |
| #define | WRITE_REG(REG, VAL) ((REG) = (VAL)) |
| #define | READ_REG(REG) ((REG)) |
| #define | MODIFY_REG(REG, CLEARMASK, SETMASK) WRITE_REG((REG), (((READ_REG(REG)) & (~(CLEARMASK))) | (SETMASK))) |
| #define | POSITION_VAL(VAL) (__CLZ(__RBIT(VAL))) |
| #define | ATOMIC_SET_BIT(REG, BIT) |
| #define | ATOMIC_CLEAR_BIT(REG, BIT) |
| #define | ATOMIC_MODIFY_REG(REG, CLEARMSK, SETMASK) |
| #define | ATOMIC_SETH_BIT(REG, BIT) |
| #define | ATOMIC_CLEARH_BIT(REG, BIT) |
| #define | ATOMIC_MODIFYH_REG(REG, CLEARMSK, SETMASK) |
Typedefs | |
| typedef enum FlagStatus | ITStatus |
Enumerations | |
| enum | FlagStatus { RESET = 0U , SET = !RESET } |
| enum | FunctionalState { DISABLE = 0U , ENABLE = !DISABLE } |
| enum | ErrorStatus { SUCCESS = 0U , ERROR = !SUCCESS } |
CMSIS STM32F7xx Device Peripheral Access Layer Header File.
Copyright (c) 2016 STMicroelectronics. All rights reserved.
This software is licensed under terms that can be found in the LICENSE file in the root directory of this software component. If no LICENSE file comes with this software, it is provided AS-IS.