Page MenuHomeFreeBSD

Introduce port debouncing mechanism in mv_gpio driver
ClosedPublic

Authored by mkm_semihalf.com on Mar 19 2018, 6:10 PM.
Tags
Referenced Files
Unknown Object (File)
Aug 14 2025, 10:41 PM
Unknown Object (File)
Jul 5 2025, 2:40 PM
Unknown Object (File)
Jul 5 2025, 6:07 AM
Unknown Object (File)
Jul 4 2025, 1:17 PM
Unknown Object (File)
Jun 30 2025, 1:08 PM
Unknown Object (File)
Jun 25 2025, 5:48 PM
Unknown Object (File)
Jun 25 2025, 1:54 PM
Unknown Object (File)
Jun 25 2025, 1:54 PM
Subscribers

Details

Summary

This patch introduces gpio debouncing mechanism
with fixed memory allocation in critical section.

When you press button, value at gpio pin connected to button
is changing many times which will cause in unexpected behaviour.
Debouncing mechanism will prevent this phenomenon

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable