User`s manual

RX62N Group, RX621 Group 4. Library Reference
5) R_DTC_GetStatus
Synopsis
Check the status of the Data Transfer Controller.
Prototype
bool R_DTC_GetStatus(
uint32_t * data1,
// Transfer data start address
uint16_t * data2,
// Status flags pointer
uint32_t * data3,
// Current source address pointer
uint32_t * data4,
// Current destination address pointer
uint16_t * data5,
// Current transfer count pointer
uint8_t * data6
// Current block size count pointer
);
Description
Return status flags and current channel registers.
[data1]
The start address of the transfer data area.
If all parameters data3, data4, data5 and data6 are not required, specify PDL_NO_PTR.
[data2]
The status flags shall be stored in the following format.
Specify PDL_NO_PTR if the status flags are not required.
b15
b14 b8
b7 - b0
0: Idle
1: A transfer is in progress
0 The trigger vector (valid only when bit b15 = 1)
[data3]
Where the current source address shall be stored. Ignored if data1 is set to PDL_NO_PTR.
If this value is not required, specify PDL_NO_PTR.
[data4]
Where the current destination address shall be stored. Ignored if data1 is set to PDL_NO_PTR.
If this value is not required, specify PDL_NO_PTR.
[data5]
Where the current transfer count shall be stored. Ignored if data1 is set to PDL_NO_PTR.
If this value is not required, specify PDL_NO_PTR.
[data6]
Where the current block size count shall be stored. Ignored if data1 is set to PDL_NO_PTR.
If this value is not required, specify PDL_NO_PTR.
Return value
True if all parameters are valid and exclusive; otherwise false.
Category
Data Transfer Controller
Reference
R_DTC_Create
Remarks
The start address of the transfer data area is the same as that declared in R_DTC_Create.
R20UT0084EE0112 Rev.1.12 Page 4-89
July. 16, 2014