R01UH0823EJ0100 Rev.1.00 Page 1583 of 1823
Jul 31, 2019
RX23W Group 44. 12-Bit A/D Converter (S12ADE)
44.2.38 A/D Data Storage Buffer Pointer Register (ADBUFPTR)
The ADBUFPTR register is used for the data storage buffer pointer.
BUFPTR[3:0] Bits (Data Storage Buffer Pointer)
These read-only bits indicate the number of data storage buffer to which the next A/D conversion data is transferred.
When data has been transferred to data storage buffer 15, the pointer value becomes 0000b and the PTROVF flag is set to
1. When the next data has been transferred, the data in data storage buffer 0 is overwritten.
Writing 00h to this register clears the value of these bits. Writing a value other than 00h is disabled.
PTROVF Flag (Pointer Overflow Flag)
This read-only flag indicates whether the data storage buffer pointer has overflowed. This flag is set to 1 when the
pointer value becomes 0000b (overflow).
Writing 00h to this register clears this flag value. Writing a value other than 00h is disabled.
Address(es): S12AD.ADBUFPTR 0008 90D2h
b7 b6 b5 b4 b3 b2 b1 b0
———
PTROV
F
BUFPTR[3:0]
Value after reset:
0
0000000
Bit Symbol Bit Name Description R/W
b3 to b0 BUFPTR[3:0] Data Storage Buffer Pointer These bits indicate the number of data storage buffer to which the
next A/D conversion data is transferred.
R/W
b4 PTROVF Pointer Overflow Flag 0: The data storage buffer pointer has not overflowed.
1: The data storage buffer pointer has overflowed.
R/W
b7 to b5 — Reserved These bits are read as 0. The write value should be 0. R/W