A microscopic generator was a microscopic small power device.
In 2369, the Kobliad criminal scientist Rao Vantika used such a device to transfer his consciousness into another person's brain when his body died. He placed this device under his fingernail and transferred it into Doctor Julian Bashir. (DS9: "The Passenger")