Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision |
code:fx3_api [2024/04/04 13:04] – [I²C access] Igor Yefmov | code:fx3_api [2024/04/26 23:21] (current) – [Camera peripherals] Igor Yefmov |
---|
| 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 | |
|Reserved|''0xE4''| | | | | |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''| | | | |