The NEC requirements specific to generators are in Art. 445. A generator is essentially a motor that is configured to supply power when rotated, rather than rotate when power is supplied to it. Yet ...