GeMRTOS
Related Functions
Time Class Reference

Related Functions

(Note that these are not member functions.)

Friends And Related Function Documentation

◆ gk_FROZEN_CALLBACK()

void gk_FROZEN_CALLBACK ( void  )
related

This function is called when a frozzen event happened.

gk_FROZEN_CALLBACK

Definition at line 924 of file grtosuserfunctions.c.

◆ gk_TIME_CALLBACK()

void gk_TIME_CALLBACK ( GS_ECB pevent)
related

This function is called when a time event happened. It has to resolve according the event type.

gk_TIME_CALLBACK

Parameters
[in]peventPointer to the ECB of the event time happened
Todo:

<

Todo:
raise a signal when it is blocked

Definition at line 829 of file grtosuserfunctions.c.

◆ GRTOS_CMD_FRZ_TM_THR_GET()

GRTOS_CMD_FRZ_TM_THR_GET ( { \ TIMEPRIORITY value64; \ value64.i32[1] = (unsigned) IORD(GRTOS_DRIVER_GRTOS_BASE, ADDR_FRZ_THR_HGH); \ value64.i32[0] = (unsigned) IORD(GRTOS_DRIVER_GRTOS_BASE, ADDR_SMP); \ value64.i64; \ }  )
related

GRTOS_CMD_FRZ_TM_THR_GET Returns the value of the Frozen Time Threshold (R_FRZ_TM_THR) register of the GRTOS controller.

ONLY for use in critical section

Returns
Returns the value of the Frozen Time Threshold (R_FRZ_TM_THR)
Parameters
[in]None

Definition at line 152 of file grtos_regs.h.

◆ GRTOS_CMD_SYS_TM_GET()

GRTOS_CMD_SYS_TM_GET ( { \ TIMEPRIORITY value64; \ do { \ value64.i32[1] = (unsigned) IORD(GRTOS_DRIVER_GRTOS_BASE, ADDR_SYS_TM); \ value64.i32[0] = (unsigned) IORD(GRTOS_DRIVER_GRTOS_BASE, ADDR_SMP); \ } while(0); \ value64.i64; \ }  )
related

GRTOS_CMD_SYS_TM_GET Returns the value of System TIME (R_FRZ_CNT + R_TM_CNT)

ONLY for use in critical section

Returns
Returns the value of the System Time (C_SYS_TM)

Definition at line 123 of file grtos_regs.h.

◆ GRTOS_GET_INTERVAL()

GRTOS_GET_INTERVAL
related

GRTOS_GET_INTERVAL Reset the Interval Time Counter, returning the last value.

GRTOS_GET_INTERVAL

Returns
Return the interval time since the laast reset

Definition at line 141 of file grtos_regs.h.

◆ GRTOS_now()

GRTOS_now ( { \ TIMEPRIORITY value64; \ do { \ value64.i32[1] = (unsigned) IORD(GRTOS_DRIVER_GRTOS_BASE, ADDR_TM_CNT_HGH); \ value64.i32[0] = (unsigned) IORD(GRTOS_DRIVER_GRTOS_BASE, ADDR_SMP); \ } while(0); \ value64.i64; \ }  )
related

GRTOS_now Return the current system time.

ONLY for critical section use

Returns
INT64 with the current system time

Definition at line 97 of file grtos_regs.h.

◆ gu_get_frozen_threshold()

gt_time gu_get_frozen_threshold ( void  )
related

Returns the value in the frozen threshold register (R_FRZ_TM_THR)

gu_get_frozen_threshold

Returns
the value in the frozen threshold register (R_FRZ_TM_THR)

FOr use in user mode

Todo:

Definition at line 770 of file grtosuserfunctions.c.

◆ gu_Get_Next_Occurrence_Time()

gt_time gu_Get_Next_Occurrence_Time ( void  )
related

Returns the Next Occurrence Time.

gu_Get_Next_Occurrence_Time

Returns
Returns the Next Occurrence Time
Todo:
Change to user API files

Definition at line 2892 of file listfunctions.c.


The documentation for this class was generated from the following files: