2021-02-17 | Paul Boddie | raw annotate files changeset graph | Added some measurements to investigate peripheral behaviour. | letux400-i2c-state-machine |
1 #include <l4/devices/protocols.h> 2 #include <stdint.h> 3 4 /* A PWM interface. PWM devices may also support the Activation interface. */ 5 6 [protocol(LANDFALL_PWM)] 7 interface PWM 8 { 9 void set_control(in uint8_t control); 10 11 void set_duty(in uint16_t duty); 12 13 void set_period(in uint16_t period); 14 };