Driver C++ source code for MAX5216/MAX5214 16-bit/14-bit DAC SPI (50MHz) bus ICs. Low power Digital-to_Analog Converter chips which accept supply voltages of 2.7V to 5.5V. Features Rail-to-Rail Buffered Output Operation and Safe Power-On Reset (POR) to Zero DAC Output.
Dependents: MAX5216_16_Bit_DAC_Hello_Code
Fork of MAX5487_Digital_Pot_Potentiometer_Rheostat_Resistor_Wiper by
Diff: MAX5487.h
- Revision:
- 2:80e026469122
- Parent:
- 1:bc368afe2ec8
- Child:
- 3:4d4053c4c29e
--- a/MAX5487.h Sat Jul 14 04:25:25 2018 +0000 +++ b/MAX5487.h Sun Jul 15 03:36:25 2018 +0000 @@ -4,6 +4,10 @@ ******************************************************************************* */ +#ifndef MAX5487_H +#define MAX5487_H + +#include "mbed.h" /** @@ -37,10 +41,6 @@ * @endcode */ -#ifndef MAX5487_H -#define MAX5487_H - -#include "mbed.h" class MAX5487{ @@ -48,7 +48,8 @@ /** * @brief Commands supported by the potentiometer * @details write commands that don't involve copying - * require a 8 bit value specified. Copy commands don't + * require an 8 bit value specified. Copy commands don't + * requre sending an 8 bit value. */ typedef enum { Wiper_RegA = 0x01, //Position of Wiper A @@ -95,7 +96,7 @@ void writeCommand(MAX5487::setting_t setting); - /**********************************************************//** + /************************************************************ * @brief Default destructor for MAX5487 Class. * * @details Destroys SPI object if owner