CMSIS STM32F7xx Device Peripheral Access Layer Header File. More...
Go to the source code of this file.
Macros | |
#define | STM32F7 |
STM32 Family. More... | |
#define | STM32F746xx |
#define | USE_HAL_DRIVER |
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_MAIN (0x01) |
CMSIS Device version number V1.1.0. 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 } |
CMSIS STM32F7xx Device Peripheral Access Layer Header File.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
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.