Lines Matching full:alarm

23  * * two alarm channels are supported but are not equally capable:
46 /** @brief Bit in ctrl or ctrl_stat associated with alarm 1. */
49 /** @brief Bit in ctrl or ctrl_stat associated with alarm 2. */
57 /** @brief ctrl bit for alarm 1 interrupt enable. */
60 /** @brief ctrl bit for alarm 2 interrupt enable. */
66 * signal indicates alarm events.
104 * If an alarm callback handler is registered this bit is
112 * If an alarm callback handler is registered this bit is
131 /** @brief Control alarm behavior on match in seconds field.
133 * If clear the alarm fires only when the RTC seconds matches the
134 * alarm seconds.
136 * If set the alarm seconds field is ignored and an alarm will be
140 * This bit must be clear for the second alarm instance.
147 /** @brief Control alarm behavior on match in minutes field.
149 * If clear the alarm fires only when the RTC minutes matches the
150 * alarm minutes. The bit for IGNSE must be clear.
152 * If set the alarm minutes field is ignored and alarms will be
161 /** @brief Control alarm behavior on match in hours field.
163 * If clear the alarm fires only when the RTC hours matches the
164 * alarm hours. The bits for IGNMN and IGNSE must be clear.
166 * If set the alarm hours field is ignored and alarms will be
174 /** @brief Control alarm behavior on match in day/date field.
176 * If clear the alarm fires only when the RTC day/date matches the
177 * alarm day/date, mediated by MAXIM_DS3231_ALARM_FLAGS_DAY. The bits
180 * If set the alarm day/date field is ignored and an alarm will be
198 /** @brief Indicates that the alarm should be disabled once it fires.
201 * field to cause the alarm to be disabled when the interrupt fires,
204 * Leave false to allow the alarm to remain enabled so it will fire
216 /** @brief Signature for DS3231 alarm callbacks.
218 * The alarm callback is invoked from the system work queue thread.
219 * At the point the callback is invoked the corresponding alarm flags
224 * @param id the alarm id
226 * time the alarm interrupt was processed.
251 /** @brief Information defining the alarm configuration.
256 * When an alarm is configured with a handler an interrupt will be
259 * When an alarm is configured without a handler, or a persisted alarm
263 /** @brief Time specification for an RTC alarm.
265 * Though specified as a UNIX time, the alarm parameters are
272 * alarm times will fall within 1978-01 since 1978-01-01
279 * If this is null the alarm will not be triggered by the
280 * INTn/SQW GPIO. This is a "persisted" alarm from its role
283 * determine whether such an alarm has been triggered.
286 * for alarm signals and will invoke the handler with a
296 /** @brief User-provided pointer passed to alarm callback. */
299 /** @brief Flags controlling configuration of the alarm alarm.
303 * Note that as described the alarm mask fields require that
309 * alarm configuration unchanged.
432 /** @brief Read a DS3231 alarm configuration.
434 * The alarm configuration data is read from the device and
441 * @param id the alarm index, which must be 0 (for the 1 s resolution
442 * alarm) or 1 (for the 1 min resolution alarm).
444 * @param cfg a pointer to a structure into which the configured alarm
454 /** @brief Configure a DS3231 alarm.
456 * The alarm configuration is validated and stored into the device.
458 * To cancel an alarm use counter_cancel_channel_alarm().
467 * @param cfg a pointer to the desired alarm configuration. Both
571 /** @brief Check for and clear flags indicating that an alarm has
579 * This API may be used when a persistent alarm has been programmed.