Metformin prevented SK2 downregulation and SK3 upregulation by inhibiting atrial PKC activity in the atrial tissue of T2DM rats. This evidence concerns the gene KCNN3 and type 2 diabetes mellitus.