MySensors Library & Examples  2.3.1
Public Member Functions | List of all members
MCP355X< CsPin, SckPin, SdoPin > Class Template Reference

Detailed Description

template<uint8_t CsPin, uint8_t SckPin, uint8_t SdoPin>
class MCP355X< CsPin, SckPin, SdoPin >

MCP355X class

#include <MCP355X.h>

+ Collaboration diagram for MCP355X< CsPin, SckPin, SdoPin >:

Public Member Functions

void begin (bool singleMode=true)
 
 __attribute__ ((always_inline)) int32_t read()
 

Member Function Documentation

template<uint8_t CsPin, uint8_t SckPin, uint8_t SdoPin>
MCP355X< CsPin, SckPin, SdoPin >::__attribute__ ( (always_inline)  )
inline

Read MCP355X 22-bit ADC

Returns
22-bit value.
template<uint8_t CsPin, uint8_t SckPin, uint8_t SdoPin>
void MCP355X< CsPin, SckPin, SdoPin >::begin ( bool  singleMode = true)
inline

Set pin modes and initial levels.


The documentation for this class was generated from the following file: