| 数据搜索系统,热门电子元器件搜索 |
|
DEV-15573 数据表(PDF) 13 Page - SparkFun Electronics |
|
|
|||||||||||||||||||||||||||||
DEV-15573 数据表(HTML) 13 Page - SparkFun Electronics |
|
13 / 31 page ![]() Unassigned 7-bit integer for device address. If not defined, the library will use the default I C address stored in the I C library (0x60). This can be changed by writing the I C address to the specific Configuration Zone address (byte 16) prior to locking that zone. Input: Wire Wire port assignment. If not defined, the library will use the default Wire port. (*This is only available to change on boards that in fact have multiple Wire Ports (i.e. Artemis). Currently, only the default wire port located on the Qwiic connector is supported on the Artemis.) Output: Boolean True- Connected to I C device on the default (or specified) address. False- No device found or connected. Communication .wakeUp() Checks to see if a device over the I C bus is connected. Returns boolean true or false depending on if the slave device has correctly ACK 'd to an I C request and responded with the correct "wake verification" response: 0x11 . Output: Boolean True- Device present on the default (or specified) address. False- No device found or transmission error. .idleMode() The ATECCX08A goes into the idle mode and ignores all subsequent I/O transitions until the next wake flag. The contents of TempKey and RNG Seed registers are retained. (*Idle Power Supply Current: 800uA.) Note, it will automatically go into sleep mode after watchdog timer has been reached (1.3-1.7sec). .receiveResponseData(uint8_t length, boolean debug) This function receives messages from the ATECCX08a IC (up to 128 Bytes). It will return true if it receives the correct amount of data and good CRCs. What we hear back from the IC is always formatted with the following series of bytes: COUNT, DATA, CRC[0], CRC[1] Note, the count number includes itself, the num of data bytes, and the two CRC bytes in the total, so a simple response message from the IC that indicates that it heard the wake condition properly is like so: EXAMPLE Wake success response: 0x04 , 0x11 , 0x33 , 0x44 Input: length Unassigned 8-bit integer. Length of data in bytes (max 32 bytes). Includes: Count + DATA + 2 CRC bytes. Output: Boolean True- Communication complete and message count and CRC are good. False- Communication failure (count error, CRC error, or no device present) .checkCount(boolean debug) 2 2 2 2 2 2 |
|
链接网址 |
| 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 |