FastArduino v1.10
C++ library to build fast but small Arduino/AVR projects
Loading...
Searching...
No Matches
mcp3004.h File Reference

API to handle MicroChip ADC chip MCP3004. More...

#include "mcp3x0x.h"
Include dependency graph for mcp3004.h:

Go to the source code of this file.

Namespaces

namespace  devices
 Defines all API for all external devices supported by FastArduino.
 
namespace  devices::mcp3x0x
 Defines the API for MicroChip ADC chips family support.
 

Typedefs

template<board::DigitalPin CS>
using devices::mcp3x0x::MCP3004 = MCP3x0x< CS, MCP3004Channel, 0x03FF, 0 >
 Device class supporting MCP3004 ADC chip. More...
 

Enumerations

enum class  devices::mcp3x0x::MCP3004Channel : uint16_t {
  CH0 = 0x0180 ,
  CH1 = 0x0190 ,
  CH2 = 0x01A0 ,
  CH3 = 0x01B0 ,
  CH0_CH1 = 0x0100 ,
  CH1_CH0 = 0x0110 ,
  CH2_CH3 = 0x0120 ,
  CH3_CH2 = 0x0130
}
 List of channels supported by MCP3004. More...
 

Detailed Description

API to handle MicroChip ADC chip MCP3004.

Definition in file mcp3004.h.