![]() |
Choco OS
V.0.16.9.0
Join to the chocolate world
|
The file with LLD interface for the CLOCK driver. More...
Go to the source code of this file.
Typedefs | |
typedef void(* | oC_CLOCK_LLD_Interrupt_t) (oC_Frequency_t Frequency) |
type for storing interrupts pointers More... | |
Enumerations |
Functions | |
oC_ErrorCode_t | oC_CLOCK_LLD_TurnOnDriver (void) |
initializes the driver to work More... | |
oC_ErrorCode_t | oC_CLOCK_LLD_TurnOffDriver (void) |
release the driver More... | |
oC_CLOCK_LLD_ClockSource_t | oC_CLOCK_LLD_GetClockSource (void) |
returns source of the system clock More... | |
oC_Frequency_t | oC_CLOCK_LLD_GetClockFrequency (void) |
returns frequency of the system clock More... | |
oC_Frequency_t | oC_CLOCK_LLD_GetOscillatorFrequency (void) |
returns frequency of the oscillator More... | |
oC_Frequency_t | oC_CLOCK_LLD_GetMaximumClockFrequency (void) |
returns maximum frequency permissible for the machine More... | |
oC_ErrorCode_t | oC_CLOCK_LLD_SetClockConfiguredInterrupt (oC_CLOCK_LLD_Interrupt_t Interrupt) |
configures an interrupt for clock configured event More... | |
bool | oC_CLOCK_LLD_DelayForMicroseconds (oC_UInt_t Microseconds) |
perform a delay for us More... | |
oC_ErrorCode_t | oC_CLOCK_LLD_ConfigureInternalClock (oC_Frequency_t TargetFrequency, oC_Frequency_t PermissibleDifference) |
configures system clock in internal mode More... | |
oC_ErrorCode_t | oC_CLOCK_LLD_ConfigureExternalClock (oC_Frequency_t TargetFrequency, oC_Frequency_t PermissibleDifference, oC_Frequency_t OscillatorFrequency) |
configures system clock to work in external mode More... | |
oC_ErrorCode_t | oC_CLOCK_LLD_ConfigureHibernationClock (oC_Frequency_t TargetFrequency, oC_Frequency_t PermissibleDifference, oC_Frequency_t OscillatorFrequency) |
configures system clock to work in hibernation mode More... | |
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Definition in file oc_clock_lld.h.