components/esp-cryptoauthlib/cryptoauthlib/lib/hal/hal_pic32mz2048efm_i2c.c
ATCA_STATUS hal_i2c_idle(ATCAIface iface)
{
    ATCAIfaceCfg *cfg = atgetifacecfg(iface);
    uint8_t data[1];

    data[0] = 0x02;  // idle word address value
    write_bufHandle = DRV_I2C_Transmit(drvI2CMasterHandle, cfg->atcai2c.slave_address, &data, 1, NULL);

    return ATCA_SUCCESS;
}
/** \brief idle CryptoAuth device using I2C bus
 * \param[in] iface  interface to logical device to idle
 * \return ATCA_SUCCESS on success, otherwise an error code.
 */
\brief idle CryptoAuth device using I2C bus
\param[in] iface  interface to logical device to idle
\return ATCA_SUCCESS on success, otherwise an error code.
\ brief idle CryptoAuth device using I2C bus \ param [ in ] iface interface to logical device to idle \ return ATCA_SUCCESS on success otherwise an error code .
ATCA_STATUS hal_i2c_idle(ATCAIface iface)
{
    ATCAIfaceCfg *cfg = atgetifacecfg(iface);
    uint8_t data[1];
    data[0] = 0x02;  
    write_bufHandle = DRV_I2C_Transmit(drvI2CMasterHandle, cfg->atcai2c.slave_address, &data, 1, NULL);
    return ATCA_SUCCESS;
}
ATCA_STATUS hal_i2c_idle ( ATCAIface iface ) { ATCAIfaceCfg * cfg = atgetifacecfg ( iface ) ; uint8_t data [ 1 ] ; data [ 0 ] = 0x02 ; write_bufHandle = DRV_I2C_Transmit ( drvI2CMasterHandle , cfg -> atcai2c . slave_address , & data , 1 , NULL ) ; return ATCA_SUCCESS ; }
\brief idle CryptoAuth device using I2C bus
 \param[in] iface  interface to logical device to idle
 \return ATCA_SUCCESS on success, otherwise an error code.
\ brief idle CryptoAuth device using I2C bus \ param [ in ] iface interface to logical device to idle \ return ATCA_SUCCESS on success otherwise an error code .
// idle word address value