libpruio configures the registers of the CAP modules in the PWMSS and starts measurement (IO mode). Then it checks the results and in case of a new value it makes this value available from user space. You can pull the current values whenever you want, validity can get proven by plausibility checks. In case of an overflow the returned frequency is zero. You can specify a minimal frequency.
BTW: On BBB only two CAP modules are connected to the header pins (P9_28 / P9_42). But you can use the PWMSS QEP modules to measure frequency as well (in libpruio-0.2.2, which I'll upload when I've some time to finish it). BR -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
