Driver for Maxim DS3234 Extremely Accurate SPI Bus RTC with Integrated Crystal and SRAM.
More...
Driver for Maxim DS3234 Extremely Accurate SPI Bus RTC with Integrated Crystal and SRAM.
|
enum | ds3234_return_codes { DS3234_OK = 0,
DS3234_NO_DEV = 1,
DS3234_NO_SPI = 2
} |
| Return codes for the DS3234 device driver.
|
|
◆ ds3234_pps_init()
Initialize the DS3234 RTC as a PPS device.
This will enable square wave output on the SQW pin at 1 Hz
- Parameters
-
params | DS3234 circuit parameters |
- Returns
- DS3234_OK on success
-
DS3234_NO_SPI if cannot initiate SPI
-
DS3234_NO_DEV if the device is not found on the bus