_start_secondary and _stop_secondary Functions

Start or stop the Secondary core after the image has been loaded by the Main core.

Include

<libpic30.h>

Prototypes

void _start_secondary(void)

void _stop_secondary(void)

Arguments

None.

Return Value

None.

Remarks

None.

Default Behavior

The _start_secondary and _stop_secondary routines perform the MNl1KEY unlock sequence and set or clear the SECEN bit (MNl1CON[15]) respectively.

Files

start_secondary.c (in libpic30.zip>data_init_dualch.S)

stop_secondary.c (in libpic30.zip>data_init_dualch.S)