Commit graph

73 commits

Author SHA1 Message Date
James Harton caaaff3571 Read and write mailbox bytes separately. 2020-01-22 16:28:40 +13:00
James Harton 5b5110a4d1 Fix bug with writing to the reserve time register. 2020-01-22 13:44:54 +13:00
James Harton 6f7c272eb2 Add some debugs for reasons. 2020-01-21 20:22:55 +13:00
James Harton e3c5552112 Fix boog in verify_identity/1. 2020-01-17 20:13:49 +13:00
James Harton 7f79cd4d39 Make wait_for_bus_init/1 public. 2020-01-17 11:41:34 +13:00
James Harton e085fa6642 Add implementations of Release and DeviceID. 2020-01-17 11:19:47 +13:00
James Harton ae9ff98bfd Add enabling and disabling of interrupts on the optional GPIO pin. 2020-01-17 11:11:28 +13:00
James Harton 1342ba7952 Modify the API to be more sensible, and add test coverage. 2020-01-17 10:16:22 +13:00
James Harton 37432189c4 Reimplement the driver using Wafer. 2020-01-12 20:56:23 +13:00
James Harton fd6b4eec4f Bump version ro 0.3.0 2019-12-19 17:35:15 +13:00
James Harton bc04167643 Oops 2019-12-16 15:21:02 +13:00
James Harton 4ed354aa1a Add Commands.interrupt_enable/2. 2019-12-13 14:52:17 +13:00
James Harton a72db6d0f4 Add Commands.interrupt_clear/1. 2019-12-13 14:43:46 +13:00
James Harton 4022c3ff4b Oops. 2019-12-13 14:31:29 +13:00
James Harton 4c02c8e645 Bump to 0.2.2. 2019-12-13 13:19:26 +13:00
James Harton 8633f94599 Fix bug with status register. 2019-12-13 13:18:55 +13:00
James Harton 1452b8ebdb Add PCA9641.Commands.interrupt_reason/1. 2019-12-13 12:05:39 +13:00
James Harton 2d029a3811 Bump to version 0.2.0 2019-12-08 18:59:25 +13:00
James Harton 54a98a47da Use the exact code from the application note. 2019-10-15 13:25:51 +13:00
James Harton 799266ba24 Fix incorrect access bit for bus connect command. 2019-10-12 21:30:28 +13:00
James Harton b3c05fc98e It's ALIVE 2019-10-12 20:47:29 +13:00
James Harton 2707ee8f27 Initial version of the driver. 2019-10-11 21:47:24 +13:00
James Harton 7dbe99183c Empty mix project. 2019-10-11 18:27:16 +13:00