My Project

- Main Page
- Related Pages
- Modules
- Classes
- Files

- File List
- File Members

All Classes Files Functions Typedefs Groups Pages
NexGpio.h
1 #ifndef _NEXGPIO_H
2 #define _NEXGPIO_H
3
4 #include "NexTouch.h"
5 #include "NexHardware.h"
6
7
8 class NexGpio
9 {
10 public:
24 bool pin_mode(uint32_t port,uint32_t mode,uint32_t control_id);
25
34 bool digital_write(uint32_t port,uint32_t value);
35
43 uint32_t digital_read(uint32_t port);
44
53 bool analog_write(uint32_t port,uint32_t value);
54
62 bool set_pwmfreq(uint32_t value);
63
71 uint32_t get_pwmfreq(uint32_t *number);
72
80 };
81
82 #endif
NexGpio::digital_write
bool digital_write(uint32_t port, uint32_t value)
Definition: NexGpio.cpp:37
NexGpio::set_pwmfreq
bool set_pwmfreq(uint32_t value)
Definition: NexGpio.cpp:86
NexGpio::pin_mode
bool pin_mode(uint32_t port, uint32_t mode, uint32_t control_id)
Definition: NexGpio.cpp:17
NexTouch.h
NexGpio::get_pwmfreq
uint32_t get_pwmfreq(uint32_t *number)
Definition: NexGpio.cpp:100
NexHardware.h
NexGpio
Definition: NexGpio.h:8
NexGpio::analog_write
bool analog_write(uint32_t port, uint32_t value)
Definition: NexGpio.cpp:68
NexGpio::digital_read
uint32_t digital_read(uint32_t port)
Definition: NexGpio.cpp:53