diff options
author | ian <ian@FreeBSD.org> | 2017-03-01 21:11:36 +0000 |
---|---|---|
committer | ian <ian@FreeBSD.org> | 2017-03-01 21:11:36 +0000 |
commit | 9a83dc9d3348d95e42fb9e36fb065ae52a97e8cc (patch) | |
tree | a71ef535729338ee9af219d6c1ac1e0705615a32 /sys/libkern/fnmatch.c | |
parent | 6a949fe4fcc82742a9bb43519f5589ee70c1e462 (diff) | |
download | FreeBSD-src-9a83dc9d3348d95e42fb9e36fb065ae52a97e8cc.zip FreeBSD-src-9a83dc9d3348d95e42fb9e36fb065ae52a97e8cc.tar.gz |
MFC r312859:
Configure the timer capture pin to input mode in the timer control
register, in addition to configuring it as input with the pinmux driver.
There was a control register bit commented as "no desc in datasheet". A
later revision of the manual reveals the bit to be an input/output control
for the timer pin. In addition to configuring capture or pulse mode, you
apparently have to separately configure the pin direction in the timer
control register.
Before this change, the timer block was apparently driving a signal onto a
pad configured by pinmux as input. Capture mode still accidentally worked
for me during testing because I was using a very strong signal source that
just out-muscled the weaker drive from the misconfigured pin.
Diffstat (limited to 'sys/libkern/fnmatch.c')
0 files changed, 0 insertions, 0 deletions