Arrow / Mbed OS DAPLink Reset
Embed: (wiki syntax)

« Back to documentation index

sdk.h File Reference

sdk.h File Reference

DAPLink Interface Firmware Copyright (c) 2017-2017, ARM Limited, All Rights Reserved SPDX-License-Identifier: Apache-2.0. More...

Go to the source code of this file.

Functions

void sdk_init (void)
 
  • MPU is disabled and gated.


Detailed Description

DAPLink Interface Firmware Copyright (c) 2017-2017, ARM Limited, All Rights Reserved SPDX-License-Identifier: Apache-2.0.

Licensed under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0

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 sdk.h.


Function Documentation

void sdk_init ( void   )

  • MPU is disabled and gated.

  • 8kB cache is enabled. SRAM is not cached, so no flushing is required for normal operation.
  • Enable low voltage warning interrupt.
  • Disable USB current limiter so the voltage doesn't drop as we enable high speed clocks.
  • MPU is disabled and gated.

The system Clock is configured as follow : System Clock source = PLL (HSE bypass) SYSCLK(Hz) = 72000000 HCLK(Hz) = 72000000 AHB Prescaler = 1 APB1 Prescaler = 2 APB2 Prescaler = 1 HSE Frequency(Hz) = 8000000 HSE PREDIV1 = 1 PLLMUL = 9 Flash Latency(WS) = 2

Parameters:
None
Return values:
None

Definition at line 22 of file sdk_stub.c.