summaryrefslogtreecommitdiffstatshomepage
path: root/esp8266/esppwm.h
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2017-09-06 13:40:51 +1000
committerDamien George <damien.p.george@gmail.com>2017-09-06 13:40:51 +1000
commit01dd7804b87d60b2deab16712eccb3b97351a9b7 (patch)
tree1aa21f38a872b8e62a3d4e4f74f68033c6f827e4 /esp8266/esppwm.h
parenta9862b30068fc9df1022f08019fb35aaa5085f64 (diff)
downloadmicropython-01dd7804b87d60b2deab16712eccb3b97351a9b7.tar.gz
micropython-01dd7804b87d60b2deab16712eccb3b97351a9b7.zip
ports: Make new ports/ sub-directory and move all ports there.
This is to keep the top-level directory clean, to make it clear what is core and what is a port, and to allow the repository to grow with new ports in a sustainable way.
Diffstat (limited to 'esp8266/esppwm.h')
-rw-r--r--esp8266/esppwm.h17
1 files changed, 0 insertions, 17 deletions
diff --git a/esp8266/esppwm.h b/esp8266/esppwm.h
deleted file mode 100644
index 1ee4a2f55a..0000000000
--- a/esp8266/esppwm.h
+++ /dev/null
@@ -1,17 +0,0 @@
-#ifndef MICROPY_INCLUDED_ESP8266_ESPPWM_H
-#define MICROPY_INCLUDED_ESP8266_ESPPWM_H
-
-#include <stdbool.h>
-#include <stdint.h>
-
-void pwm_init(void);
-void pwm_start(void);
-
-void pwm_set_duty(uint16_t duty, uint8_t channel);
-uint16_t pwm_get_duty(uint8_t channel);
-void pwm_set_freq(uint16_t freq, uint8_t channel);
-uint16_t pwm_get_freq(uint8_t channel);
-int pwm_add(uint8_t pin_id, uint32_t pin_mux, uint32_t pin_func);
-bool pwm_delete(uint8_t channel);
-
-#endif // MICROPY_INCLUDED_ESP8266_ESPPWM_H