76 #define LTC6951_CS QUIKEVAL_CS 81 #define LTC6951_ALCCAL 1 82 #define LTC6951_ALCEN 2
83 #define LTC6951_ALCHI 3
84 #define LTC6951_ALCLO 4
85 #define LTC6951_ALCMON 5
86 #define LTC6951_ALCULOK 6
87 #define LTC6951_AUTOCAL 7
90 #define LTC6951_CAL 10
92 #define LTC6951_CPDN 12
93 #define LTC6951_CPMID 13
94 #define LTC6951_CPRST 14
95 #define LTC6951_CPUP 15
96 #define LTC6951_CPWIDE 16
97 #define LTC6951_DLY0 17
98 #define LTC6951_DLY1 18
99 #define LTC6951_DLY2 19
100 #define LTC6951_DLY3 20
101 #define LTC6951_DLY4 21
102 #define LTC6951_FILT 22
103 #define LTC6951_INVSTAT 23
104 #define LTC6951_LKCT 24
105 #define LTC6951_LKWIN 25
106 #define LTC6951_LOCK 26
107 #define LTC6951_NLOCK 27
108 #define LTC6951_MCO 28
109 #define LTC6951_MC1 29
110 #define LTC6951_MC2 30
111 #define LTC6951_MC3 31
112 #define LTC6951_MC4 32
113 #define LTC6951_MD0 33
114 #define LTC6951_MD1 34
115 #define LTC6951_MD2 35
116 #define LTC6951_MD3 36
117 #define LTC6951_MD4 37
118 #define LTC6951_MUTE0 38
119 #define LTC6951_MUTE1 39
120 #define LTC6951_MUTE2 40
121 #define LTC6951_MUTE3 41
122 #define LTC6951_MUTE4 42
123 #define LTC6951_ND 43
124 #define LTC6951_OINV0 44
125 #define LTC6951_OINV1 45
126 #define LTC6951_OINV2 46
127 #define LTC6951_OINV3 47
128 #define LTC6951_OINV4 48
129 #define LTC6951_PART 49
130 #define LTC6951_PD 50
131 #define LTC6951_PDALL 51
132 #define LTC6951_PDOUT 52
133 #define LTC6951_PDPLL 53
134 #define LTC6951_PDREFPK 54
135 #define LTC6951_PDVCO 55
136 #define LTC6951_POR 56
137 #define LTC6951_RAO 57
138 #define LTC6951_RD 58
139 #define LTC6951_REFOK 59
140 #define LTC6951_NREFOK 60
141 #define LTC6951_REV 61
142 #define LTC6951_SN 62
143 #define LTC6951_SR 63
144 #define LTC6951_SSYNC 64
145 #define LTC6951_SYNCEN0 65
146 #define LTC6951_SYNCEN1 66
147 #define LTC6951_SYNCEN2 67
148 #define LTC6951_SYNCEN3 68
149 #define LTC6951_SYNCEN4 69
150 #define LTC6951_UNLOCK 70
155 #define LTC6951_NUM_REGADDR 20 156 #define LTC6951_NUM_REGFIELD 71
void set_LTC6951_REGS_lkup_tbl(uint8_t lkup_tbl_row)
Writes values to ALL LTC6951 RW addresses from a look-up table.
long get_LTC6951_SPI_FIELD(uint8_t cs, uint8_t f)
Gets the LTC6951 SPI field value calls function LTC6951_read_field, which reads specific address loca...
int8_t discover_demo_board_local(char *demo_name)
Read the ID string from the EEPROM and determine if any demo board is connected.
void LTC6951_write(uint8_t cs, uint8_t address, uint8_t Data)
LTC6951 Write Single Address writes 8 bit Data field to LTC6951.
uint8_t LTC6951_write_field(uint8_t cs, long field_data, uint8_t address, uint8_t MSB_loc, uint8_t numbits)
LTC6951 Write Single Field For SPI FIELDS in 1 or multiple address locations reads specific address/f...
void set_LTC6951_REGS_freq_jump(uint8_t lkup_tbl_row, uint8_t init_setup)
This function toggles between two frequencies.
void LTC6951_init()
Initializes the SPI MAP arrays The values set in initialization are used for all the LTC6951 SPI/WRIT...
uint8_t get_LTC6951_REGSIZE()
returns # of addresses in parts register map (array size)
char demo_name[]
Demo Board Name stored in QuikEval EEPROM.
long LTC6951_read_field(uint8_t cs, uint8_t address, uint8_t MSB_loc, uint8_t numbits)
LTC6951 Read Single Field For SPI FIELDS located in 1 or multiple address location reads specific add...
uint8_t LTC6951_read(uint8_t cs, int8_t address)
LTC6951 Read Single Address reads 8 bit Data field to LTC6951.
void set_LTC6951_ALLREGS(uint8_t cs, uint8_t reg01, uint8_t reg02, uint8_t reg03, uint8_t reg04, uint8_t reg05, uint8_t reg06, uint8_t reg07, uint8_t reg08, uint8_t reg09, uint8_t reg0A, uint8_t reg0B, uint8_t reg0C, uint8_t reg0D, uint8_t reg0E, uint8_t reg0F, uint8_t reg10, uint8_t reg11, uint8_t reg12)
Writes values to ALL LTC6951 RW addresses.
uint8_t get_LTC6951_SPI_FIELD_NUMBITS(uint8_t f)
returns the number of bits for a given field name in the SPI map
uint8_t get_LTC6951_SPI_FIELD_RW(uint8_t f)
returns if the given field name is (0)read/write or (1)read_only field
void set_LTC6951_SPI_FIELD(uint8_t cs, uint8_t f, long field_data)
Sets the LTC6951 SPI field value calls function LTC6951_read_field, which reads specific address/fiel...