A temperature sensor comprising: ramp generation circuitry including a ramp generator, the ramp generator including a ramp output to provide a ramp signal; pulse generation circuitry including: a switch circuit including a first input coupled to the ramp output, a second input coupled to receive a comparison voltage, a first output, and a second output, wherein in a first switch state, the switch circuit provides a path between the first input and the first output and does not provide a path between the first input and the second output, wherein in the first switch state, the switch circuit provides a path between the second input and the second output and does not provide a path between the second input and the first output, wherein in a second switch state, the switch circuit provides a path between the second input and the first output and does not provide a path between the second input and the second output, wherein in the second switch state, the switch circuit provides a path between the first input and the second output and does not provide a path between the first input and the first output; a comparator including a first input coupled to the first output of the switch circuit and a second input coupled the second output of the switch circuit; an output, wherein during a temperature measurement operation, the comparison voltage is indicative of a measured temperature and the output of the pulse generation circuitry provides a pulse signal that is indicative of the measured temperature; counter circuitry including an input coupled to the output of the pulse generation circuitry and including an output to provide a digital indication of the measured temperature during a temperature measuring operation. ramp generation circuitry including a ramp generator, the ramp generator including a ramp output to provide a ramp signal; pulse generation circuitry including: a switch circuit including a first input coupled to the ramp output, a second input coupled to receive a comparison voltage, a first output, and a second output, wherein in a first switch state, the switch circuit provides a path between the first input and the first output and does not provide a path between the first input and the second output, wherein in the first switch state, the switch circuit provides a path between the second input and the second output and does not provide a path between the second input and the first output, wherein in a second switch state, the switch circuit provides a path between the second input and the first output and does not provide a path between the second input and the second output, wherein in the second switch state, the switch circuit provides a path between the first input and the second output and does not provide a path between the first input and the first output; a comparator including a first input coupled to the first output of the switch circuit and a second input coupled the second output of the switch circuit; an output, wherein during a temperature measurement operation, the comparison voltage is indicative of a measured temperature and the output of the pulse generation circuitry provides a pulse signal that is indicative of the measured temperature; a switch circuit including a first input coupled to the ramp output, a second input coupled to receive a comparison voltage, a first output, and a second output, wherein in a first switch state, the switch circuit provides a path between the first input and the first output and does not provide a path between the first input and the second output, wherein in the first switch state, the switch circuit provides a path between the second input and the second output and does not provide a path between the second input and the first output, wherein in a second switch state, the switch circuit provides a path between the second input and the first output and does not provide a path between the second input and the second output, wherein in the second switch state, the switch circuit provides a path between the first input and the second output and does not provide a path between the first input and the first output; a comparator including a first input coupled to the first output of the switch circuit and a second input coupled the second output of the switch circuit; an output, wherein during a temperature measurement operation, the comparison voltage is indicative of a measured temperature and the output of the pulse generation circuitry provides a pulse signal that is indicative of the measured temperature; counter circuitry including an input coupled to the output of the pulse generation circuitry and including an output to provide a digital indication of the measured temperature during a temperature measuring operation.