Sming Framework API
Sming - Open Source framework for high efficiency WiFi SoC ESP8266 native development with C++ language.
NexGpio.h
1 
17 #ifndef _NEXGPIO_H
18 #define _NEXGPIO_H
19 
20 #include "NexTouch.h"
21 #include "NexHardware.h"
31 class NexGpio
32 {
33 public:
47  bool pin_mode(uint32_t port,uint32_t mode,uint32_t control_id);
48 
57  bool digital_write(uint32_t port,uint32_t value);
58 
66  uint32_t digital_read(uint32_t port);
67 
76  bool analog_write(uint32_t port,uint32_t value);
77 
85  bool set_pwmfreq(uint32_t value);
86 
94  uint32_t get_pwmfreq(uint32_t *number);
95 
96 };
97 
102 #endif /* #ifndef __NEXGPIO_H__ */
bool pin_mode(uint32_t port, uint32_t mode, uint32_t control_id)
Definition: NexGpio.h:31
uint32_t digital_read(uint32_t port)
bool set_pwmfreq(uint32_t value)
uint32_t get_pwmfreq(uint32_t *number)
bool digital_write(uint32_t port, uint32_t value)
bool analog_write(uint32_t port, uint32_t value)