NOVA electronics Inc. MCX514 -
70
-
70
-
2.6.4
Synchronous Action Execution
■
Execution steps of synchronous action
Synchronous action is performed as follows.
①
Set the activation factor and action by synchronous action SYNCm setting command (26h~29h).
②
Enable the synchronous action set by synchronous action enable setting command (81h~8Fh).
③
The synchronous action is activated when the activation factor that is set occurs.
■
Activation by synchronous action activation command
The synchronous action can also be activated by a command, which is the synchronous action activation command (A1h~Ah).
Multiple synchronous action sets can be activated simultaneously by a command code. For the command code and corresponding
synchronous action SYNC3~0, see table 2.6-7.
To activate a synchronous action by a synchronous action activation command, the user must enable a specified synchronous
action set by a synchronous action enable setting command.
■
S
ynchronous action enable / disable state
The state of a synchronous action set can be checked by D3
~
D0 bits (SYNC3~SYNC0) of RR3 register Page1.
1 indicates enable of the synchronous action set, 0 indicates disable of the synchronous action set.
Enable / Disable state of synchronous action set 3
Enable / Disable state of synchronous action set 2
Enable / Disable state of synchronous action set 1
Enable / Disable state of synchronous action set 0
SYNC0
D7
D6
D5
D4
H
L
D15
D14
D13
D12
D11
D10
D9
D8
D3
D2
D1
D0
SYNC1
SYNC2
SYNC3
RR3 Page1
2.6.5
Interrupt by Synchronous Action
The user can generate an interrupt when a synchronous action is activated.
It is set to D15~D12 bits (SYNC3~SYNC0) of WR1 register.
When these bits are set to 1, an interrupt occurs when the activation factor of the synchronous action set corresponding to the bit is
activated.
For more details of the interrupt, see chapter 2.10.