Macros | Typedefs | Enumerations
stm32f407/stm32f407g-disc1/Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f4xx.h File Reference

CMSIS STM32F4xx Device Peripheral Access Layer Header File. More...

Go to the source code of this file.

Macros

#define __STM32F4xx_CMSIS_VERSION
 
#define __STM32F4xx_CMSIS_VERSION_MAIN   (0x02U)
 Comment the line below if you will not use the peripherals drivers. In this case, these drivers will not be included and the application code will be based on direct access to peripherals registers. More...
 
#define __STM32F4xx_CMSIS_VERSION_RC   (0x00U)
 
#define __STM32F4xx_CMSIS_VERSION_SUB1   (0x06U)
 
#define __STM32F4xx_CMSIS_VERSION_SUB2   (0x05U)
 
#define CLEAR_BIT(REG, BIT)   ((REG) &= ~(BIT))
 
#define CLEAR_REG(REG)   ((REG) = (0x0))
 
#define IS_FUNCTIONAL_STATE(STATE)   (((STATE) == DISABLE) || ((STATE) == ENABLE))
 
#define MODIFY_REG(REG, CLEARMASK, SETMASK)   WRITE_REG((REG), (((READ_REG(REG)) & (~(CLEARMASK))) | (SETMASK)))
 
#define POSITION_VAL(VAL)   (__CLZ(__RBIT(VAL)))
 
#define READ_BIT(REG, BIT)   ((REG) & (BIT))
 
#define READ_REG(REG)   ((REG))
 
#define SET_BIT(REG, BIT)   ((REG) |= (BIT))
 
#define STM32F4
 STM32 Family. More...
 
#define WRITE_REG(REG, VAL)   ((REG) = (VAL))
 

Typedefs

typedef enum FlagStatus ITStatus
 

Enumerations

enum  ErrorStatus {
  SUCCESS = 0U, ERROR = !SUCCESS, SUCCESS = 0U, ERROR = !SUCCESS,
  SUCCESS = 0U, ERROR = !SUCCESS, SUCCESS = 0U, ERROR = !SUCCESS,
  SUCCESS = 0, ERROR = !SUCCESS, SUCCESS = 0, ERROR = !SUCCESS
}
 
enum  FlagStatus {
  RESET = 0U, SET = !RESET, RESET = 0U, SET = !RESET,
  RESET = 0U, SET = !RESET, RESET = 0U, SET = !RESET,
  RESET = 0, SET = !RESET, RESET = 0, SET = !RESET
}
 
enum  FunctionalState {
  DISABLE = 0U, ENABLE = !DISABLE, DISABLE = 0U, ENABLE = !DISABLE,
  DISABLE = 0U, ENABLE = !DISABLE, DISABLE = 0U, ENABLE = !DISABLE,
  DISABLE = 0, ENABLE = !DISABLE, DISABLE = 0, ENABLE = !DISABLE
}
 

Detailed Description

CMSIS STM32F4xx Device Peripheral Access Layer Header File.

Author
MCD Application Team
     The file is the unique include file that the application programmer
     is using in the C source code, usually in main.c. This file contains:
      - Configuration section that allows to select:
         - The STM32F4xx device used in the target application
         - To use or not the peripheral’s drivers in application code(i.e. 
           code will be based on direct access to peripheral’s registers 
           rather than drivers API), this option is controlled by 
           "#define USE_HAL_DRIVER"
Attention

© Copyright (c) 2017 STMicroelectronics. All rights reserved.

This software component is licensed by ST under BSD 3-Clause license, the "License"; You may not use this file except in compliance with the License. You may obtain a copy of the License at: opensource.org/licenses/BSD-3-Clause

Definition in file stm32f407/stm32f407g-disc1/Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f4xx.h.



picovoice_driver
Author(s):
autogenerated on Fri Apr 1 2022 02:15:01