Go to the source code of this file.
Functions | |
| spp_uint32_t | SPP_HAL_TIME_getTimeMs (void) |
| Return the current hardware time in milliseconds. | |
| spp_uint32_t | SPP_HAL_TIME_getTimeUs (void) |
| Return the current hardware time in microseconds. | |
| void | SPP_HAL_TIME_delayMs (spp_uint32_t ms) |
| Block for the requested number of milliseconds. | |
| spp_uint32_t SPP_HAL_TIME_getTimeMs | ( | void | ) |
Return the current hardware time in milliseconds.
Definition at line 17 of file time.c.
References SPP_HALTime_t::getTimeMs, SPP_HAL_getPort(), SPP_HAL_TIME_getTimeMs(), and SPP_HalPort_t::time.
Referenced by SPP_HAL_TIME_getTimeMs(), and SPP_SERVICES_DATABANK_packetData().
| spp_uint32_t SPP_HAL_TIME_getTimeUs | ( | void | ) |
Return the current hardware time in microseconds.
Definition at line 27 of file time.c.
References SPP_HALTime_t::getTimeUs, SPP_HAL_getPort(), SPP_HAL_TIME_getTimeUs(), and SPP_HalPort_t::time.
Referenced by app_main(), SPP_HAL_TIME_getTimeUs(), and statefunction_bmpPerformanceLoop().
| void SPP_HAL_TIME_delayMs | ( | spp_uint32_t | ms | ) |
Block for the requested number of milliseconds.
| [in] | ms | Number of milliseconds to delay. |
Definition at line 37 of file time.c.
References SPP_HALTime_t::delayMs, SPP_HAL_getPort(), SPP_HAL_TIME_delayMs(), and SPP_HalPort_t::time.
Referenced by SPP_HAL_TIME_delayMs(), SPP_SERVICES_BMP390_enableSpiMode(), SPP_SERVICES_BMP390_softReset(), SPP_SERVICES_ICM20948_configDmpInit(), and SPP_SERVICES_M10M_init().