#ifndef __BEEPER_H
#define __BEEPER_H

#include "FreeRTOS.h"
#include "queue.h"

#define BEEPER_QUEUE_SIZE							(10U)
#define BEEPER_QUEUE_ITEM_SIZE						(sizeof(beeper_msg_t))

#ifdef __cplusplus
extern "C"
{
#endif

typedef struct beeper_msg_t
{
	uint16_t beeper_on_time;
	uint16_t beeper_off_time;
	uint16_t beeper_repeat_cnt;
} beeper_msg_t;

extern QueueHandle_t beeperQueue;

void beeperTaskStart(void* argument);

#ifdef __cplusplus
} // extern "C"
#endif

#endif // __BEEPER_H
