Skip to content

Commit

Permalink
fix(Documentation): Fix Inaccurate SPI Threshold Docstrings (#1096)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jake-Carter authored Aug 27, 2024
1 parent 3fa3d21 commit 428abd6
Show file tree
Hide file tree
Showing 16 changed files with 32 additions and 32 deletions.
4 changes: 2 additions & 2 deletions Libraries/PeriphDrivers/Include/MAX32520/spi.h
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ void MXC_SPI_ClearTXFIFO(mxc_spi_regs_t *spi);
*
* @param spi Pointer to SPI registers (selects the SPI block used.)
* @param numBytes The threshold level to set. This value must be
* between 0 and 8 inclusive.
* between 0 and 30 inclusive.
*
* @return Success/Fail, see \ref MXC_Error_Codes for a list of return codes.
*/
Expand Down Expand Up @@ -433,7 +433,7 @@ unsigned int MXC_SPI_GetRXThreshold(mxc_spi_regs_t *spi);
*
* @param spi Pointer to SPI registers (selects the SPI block used.)
* @param numBytes The threshold level to set. This value must be
* between 0 and 8 inclusive.
* between 0 and 30 inclusive.
*
* @return Success/Fail, see \ref MXC_Error_Codes for a list of return codes.
*/
Expand Down
4 changes: 2 additions & 2 deletions Libraries/PeriphDrivers/Include/MAX32570/spi.h
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,7 @@ void MXC_SPI_ClearTXFIFO(mxc_spi_regs_t *spi);
*
* @param spi Pointer to SPI registers (selects the SPI block used.)
* @param numBytes The threshold level to set. This value must be
* between 0 and 8 inclusive.
* between 0 and 30 inclusive.
*
* @return Success/Fail, see \ref MXC_Error_Codes for a list of return codes.
*/
Expand Down Expand Up @@ -440,7 +440,7 @@ unsigned int MXC_SPI_GetRXThreshold(mxc_spi_regs_t *spi);
*
* @param spi Pointer to SPI registers (selects the SPI block used.)
* @param numBytes The threshold level to set. This value must be
* between 0 and 8 inclusive.
* between 0 and 30 inclusive.
*
* @return Success/Fail, see \ref MXC_Error_Codes for a list of return codes.
*/
Expand Down
4 changes: 2 additions & 2 deletions Libraries/PeriphDrivers/Include/MAX32572/spi.h
Original file line number Diff line number Diff line change
Expand Up @@ -550,7 +550,7 @@ void MXC_SPI_ClearRXFIFO(mxc_spi_regs_t *spi);
*
* @param spi Pointer to SPI instance's registers.
* @param numBytes The threshold level to set. This value must be
* between 0 and 8 inclusive.
* between 0 and 30 inclusive.
*
* @return Success/Fail, see \ref MXC_Error_Codes for a list of return codes.
*/
Expand All @@ -569,7 +569,7 @@ int MXC_SPI_SetTXThreshold(mxc_spi_regs_t *spi, unsigned int numBytes);
*
* @param spi Pointer to SPI instance's registers.
* @param numBytes The threshold level to set. This value must be
* between 0 and 8 inclusive.
* between 0 and 30 inclusive.
*
* @return Success/Fail, see \ref MXC_Error_Codes for a list of return codes.
*/
Expand Down
4 changes: 2 additions & 2 deletions Libraries/PeriphDrivers/Include/MAX32650/spi.h
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,7 @@ void MXC_SPI_ClearTXFIFO(mxc_spi_regs_t *spi);
*
* @param spi Pointer to SPI registers (selects the SPI block used.)
* @param numBytes The threshold level to set. This value must be
* between 0 and 8 inclusive.
* between 0 and 30 inclusive.
*
* @return Success/Fail, see \ref MXC_Error_Codes for a list of return codes.
*/
Expand Down Expand Up @@ -443,7 +443,7 @@ unsigned int MXC_SPI_GetRXThreshold(mxc_spi_regs_t *spi);
*
* @param spi Pointer to SPI registers (selects the SPI block used.)
* @param numBytes The threshold level to set. This value must be
* between 0 and 8 inclusive.
* between 0 and 30 inclusive.
*
* @return Success/Fail, see \ref MXC_Error_Codes for a list of return codes.
*/
Expand Down
4 changes: 2 additions & 2 deletions Libraries/PeriphDrivers/Include/MAX32655/spi.h
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,7 @@ void MXC_SPI_ClearTXFIFO(mxc_spi_regs_t *spi);
*
* @param spi Pointer to SPI registers (selects the SPI block used.)
* @param numBytes The threshold level to set. This value must be
* between 0 and 8 inclusive.
* between 0 and 30 inclusive.
*
* @return Success/Fail, see \ref MXC_Error_Codes for a list of return codes.
*/
Expand Down Expand Up @@ -485,7 +485,7 @@ unsigned int MXC_SPI_GetRXThreshold(mxc_spi_regs_t *spi);
*
* @param spi Pointer to SPI registers (selects the SPI block used.)
* @param numBytes The threshold level to set. This value must be
* between 0 and 8 inclusive.
* between 0 and 30 inclusive.
*
* @return Success/Fail, see \ref MXC_Error_Codes for a list of return codes.
*/
Expand Down
4 changes: 2 additions & 2 deletions Libraries/PeriphDrivers/Include/MAX32657/spi.h
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,7 @@ void MXC_SPI_ClearTXFIFO(mxc_spi_regs_t *spi);
*
* @param spi Pointer to SPI registers (selects the SPI block used.)
* @param numBytes The threshold level to set. This value must be
* between 0 and 8 inclusive.
* between 0 and 30 inclusive.
*
* @return Success/Fail, see \ref MXC_Error_Codes for a list of return codes.
*/
Expand Down Expand Up @@ -484,7 +484,7 @@ unsigned int MXC_SPI_GetRXThreshold(mxc_spi_regs_t *spi);
*
* @param spi Pointer to SPI registers (selects the SPI block used.)
* @param numBytes The threshold level to set. This value must be
* between 0 and 8 inclusive.
* between 0 and 30 inclusive.
*
* @return Success/Fail, see \ref MXC_Error_Codes for a list of return codes.
*/
Expand Down
4 changes: 2 additions & 2 deletions Libraries/PeriphDrivers/Include/MAX32660/spi.h
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@ void MXC_SPI_ClearTXFIFO(mxc_spi_regs_t *spi);
*
* @param spi Pointer to SPI registers (selects the SPI block used.)
* @param numBytes The threshold level to set. This value must be
* between 0 and 8 inclusive.
* between 0 and 30 inclusive.
*
* @return Success/Fail, see \ref MXC_Error_Codes for a list of return codes.
*/
Expand Down Expand Up @@ -439,7 +439,7 @@ unsigned int MXC_SPI_GetRXThreshold(mxc_spi_regs_t *spi);
*
* @param spi Pointer to SPI registers (selects the SPI block used.)
* @param numBytes The threshold level to set. This value must be
* between 0 and 8 inclusive.
* between 0 and 30 inclusive.
*
* @return Success/Fail, see \ref MXC_Error_Codes for a list of return codes.
*/
Expand Down
4 changes: 2 additions & 2 deletions Libraries/PeriphDrivers/Include/MAX32662/spi.h
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,7 @@ void MXC_SPI_ClearTXFIFO(mxc_spi_regs_t *spi);
*
* @param spi Pointer to SPI registers (selects the SPI block used.)
* @param numBytes The threshold level to set. This value must be
* between 0 and 8 inclusive.
* between 0 and 30 inclusive.
*
* @return Success/Fail, see \ref MXC_Error_Codes for a list of return codes.
*/
Expand Down Expand Up @@ -463,7 +463,7 @@ unsigned int MXC_SPI_GetRXThreshold(mxc_spi_regs_t *spi);
*
* @param spi Pointer to SPI registers (selects the SPI block used.)
* @param numBytes The threshold level to set. This value must be
* between 0 and 8 inclusive.
* between 0 and 30 inclusive.
*
* @return Success/Fail, see \ref MXC_Error_Codes for a list of return codes.
*/
Expand Down
4 changes: 2 additions & 2 deletions Libraries/PeriphDrivers/Include/MAX32665/spi.h
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ void MXC_SPI_ClearTXFIFO(mxc_spi_regs_t *spi);
*
* @param spi Pointer to SPI registers (selects the SPI block used.)
* @param numBytes The threshold level to set. This value must be
* between 0 and 8 inclusive.
* between 0 and 30 inclusive.
*
* @return Success/Fail, see \ref MXC_Error_Codes for a list of return codes.
*/
Expand Down Expand Up @@ -441,7 +441,7 @@ unsigned int MXC_SPI_GetRXThreshold(mxc_spi_regs_t *spi);
*
* @param spi Pointer to SPI registers (selects the SPI block used.)
* @param numBytes The threshold level to set. This value must be
* between 0 and 8 inclusive.
* between 0 and 30 inclusive.
*
* @return Success/Fail, see \ref MXC_Error_Codes for a list of return codes.
*/
Expand Down
4 changes: 2 additions & 2 deletions Libraries/PeriphDrivers/Include/MAX32670/spi.h
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@ void MXC_SPI_ClearTXFIFO(mxc_spi_regs_t *spi);
*
* @param spi Pointer to SPI registers (selects the SPI block used.)
* @param numBytes The threshold level to set. This value must be
* between 0 and 8 inclusive.
* between 0 and 30 inclusive.
*
* @return Success/Fail, see \ref MXC_Error_Codes for a list of return codes.
*/
Expand Down Expand Up @@ -439,7 +439,7 @@ unsigned int MXC_SPI_GetRXThreshold(mxc_spi_regs_t *spi);
*
* @param spi Pointer to SPI registers (selects the SPI block used.)
* @param numBytes The threshold level to set. This value must be
* between 0 and 8 inclusive.
* between 0 and 30 inclusive.
*
* @return Success/Fail, see \ref MXC_Error_Codes for a list of return codes.
*/
Expand Down
4 changes: 2 additions & 2 deletions Libraries/PeriphDrivers/Include/MAX32672/spi.h
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,7 @@ void MXC_SPI_ClearTXFIFO(mxc_spi_regs_t *spi);
*
* @param spi Pointer to SPI registers (selects the SPI block used.)
* @param numBytes The threshold level to set. This value must be
* between 0 and 8 inclusive.
* between 0 and 30 inclusive.
*
* @return Success/Fail, see \ref MXC_Error_Codes for a list of return codes.
*/
Expand Down Expand Up @@ -438,7 +438,7 @@ unsigned int MXC_SPI_GetRXThreshold(mxc_spi_regs_t *spi);
*
* @param spi Pointer to SPI registers (selects the SPI block used.)
* @param numBytes The threshold level to set. This value must be
* between 0 and 8 inclusive.
* between 0 and 30 inclusive.
*
* @return Success/Fail, see \ref MXC_Error_Codes for a list of return codes.
*/
Expand Down
4 changes: 2 additions & 2 deletions Libraries/PeriphDrivers/Include/MAX32675/spi.h
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,7 @@ void MXC_SPI_ClearTXFIFO(mxc_spi_regs_t *spi);
*
* @param spi Pointer to SPI registers (selects the SPI block used.)
* @param numBytes The threshold level to set. This value must be
* between 0 and 8 inclusive.
* between 0 and 30 inclusive.
*
* @return Success/Fail, see \ref MXC_Error_Codes for a list of return codes.
*/
Expand Down Expand Up @@ -438,7 +438,7 @@ unsigned int MXC_SPI_GetRXThreshold(mxc_spi_regs_t *spi);
*
* @param spi Pointer to SPI registers (selects the SPI block used.)
* @param numBytes The threshold level to set. This value must be
* between 0 and 8 inclusive.
* between 0 and 30 inclusive.
*
* @return Success/Fail, see \ref MXC_Error_Codes for a list of return codes.
*/
Expand Down
4 changes: 2 additions & 2 deletions Libraries/PeriphDrivers/Include/MAX32680/spi.h
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,7 @@ void MXC_SPI_ClearTXFIFO(mxc_spi_regs_t *spi);
*
* @param spi Pointer to SPI registers (selects the SPI block used.)
* @param numBytes The threshold level to set. This value must be
* between 0 and 8 inclusive.
* between 0 and 30 inclusive.
*
* @return Success/Fail, see \ref MXC_Error_Codes for a list of return codes.
*/
Expand Down Expand Up @@ -461,7 +461,7 @@ unsigned int MXC_SPI_GetRXThreshold(mxc_spi_regs_t *spi);
*
* @param spi Pointer to SPI registers (selects the SPI block used.)
* @param numBytes The threshold level to set. This value must be
* between 0 and 8 inclusive.
* between 0 and 30 inclusive.
*
* @return Success/Fail, see \ref MXC_Error_Codes for a list of return codes.
*/
Expand Down
4 changes: 2 additions & 2 deletions Libraries/PeriphDrivers/Include/MAX32690/spi.h
Original file line number Diff line number Diff line change
Expand Up @@ -548,7 +548,7 @@ void MXC_SPI_ClearRXFIFO(mxc_spi_regs_t *spi);
*
* @param spi Pointer to SPI instance's registers.
* @param numBytes The threshold level to set. This value must be
* between 0 and 8 inclusive.
* between 0 and 30 inclusive.
*
* @return Success/Fail, see \ref MXC_Error_Codes for a list of return codes.
*/
Expand All @@ -567,7 +567,7 @@ int MXC_SPI_SetTXThreshold(mxc_spi_regs_t *spi, unsigned int numBytes);
*
* @param spi Pointer to SPI instance's registers.
* @param numBytes The threshold level to set. This value must be
* between 0 and 8 inclusive.
* between 0 and 30 inclusive.
*
* @return Success/Fail, see \ref MXC_Error_Codes for a list of return codes.
*/
Expand Down
4 changes: 2 additions & 2 deletions Libraries/PeriphDrivers/Include/MAX78000/spi.h
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,7 @@ void MXC_SPI_ClearTXFIFO(mxc_spi_regs_t *spi);
*
* @param spi Pointer to SPI registers (selects the SPI block used.)
* @param numBytes The threshold level to set. This value must be
* between 0 and 8 inclusive.
* between 0 and 30 inclusive.
*
* @return Success/Fail, see \ref MXC_Error_Codes for a list of return codes.
*/
Expand Down Expand Up @@ -456,7 +456,7 @@ unsigned int MXC_SPI_GetRXThreshold(mxc_spi_regs_t *spi);
*
* @param spi Pointer to SPI registers (selects the SPI block used.)
* @param numBytes The threshold level to set. This value must be
* between 0 and 8 inclusive.
* between 0 and 30 inclusive.
*
* @return Success/Fail, see \ref MXC_Error_Codes for a list of return codes.
*/
Expand Down
4 changes: 2 additions & 2 deletions Libraries/PeriphDrivers/Include/MAX78002/spi.h
Original file line number Diff line number Diff line change
Expand Up @@ -549,7 +549,7 @@ void MXC_SPI_ClearRXFIFO(mxc_spi_regs_t *spi);
*
* @param spi Pointer to SPI instance's registers.
* @param numBytes The threshold level to set. This value must be
* between 0 and 8 inclusive.
* between 0 and 30 inclusive.
*
* @return Success/Fail, see \ref MXC_Error_Codes for a list of return codes.
*/
Expand All @@ -568,7 +568,7 @@ int MXC_SPI_SetTXThreshold(mxc_spi_regs_t *spi, unsigned int numBytes);
*
* @param spi Pointer to SPI instance's registers.
* @param numBytes The threshold level to set. This value must be
* between 0 and 8 inclusive.
* between 0 and 30 inclusive.
*
* @return Success/Fail, see \ref MXC_Error_Codes for a list of return codes.
*/
Expand Down

0 comments on commit 428abd6

Please sign in to comment.