CircleOS
1
|
Various harware specific utilities for CircleOS. More...
Go to the source code of this file.
Functions | |
u16 | UTIL_GetBat (void) |
u16 | UTIL_GetTemp (void) |
void | UTIL_SetPll (enum eSpeed speed) |
backup_t | UTIL_ReadBackupRegister (index_t BKP_DR) |
void | UTIL_WriteBackupRegister (index_t BKP_DR, backup_t Data) |
u16 | UTIL_GetPrimerType (void) |
u16 UTIL_GetBat | ( | void | ) |
Return the battery tension in mV.
Definition at line 104 of file Util_spe2.c.
u16 UTIL_GetPrimerType | ( | void | ) |
Get the current type of the PRIMER.
Definition at line 407 of file Util_spe2.c.
u16 UTIL_GetTemp | ( | void | ) |
Return the Temperature: degrees / 10, Celcius or Fahrenheit.
Definition at line 146 of file Util_spe2.c.
backup_t UTIL_ReadBackupRegister | ( | index_t | BKP_DR) |
Reads data from the specified Data Backup Register.
[in] | BKP_DR | Specifies the Data Backup Register. This parameter can be BKP_DRx where x:[1, 10] |
Definition at line 352 of file Util_spe2.c.
void UTIL_SetPll | ( | enum eSpeed | speed) |
Set clock frequency (lower to save energy)
[in] | speed | New clock speed from very low to very fast. |
Definition at line 189 of file Util_spe2.c.
void UTIL_WriteBackupRegister | ( | index_t | BKP_DR, |
backup_t | Data | ||
) |
Writes data to the specified Data Backup Register.
[in] | BKP_DR | Specifies the Data Backup Register. This parameter can be BKP_DRx where x:[1, 10] |
[in] | Data | The data to write. |
Definition at line 380 of file Util_spe2.c.