Severson-Group / AMDC-Firmware

Embedded system code (C and Verilog) which runs the AMDC Hardware
http://docs.amdc.dev/firmware
BSD 3-Clause "New" or "Revised" License
30 stars 5 forks source link

Add PWM event qualifier and user ratio config to timing_manager.c #341

Closed annikaolson closed 8 months ago

annikaolson commented 8 months ago

Users can configure to set the trigger for the sensors on carrier low, carrier high, or both (either high or low).

This should be set up in the driver for the timing manager.

A user ratio can also be set to determine the ratio of events as per the trigger (e.g. if ratio is 2, an interrupt is generated every other trigger cycle).