1. A semiconductor device comprising: an analog front end unit that includes a plurality of analog functional circuits, and a switch circuit group that switches circuit forms and circuit configurations of the plurality of analog functional circuits; and a control circuit that receives a plurality of commands for specifying the circuit forms and the circuit configurations, and controls the switch circuit group based on the plurality of commands, wherein the control circuit controls the switch circuit group in an order different from an order of the received commands in response to reception of a command execution instruction defined as one of the plurality of commands.