In this paper, the event-triggered control problem for discrete-time switched linear systems with an arbitrary sampling period is considered. At each sampling instant, only the sampled information of system state and switching signal is available to the controller. Particularly, the sampling period is arbitrary in this paper and frequent switching is allowed to happen in an inter-event period. Based on that, by constructing a time- and mode-dependent quadratic piecewise Lyapunov function, a new globally exponentially stability (GES) result under modal dwell time (MDT) criteria is obtained. By the novel Lyapunov function and the state variable transformation technique, a statefeedback controller is designed for the switched linear system. At last, a numerical example is proposed to illustrate our approach.