main/task_dcf.h

Fri, 20 Oct 2023 15:57:56 +0200

author
Michiel Broek <mbroek@mbse.eu>
date
Fri, 20 Oct 2023 15:57:56 +0200
changeset 1
86b275481021
permissions
-rw-r--r--

Added framework for the DCF77 transmitter. Added two debug LEDs.

/**
 * @file task_dcf.h
 * @brief DCF77 task. Run transmitter.
 */

#ifndef _TASK_DCF_H
#define _TASK_DCF_H


/**
 * @brief Structure containing the information of the driver task.
 */
typedef struct {
    bool		DCF_running;		///< If driver is running.
} DCF_State;



/**
 * @brief Test if transmitter is running.
 * @return Return true if transmitting.
 */
bool ready_DCF(void);


/**
 * @brief Request transmitter state
 */
void request_DCF(bool run);


/**
 * @brief Main task for the dcf77 transmitter.
 * @param pvParameters Parameters for the task.
 */
void task_DCF(void *pvParameters);


#endif

mercurial