To determine whether a suspect is in custody, the trial court must examine the totality of the circumstances, which include factors such as the place, purpose, and length of interrogation, as well as whether the suspect was free to leave the place of questioning.