OLD | NEW |
1 // Copyright (c) 2016, the Fletch project authors. Please see the AUTHORS file | 1 // Copyright (c) 2016, the Dartino project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE.md file. | 3 // BSD-style license that can be found in the LICENSE.md file. |
4 | 4 |
5 library stm32f746g.src.stm32f7_constants; | 5 library stm32f746g.src.stm32f7_constants; |
6 | 6 |
7 // Base address of AHB/ABP peripherals. | 7 // Base address of AHB/ABP peripherals. |
8 // | 8 // |
9 // These are from | 9 // These are from |
10 // stm32cube_fw_f7/Drivers/CMSIS/Device/ST/STM32F7xx/Include/stm32f746xx.h | 10 // stm32cube_fw_f7/Drivers/CMSIS/Device/ST/STM32F7xx/Include/stm32f746xx.h |
11 const int PERIPH_BASE = 0x40000000; | 11 const int PERIPH_BASE = 0x40000000; |
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
172 const int GPIO_PUPDR_PUPDR0 = 0x00000003; | 172 const int GPIO_PUPDR_PUPDR0 = 0x00000003; |
173 | 173 |
174 // Masks. | 174 // Masks. |
175 const int GPIO_MODE = 0x00000003; | 175 const int GPIO_MODE = 0x00000003; |
176 const int EXTI_MODE = 0x10000000; | 176 const int EXTI_MODE = 0x10000000; |
177 const int GPIO_MODE_IT = 0x00010000; | 177 const int GPIO_MODE_IT = 0x00010000; |
178 const int GPIO_MODE_EVT = 0x00020000; | 178 const int GPIO_MODE_EVT = 0x00020000; |
179 const int RISING_EDGE = 0x00100000; | 179 const int RISING_EDGE = 0x00100000; |
180 const int FALLING_EDGE = 0x00200000; | 180 const int FALLING_EDGE = 0x00200000; |
181 const int GPIO_OUTPUT_TYPE = 0x00000010; | 181 const int GPIO_OUTPUT_TYPE = 0x00000010; |
OLD | NEW |