Commit Graph

107 Commits (0451dbb239dea1ca6c6a87832d7820fceea06c81)

Author SHA1 Message Date
Diego Barrios Romero 3e35295720 Extract constant 2018-10-31 10:14:38 +01:00
Diego Barrios Romero 4361e87645 Add functions to enable/disable the 32kHz output when battery-powered 2018-10-31 10:10:41 +01:00
Diego Barrios Romero 8bea870813 Extract function to write the status register 2018-10-31 10:01:47 +01:00
Diego Barrios Romero 73ca2703c9 Cache status value in the driver 2018-10-31 07:52:15 +01:00
Diego Barrios Romero d18de45f95 Update documentation of driver capabilities 2018-10-31 07:11:12 +01:00
Diego Barrios Romero 1f3d060332 Add is_running to eneble/disable example 2018-10-31 07:08:59 +01:00
Diego Barrios Romero 672cd40b54 Add example of square-wave generation 2018-10-31 07:08:36 +01:00
Diego Barrios Romero 692e3ad834 Add function to set the square-wave output frequency 2018-10-31 06:55:16 +01:00
Diego Barrios Romero 5168dbe68f Add function to enable/disable the square wave generation 2018-10-31 06:53:28 +01:00
Diego Barrios Romero 2aba6332e7 Add function to read whether the oscillator is running 2018-10-31 06:52:28 +01:00
Diego Barrios Romero 8c6b9ff777 Add function to select function of int/sqw output pin 2018-10-31 06:52:08 +01:00
Diego Barrios Romero 70657dd917 Add function to read the aging offset 2018-10-31 06:51:04 +01:00
Diego Barrios Romero ca36814a09 Cache the status of the control register in the driver to avoid reads 2018-10-31 06:50:26 +01:00
Diego Barrios Romero a12e165281 Improve documentation 2018-10-31 06:43:15 +01:00
Diego Barrios Romero 05368a36c9 Add some usage examples 2018-10-29 18:51:36 +01:00
Diego Barrios Romero 2b86ac70d2 Update driver capabilities 2018-10-29 18:48:07 +01:00
Diego Barrios Romero b01c258e60 Add function to read the temperature 2018-10-29 18:36:15 +01:00
Diego Barrios Romero 03b7012ec3 Add function to set the aging offset 2018-10-29 18:26:03 +01:00
Diego Barrios Romero c41526b7ec Add function to force a temperature conversion and time compensation 2018-10-29 18:25:16 +01:00
Diego Barrios Romero 08f83660d0 Add functions to enable/disable the 32kHz output 2018-10-29 18:24:20 +01:00
Diego Barrios Romero 7f3d1220d0 Add function to clear the has been stopped flag 2018-10-29 18:22:44 +01:00
Diego Barrios Romero 9d236eb8c6 Add function to check if the oscillator has been stopped. 2018-10-29 18:19:12 +01:00
Diego Barrios Romero 0ad4a4e585 Add support for reading busy status 2018-10-29 18:16:23 +01:00
Diego Barrios Romero 75c2988fa4 Fix checking transactions 2018-10-29 18:09:02 +01:00
Diego Barrios Romero 6b2f92877b Add usage examples 2018-10-28 20:23:54 +01:00
Diego Barrios Romero 6e477fa5bf Add function to enable/disable the oscillator 2018-10-28 20:17:36 +01:00
Diego Barrios Romero d1a1ddbda3 Rename test module 2018-10-28 19:47:47 +01:00
Diego Barrios Romero 60087909a7 Add tests for datetime checks 2018-10-28 19:45:06 +01:00
Diego Barrios Romero 8459963f45 Add function to set the complete datetime at once 2018-10-28 19:36:25 +01:00
Diego Barrios Romero 12dca9f499 Add support for reading the complete date/time at once 2018-10-28 19:16:36 +01:00
Diego Barrios Romero 30fb022867 Generalize macro for array reading 2018-10-28 18:55:56 +01:00
Diego Barrios Romero 984aa837d4 Extract year conversion 2018-10-28 18:18:22 +01:00
Diego Barrios Romero e4ab20df20 Extract hour conversion 2018-10-28 18:17:05 +01:00
Diego Barrios Romero 16c4b46843 Generalize array reading and writing 2018-10-28 18:04:34 +01:00
Diego Barrios Romero ccca20aa4a Add functions to get/set the year 2018-10-28 17:28:55 +01:00
Diego Barrios Romero 2cf7855293 Add function to get/set the month 2018-10-28 15:44:17 +01:00
Diego Barrios Romero 63fe08c6b5 Support transaction list 2018-10-28 15:43:06 +01:00
Diego Barrios Romero ba5213adf2 Add functions to set/get the day of the month 2018-10-28 13:32:51 +01:00
Diego Barrios Romero 85c1b6189a Add functions to set/get the week day 2018-10-28 13:28:11 +01:00
Diego Barrios Romero 9e56a48cd3 Refactor invalid param tests 2018-10-28 13:26:46 +01:00
Diego Barrios Romero d8e56f8694 Add tests for 12h PM hours 2018-10-28 13:15:18 +01:00
Diego Barrios Romero 2ff917a5f0 Refactor tests 2018-10-28 13:14:12 +01:00
Diego Barrios Romero e79b38f629 Add tests for invalid values 2018-10-28 12:52:24 +01:00
Diego Barrios Romero b9610b6e73 Add methods to get/set the hours 2018-10-28 12:46:12 +01:00
Diego Barrios Romero c1b02cb3c0 Add functions to get/set the minutes. 2018-10-28 12:27:40 +01:00
Diego Barrios Romero 4aa34d8ab4 Remove unnecessary directive 2018-10-28 12:09:48 +01:00
Diego Barrios Romero cb61468456 Deny warnings 2018-10-28 12:07:55 +01:00
Diego Barrios Romero d2a675ef70 Move macros to common file 2018-10-28 12:06:25 +01:00
Diego Barrios Romero 8546577469 Allow unused code from common test module 2018-10-28 11:58:03 +01:00
Diego Barrios Romero cfa75dbde0 Fix blanks 2018-10-28 11:57:46 +01:00