Contiki-NG
Loading...
Searching...
No Matches

Header file for the RE-Mote RF antenna switch. More...

#include <stdio.h>
#include "i2c.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.
 
int8_t rtcc_get_time_date (simple_td_map *data)
 Get the current time and date.
 
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).
 
int8_t rtcc_set_alarm_time_date (simple_td_map *data, uint8_t state, uint8_t repeat, uint8_t trigger)
 Configure the RTCC to match an alarm counter.
 
int8_t rtcc_date_increment_seconds (simple_td_map *data, uint16_t seconds)
 Increments the current date by a number of seconds.
 
int8_t rtcc_set_calibration (uint8_t mode, int32_t adjust)
 Manually calibrate the RTCC.
 
int8_t rtcc_set_autocalibration (uint8_t period)
 Set the autocallibration period.
 
int8_t rtcc_init (void)
 Initialize the RTCC, configures the I2C bus, interrupts and registers.
 

Detailed Description

Header file for the RE-Mote RF antenna switch.

Definition in file rtcc.h.