Data operation circuit

Below is a list of API functions output by the Code Generator for Operational Amplifier use.

Table 3.47 API Functions: [Operational amplifier]

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.