At some intersections there can be a button that will give you priority and issue a full stop for all traffic, but those aren't too common.
Some buttons trigger the “walk” sign but don’t actually change the traffic signals for cars.
Some buttons are placebo, perhaps with a secondary function of emitting a loud tone to let blind people know the walk signal has turned on.
Some buttons trigger the traffic lights to stop.
Some buttons turn the traffic light to a 4 way red light.
I have encountered all these types of buttons on the east coast of the US in various states.