Can pain and/or passing out cause Seizures?

I was walking out of a store with my husband when I tripped over a curb and twisted my ankle. I was in a lot of pain, I felt like I was going to pass out. I told my husband that I was going to pass and laid down. My husband told me that I was convulsing when I passed out. We have a son with Epilepsy, so I know that he knows what he was watching was a seizure. Also, when I awoke there were other people telling me that it looked like I had a seizure. I have passed out from pain before so that is how I knew the feeling, but I have never had convulsions before.