Control of all the transitions between ground state manifolds of nitrogen vacancy centers in diamonds by applying external magnetic driving fields