The "shutter priority" setting will determine the f-stop for a proper exposure, given your choice of shutter speed.