Multi-mode drill with an electronic switching arrangement