40#ifndef TSCH_SLOT_OPERATION_H_
41#define TSCH_SLOT_OPERATION_H_
52extern struct ringbufindex dequeued_ringbuf;
53extern struct tsch_packet *dequeued_array[TSCH_DEQUEUED_ARRAY_SIZE];
56extern struct ringbufindex input_ringbuf;
57extern struct input_packet input_array[TSCH_MAX_INCOMING_PACKETS];
59extern clock_time_t tsch_last_sync_time;
61extern int tsch_current_burst_count;
int tsch_get_lock(void)
Takes 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.
void tsch_release_lock(void)
Releases the TSCH lock.
int tsch_is_locked(void)
Checks if the TSCH lock is set.
void tsch_slot_operation_start(void)
Start actual slot operation.
Header file for the ringbufindex library.
The ASN is an absolute slot number over 5 bytes.