El teléfono sonó apenas llegué a casa.

English Translation

I had barely got into the house when the phone rang.

This is an interesting sentence construction.

This usage seems to be covered by the following:

apenas
[…]
4 adv. en cuanto (‖ inmediatamente después). Apenas bajé a la calle, se puso a llover.
Sin.: recién.

https://dle.rae.es/apenas