ad7705br-reel7 Analog Devices, Inc., ad7705br-reel7 Datasheet - Page 37

no-image

ad7705br-reel7

Manufacturer Part Number
ad7705br-reel7
Description
3 V/5 V, 1 Mw 2-/3-channel 16-bit, Sigma-delta Adcs
Manufacturer
Analog Devices, Inc.
Datasheet
{
int q;
SPCR = 0x3f;
SPCR = 0x7f; /* clear the interrupt */
DDRD = 0x10; /* MOSI output, MISO input, SCK output */
while(PORTC & 0x10); /* wait for /DRDY to go low */
PORTC & 0xfb ; /* /CS is low */
for(b=0;b<reglength;b++)
PORTC|=4; /* /CS is high */
}
{
SPDR = 0;
while(!(SPSR & 0x80)); /* wait until port ready before reading */
*datapointer++=SPDR; /* read SPDR into store array via datapointer */
}
Rev. C | Page 37 of 44
AD7705/AD7706

Related parts for ad7705br-reel7