Buy Contact NSDSP Home

mcu_can_partition

This function determines if the device can be partitioned.

Syntax

int mcu_can_partition(
        mcu_t             mcu
);

Parameters

mcu - a reference to the MCU object returned by mcu_create or mcu_get_slave_core function.

Return

The function returns non-zero if the device can be partitioned, or zero otherwise.

Notes

Partitioning is a process of re-configuring the device, so that instead of a single memory range, the memory is divided into partitions. This changes memory addressing. You can call mcu_partition function to transform the MCU object and make it represent a partitioned device.

Some of the devices, for example PIC32MZ, may have swappable partitions, however this condition is permanent. Therefore such devices cannot be partitioned.

 

Minimum library version - 163

Northern Software Home NSDSP Contact Us Purchase/View Cart

© 2007-2026 Northern Software Inc. All Rights Reserved.