|
0.3.1
|
Typedefs | |
| typedef enum cpu_smpc_cmd | cpu_smpc_cmd_t |
| SMPC commands. | |
Enumerations | |
| enum | cpu_smpc_cmd |
| SMPC commands. More... | |
Functions | |
| static void | smpc_smc_wait (bool enter) |
| Wait either to call an SMPC command, or wait until called SMPC command has ended. | |
| static uint8_t | smpc_smc_call (cpu_smpc_cmd_t cmd) |
| Call an SMPC command. | |
| static uint8_t | smpc_smc_cdoff_call (void) |
| Call SMPC command to turn CD-block off. | |
| static uint8_t | smpc_smc_cdon_call (void) |
| SMPC command to turn CD-block on. | |
| static uint8_t | smpc_smc_ckchg320_call (void) |
| Call SMPC command to change clock to 320-mode. | |
| static uint8_t | smpc_smc_ckchg352_call (void) |
| Call SMPC command to change clock to 352-mode. | |
| static uint8_t | smpc_smc_intback_call (uint8_t ireg0, uint8_t ireg1) |
| Call SMPC command to acquire SMPC status and peripheral data. | |
| static uint8_t | smpc_smc_mshon_call (void) |
| Call SMPC command to turn master CPU on. | |
| static uint8_t | smpc_smc_nmireq_call (void) |
| Call SMPC command to send an NMI request to the master CPU. | |
| static uint8_t | smpc_smc_resdisa_call (void) |
| SMPC command to acquire SMPC status and peripheral data. | |
| static uint8_t | smpc_smc_resenab_call (void) |
| Call SMPC command to enable NMI generation. | |
| static uint8_t | smpc_smc_setsmem_call (void) |
| Call SMPC command to set data to SMEM. | |
| static uint8_t | smpc_smc_sndoff_call (void) |
| Call SMPC command to turn sound CPU off. | |
| static uint8_t | smpc_smc_sndon_call (void) |
| Call SMPC command to turn sound CPU on. | |
| static uint8_t | smpc_smc_sshoff_call (void) |
| Call SMPC command to turn slave CPU off. | |
| static uint8_t | smpc_smc_sshon_call (void) |
| Call SMPC command to turn slave CPU on. | |
| static void | smpc_smc_sysres_call (void) |
| Call SMPC command to reset the system. | |
Description goes here.
| enum cpu_smpc_cmd |
SMPC commands.
|
inlinestatic |
Wait either to call an SMPC command, or wait until called SMPC command has ended.
If enter is false, wait until the called SMPC command has ended. If is true, then wait until the SMPC is ready for another command to be called.
| enter | Wait to call or wait for SMPC command |
|
inlinestatic |
Call an SMPC command.
| cmd | The SMPC command |
|
inlinestatic |
Call SMPC command to turn CD-block off.
|
inlinestatic |
SMPC command to turn CD-block on.
|
inlinestatic |
Call SMPC command to change clock to 320-mode.
|
inlinestatic |
Call SMPC command to change clock to 352-mode.
Call SMPC command to acquire SMPC status and peripheral data.
This function does not wait until the SMPC INTBACK command ends. This is purposely done for asynchronous reasons.
| ireg0 | |
| ireg1 |
|
inlinestatic |
Call SMPC command to turn master CPU on.
|
inlinestatic |
Call SMPC command to send an NMI request to the master CPU.
|
inlinestatic |
SMPC command to acquire SMPC status and peripheral data.
|
inlinestatic |
Call SMPC command to enable NMI generation.
|
inlinestatic |
Call SMPC command to set data to SMEM.
|
inlinestatic |
Call SMPC command to turn sound CPU off.
|
inlinestatic |
Call SMPC command to turn sound CPU on.
|
inlinestatic |
Call SMPC command to turn slave CPU off.
|
inlinestatic |
Call SMPC command to turn slave CPU on.
|
inlinestatic |
Call SMPC command to reset the system.