| Moteur de recherche de fiches techniques de composants électroniques |
|
AN3245 Fiches technique(PDF) 13 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN3245 Fiches technique(HTML) 13 Page - STMicroelectronics |
|
13 / 19 page ![]() AN3245 Software Doc ID 17747 Rev 1 13/19 2 Software 2.1 I2C 2.1.1 I 2C initialization It is recommended to insert the software reset as the first command during initialization before the starting of the I2C transaction. 2.2 Programming guide Figure 12. Typical programming flow 2.2.1 Initialization The following is an example for device initialization based on standard implementation for keypad, GPIO, and hotkey. ● Keypad initialization (e.g. 10x8 keypad initialization) WriteRegister(SYS_CTRL, 0x80);//Issue SW reset WriteRegister(KPC_ROW,0xFF); //Activate all rows WriteRegister(KPC_COL_LOW,0xFF); //Activate all columns WriteRegister(KPC_COL_HIGH,0x03); WriteRegister(KPC_CTRL_LOW,0xF0); |
|
|
Lien URL |
| ALLDATASHEET vous a-t-il été utile ? [ DONATE ] |
À propos de Alldatasheet | Publicité | Contactez-nous | Politique de confidentialité | Lien vers la fiche technique | Echange de liens | Fabricants 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 |