This page contains wiring diagrams for ground fault circuit interrupter (gfci) receptacles. Included are diagrams for multiple gfci’s, a protected standard duplex receptacle, and a protected light fixture. Wiring for a switch and gfci receptacle in the same box is also shown to protect the switch and light or to protect other receptacles in the circuit. To wire a gfci circuit breaker see this link and wire a gfci switch combo at this link.
This diagram illustrates the wiring for a Cooper gfci/switch combo device wired to protect a garbage disposal. With this arrangement a receptacle, switch and disposal are protected with the ground fault breaker built into the device.
The white wire is wrapped with black tape to identify it as hot. The black wire connects the fan to the speed controller. The red wire connects the light to the dimmer.
Use this wiring when the power source originates at the switch and you want to control both the fan and light from there. The hot source is connected directly to the bottom terminal on the switch. Two-wire cable runs from there to the ceiling fan.