SDAA116 October 2025 CC2340R5
To interact with the BDC motor of the device window covering locally, pushbutton operations are implemented for several events which allow the user to configure the motor endpoints and rotate the motor clockwise or counter-clockwise. This table summarizes those events.
| Button Operation | BTN-1 Function | BTN-2 Function |
|---|---|---|
| Double Click | Set high endpoint for current position | Set low endpoint for current position |
| Single Click | Move until reached high endpoint location (USE_HALL defined) or movement timeout (USE_HALL not defined) | Move until reached low endpoint location (USE_HALL defined) or movement timeout (USE_HALL not defined) |
| Pressed Down | Move up continuously until released | Move down continuously until released |
When USE_HALL is defined, TI recommends that users rotate the motor manually (that is, button press) and set endpoints (that is, button double clicks) before using Zigbee or single button click commands to control the motor position. When USE_HALL is not defined, a single click only moves in the desired direction for MOVEMENT_TIME.