The shift register may select properly according to the usage.The current source circuit 420 is controlled by a setting signal input via the terminal a and a signal input via the terminal d, is supplied with a current (reference current) from the terminal b, and outputs a current proportional to the current(reference current) from the terminal c.Referring to FIG. 8(A), a circuit including switches