CLEON
Version 1
Cloud-Offloaded GPS Receiver
|
RTC configuration. More...
#include "cleon_conf.h"
#include "app_define.h"
#include "sys_define.h"
#include "hal_define.h"
#include "fs_define.h"
Go to the source code of this file.
Macros | |
#define | GPS_TEST_ON_INITIALIZATION _ENABLE_ |
Functions | |
void | HAL_RTC_Init () |
Initializing RTC. | |
void | HAL_RTC_ReadRTCTime (void) |
Read RTC time. | |
void | HAL_RTC_RestoreTimeTick (void) |
Restore time tick value out of RTC. | |
unsigned long long | HAL_RTC_GetSecondConvertedFromStoredRTCTime (rtc_time_u *ptruniTempRTCTime) |
Get total seconds converted from RTC time. | |
__interrupt void | RTC_VECTOR_ISR (void) |
unsigned int | HAL_SetRTCYear (int year) |
unsigned int | HAL_SetRTCMon (int month) |
unsigned int | HAL_SetRTCDay (int day) |
unsigned int | HAL_SetRTCDow (int dow) |
unsigned int | HAL_SetRTCHour (int hour) |
unsigned int | HAL_SetRTCMin (int min) |
unsigned int | HAL_SetRTCSec (int sec) |
unsigned int | HAL_SetRTCMilisec (int millisec) |
unsigned int | HAL_GetRTCYear (void) |
unsigned int | HAL_GetRTCMon (void) |
unsigned int | HAL_GetRTCDow (void) |
unsigned int | HAL_GetRTCDay (void) |
unsigned int | HAL_GetRTCHour (void) |
unsigned int | HAL_GetRTCMin (void) |
unsigned int | HAL_GetRTCSec (void) |
unsigned int | HAL_GetRTCMilisec (void) |
Variables | |
cleon_header_u | uniCLEONHeader |
cleon_gps_data_u | uniCLEONGPSData |
cleon_sensor_data_u | uniCLEONSensorData |
bool | bFLAG_CLEONSampleIntervalConuter |
bool | bFLAG_ISLoggingRequested |
bool | bFLAG_IsTimeSynced = _CLEAR_ |
bool | bFLAG_RTCTimeTickOfSecond = _CLEAR_ |
bool | bFLAG_ISResetOccuredBySVSHPOR = _CLEAR_ |
volatile unsigned int | SysRstIv |
unsigned long | ulSampleCount |
unsigned long | ulSampleGap |
unsigned long | ulChunkCount |
unsigned long | ulChunkGap |
rtc_time_u | uniRTCTime = {0} |
milliseoncd_time_tick_u | uniMillisecondTimeTick = {0} |
seoncd_time_tick_u | uniSecondTimeTick = {0} |
unsigned char | ucRTCNumberOfSecondCounter = 0 |
time_measurement_s | stTimeMeasurement [NUMBER_OF_TIME_MEASUREMENT_TEST] = {0} |
RTC configuration.
Definition in file hal_rtc.c.
unsigned int HAL_GetRTCDay | ( | void | ) |
unsigned int HAL_GetRTCHour | ( | void | ) |
unsigned int HAL_GetRTCMilisec | ( | void | ) |
unsigned int HAL_GetRTCMin | ( | void | ) |
unsigned int HAL_GetRTCMon | ( | void | ) |
unsigned int HAL_GetRTCSec | ( | void | ) |
unsigned int HAL_GetRTCYear | ( | void | ) |
unsigned long long HAL_RTC_GetSecondConvertedFromStoredRTCTime | ( | rtc_time_u * | ptruniTempRTCTime | ) |
Get total seconds converted from RTC time.
ptruniTempRTCTime | - RTC time which has been kept in FLASH from last time synchronization |
Definition at line 161 of file hal_rtc.c.
void HAL_RTC_Init | ( | void | ) |
Initializing RTC.
void |
Definition at line 57 of file hal_rtc.c.
void HAL_RTC_ReadRTCTime | ( | void | ) |
void HAL_RTC_RestoreTimeTick | ( | void | ) |
Restore time tick value out of RTC.
void |
Definition at line 116 of file hal_rtc.c.
unsigned int HAL_SetRTCDay | ( | int | day | ) |
unsigned int HAL_SetRTCDow | ( | int | dow | ) |
unsigned int HAL_SetRTCHour | ( | int | hour | ) |
unsigned int HAL_SetRTCMin | ( | int | min | ) |
unsigned int HAL_SetRTCMon | ( | int | month | ) |
unsigned int HAL_SetRTCSec | ( | int | sec | ) |
unsigned int HAL_SetRTCYear | ( | int | year | ) |
__interrupt void RTC_VECTOR_ISR | ( | void | ) |
Definition at line 238 of file hal_rtc.c.
time_measurement_s stTimeMeasurement[NUMBER_OF_TIME_MEASUREMENT_TEST] = {0} |
cleon_gps_data_u uniCLEONGPSData |
Definition at line 14 of file sys_init.c.
cleon_header_u uniCLEONHeader |
Definition at line 13 of file sys_init.c.
cleon_sensor_data_u uniCLEONSensorData |
Definition at line 15 of file sys_init.c.
milliseoncd_time_tick_u uniMillisecondTimeTick = {0} |
rtc_time_u uniRTCTime = {0} |
seoncd_time_tick_u uniSecondTimeTick = {0} |