We present the first integrated linear extended-cavity passively mode-locked (PML) semiconductor laser in which the operating mode can be switched electrically between two configurations. The first configuration is where the saturable absorber (SA) is located next to the output coupler, the so-called anti-colliding pulse mode-locking (ACPML) scheme. The second is where the SA is next to the high reflectance mirror, the self-colliding pulse mode-locking (SCPML) scheme. The 7.5-GHz PML was used to demonstrate experimentally the theoretical prediction that placing the SA next to the output coupler leads to a significant improvement in the laser stability and quality of the optical pulses. The experimental results show that the ACPML scheme all...