Bridle API 4.4.99
A Zephyr based application framework
Loading...
Searching...
No Matches
Seeed Studio Grove connector

Constants for pins exposed on Seeed Studio Grove connectors. More...

Files

file  grove-connector.h
 Seeed Studio Grove connector pin constants.

Macros

#define GROVE_A0   0
 Pin 1: ADC input 0.
#define GROVE_A1   1
 Pin 2: ADC input 1.
#define GROVE_D0   0
 Pin 1: GPIO in-/output 0.
#define GROVE_D1   1
 Pin 2: GPIO in-/output 1.
#define GROVE_RX   0
 Pin 1: UART RX.
#define GROVE_TX   1
 Pin 2: UART TX.
#define GROVE_SCL   0
 Pin 1: I2C SCL.
#define GROVE_SDA   1
 Pin 2: I2C SDA.
#define GROVE_SCK   0
 Pin 1: SPI SCK.
#define GROVE_MISO   1
 Pin 2: SPI MISO.
#define GROVE_MOSI   2
 Pin 3: SPI MOSI.
#define GROVE_SS   3
 Pin 4: SPI SS.

Detailed Description

Constants for pins exposed on Seeed Studio Grove connectors.

Macro Definition Documentation

◆ GROVE_A0

#define GROVE_A0   0

#include <grove-connector.h>

Pin 1: ADC input 0.

◆ GROVE_A1

#define GROVE_A1   1

#include <grove-connector.h>

Pin 2: ADC input 1.

◆ GROVE_D0

#define GROVE_D0   0

#include <grove-connector.h>

Pin 1: GPIO in-/output 0.

◆ GROVE_D1

#define GROVE_D1   1

#include <grove-connector.h>

Pin 2: GPIO in-/output 1.

◆ GROVE_MISO

#define GROVE_MISO   1

#include <grove-connector.h>

Pin 2: SPI MISO.

◆ GROVE_MOSI

#define GROVE_MOSI   2

#include <grove-connector.h>

Pin 3: SPI MOSI.

◆ GROVE_RX

#define GROVE_RX   0

#include <grove-connector.h>

Pin 1: UART RX.

◆ GROVE_SCK

#define GROVE_SCK   0

#include <grove-connector.h>

Pin 1: SPI SCK.

◆ GROVE_SCL

#define GROVE_SCL   0

#include <grove-connector.h>

Pin 1: I2C SCL.

◆ GROVE_SDA

#define GROVE_SDA   1

#include <grove-connector.h>

Pin 2: I2C SDA.

◆ GROVE_SS

#define GROVE_SS   3

#include <grove-connector.h>

Pin 4: SPI SS.

◆ GROVE_TX

#define GROVE_TX   1

#include <grove-connector.h>

Pin 2: UART TX.