fork of library for MAX14661 16:2 mux

Dependents:   ard2pmod

Fork of max14661 by Maxim Integrated

Revision:
5:58f3bbd30777
Parent:
4:45fa0192f66d
Child:
7:1d4e59ec0fba
--- a/max14661.h	Fri Nov 21 04:31:05 2014 +0000
+++ b/max14661.h	Fri Dec 05 22:38:56 2014 +0000
@@ -53,7 +53,9 @@
 #include "mbed.h"
 
 
-//MAX14661 I2C Addresses
+/**
+* max14661_i2c_adrs_t - enumerated MAX14661 I2C Addresses
+*/
 typedef enum
 {
     MAX14661_I2C_ADRS0 = 0x4C,
@@ -63,7 +65,9 @@
 }max14661_i2c_adrs_t;
 
 
-//MAX14661 I2C register addresses
+/**
+* max14661_regs_t - enumerated MAX14661 register addresses
+*/
 typedef enum
 {
     DIR0,         //Switches 8A–1A direct read/write access
@@ -79,7 +83,9 @@
 }max14661_regs_t;
 
 
-//MAX14661 I2C commands
+/**
+* max14661_cmds_t - enumerated MAX14661 commands
+*/
 typedef enum
 {
     ENABLE_SW01,     //enables sw1 on bank only
@@ -104,7 +110,9 @@
 }max14661_cmds_t;
 
 
-//MAX14661 I2C switch bitmasks
+/**
+* max14661_sw_t - enumerated MAX14661 switch bitmasks
+*/
 typedef enum
 {
     SW01 = (1 << 0),