include/counter.h
/**
 * @brief Read current counter value.
 * @param dev Pointer to the device structure for the driver instance.
 *
 * @return  32-bit value
 */
@brief Read current counter value.
@param dev Pointer to the device structure for the driver instance.

@return  32-bit value
@brief Read current counter value . @param dev Pointer to the device structure for the driver instance . @return 32 - bit value
static inline u32_t counter_read(struct device *dev)
{
	const struct counter_driver_api *api = dev->driver_api;
	return api->read(dev);
}
static inline u32_t counter_read ( struct device * dev ) { const struct counter_driver_api * api = dev -> driver_api ; return api -> read ( dev ) ; }
@brief Read current counter value.
@brief Read current counter value .