#ifndef _MAIN_H_
#define _MAIN_H_
#include "hal_data.h"
#include <stdint.h>
#include <stdio.h>
#include <string.h>
#include "stdlib.h"
#include "bsp_api.h"
#include "common_data.h"
#include "usart0.h"
#include "Systick.h"
#include "Ring_Buffer.h"
#include "coremark.h"




#define LED_ON  do{R_IOPORT_PinWrite(&g_ioport_ctrl, BSP_IO_PORT_04_PIN_02, BSP_IO_LEVEL_HIGH);}while(0)
#define LED_OFF do{R_IOPORT_PinWrite(&g_ioport_ctrl, BSP_IO_PORT_04_PIN_02, BSP_IO_LEVEL_LOW);}while(0)
#define delay_ms(ms) do{R_BSP_SoftwareDelay(ms, BSP_DELAY_UNITS_MILLISECONDS);}while(0)

extern void coremark_main(void);


#endif /* _MAIN_H_ */
