libDaisy
Hardware Library for Daisy
Loading...
Searching...
No Matches
gpio.h File Reference
#include "daisy_core.h"

Go to the source code of this file.

Classes

class  daisy::GPIO
 General Purpose I/O control. More...
 
struct  daisy::GPIO::Config
 Configuration for a given GPIO. More...
 
struct  dsy_gpio
 

Namespaces

namespace  daisy
 Hardware defines and helpers for daisy field platform.
 

Macros

#define DSY_GPIO_H
 

Enumerations

enum  dsy_gpio_mode {
  DSY_GPIO_MODE_INPUT , DSY_GPIO_MODE_OUTPUT_PP , DSY_GPIO_MODE_OUTPUT_OD , DSY_GPIO_MODE_ANALOG ,
  DSY_GPIO_MODE_LAST
}
 
enum  dsy_gpio_pull { DSY_GPIO_NOPULL , DSY_GPIO_PULLUP , DSY_GPIO_PULLDOWN }
 

Functions

void dsy_gpio_init (const dsy_gpio *p)
 
void dsy_gpio_deinit (const dsy_gpio *p)
 
uint8_t dsy_gpio_read (const dsy_gpio *p)
 
void dsy_gpio_write (const dsy_gpio *p, uint8_t state)
 
void dsy_gpio_toggle (const dsy_gpio *p)
 

Macro Definition Documentation

◆ DSY_GPIO_H

#define DSY_GPIO_H