System driver using dsPIC MCUs.
More...
|
file | system.c |
| This is the generated driver header file for the System driver.
|
|
file | system_types.h |
| This is the generated driver types header file for the System driver.
|
|
file | system.c |
| This is the generated driver header file for the System driver.
|
|
file | system_types.h |
| This is the generated driver types header file for the System driver.
|
|
- Version
- Driver Version 1.0.1
- Version
- Driver Version 1.0.1
◆ CORCON_MODE_TYPE
Section: Type defines
Enumerator |
---|
CORCON_MODE_PORVALUES | Use POR values of CORCON
|
CORCON_MODE_ENABLEALLSATNORMAL_ROUNDBIASED | Enable saturation for ACCA, ACCB and Dataspace write, enable normal ACCA/ACCB saturation mode and set rounding to Biased (conventional) mode. Rest of CORCON settings are set to the default POR values.
|
CORCON_MODE_ENABLEALLSATNORMAL_ROUNDUNBIASED | Enable saturation for ACCA, ACCB and Dataspace write, enable normal ACCA/ACCB saturation mode and set rounding to Unbiased (convergent) mode. Rest of CORCON settings are set to the default POR values.
|
CORCON_MODE_DISABLEALLSAT_ROUNDBIASED | Disable saturation for ACCA, ACCB and Dataspace write and set rounding to Biased (conventional) mode. Rest of CORCON settings are set to the default POR values.
|
CORCON_MODE_DISABLEALLSAT_ROUNDUNBIASED | Disable saturation for ACCA, ACCB and Dataspace write and set rounding to Unbiased (convergent) mode. Rest of CORCON settings are set to the default POR values.
|
CORCON_MODE_ENABLEALLSATSUPER_ROUNDBIASED | Enable saturation for ACCA, ACCB and Dataspace write, enable super ACCA/ACCB saturation mode and set rounding to Biased (conventional) mode. Rest of CORCON settings are set to the default POR values.
|
CORCON_MODE_ENABLEALLSATSUPER_ROUNDUNBIASED | Enable saturation for ACCA, ACCB and Dataspace write, enable super ACCA/ACCB saturation mode and set rounding to Unbiased (convergent) mode. Rest of CORCON settings are set to the default POR values.
|
Definition at line 48 of file system_types.h.
◆ SYSTEM_CORCONInitialize()
static void SYSTEM_CORCONInitialize |
( |
| ) |
|
|
inlinestatic |
- Returns
- none
Definition at line 54 of file system.h.
◆ SYSTEM_CORCONModeOperatingSet()
- Parameters
-
[in] | modeValue | - SYSTEM_CORCON_MODES initialization mode specifier |
- Returns
- none
Definition at line 66 of file system.h.
◆ SYSTEM_CORCONRegisterValueGet()
static uint16_t SYSTEM_CORCONRegisterValueGet |
( |
void | | ) |
|
|
inlinestatic |
- Returns
- value of the CPU core control register
Definition at line 87 of file system.h.
◆ SYSTEM_CORCONRegisterValueSet()
static void SYSTEM_CORCONRegisterValueSet |
( |
uint16_t | value | ) |
|
|
inlinestatic |
- Parameters
-
[in] | value | - value that needs to be written to the CPU core control register |
- Returns
- none
Definition at line 77 of file system.h.
◆ SYSTEM_DeviceIdRegisterAddressGet()
static uint32_t SYSTEM_DeviceIdRegisterAddressGet |
( |
void | | ) |
|
|
inlinestatic |
- Returns
- base address of the DEVID register
Definition at line 98 of file system.h.
◆ SYSTEM_Initialize()
void SYSTEM_Initialize |
( |
void | | ) |
|
- Returns
- none
Definition at line 51 of file system.c.