mcu_can_swap
mcu_test_memory mcu_hex_factor mcu_instruction_bits mcu_config_bits mcu_eeprom_bits mcu_uid_bits mcu_instruction_spacing mcu_config_spacing mcu_eeprom_spacing mcu_uid_spacing mcu_erase_page_size mcu_write_row_size mcu_id mcu_can_use_method mcu_can_debug mcu_debug_cap mcu_bp_classes mcu_bp_class_first mcu_bp_class_count mcu_bp_class_cap mcu_bp_class_max_count mcu_debug_rom_reserve mcu_debug_ram_reservemcu_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
© 2007-2025 Northern Software Inc. All Rights Reserved.