| Electronic Components Datasheet Search |
|
AN3393 Datasheet(PDF) 61 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN3393 Datasheet(HTML) 61 Page - STMicroelectronics |
|
61 / 103 page ![]() DocID018750 Rev 4 61/103 AN3393 Operation codes 103 This command affects or is affected by the following registers: – PRy: Program and Reset pointer addresses; – THRS1_y: Threshold 1 limit value. 6.2.9 OUTC (88h) OUTC stands for output command. This command sets the outputs to the output registers. The OUTC command has no parameters and it is an “Immediately executed” type. An interrupt is triggered when the OUTC command is performed. Actions: 1. OUTSy is updated to the selected temporary mask value. 2. Set output signal: STAT, bit INT_SMy = 1. 3. If SETTy, bit P_DET = 1: PEAKy = 0. This command affects or is affected by the following registers: – MASKy_A and MASKy_B: Axis mask filter values; – OUTSy: Output value of State Machine y; – STAT, bit INT_SMy: Interrupt indicator of State Program y; – SETTy, bit P_DET: Peak detection settings; – PEAKy: Peak output value; – PRy: Program and Reset pointer addresses. 6.2.10 OUTW (99h) OUTW stands for “output command and acknowledge from host”. This command performs output actions (like the OUTC command) generating an interrupt. After that, the command waits for a host action before continuing the state machine execution. The host action is the reading of register OUTSy (5Fh / 7Fh). This command has no parameters and it is an “Executed after trigger” type. Actions; 1. OUTSy is updated to selected temporary mask value. 2. Set output signals: – STAT, bit INT_SMy = 1; – STAT, bit SYNCW = 1. 3. Stop and wait\; 4. Waits for reading of OUTSy register for release of interrupt information: – If OUTSy > 0 then wait for the releasing of the OUTSy register (State Machine y waits for host actions). 5. If OUTSy released, OUTSy == 0: – STAT, bit SYNCW = 0; – STAT, bit INT_SMy = 0. 6. If SETTy, bit P_DET = 1: PEAKy = 0. 7. Continue State Machine y execution. |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |