Home
last modified time | relevance | path

Searched refs:DIVC (Results 1 – 9 of 9) sorted by relevance

/loramac-node-3.4.0/src/boards/SKiM980A/
Drtc-board.c81 #define DIVC( X, N ) ( ( ( X ) + ( N ) -1 ) / ( N ) ) macro
446 seconds = DIVC( ( DAYS_IN_YEAR * 3 + DAYS_IN_LEAP_YEAR ) * date->Year , 4 ); in RtcGetCalendarValue()
450 …seconds += ( DIVC( ( date->Month-1 ) * ( 30 + 31 ), 2 ) - ( ( ( correction >> ( ( date->Month - 1 … in RtcGetCalendarValue()
/loramac-node-3.4.0/src/boards/NucleoL152/
Drtc-board.c81 #define DIVC( X, N ) ( ( ( X ) + ( N ) -1 ) / ( N ) ) macro
446 seconds = DIVC( ( DAYS_IN_YEAR * 3 + DAYS_IN_LEAP_YEAR ) * date->Year , 4 ); in RtcGetCalendarValue()
450 …seconds += ( DIVC( ( date->Month-1 ) * ( 30 + 31 ), 2 ) - ( ( ( correction >> ( ( date->Month - 1 … in RtcGetCalendarValue()
/loramac-node-3.4.0/src/boards/NucleoL073/
Drtc-board.c81 #define DIVC( X, N ) ( ( ( X ) + ( N ) -1 ) / ( N ) ) macro
447 seconds = DIVC( ( DAYS_IN_YEAR * 3 + DAYS_IN_LEAP_YEAR ) * date->Year , 4 ); in RtcGetCalendarValue()
451 …seconds += ( DIVC( ( date->Month-1 ) * ( 30 + 31 ), 2 ) - ( ( ( correction >> ( ( date->Month - 1 … in RtcGetCalendarValue()
/loramac-node-3.4.0/src/boards/SKiM880B/
Drtc-board.c81 #define DIVC( X, N ) ( ( ( X ) + ( N ) -1 ) / ( N ) ) macro
446 seconds = DIVC( ( DAYS_IN_YEAR * 3 + DAYS_IN_LEAP_YEAR ) * date->Year , 4 ); in RtcGetCalendarValue()
450 …seconds += ( DIVC( ( date->Month-1 ) * ( 30 + 31 ), 2 ) - ( ( ( correction >> ( ( date->Month - 1 … in RtcGetCalendarValue()
/loramac-node-3.4.0/src/boards/SKiM881AXL/
Drtc-board.c81 #define DIVC( X, N ) ( ( ( X ) + ( N ) -1 ) / ( N ) ) macro
447 seconds = DIVC( ( DAYS_IN_YEAR * 3 + DAYS_IN_LEAP_YEAR ) * date->Year , 4 ); in RtcGetCalendarValue()
451 …seconds += ( DIVC( ( date->Month-1 ) * ( 30 + 31 ), 2 ) - ( ( ( correction >> ( ( date->Month - 1 … in RtcGetCalendarValue()
/loramac-node-3.4.0/src/boards/NucleoL476/
Drtc-board.c81 #define DIVC( X, N ) ( ( ( X ) + ( N ) -1 ) / ( N ) ) macro
446 seconds = DIVC( ( DAYS_IN_YEAR * 3 + DAYS_IN_LEAP_YEAR ) * date->Year , 4 ); in RtcGetCalendarValue()
450 …seconds += ( DIVC( ( date->Month-1 ) * ( 30 + 31 ), 2 ) - ( ( ( correction >> ( ( date->Month - 1 … in RtcGetCalendarValue()
/loramac-node-3.4.0/src/boards/NAMote72/
Drtc-board.c81 #define DIVC( X, N ) ( ( ( X ) + ( N ) -1 ) / ( N ) ) macro
446 seconds = DIVC( ( DAYS_IN_YEAR * 3 + DAYS_IN_LEAP_YEAR ) * date->Year , 4 ); in RtcGetCalendarValue()
450 …seconds += ( DIVC( ( date->Month-1 ) * ( 30 + 31 ), 2 ) - ( ( ( correction >> ( ( date->Month - 1 … in RtcGetCalendarValue()
/loramac-node-3.4.0/src/boards/B-L072Z-LRWAN1/
Drtc-board.c81 #define DIVC( X, N ) ( ( ( X ) + ( N ) -1 ) / ( N ) ) macro
447 seconds = DIVC( ( DAYS_IN_YEAR * 3 + DAYS_IN_LEAP_YEAR ) * date->Year , 4 ); in RtcGetCalendarValue()
451 …seconds += ( DIVC( ( date->Month-1 ) * ( 30 + 31 ), 2 ) - ( ( ( correction >> ( ( date->Month - 1 … in RtcGetCalendarValue()
/loramac-node-3.4.0/src/system/
Dsystime.c63 #define DIVC( X, N ) ( ( ( X ) + ( N ) -1 ) / ( N ) ) macro
185 nbdays = DIVC( ( TM_DAYS_IN_YEAR * 3 + TM_DAYS_IN_LEAP_YEAR ) * year, 4 ); in SysTimeMkTime()