|
0.3.1
|
Typedefs | |
| typedef void(* | cpu_divu_ihr_t) (void) |
| Callback type. | |
Functions | |
| static bool | cpu_divu_status_get (void) |
| Determine if an overflow has occurred. | |
| static uint32_t | cpu_divu_quotient_get (void) |
| Obtain the quotient part at the end of a division operation. | |
| static uint32_t | cpu_divu_remainder_get (void) |
| Obtain the remainder part at the end of a division operation. | |
| static void | cpu_divu_64_32_set (uint32_t dividendh, uint32_t dividendl, uint32_t divisor) |
| Perform a 64÷32 bit division operation. | |
| static void | cpu_divu_32_32_set (uint32_t dividend, uint32_t divisor) |
| Perform a 32÷32 bit division operation. | |
| static void | cpu_divu_fix16_split (fix16_t dividend, uint32_t *dh, uint32_t *dl) |
| Split a fix16_t value into two 32-bit parts of the dividend. | |
| static void | cpu_divu_fix16_set (fix16_t dividend, fix16_t divisor) |
| Perform a fixed-point bit division operation. | |
| static uint8_t | cpu_divu_interrupt_priority_get (void) |
| Obtain the interrupt priority level for CPU-DIVU. | |
| static void | cpu_divu_interrupt_priority_set (uint8_t priority) |
| Set the interrupt priority level for CPU-DIVU. | |
Description goes here.
| typedef void(* cpu_divu_ihr_t) (void) |
Callback type.
|
inlinestatic |
Determine if an overflow has occurred.
true if an overflow has occurred. Otherwise, false.
|
inlinestatic |
Obtain the quotient part at the end of a division operation.
|
inlinestatic |
Obtain the remainder part at the end of a division operation.
|
inlinestatic |
Perform a 64÷32 bit division operation.
The results are fetched using cpu_divu_quotient_get.
| dividendh,dividendl | The dividend. |
| divisor | The divisor. |
Perform a 32÷32 bit division operation.
The results are fetched using cpu_divu_quotient_get.
| dividend | The dividend. |
| divisor | The divisor. |
Split a fix16_t value into two 32-bit parts of the dividend.
Both dh and dl must not be NULL.
| [in] | dividend | The dividend to be split. |
| [out] | dh,dl | The upper and lower 32-bits of the dividend, respectively. |
Perform a fixed-point bit division operation.
The results are fetched using cpu_divu_quotient_get. Cast to fix16_t.
| dividend | The dividend. |
| divisor | The divisor. |
|
inlinestatic |
Obtain the interrupt priority level for CPU-DIVU.
0 to 15.
|
inlinestatic |
Set the interrupt priority level for CPU-DIVU.
| priority | The priority ranging from 0 to 15. |