Herzog Library 00.00.01
rel_libdev.herzog.00.00.01.10606
|
Go to the source code of this file.
Functions | |
int32_t | Clock_devCrystalClockInit (void) |
Initialize crystal clock. More... | |
void | Clock_devRCClockInit (void) |
Initialize RC clock. More... | |
void | Clock_devRC10KClockInit (void) |
Initialize 10K RC clock. More... | |
void | Clock_devRCCalibration (void) |
Calibrate RC clock. More... | |
void | Clock_devEnableCrystalClock (void) |
Enable crystal clock. More... | |
void | Clock_devDisableCrystalClock (void) |
Disable crystal clock. More... | |
int32_t | Clock_devRegisterIRQ (void *cb) |
Register a callback function to clock interrupt. More... | |
int32_t | Clock_devUnregisterIRQ (void *cb) |
Un-register a callback function to clock interrupt. More... | |
This file is proprietary to Indie Semiconductor. All rights reserved. Reproduction or distribution, in whole or in part, is forbidden except by express written permission of Indie Semiconductor.
int32_t Clock_devCrystalClockInit | ( | void | ) |
Initialize crystal clock.
The clock source will be switched to crystal clock by this function.
void Clock_devDisableCrystalClock | ( | void | ) |
Disable crystal clock.
This function doesn't switch clock source.
void Clock_devEnableCrystalClock | ( | void | ) |
Enable crystal clock.
This function doesn't switch clock source.
void Clock_devRC10KClockInit | ( | void | ) |
Initialize 10K RC clock.
The clock source will be switched to 10K RC by this function.
void Clock_devRCCalibration | ( | void | ) |
Calibrate RC clock.
void Clock_devRCClockInit | ( | void | ) |
Initialize RC clock.
The clock source will be switched to RC clock by this function.
int32_t Clock_devRegisterIRQ | ( | void * | cb | ) |
Register a callback function to clock interrupt.
cb | The pointer to callback function. |
int32_t Clock_devUnregisterIRQ | ( | void * | cb | ) |
Un-register a callback function to clock interrupt.
cb | The pointer to callback function. |