Fujitsu FR20 ユーザーズマニュアル

ページ / 348
273
Save/Return Processes 
When the internal status of the bit search module needs to be saved/returned, for example using the bit
search module during interrupt handling, follow the procedure below.
1. Read the 1 detection data register and store the read data (Save).
2. Use the bit search module. 
3. Write the data saved in step 1) to the 1 detection data register (Return).
As per the above operation, the value acquired when reading the detection result register for the next time is
in accordance with the contents written to the bit search module before 1). Even if the data register that was
written last is for 0 detection or change point detection, correctly returns by following the above procedure.