Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations
ad5624r.h File Reference

Go to the source code of this file.

Data Structures

struct  ad5624r_chip_info
 
struct  ad5624r_state
 

Macros

#define AD5624R_DAC_CHANNELS   4
 
#define AD5624R_ADDR_DAC0   0x0
 
#define AD5624R_ADDR_DAC1   0x1
 
#define AD5624R_ADDR_DAC2   0x2
 
#define AD5624R_ADDR_DAC3   0x3
 
#define AD5624R_ADDR_ALL_DAC   0x7
 
#define AD5624R_CMD_WRITE_INPUT_N   0x0
 
#define AD5624R_CMD_UPDATE_DAC_N   0x1
 
#define AD5624R_CMD_WRITE_INPUT_N_UPDATE_ALL   0x2
 
#define AD5624R_CMD_WRITE_INPUT_N_UPDATE_N   0x3
 
#define AD5624R_CMD_POWERDOWN_DAC   0x4
 
#define AD5624R_CMD_RESET   0x5
 
#define AD5624R_CMD_LDAC_SETUP   0x6
 
#define AD5624R_CMD_INTERNAL_REFER_SETUP   0x7
 
#define AD5624R_LDAC_PWRDN_NONE   0x0
 
#define AD5624R_LDAC_PWRDN_1K   0x1
 
#define AD5624R_LDAC_PWRDN_100K   0x2
 
#define AD5624R_LDAC_PWRDN_3STATE   0x3
 

Enumerations

enum  ad5624r_supported_device_ids {
  ID_AD5624R3, ID_AD5644R3, ID_AD5664R3, ID_AD5624R5,
  ID_AD5644R5, ID_AD5664R5
}
 

Macro Definition Documentation

#define AD5624R_ADDR_ALL_DAC   0x7

Definition at line 17 of file ad5624r.h.

#define AD5624R_ADDR_DAC0   0x0

Definition at line 13 of file ad5624r.h.

#define AD5624R_ADDR_DAC1   0x1

Definition at line 14 of file ad5624r.h.

#define AD5624R_ADDR_DAC2   0x2

Definition at line 15 of file ad5624r.h.

#define AD5624R_ADDR_DAC3   0x3

Definition at line 16 of file ad5624r.h.

#define AD5624R_CMD_INTERNAL_REFER_SETUP   0x7

Definition at line 26 of file ad5624r.h.

#define AD5624R_CMD_LDAC_SETUP   0x6

Definition at line 25 of file ad5624r.h.

#define AD5624R_CMD_POWERDOWN_DAC   0x4

Definition at line 23 of file ad5624r.h.

#define AD5624R_CMD_RESET   0x5

Definition at line 24 of file ad5624r.h.

#define AD5624R_CMD_UPDATE_DAC_N   0x1

Definition at line 20 of file ad5624r.h.

#define AD5624R_CMD_WRITE_INPUT_N   0x0

Definition at line 19 of file ad5624r.h.

#define AD5624R_CMD_WRITE_INPUT_N_UPDATE_ALL   0x2

Definition at line 21 of file ad5624r.h.

#define AD5624R_CMD_WRITE_INPUT_N_UPDATE_N   0x3

Definition at line 22 of file ad5624r.h.

#define AD5624R_DAC_CHANNELS   4

Definition at line 11 of file ad5624r.h.

#define AD5624R_LDAC_PWRDN_100K   0x2

Definition at line 30 of file ad5624r.h.

#define AD5624R_LDAC_PWRDN_1K   0x1

Definition at line 29 of file ad5624r.h.

#define AD5624R_LDAC_PWRDN_3STATE   0x3

Definition at line 31 of file ad5624r.h.

#define AD5624R_LDAC_PWRDN_NONE   0x0

Definition at line 28 of file ad5624r.h.

Enumeration Type Documentation

ad5624r_supported_device_ids: The AD5624/44/64 parts are available in different fixed internal reference voltage options.

Enumerator:
ID_AD5624R3 
ID_AD5644R3 
ID_AD5664R3 
ID_AD5624R5 
ID_AD5644R5 
ID_AD5664R5 

Definition at line 70 of file ad5624r.h.