Skip to content

Commit

Permalink
Clearer description
Browse files Browse the repository at this point in the history
  • Loading branch information
electronicayciencia committed Jun 26, 2024
1 parent 9634818 commit d3e94a2
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions EasyMCP2221/MCP2221.py
Original file line number Diff line number Diff line change
Expand Up @@ -2076,11 +2076,12 @@ def reset(self):
Reboot the device and load stored configuration from flash.
This operation do not reset any I2C slave devices.
This operation resets only the MCP2221/A chip.
It won't reset any I2C slave devices connected.
Note:
The host needs to re-enumerate the device after a reset command.
After a reset, EasyMCP2221 will try to re-open the device for the next 5 seconds.
The reset function waits 0.5 seconds to complete.
Then it tries to re-open the device for the next 5 seconds.
If the chip does not respond after 5 seconds, an exception is generated.
"""
buf = [0] * 4
buf[0] = CMD_RESET_CHIP
Expand Down

0 comments on commit d3e94a2

Please # to comment.