已存档
1
0
该仓库已被归档。您可以查看文件和克隆它,但不能推送、创建工单或合并请求。
keybrd/src/Row_IOE.cpp

14 行
506 B
C++

#include "Row_IOE.h"
void Row_IOE::process()
{
//these variables are all bitwise, one bit per key
read_pins_t rowState; //1 means pressed, 0 means released
read_pins_mask_t rowEnd; //1 bit marks positioned after last key of row
read_pins_t debouncedChanged; //1 means debounced changed
rowState = scanner.scan(rowEnd);
debouncedChanged = debouncer.debounce(rowState, debounced);
pressRelease(rowEnd, debouncedChanged);
}