1. Momentary: When the button is pressed, once the finger is released, the button will automatically bounce back to the original unpressed state immediately.
2. Latching: When the button is pressed, the button will remain in the pressed state. To return the self-locking button to its original state, the button needs to be pressed again.

