Nirvana Jay / Mbed 2 deprecated F7DISCO_Demo

Dependencies:   BSP_DISCO_F746NG_patch mbed-rtos mbed

Embed: (wiki syntax)

« Back to documentation index

main.c File Reference

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.

Author:
MCD Application Team
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.