MAV'RIC
Public Attributes | List of all members
i2c_schedule_event_t Struct Reference

i2c event scheduler packet More...

#include <i2c_driver.h>

Collaboration diagram for i2c_schedule_event_t:
Collaboration graph

Public Attributes

i2c_packet_conf_t config
 
uint8_t schedule_slot
 the assigned slot in the schedule - READ ONLY!
 
int32_t repetition_rate_ms
 schedule repetition rate in milliseconds. A value of 0 means no repetition (one-shot)
 
uint8_t trigger_next_event
 number of event that should be scheduled immediately after the end of this one (repetition for next event should be 0)
 
int8_t active
 indicates if event should be scheduled or not. Will be set to false after a one-shot event 0:false, 1:true
 
int8_t transfer_in_progress
 flag indicates if this event is currently being processed. 0: false, 1: true, -1: uninitialised
 
i2c_callback_t * callback
 callback function to be called when transfer finished.
 

Detailed Description

i2c event scheduler packet


The documentation for this struct was generated from the following files: