Contiki-NG
Functions
tsch-slot-operation.h File Reference

TSCH runtime operation within timeslots. More...

#include "contiki.h"
#include "lib/ringbufindex.h"

Go to the source code of this file.

Functions

uint8_t tsch_calculate_channel (struct tsch_asn_t *asn, uint16_t channel_offset, struct tsch_packet *p)
 Returns a 802.15.4 channel from an ASN and channel offset. More...
 
int tsch_is_locked (void)
 Checks if the TSCH lock is set. More...
 
int tsch_get_lock (void)
 Takes the TSCH lock. More...
 
void tsch_release_lock (void)
 Releases the TSCH lock.
 
void tsch_slot_operation_sync (rtimer_clock_t next_slot_start, struct tsch_asn_t *next_slot_asn)
 Set global time before starting slot operation, with a rtimer time and an ASN. More...
 
void tsch_slot_operation_start (void)
 Start actual slot operation.
 

Detailed Description

TSCH runtime operation within timeslots.

Definition in file tsch-slot-operation.h.