Title | Function | Function Name [-] | No |
format Uint32 * CDC_GetDataPtr (void) Input None Output None Function value Register pointer (address value) Function Gets the data transfer register (DATATRNS) pointer.(1) Access method . The following three types of data transfer methods are available for data transfer registers and MPEG registers. There is . DMA · DMA transfer by SCU DMA -DMA transfer by CPU Software transfer by CPU : Registers are accessed in longword (32 bits) for DMA transfer and software transfer by the CPU. Must be . In other words, the data to be transferred is in units of long words (even words). . Data B> The data accessed by longword is stored in order of upper word and lower word. Odd number When transferring data, the lower word of the last longword access is undefined.
(2) Volatile declaration When assigning a pointer to a variable, a volatile declaration is required to prevent unauthorized optimization.
Example volatile Uint32 * ptr; : ptr = CDC_GetDataPtr ();
Title | Function | Function Name [-] | No |
format Sint32 CDC_GetHirqReq (void) Input None Output None function value register value …… For the bit name, refer to the data specification (Constant) Function Gets the value of the interrupt factor register (HIRQREQ).