25 lines
319 B
C
25 lines
319 B
C
/*
|
|
* PWM.h
|
|
*
|
|
* Created on: 2022年03月15日
|
|
* Author: User
|
|
*/
|
|
|
|
#ifndef __PWM_H_
|
|
#define __PWM_H_
|
|
|
|
#include "config.h"
|
|
|
|
#define FAN_PWM_PIN NTC_FAN_CTRL
|
|
|
|
typedef struct
|
|
{
|
|
uint8_t High;
|
|
void (*Init)(void);
|
|
void (*LoadPWM)(uint8_t);
|
|
} PWM_Wave_t;
|
|
|
|
extern PWM_Wave_t PWM;
|
|
void PWM_config();
|
|
#endif
|