The top switch tells the engine ECU that: the clutch pedal has been/is depressed. This will result in cruise control disengagement, and other important informational feedback.
The lower switch tells the engine ECU that: the clutch pedal has been/is being released. This will result in engine RPM being increased (anti-stall), automatic handbrake release, and other important informational feedback.
I've not researched all the vehicle operational parameter actions on the two clutch switch activation events but from my experience cruise control disengagement and anti-stall are obvious.
The above is based on my manual gearbox system. Automatics / 4WD may have additional uses for the two clutch pedal switches.
I could research deeper but unless there is a pressing issue then the basics as provided are sufficient.