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.
hic_init.c 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 | sdk_init (void) |
| |
| void | hic_enable_usb_clocks (void) |
| |
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.c.
Function Documentation
| void hic_enable_usb_clocks | ( | void | ) |
- Turn on 16MHz crystal oscillator.
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 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.
Definition at line 64 of file hic_init.c.
Generated on Tue Jul 12 2022 15:37:29 by
1.7.2