#ifndef __ONE_WIRE_H
#define __ONE_WIRE_H

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

#define ONEWIRE_QUEUE_SIZE							(10U)
#define ONEWIRE_QUEUE_ITEM_SIZE						(sizeof(onewire_msg_t))

#ifdef __cplusplus
extern "C"
{
#endif

typedef struct onewire_msg_t
{
	int onewire_temp;
} onewire_msg_t;

extern QueueHandle_t onewireQueue;

void onewireTaskStart(void* argument);

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

#endif // __ONE_WIRE_H
