Blackouts during pregnancy

Stephanie
Has anyone experienced this? 
What was the cause?
I blacked out for a short period last night while driving home. It was only about 5 seconds but I drifted into another lane and side swiped another vehicle. Luckily both parties are ok (except my car) and the other person was so kind and understanding. But not knowing how I got in their lane is terrifying.