debounce_init

Description

This function initialises the debounce driver. It must be called before the debounce driver.

Definition

debounce_init(ubyte pa_enable, ubyte pb_enable)

Library

LIB/debounce_lib.bas

Usage



On entry:
pa_enable is a binary mask of inputs for PORTA. A bit set in this mask corresponds to an input in PORTA that is to be debounced and for which a switch changed event is to be generated.

pb_enable is a binary mask of inputs for PORTB. A bit set in this mask corresponds to an input in PORTB that is to be debounced and for which a switch changed event is to be generated.

On exit:
There is no return value