Ok so it's an Allegro A3953SB-T.
The data sheet tells the story, up front, and continuing on page 6, quote:
The peak value of the current limiting (Itrip) is set by the selection of an external current sensing resistor (Rs) and an external reference input voltage (Vref).
The internal circuitry compares the voltage across the external sense resistor to the voltage on the reference input terminal (REF) resulting in a transconductance function approximated by:
Itrip = ( Vref / Rs ) - Iso
where Iso is the offset current due to the internal base drive current (33mA).
During braking, with the MODE input high, the peak current limit can be approximated by:
Itrip brake mh = Vref / Rs
CAUTION: Because the kinetic energy stored in the motor and load inertia is being converted into current, which charges the Vbb supply bulk capacitance (power supply output and decoupling capacitance), care must be taken to ensure the capacitance is sufficient to absorb the energy without exceeding the voltage rating of any devices connected to the motor supply.
Brake Operation - MODE Input Low. During braking, with the MODE input low, the internal current-control circuitry is disabled.
Therefore, care should be taken to ensure that the motor’s current does not exceed the ratings of the device.
Unquote.
So by using the suggested resistor (or rather 0.47 ohm) and setting Vref to 0.933A * 0.47ohm = 0.44V - both the motor (0.9A) and the resistor (0.41W) should be safe.