Hi,
I'm sorry but i cannot find in the discussion the definition of this structure NRF_SPIM_Type
it is not defined in nrf_spim.h
typedef struct
{
NRF_SPIM_Type * p_reg; ///< Pointer to a structure with SPIM registers.
uint8_t drv_inst_idx; ///< Index of the driver instance. For internal use only.
} nrfx_spim_t;
ok, what is a structure of SPIM registers and ho to use it!!!
i don't know what is a SPIM register.
My aim is to use the following class provided by adafruit I think
class SPIClass {
public:
SPIClass(NRF_SPIM_Type *p_spi, uint8_t uc_pinMISO, uint8_t uc_pinSCK, uint8_t uc_pinMOSI);
....
and i need to provide to the constructor a p_spi....
thank you
Vincent