The LM317 includes a circuit of trimmed bandgap reference to assure output voltage accuracy to be within 1%. It also provides current limiting and thermal shutdown. The current limit is trimmed to ensure specified output current and controlled short-circuit current. The On-chip thermal limiting provides protection against any combination of overload and ambient temperature that would create excessive junction temperature.