platforms/nuttx/src/px4/nxp/kinetis/hrt/hrt.c
hrt_abstime
hrt_store_absolute_time(volatile hrt_abstime *now)
{
	irqstate_t flags = px4_enter_critical_section();

	hrt_abstime ts = hrt_absolute_time();

	px4_leave_critical_section(flags);

	return ts;
}
/**
 * Store the absolute time in an interrupt-safe fashion
 */
Store the absolute time in an interrupt-safe fashion
Store the absolute time in an interrupt - safe fashion
hrt_abstime
hrt_store_absolute_time(volatile hrt_abstime *now)
{
	irqstate_t flags = px4_enter_critical_section();
	hrt_abstime ts = hrt_absolute_time();
	px4_leave_critical_section(flags);
	return ts;
}
hrt_abstime hrt_store_absolute_time ( volatile hrt_abstime * now ) { irqstate_t flags = px4_enter_critical_section ( ) ; hrt_abstime ts = hrt_absolute_time ( ) ; px4_leave_critical_section ( flags ) ; return ts ; }
Store the absolute time in an interrupt-safe fashion
Store the absolute time in an interrupt - safe fashion