|
Contiki 3.x
|
Driver for the RE-Mote RF Real Time Clock Calendar (RTCC) More...
#include "contiki.h"#include "dev/gpio.h"#include "dev/i2c.h"#include "rtcc.h"#include "rtcc-config.h"#include "dev/leds.h"#include <stdio.h>Go to the source code of this file.
Functions | |
RTCC User functions | |
| int8_t | rtcc_set_time_date (simple_td_map *data) |
| Set the time and date. More... | |
| int8_t | rtcc_get_time_date (simple_td_map *data) |
| Get the current time and date. More... | |
| int8_t | rtcc_set_alarm_time_date (simple_td_map *data, uint8_t state, uint8_t repeat) |
| Configure the RTCC to match an alarm counter. More... | |
| int8_t | rtcc_print (uint8_t value) |
| Print data from the RTCC module, either from the memory map (values in BCD) or actual readable data (decimal). More... | |
| int8_t | rtcc_set_autocalibration (uint8_t period) |
| Set the autocallibration period. More... | |
| int8_t | rtcc_set_calibration (uint8_t mode, int32_t adjust) |
| Manually calibrate the RTCC. More... | |
| int8_t | rtcc_init (void) |
| Initialize the RTCC, configures the I2C bus, interrupts and registers. More... | |
Driver for the RE-Mote RF Real Time Clock Calendar (RTCC)
Antonio Lignan alinan@zolertia.com Aitor Mejias amejias@zolertia.com Toni Lozano tlozano@zolertia.com
Definition in file rtcc.c.
1.8.6