buttons on simple hardware devices usually have many many functions.
this button has a function. but if you are powering up and hold it, it does a different function. press and hold this button and while holding it press another button for something else.
The most extreme example of this kind of thing I can recall is the anduril open-source flashlight firmware: an enormous number of functions on a one-button flashlight.
example: https://budgetlightforum.com/uploads/default/optimized/3X/e/...
or in text: https://ivanthinking.net/manuals/anduril2-manual/