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

« Back to documentation index

hic_init.h File Reference

hic_init.h File Reference

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

Go to the source code of this file.

Functions

void hic_init (void)
 Set some system-wide hardware settings.
void hic_enable_usb_clocks (void)
 Enable clocks required for USB operation.

Detailed Description

DAPLink Interface Firmware Copyright (c) 2009-2016, ARM Limited, All Rights Reserved Copyright (c) 2016-2017 NXP 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 hic_init.h.


Function Documentation

void hic_enable_usb_clocks ( void   )

Enable clocks required for USB operation.

Enable clocks required for USB operation.

  • Turn on 32kHz IRC.
  • Switch core clock to System PLL at 120 MHz, bus clock at 60 MHz, flash clock at 24 MHz.
  • Enable the 480MHz USB PHY PLL.
  • Ungate USBPHY and USBHS.
  • Configure the USB PHY.

Definition at line 96 of file hic_init.c.

void hic_init ( void   )

Set some system-wide hardware settings.