Go to the source code of this file.
◆ DEFAULT_FAN_DUTY_VALUE
#define DEFAULT_FAN_DUTY_VALUE 70 |
◆ INDEX_ALL_PWM
#define INDEX_ALL_PWM 0xFF |
◆ MAX_FAN_DUTY_VALUE
#define MAX_FAN_DUTY_VALUE 100 |
◆ MAX_FAN_PWM_INDEX_COUNT
#define MAX_FAN_PWM_INDEX_COUNT 4 |
◆ PWM_DEVICE_NAME
#define PWM_DEVICE_NAME "PWM" |
◆ fan_mode
Enumerator |
---|
FAN_MANUAL_MODE | |
FAN_AUTO_MODE | |
◆ fan_mode_ctrl_cmd
Enumerator |
---|
FAN_SET_MANUAL_MODE | |
FAN_SET_AUTO_MODE | |
FAN_GET_MODE | |
◆ init_fan_duty()
◆ init_fan_mode()
◆ pal_get_fan_ctrl_mode()
int pal_get_fan_ctrl_mode |
( |
uint8_t * |
ctrl_mode | ) |
|
◆ pal_get_fan_duty()
int pal_get_fan_duty |
( |
uint8_t |
pwm_id, |
|
|
uint8_t * |
duty, |
|
|
uint8_t |
slot_index |
|
) |
| |
◆ pal_get_fan_rpm()
int pal_get_fan_rpm |
( |
uint8_t |
fan_id, |
|
|
uint16_t * |
rpm |
|
) |
| |
◆ pal_set_fan_ctrl_mode()
void pal_set_fan_ctrl_mode |
( |
uint8_t |
ctrl_mode | ) |
|
◆ pal_set_fan_duty()
int pal_set_fan_duty |
( |
uint8_t |
pwm_id, |
|
|
uint8_t |
duty, |
|
|
uint8_t |
slot_index |
|
) |
| |