![]() |
MAX32665 SDK Documentation
0.2
Software Development Kit Overview and API Documentation
|
Modules | |
| SPIXR_Registers | |
| Registers, Bit Masks and Bit Positions for the SPIXR Peripheral Module. | |
Data Structures | |
| struct | spixr_cfg_t |
| Structure type for configuring a SPIXR port. More... | |
Enumerations | |
| enum | spixr_width_t { SPIXR_MONO = MXC_V_SPIXR_CTRL3_DATA_WIDTH_MONO, SPIXR_DUAL = MXC_V_SPIXR_CTRL3_DATA_WIDTH_DUAL, SPIXR_QUAD = MXC_V_SPIXR_CTRL3_DATA_WIDTH_QUAD } |
| Enum to define SPIXR data width. | |
Functions | |
| int | SPIXR_Config (const spixr_cfg_t *cfg) |
| Initialize the SPI RAM XIP Data module. More... | |
| void | SPIXR_Enable (const sys_cfg_spixr_t *sys_cfg) |
| Enable the SPI RAM XIP Data module. More... | |
| void | SPIXR_Send_Command (uint8_t *cmd, uint32_t length, uint32_t tx_num_char) |
| Send a SPI formatted instruction to external RAM. More... | |
| void | SPIXR_Disable (void) |
| Disable the SPI RAM XIP Data module. | |
| int | SPIXR_Busy (void) |
| SPI active status. More... | |
| int SPIXR_Config | ( | const spixr_cfg_t * | cfg | ) |
| cfg | initialize SPIXR parameters |
| void SPIXR_Enable | ( | const sys_cfg_spixr_t * | sys_cfg | ) |
| sys_cfg | System configuration object |
| void SPIXR_Send_Command | ( | uint8_t * | cmd, |
| uint32_t | length, | ||
| uint32_t | tx_num_char | ||
| ) |
| cmd | Array of instructions to send |
| length | number of bytes to send |
| tx_num_char | number of bytes to send |
| int SPIXR_Busy | ( | void | ) |
In Master mode, set when transaction starts, cleared when last bit of last character is acted upon and Slave Select de-assertion would occur.