All Classes Files Functions Typedefs Groups Pages
NexGpio.h
#ifndef _NEXGPIO_H
#define _NEXGPIO_H
#include "NexTouch.h"
#include "NexHardware.h"
class NexGpio
{
public:
bool pin_mode(uint32_t port,uint32_t mode,uint32_t control_id);
bool digital_write(uint32_t port,uint32_t value);
uint32_t digital_read(uint32_t port);
bool analog_write(uint32_t port,uint32_t value);
bool set_pwmfreq(uint32_t value);
uint32_t get_pwmfreq(uint32_t *number);
};
#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