KEYSCAN configuration structure.

Public Attributes#

uint32_t

Clock divider value.

uint8_t

Number of columns to set for keyscan (maximum 8).

uint8_t

Number of rows to set for keyscan (maximum 6).

bool

Enable Single Press feature.

bool

Enable auto-start feature.

Public Attribute Documentation#

clock_divider#

uint32_t sl_hal_keyscan_config_t::clock_divider

Clock divider value.


Definition at line 81 of file platform/peripheral/inc/sl_hal_keyscan.h

column_number#

uint8_t sl_hal_keyscan_config_t::column_number

Number of columns to set for keyscan (maximum 8).


Definition at line 82 of file platform/peripheral/inc/sl_hal_keyscan.h

row_number#

uint8_t sl_hal_keyscan_config_t::row_number

Number of rows to set for keyscan (maximum 6).


Definition at line 83 of file platform/peripheral/inc/sl_hal_keyscan.h

scan_delay#

sl_hal_keyscan_delay_t sl_hal_keyscan_config_t::scan_delay

Scan delay.


Definition at line 84 of file platform/peripheral/inc/sl_hal_keyscan.h

debounce_delay#

sl_hal_keyscan_delay_t sl_hal_keyscan_config_t::debounce_delay

Debounce delay.


Definition at line 85 of file platform/peripheral/inc/sl_hal_keyscan.h

stable_delay#

sl_hal_keyscan_delay_t sl_hal_keyscan_config_t::stable_delay

Stable delay.


Definition at line 86 of file platform/peripheral/inc/sl_hal_keyscan.h

single_press_enable#

bool sl_hal_keyscan_config_t::single_press_enable

Enable Single Press feature.


Definition at line 87 of file platform/peripheral/inc/sl_hal_keyscan.h

auto_start_enable#

bool sl_hal_keyscan_config_t::auto_start_enable

Enable auto-start feature.


Definition at line 88 of file platform/peripheral/inc/sl_hal_keyscan.h