Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of ISL1208 by
Diff: ISL1208.h
- Revision:
- 2:f33dbb2535a3
- Parent:
- 1:c951ff6da740
- Child:
- 4:42dc07f9ffb3
--- a/ISL1208.h Mon Sep 16 22:06:51 2013 +0000 +++ b/ISL1208.h Thu Nov 07 17:58:43 2013 +0000 @@ -151,7 +151,7 @@ * * @returns The current time as a Unix timestamp. */ - time_t time(void); + time_t time(); /** Set the current time on the ISL1208 from a Unix timestamp * @@ -163,33 +163,33 @@ * * @returns Whether or not the RTC has completely lost power. */ - bool powerFailed(void); + bool powerFailed(); /** Determine whether the RTC has been on battery backup * * @returns Whether or not the RTC has been on battery backup. */ - bool batteryFlag(void); + bool batteryFlag(); /** Clear the battery backup flag */ - void clearBatteryFlag(void); + void clearBatteryFlag(); /** Determine whether the alarm has matched the RTC * * @returns Whether or not the alarm has matched the RTC. */ - bool alarmFlag(void); + bool alarmFlag(); /** Clear the alarm flag */ - void clearAlarmFlag(void); + void clearAlarmFlag(); /** Get the current output frequency on the IRQ/fOUT pin * * @returns The current output frequency. */ - ISL1208::OutputFrequency foutFrequency(void); + ISL1208::OutputFrequency foutFrequency(); /** Set the output frequency on the IRQ/fOUT pin * @@ -201,7 +201,7 @@ * * @returns Whether or not the IRQ/fOUT pin will continue to output on battery power. */ - bool outputOnBattery(void); + bool outputOnBattery(); /** Set whether or not the IRQ/fOUT pin should continue to output on battery power * @@ -213,7 +213,7 @@ * * @returns The current power mode as a PowerMode enum. */ - ISL1208::PowerMode powerMode(void); + ISL1208::PowerMode powerMode(); /** Set the power mode of the ISL1208 * @@ -225,7 +225,7 @@ * * @returns The current alarm mode as an AlarmMode enum. */ - ISL1208::AlarmMode alarmMode(void); + ISL1208::AlarmMode alarmMode(); /** Set the alarm mode of the ISL1208 * @@ -237,7 +237,7 @@ * * @returns The current analog trim in pF. */ - float analogTrim(void); + float analogTrim(); /** Set the analog trim of the ISL1208 * @@ -249,7 +249,7 @@ * * @returns The current battery mode analog trim as a BatteryModeATR enum. */ - ISL1208::BatteryModeATR batteryModeATR(void); + ISL1208::BatteryModeATR batteryModeATR(); /** Set the battery mode analog trim of the ISL1208 * @@ -261,7 +261,7 @@ * * @returns The current digital trim as a DigitalTrim enum. */ - ISL1208::DigitalTrim digitalTrim(void); + ISL1208::DigitalTrim digitalTrim(); /** Set the digital trim of the ISL1208 * @@ -273,7 +273,7 @@ * * @returns The current alarm time as a Unix timestamp (with the current year) */ - time_t alarmTime(void); + time_t alarmTime(); /** Set the alarm time on the ISL1208 from a Unix timestamp * @@ -291,7 +291,7 @@ * * @returns The current contents of the SRAM. */ - unsigned short sram(void); + unsigned short sram(); /** Write new data to the battery-backed SRAM *