/* re200b_motion_detect_handler which allow to know comparison result (CMP_GREATER or CMP_LESS)  */
void re200b_motion_detect_handler(void)
/* re200b_motion_detect_handler which allow to know comparison result (CMP_GREATER or CMP_LESS)  */
void re200b_motion_detect_handler(void)
{
	uint32_t ul_status;
	ul_status = acc_get_interrupt_status(ACC);
	if ((ul_status & ACC_IER_CE) == ACC_IER_CE) {
		g_ul_compare_event_flag = true;
		if (acc_get_comparison_result(ACC)) {
			g_compare_result = CMP_GREATER;
		} else {
			g_compare_result = CMP_LESS;
		}
	}
}