This module contains common APIs declarations.
signed char sint8
Range of values between -128 to 127.
sint8 nm_spi_read_reg_with_ret(uint32 u32Addr, uint32 *pu32RetVal)
unsigned short uint16
Range of values between 0 to 65535.
sint8 nm_spi_write_reg(uint32 u32Addr, uint32 u32Val)
sint8 nm_spi_init(void)
Initialize the SPI.
sint8 nm_spi_write_block(uint32 u32Addr, uint8 *puBuf, uint16 u16Sz)
uint32 nm_spi_read_reg(uint32 u32Addr)
unsigned long uint32
Range of values between 0 to 4294967295.
unsigned char uint8
Range of values between 0 to 255.
sint8 nm_spi_read_block(uint32 u32Addr, uint8 *puBuf, uint16 u16Sz)
sint8 nm_spi_deinit(void)
DeInitialize the SPI.