aboutsummaryrefslogtreecommitdiff
path: root/FanController/fan_controller/hw/fan.h
blob: ae26d16334cc507efd420cb27a6c85460bc388ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/* Autor: Ján Suèan <jan@jansucan.sk>
 * 
 * Zdrojove kody, ich casti a subory z nich vzniknute priamo alebo nepriamo
 * (objektove subory, Intel Hex, ...) prosim nepouzivajte komercne, ani ako
 * sucast komercnych diel. Vsetky ostatne pripady pouzitia su dovolene.
 *
 * Please don't use the source codes, their parts and files created from them
 * directly or indirectly, (object files, Intel Hex files, ...) for commercial
 * purposes, not even as a part of commercial products. All other use cases
 * are allowed.
 */

#ifndef FAN_H_
#define FAN_H_

#include <stdint.h>

void    fan_init(void);
void    fan_rpm_set(uint8_t rpm);
uint8_t fan_rpm_get(void);

#endif /* FAN_H_ */