sketchbook
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
mcp23s17.c File Reference
#include <stdio.h>
#include <stdint.h>
#include "wiringPi.h"
#include "wiringPiSPI.h"
#include "mcp23x0817.h"
#include "mcp23s17.h"

Macros

#define MCP_SPEED   4000000
 

Functions

int mcp23s17Setup (const int pinBase, const int spiPort, const int devId)
 

Macro Definition Documentation

#define MCP_SPEED   4000000

Function Documentation

int mcp23s17Setup ( const int  pinBase,
const int  spiPort,
const int  devId 
)