|
ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
|
TSN factory-calibration block (read-only on hardware). More...
#include <ra8_tsn_regs.h>
Data Fields | |
| volatile uint32_t | TSCDR |
| +0x00 Calibration code at high ref temperature. | |
| volatile uint32_t | TSCDR2 |
| +0x04 Calibration code at low ref temperature. | |
TSN factory-calibration block (read-only on hardware).
HUM Ch 55.2.2 "TSCDR / TSCDR2 : Temperature Sensor Calibration Data Registers", p 3498-3499. The two words are programmed at the factory and capture the raw ADC code observed at the high and low calibration temperatures (HUM Ch 55.3.1 p 3499-3500):
Both words are 32-bit memory cells in the MRAM trim area but only the lower 12 bits (k_ra8_tscdr_data_mask) carry the calibration code; the upper bits read 0.
Definition at line 132 of file ra8_tsn_regs.h.
| volatile uint32_t r_tsn_cal_regs_t::TSCDR |
+0x00 Calibration code at high ref temperature.
Definition at line 133 of file ra8_tsn_regs.h.
Referenced by ra8_tsn_convert_to_milli_c().
| volatile uint32_t r_tsn_cal_regs_t::TSCDR2 |
+0x04 Calibration code at low ref temperature.
Definition at line 134 of file ra8_tsn_regs.h.
Referenced by ra8_tsn_convert_to_milli_c().