Skip to content

Commit 3f28e83

Browse files
committed
Update library.properties and README.md
Signed-off-by: Frederic.Pillon <[email protected]>
1 parent 90b9a48 commit 3f28e83

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

README.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,11 @@ _RTC hours mode (12 or 24)_
2121
* **`void begin(RTC_Hour_Format format)`**
2222

2323
_RTC clock source_
24-
* **`void setClockSource(RTC_Source_Clock source)`** : this function must be called before `begin()`
24+
* **`void setClockSource(RTC_Source_Clock source)`** : this function must be called before `begin()`.
25+
26+
_RTC Asynchronous and Synchronous prescaler_
27+
* **`void getPrediv(int8_t *predivA, int16_t *predivS)`** : get user (a)synchronous prescaler values if set else computed ones for the current clock source.
28+
* **`void setPrediv(int8_t predivA, int16_t predivS)`** : set user (a)synchronous prescaler values. This function must be called before `begin()`. Use -1 to reset value and use computed ones.
2529

2630
_SubSeconds management_
2731
* **`uint32_t getSubSeconds(void)`**

library.properties

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
name=STM32duino RTC
22
version=1.0.0
3-
author=Wi6Labs
3+
author=STMicroelectronics, Wi6Labs
44
maintainer=stm32duino
5-
sentence=Allows to use the RTC functionalities. For STM32 boards.
5+
sentence=Allows to use the RTC functionalities of STM32 based boards.
66
paragraph=With this library you can use the RTC peripheral in order to program actions related to date and time.
77
category=Timing
88
url=https://github.com/stm32duino/STM32RTC.git

0 commit comments

Comments
 (0)