Bluenet  5.7.0
Bluenet, firmware for nRF52 smart home devices
Loading...
Searching...
No Matches
cs_Gpio.h File Reference
#include <ble/cs_Nordic.h>
#include <cfg/cs_Boards.h>
#include <cfg/cs_Config.h>
#include <events/cs_EventListener.h>
#include <vector>
Include dependency graph for cs_Gpio.h:

Go to the source code of this file.

Classes

struct  pin_info_t
 
class  Gpio
 

Macros

#define TOTAL_PIN_COUNT   GPIO_INDEX_COUNT + BUTTON_COUNT + LED_COUNT
 

Typedefs

typedef uint8_t pin_t
 
typedef struct pin_info_t pin_info_t
 

Enumerations

enum  GpioDirection { INPUT = 1 , OUTPUT = 2 , SENSE = 3 }
 
enum  GpioPullResistor { NONE = 0 , UP = 1 , DOWN = 2 }
 
enum  GpioPolarity { HITOLO = 1 , LOTOHI = 2 , TOGGLE = 3 }
 

Macro Definition Documentation

◆ TOTAL_PIN_COUNT

#define TOTAL_PIN_COUNT   GPIO_INDEX_COUNT + BUTTON_COUNT + LED_COUNT

Typedef Documentation

◆ pin_info_t

typedef struct pin_info_t pin_info_t

◆ pin_t

typedef uint8_t pin_t

Enumeration Type Documentation

◆ GpioDirection

Enumerator
INPUT 
OUTPUT 
SENSE 

◆ GpioPolarity

Enumerator
HITOLO 
LOTOHI 
TOGGLE 

◆ GpioPullResistor

Enumerator
NONE 
UP 
DOWN