STM32F769IDiscovery  1.00
uDANTE Audio Networking with STM32F7 DISCO board
Macros | Typedefs | Enumerations
stm32f7xx.h File Reference

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

Go to the source code of this file.

Macros

#define STM32F7
 STM32 Family. More...
 
#define __STM32F7_CMSIS_VERSION_MAIN   (0x01)
 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 __STM32F7_CMSIS_VERSION_SUB1   (0x01)
 
#define __STM32F7_CMSIS_VERSION_SUB2   (0x00)
 
#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)))
 

Typedefs

typedef enum FlagStatus ITStatus
 

Enumerations

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

Detailed Description

CMSIS STM32F7xx Device Peripheral Access Layer Header File.

Author
MCD Application Team
Version
V1.1.0
Date
22-April-2016 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 STM32F7xx 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) 2016 STMicroelectronics

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
  2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
  3. Neither the name of STMicroelectronics nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Definition in file stm32f7xx.h.