This may help: http://melabs.com/resources/ser2modes.htm