User Tools

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
code:fx3_api [2024/04/26 23:13] – [Camera peripherals] Igor Yefmovcode:fx3_api [2024/04/26 23:21] (current) – [Camera peripherals] Igor Yefmov
Line 191: Line 191:
 | Fan control and monitoring | ''0xE2'' | See [[#Fan control and monitoring function selector]] | depends on selected function |  R/W  | \(1\) or \(2\) | This API is available in gen4 v.114 and gen5 v.1\\ \\ For function selector values refer to [[#Fan control and monitoring function selector]] | | Fan control and monitoring | ''0xE2'' | See [[#Fan control and monitoring function selector]] | depends on selected function |  R/W  | \(1\) or \(2\) | This API is available in gen4 v.114 and gen5 v.1\\ \\ For function selector values refer to [[#Fan control and monitoring function selector]] |
 | Temperature sensor(s)|''0xE3''| See [[#Temperature sensor monitoring function selector]] | depends on selected function |  R/O  | \(1\) | This API is available in gen4 v.114 and gen5 v.1\\ \\ For function selector values refer to [[#Temperature sensor monitoring function selector]] below | | Temperature sensor(s)|''0xE3''| See [[#Temperature sensor monitoring function selector]] | depends on selected function |  R/O  | \(1\) | This API is available in gen4 v.114 and gen5 v.1\\ \\ For function selector values refer to [[#Temperature sensor monitoring function selector]] below |
-|mFT|''0xE4''| see Notes | see Notes |  R/W  | varies | For reads:\\ wValue is the number of data bytes to read from the last mFT command's response or a ''0'' to get the status\\ For writes:\\ - wIndex MSB: command type\\ - wIndex LSB: command code\\ - wValue MSB: param1\\ - wValue LSB: param2 |+|mFT|''0xE4''| see Notes | see Notes |  R/W  | varies | This API requires gen5 v.1\\ For reads:\\ wValue is the number of data bytes to read from the last mFT command's response or a ''0'' to get the status, defined as follows:\\ <code c++>struct MftStatus final{ 
 +    bool ready         : 1; // LSB 
 +    bool cmd_done      : 1; 
 +    bool in_fifo_empty : 1; 
 +    bool in_fifo_full  : 1; 
 +    bool crc_error     : 1; 
 +    bool to_error      : 1; 
 +    uint8_t res0       : 2; 
 +    uint8_t res1; 
 +    uint8_t in_fifo_data_count; 
 +    uint8_t res2;           // MSB 
 +};</code> For writes:\\ - wIndex MSB: command type\\ - wIndex LSB: command code\\ - wValue MSB: param1\\ - wValue LSB: param2 |
 |Reserved|''0xE5''| | | | |Reserved|''0xE5''| | | |
 |Reserved|''0xE6''| | | | |Reserved|''0xE6''| | | |

This website uses cookies. By using the website, you agree with storing cookies on your computer. Also, you acknowledge that you have read and understand our Privacy Policy. If you do not agree, please leave the website.

More information