/*
 * Core1_LED_Control.h
 *
 * Created: Wed Jan 12 2022 15:28:36
 *  Author Chris
 */
#ifndef CORE1_LED_CONTROL_H_
#define CORE1_LED_CONTROL_H_

// ============================================================================================
// Includes
#include <stdint.h>
#include <stdbool.h>

#include "pico/time.h"
#include "pico/types.h"

#include "Command_Definition.h"


// ============================================================================================
// Defines


// ============================================================================================
// Datatypes


// ============================================================================================
// Function Declarations
void 	Core1_LED_Control_Init(void);
bool	Core1_LED_Control_Get_Timer_Fired(void);

void 	Core1_LED_Control_Set_DC_Direct	(enum LED_Channel channel, enum LED_Color color, uint8_t duty_cycle);
void 	Core1_LED_Control_Set_DC_Target	(enum LED_Channel channel, enum LED_Color color, uint8_t duty_cycle);
uint8_t Core1_LED_Control_Get_DC		(enum LED_Channel channel, enum LED_Color color);
void	Core1_LED_Control_Set_Fade_Speed(enum LED_Channel channel, uint8_t fade_speed);

void 	Core1_LED_Control_Set_Use_Color_Correction(bool use_color_correction);

#endif /* CORE1_LED_CONTROL_H_ */
