stm32-ds3231 icon indicating copy to clipboard operation
stm32-ds3231 copied to clipboard

An STM32 HAL library for the DS3231 real-time clock IC.

Results 2 stm32-ds3231 issues
Sort by recently updated
recently updated
newest added

https://github.com/eepj/DS3231_for_STM32_HAL/blob/054d5f689080ce896b9baa02df1c712f9e189ff8/ds3231_for_stm32_hal.c#L438 Shouldn't the mask be 0xF7 instead of 0xFB as EN32kHz is bit 3? `uint8_t status = DS3231_GetRegByte(DS3231_REG_STATUS) & 0xfb;` should have been `uint8_t status = DS3231_GetRegByte(DS3231_REG_STATUS) & 0xf7;`

Hello ! Thank you very much for your nice driver ! To enable C function calls in C++ you should put the "extern C { ...." in the header file....