SDAA183 December   2025 CC2340R5

 

  1.   1
  2.   Abstract
  3.   Trademarks
  4. 1Introduction
    1. 1.1 CC2340R5
    2. 1.2 Seven Segment LCD
  5. 2Hardware Setup
    1. 2.1 LCD Schematic
    2. 2.2 CC2340R5 Connection Diagram
  6. 3Running the Example
    1. 3.1 Dependencies
    2. 3.2 Loading Firmware
  7. 4Firmware Design
    1. 4.1 Code Description
    2. 4.2 Timer ISRs
      1. 4.2.1 lightUpdateHandler
      2. 4.2.2 lcdUpdateHandler
      3. 4.2.3 tempUpdateHandler
    3. 4.3 Hardware Callbacks
      1. 4.3.1 deltaNotificationFxn
      2. 4.3.2 gpioButtonFxn
  8. 5Tests and Results
  9. 6Summary
  10. 7References

tempUpdateHandler

If USE_TEMP remains defined, this function will be called every TEMP_UPDATE µs to read the on-chip temperature sensor and return the result in °C, which is then assigned to the two seven-segment displays.