Searched refs:DIVC (Results 1 – 9 of 9) sorted by relevance
/loramac-node-3.4.0/src/boards/SKiM980A/ |
D | rtc-board.c | 81 #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/ |
D | rtc-board.c | 81 #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/ |
D | rtc-board.c | 81 #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/ |
D | rtc-board.c | 81 #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/ |
D | rtc-board.c | 81 #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/ |
D | rtc-board.c | 81 #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/ |
D | rtc-board.c | 81 #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/ |
D | rtc-board.c | 81 #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/ |
D | systime.c | 63 #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()
|