mcu_can_partition
mcu_partition 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_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
© 2007-2026 Northern Software Inc. All Rights Reserved.