Adafruit_CircuitPython_Register icon indicating copy to clipboard operation
Adafruit_CircuitPython_Register copied to clipboard

Python data descriptor classes to represent hardware registers on I2C devices.

Results 5 Adafruit_CircuitPython_Register issues
Sort by recently updated
recently updated
newest added

I was developing a device using this framework, but it started showing the following error and I don't know how to proceed. Traceback (most recent call last): File "code.py", line...

More discussion here: https://forums.adafruit.com/viewtopic.php?t=201104 The registers for Alarm 2 of the DS3231 do **not** have seconds: ![alarm_reg](https://user-images.githubusercontent.com/8755041/235955649-a2bace81-4415-4337-98fa-de9984ba519a.png) However, "minutely" (once per minute) triggering is supported: ![alarm](https://user-images.githubusercontent.com/8755041/235955855-409da7f6-b914-4f2f-80e3-725768bc6ae3.png)

Ran across this in the context of the emc2101 library. https://github.com/adafruit/Adafruit_CircuitPython_EMC2101 The EMC2101 supports only a small portion of SMBus (i2c) and specifically, can only read or write a single...

Add RWBit/ROBit and RWBits/ROBits for SPI devices. I am planning to use this in the Adafruit_CurcuitPython_RFM library for RFM69/RFM9x boards. Is there any need for the other classes. (Struct/Struct_Array) or...

When reading an alarm set point, the `tm_year` attribute is hardcoded to return 2017 and `tm_mon` to return 1. Is this intentional? Caused by a limitation somewhere? https://github.com/adafruit/Adafruit_CircuitPython_Register/blob/d37349183b82cd7d05af57a77eb3765e17e7be3f/adafruit_register/i2c_bcd_alarm.py#L154 In contrast,...