时间状语从句 when his father came
主句He was doing his home 表示正在进行某件事(时),从句when his father came表示某件事意外出现了.
上句话是说:他正做作业时,他父亲进来了.