| Electronic Components Datasheet Search |
|
AN2491 Datasheet(PDF) 6 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN2491 Datasheet(HTML) 6 Page - STMicroelectronics |
|
6 / 32 page ![]() STW8110x API package AN2491 6/32 // 4 - read received data and affect it to *data // 3 - Send Stop Bit // return ACK, or NO_ACK if acknowledge hasn’t been received } SPI mode void SPI_Send_data(unsigned int data) { // Send data (32bits) on SPI bus } 1.1.2 STW8110x API header file Contains declaration of functions, structures and defines necessary to the device driver. (Refer to Section 7 for a complete listing). 1.1.3 STW8110x API source file Contains the C code of device driver. 1.2 How to use the STW8110x API 1. Add the API in your project (STW8110x.c, STW8110x.h, Digital_Bus_interface.h). 2. Create a file (Digital_Bus_interface.c) with functions to implement according your master interface. 3. Include the STW8110x header file (#include “STW8110x.h”) in the file which uses the API functions. 4. Use dedicated functions to program the device (see examples in Section 6). |
|
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 |