| 数据搜索系统,热门电子元器件搜索 |
|
AN3245 数据表(PDF) 13 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN3245 数据表(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); |
|
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 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 |