Project

General

Profile

Revision 345

reorganizing

View differences:

rtc.h
19 19
 */
20 20
int (subscribe_rtc_interrupt)(uint8_t interrupt_bit, int *interrupt_id);
21 21

  
22
/**
23
 * @brief Read RTC register.
24
 * @param   reg     Register to read from
25
 * @param   data    Pointer to save read data
26
 * @return ERROR_CODE code representing the result of the operation, SUCCESS code is returned if everything is OK
27
 * @see {_ERRORS_H_::errors}
28
 */
22 29
int (rtc_read_register)(uint32_t reg, uint8_t *data);
23

  
30
/**
31
 * @brief Write RTC register.
32
 * @param   reg     Register to write to
33
 * @param   data    Data to write in register
34
 * @return ERROR_CODE code representing the result of the operation, SUCCESS code is returned if everything is OK
35
 * @see {_ERRORS_H_::errors}
36
 */
24 37
int (rtc_write_register)(uint32_t reg, uint8_t data);
25 38

  
26 39
/**

Also available in: Unified diff