A "traffic officer" is any member of the California Highway Patrol, or any peace officer who is on duty for the exclusive or main purpose of enforcing Division 10 (commencing with Section 20000) or 11 (commencing with Section 21000).
Ca. Veh. Code § 625