15#define MCP492X_BUFFERED            6                
   16#define MCP492X_GAIN_SELECT_SINGLE  5                
   19#define SELECT_MCP4922      SPI_SELECT_DDS           
   20#define DESELECT_MCP4922    SPI_DESELECT_DDS         
   21#define SELECT_MCP4921      SPI_SELECT_PS            
   22#define DESELECT_MCP4921    SPI_DESELECT_PS          
Containing different defines for device configuration.
 
void MCP4921_DAC_Set(uint16_t dac_data)
Set the DAC data value of the MCP4921 device.
Definition DAC_MCP492x.cpp:12
 
void MCP4922_DAC_Set(uint16_t dac_data, char channel_A_B)
Set the DAC data value of the MCP4922 device.
Definition DAC_MCP492x.cpp:46
 
void MCP4922_Voltage_Set(float voltage, char channel_A_B)
Set the voltage of the MCP4922 device.
Definition DAC_MCP492x.cpp:69
 
void MCP4921_Voltage_Set(float voltage)
Set the voltage of the MCP4921 device.
Definition DAC_MCP492x.cpp:31
 
Containing defines and functions for basic pin initialization and handling.