[PATCH 0/5] Add capture functionality to OMAP pwm driver
Ladislav Michl
ladis at linux-mips.org
Mon Jan 8 13:57:18 PST 2018
On Mon, Jan 08, 2018 at 01:51:23PM -0800, Tony Lindgren wrote:
> * Ladislav Michl <ladis at linux-mips.org> [180108 15:42]:
> > Tony, I wanted to do something easy to understand as a base for
> > event capture interrupt, but either I do not understand hardware,
> > or it indeed cannot do pulse capture.
>
> Hmm OK. Presumably it works as it's been around for a long time,
> I thought any edge trigger will just sample the current counter
> value and that's it..
Yes, indeed, _any_ edge will just sample the current counter value.
So what can hardware say about duty cycle of this signal?
+-+ +-+
__| |________| |___
Depending time capture was started it will either trigger on first
falling or first rising edge.
ladis
More information about the linux-arm-kernel
mailing list