This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
en:fan_motor [2018/01/24 14:28] ashley |
en:fan_motor [2020/03/25 16:28] (current) |
||
---|---|---|---|
Line 10: | Line 10: | ||
**int fan_turn_on(uint16_t num)**; - initialization of the EF;\\ | **int fan_turn_on(uint16_t num)**; - initialization of the EF;\\ | ||
- | **int fan_set_speed(uint16_t num, int16_t RPM, int16_t * confirm)** Allows you to set the EF speed to the number 'num' in RPM, and if successful, it will return the LSS_OK code and the 'confirm' value equal to the required RPM. It should be mentioned that the permissible speed is 2000-3500 RPM in absolute magnitude. If you set the RPM value less than 2000 RPM, the EF's will stop.\\ | + | **int fan_set_speed(uint16_t num, int16_t RPM, int16_t * confirm)** - Allows you to set the EF speed to the number 'num' in RPM, and if successful, it will return the LSS_OK code and the 'confirm' value equal to the required RPM. It should be mentioned that the permissible speed is 2000-3500 RPM in absolute magnitude. If you set the RPM value less than 2000 RPM, the EF's will stop.\\ |
**int fan_request_speed(uint16_t num, int16_t * pRPM)** - this function allows you to query the current rotation speed of the specified EF number 'num' in the variable 'pRPM';\\ | **int fan_request_speed(uint16_t num, int16_t * pRPM)** - this function allows you to query the current rotation speed of the specified EF number 'num' in the variable 'pRPM';\\ | ||
**int fan_request_reset(uint16_t num)** - Reboot the EF controller number 'num';\\ | **int fan_request_reset(uint16_t num)** - Reboot the EF controller number 'num';\\ | ||
**int fan_turn_off(uint16_t num)** - Deinitialization of the EF. | **int fan_turn_off(uint16_t num)** - Deinitialization of the EF. | ||