Renesas Electronics
Below is a list of API functions output by the Code Generator for comparator use.
Table 3.45
API Functions: [Data operation circuit]
API Function Name
Function
R_DOC_Create
Performs initialization necessary to control the data operation circuit.
R_DOC_Create_UserInit
Performs user-defined initialization related to the data operation circuit.
r_doc_interrupt
Performs processing in response to the DOC operation result detection interrupt INTDOC.
R_DOC_SetMode
Configures the operation mode of data operation circuit.
R_DOC_WriteData
Writes new data to compare, add or subtract.
R_DOC_GetResult
Gets result of addition or subtraction.
R_DOC_ClearFlag
Clears DOPCF flag of DOC control register (DOCR).
R_DOC_Set_PowerOff
Stops the clock supplied for data operation circuit.
R_DOC_Reset
Resets Data opration circuit module.