A method for switching a power amplifier, wherein the switching is performed by a switching element (SW, T1, T2) according to a control signal (CS, AL, PL) received from a control circuit (11, 21a, 21b), the method comprising: - detecting, from the control signal (CS, AL, PL), a first number indicative of a time length, and a second number indicative of a point in time; - generating a switching signal (S, S1, S2) comprising a switching pulse having a pulse length according to the first number and a pulse position according to the second number; and - providing the switching signal (S, S1, S2) to the switching element (SW, T1, T2), characterized in that: the control circuit (11, 21a, 21b) is integrated in a baseband circuit of a mobile terminal, and a switching signal generator (121, 221) is integrated into the power amplifier, wherein the power amplifier is comprised in the mobile terminal, wherein generating the switching signal (S, S1, S2) comprises: - selecting, based on the first number, a bit sequence (P1, P2) from a plurality of stored bit sequences and - providing, based on the second number, a circular shift to the selected bit sequence (P1, P2), or a sequence derived from the selected bit sequence (P1, P2), to generate a circularly shifted bit sequence (W1, W2), and wherein the switching signal (S, S1, S2) is generated by the switching signal generator (121, 221) comprising: a barrel shifter unit that generates the circularly shifted bit sequence (W1, W2) by shifting the selected bit sequence (P1, P2) or a sequence generated from the selected bit sequence (P1, P2) according to the second number, a shift register unit, coupled to the barrel shifter unit, receiving the circularly shifted bit sequence (W1, W2), and a signal driver, coupled to the shift register unit, generating the switching signal (S, S1, S2) from a content of a shift register (SR1, SR2) of the shift register unit. - detecting, from the control signal (CS, AL, PL), a first number indicative of a time length, and a second number indicative of a point in time; - generating a switching signal (S, S1, S2) comprising a switching pulse having a pulse length according to the first number and a pulse position according to the second number; and - providing the switching signal (S, S1, S2) to the switching element (SW, T1, T2), the control circuit (11, 21a, 21b) is integrated in a baseband circuit of a mobile terminal, and a switching signal generator (121, 221) is integrated into the power amplifier, wherein the power amplifier is comprised in the mobile terminal, wherein generating the switching signal (S, S1, S2) comprises: - selecting, based on the first number, a bit sequence (P1, P2) from a plurality of stored bit sequences and - providing, based on the second number, a circular shift to the selected bit sequence (P1, P2), or a sequence derived from the selected bit sequence (P1, P2), to generate a circularly shifted bit sequence (W1, W2), and - selecting, based on the first number, a bit sequence (P1, P2) from a plurality of stored bit sequences and - providing, based on the second number, a circular shift to the selected bit sequence (P1, P2), or a sequence derived from the selected bit sequence (P1, P2), to generate a circularly shifted bit sequence (W1, W2), and wherein the switching signal (S, S1, S2) is generated by the switching signal generator (121, 221) comprising: a barrel shifter unit that generates the circularly shifted bit sequence (W1, W2) by shifting the selected bit sequence (P1, P2) or a sequence generated from the selected bit sequence (P1, P2) according to the second number, a shift register unit, coupled to the barrel shifter unit, receiving the circularly shifted bit sequence (W1, W2), and a barrel shifter unit that generates the circularly shifted bit sequence (W1, W2) by shifting the selected bit sequence (P1, P2) or a sequence generated from the selected bit sequence (P1, P2) according to the second number, a shift register unit, coupled to the barrel shifter unit, receiving the circularly shifted bit sequence (W1, W2), and a signal driver, coupled to the shift register unit, generating the switching signal (S, S1, S2) from a content of a shift register (SR1, SR2) of the shift register unit.