diff options
author | ian <ian@FreeBSD.org> | 2016-01-23 19:13:48 +0000 |
---|---|---|
committer | ian <ian@FreeBSD.org> | 2016-01-23 19:13:48 +0000 |
commit | 49868192d4f0bdcbea10825f9e529c99c278bd58 (patch) | |
tree | 01c546356b9079ab81ab79f8c408f16d1ab420bf /lib/libthr | |
parent | 3c1c5bc607d7a7263fa2e06f9b2ee08cbb2100d6 (diff) | |
download | FreeBSD-src-49868192d4f0bdcbea10825f9e529c99c278bd58.zip FreeBSD-src-49868192d4f0bdcbea10825f9e529c99c278bd58.tar.gz |
MFC r294235:
Make PPS ASSERT/CLEAR events match the RS-232 signal levels as per RFC 2783.
Previously the polarity was for TTL levels, which are the reverse of RS-232.
Also add handling of the UART_PPS_INVERT_PULSE option bit in the sysctl
value, the same as was recently added to uart(4), so that people using TTL
level connections can request a logical inverting of the signal.
Use the named constants from the new dev/uart/uart_ppstypes.h for the pps
capture modes and option bits.
Diffstat (limited to 'lib/libthr')
0 files changed, 0 insertions, 0 deletions