| Electronic Components Datasheet Search |
|
AN3299 Datasheet(PDF) 10 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN3299 Datasheet(HTML) 10 Page - STMicroelectronics |
|
10 / 13 page ![]() Software AN3299 10/13 Doc ID 18113 Rev 1 2.2 Programming guide Figure 8. Typical programming flow 2.2.1 Initialization The following is an example for device initialization based on standard implementation for GPIO. ● GPIO initialization (e.g. GPIO to output) WriteRegister(SYS_CTRL, 0x80);//Issue SW reset WriteRegister(GPIO_SET_DIR,0x00); //Set port to INPUT WriteRegister(INT_EN_GPIO_MASK,0xFF); //Enable Input Interrupt ReadRegister(INT_STA_GPIO); //Clear all status in GPIO status register WriteRegister(SYS_CTRL,0x04); //Active Low, Enable Global Interrupt |
|
|
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 |