Buy Contact NSDSP Home

mcu_can_swap

This function determines if the device has swappable partitions.

Syntax

int mcu_can_swap(
        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 has partitions that can be swapped, or zero otherwise.

Notes

For some of the target devices, such as PIC32MZ, this condition is permanent. For others, such as dsPIC33CK, the condition may change depending on the device configuration.

 

Minimum library version - 163

Northern Software Home NSDSP Contact Us Purchase/View Cart

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