Text this: Basic switching circuit theory.