| Electronic Components Datasheet Search |
|
SAFC161PI Datasheet(PDF) 310 Page - Infineon Technologies AG |
|
|
|||||||||||||||||||||||||||||
SAFC161PI Datasheet(HTML) 310 Page - Infineon Technologies AG |
|
310 / 400 page ![]() &3, 7KH ,& %XV 0RGXOH User’s Manual 17-16 1999-08 // switch to master-receiver, send slave address with a repeated start: ICCON |= RSC; // repeated start condition ICRTB = 0x0000|0xA1; // write to transmit buffer while((ICST & IRQD)== 0x0000); // waiting for end of transmission if (ICST & LRB) // ACK? { ICST &= ~AL; // Clear bit AL ICST &= ~IRQP; // Clear bit IRQP } // drive clock (SCL) for first byte, give ack: ICCON &= ~ACKDIS; // acknowledge from master ICCON &= ~TRX; // TRX = 0 for master receiver dummy = ICRTB; // start clock to receive the 1st byte while((ICST & IRQD)==0x0000); // waiting for end of 1st byte // read first byte, drive clock for second, give no ack: ICCON |= ACKDIS; // no acknowledge from master array[0] = ICRTB; // read ICRTB (1st byte), // start clock to receive the 2nd byte while((ICST & IRQD)==0x0000); // waiting for end of 2nd byte // read 2nd byte without automatic clear of IRQD, generate STOP: ICCON |= AIRDIS; // AIRDIS=1: read ICRTB, send no clock array[1] = ICRTB; // read ICRTB (2nd byte) ICCON &= ~BUM; // BUM=0: initiate stop condition ICST &= ~IRQD; // Clear bit IRQD } |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |