Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: BSP_DISCO_F746NG_patch mbed-rtos mbed
main.c File Reference
This file provides main program functions. More...
Go to the source code of this file.
| Functions | |
| static void | MPU_Config (void) | 
| Configure the MPU attributes as Write Through for SRAM1/2. | |
| static void | CPU_CACHE_Enable (void) | 
| CPU L1-Cache enable. | |
| static void | SystemClock_Config (void) | 
| System Clock Configuration The system Clock is configured as follow : System Clock source = PLL (HSE) SYSCLK(Hz) = 200000000 HCLK(Hz) = 200000000 AHB Prescaler = 1 APB1 Prescaler = 4 APB2 Prescaler = 2 HSE Frequency(Hz) = 25000000 PLL_M = 25 PLL_N = 400 PLL_P = 2 PLLSAI_N = 384 PLLSAI_P = 8 VDD(V) = 3.3 Main regulator output voltage = Scale1 mode Flash Latency(WS) = 6. | |
| static void | GUIThread (void const *argument) | 
| Start task. | |
| static void | TimerCallback (void const *n) | 
| Timer callbacsk (40 ms) | |
| int | main (void) | 
| Main program. | |
| void | HAL_Delay (__IO uint32_t Delay) | 
| This function provides accurate delay (in milliseconds) based on SysTick counter flag. | |
| void | assert_failed (uint8_t *file, uint32_t line) | 
| assert_failed Reports the name of the source file and the source line number where the assert_param error has occurred. | |
Detailed Description
This file provides main program functions.
- Version:
- V1.1.0
- Date:
- 21-September-2015
- Attention:
© COPYRIGHT(c) 2015 STMicroelectronics 
Licensed under MCD-ST Liberty SW License Agreement V2, (the "License"); You may not use this file except in compliance with the License. You may obtain a copy of the License at:
http://www.st.com/software_license_agreement_liberty_v2
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Definition in file main.c.
Generated on Tue Jul 12 2022 14:58:31 by
 1.7.2
 1.7.2