sl_keyscan_config_t Struct Reference
KEYSCAN configuration structure.
#include <peripheral_keyscan.h>
Data Fields |
|
uint32_t | clock_divider |
Clock divider value.
|
|
uint8_t | column_number |
Number of columns to set for keyscan (maximum 8).
|
|
uint8_t | row_number |
Number of rows to set for keyscan (maximum 6).
|
|
sl_keyscan_delay_t | scan_delay |
Scan delay.
|
|
sl_keyscan_delay_t | debounce_delay |
Debounce delay.
|
|
sl_keyscan_delay_t | stable_delay |
Stable delay.
|
|
bool | single_press_enable |
Enable Single Press feature.
|
|
bool | auto_start_enable |
Enable auto-start feature.
|
|
KEYSCAN configuration structure.
Field Documentation
◆ clock_divider
uint32_t sl_keyscan_config_t::clock_divider |
Clock divider value.
◆ column_number
uint8_t sl_keyscan_config_t::column_number |
Number of columns to set for keyscan (maximum 8).
◆ row_number
uint8_t sl_keyscan_config_t::row_number |
Number of rows to set for keyscan (maximum 6).
◆ scan_delay
sl_keyscan_delay_t sl_keyscan_config_t::scan_delay |
Scan delay.
◆ debounce_delay
sl_keyscan_delay_t sl_keyscan_config_t::debounce_delay |
Debounce delay.
◆ stable_delay
sl_keyscan_delay_t sl_keyscan_config_t::stable_delay |
Stable delay.
◆ single_press_enable
bool sl_keyscan_config_t::single_press_enable |
Enable Single Press feature.
◆ auto_start_enable
bool sl_keyscan_config_t::auto_start_enable |
Enable auto-start feature.