雷竞技电竞平台对话半导体客户支持- SPI从中断 https://support.dialog-semiconductor.com/resource-keywords/spi-slave-interrupt 从模式SPI中断 https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-%E2%80%93-software/spi-interrupt-slave-mode < div class = "字段field-name-taxonomy-forums field-type-taxonomy-term-reference field-label-above”> < div class = "字段标签" >论坛:,< / div > < div class = "字段条目" > < div class =”field-item甚至“rel = " sioc: has_container " > < a href = " /论坛/ dialog-smartbond-bluetooth-low-energy - % E2 % 80% 93 -软件”“=“sioc:容器sioc:论坛”属性= " rdfs: label skos: prefLabel”数据类型= " " >对话框Smartbond蓝牙低能量-软件< / > < / div > < / div > < / div > < div class =”字段field-name-body field-type-text-with-summary field-label-hidden”> < div class = "字段条目" > < div class =”field-item甚至“财产=“内容:编码”> < p >你好,< / p > < p >我在SPI操作设置DA14585奴隶模式。下面是我的代码来初始化SPI:

//SPI
SPI_Pad_t realSSTag;
realSSTag. port = GPIO_PORT_2;
RESERVE_GPIO(realSCLK, GPIO_PORT_2, GPIO_PIN_7, PID_GPIO);
RESERVE_GPIO(realMOSI, GPIO_PORT_2, GPIO_PIN_9, PID_GPIO);
GPIO_ConfigurePin(GPIO_PORT_2, GPIO_PIN_5, INPUT_PULLUP, PID_SPI_EN, true);
GPIO_ConfigurePin(GPIO_PORT_2, GPIO_PIN_9, INPUT_PULLDOWN, PID_SPI_DI, false);
spi_init(&
NVIC_ClearPendingIRQ(SPI_IRQn)
NVIC_EnableIRQ(SPI_IRQn);

为SPI中断注册回调函数的正确方法是什么?之前的一些帖子提到了以spi_hci开头的函数,但看起来这些函数在SDK6中已经消失了。< / p > < / div > < / div > < / div > < div class =”字段field-name-field-forum-keywords field-type-taxonomy-term-reference field-label-above”> < div class = "字段标签" >关键词:,< / div > < div class = "字段条目" > < div class =”field-item甚至“> < a href = " / resource-keywords / spi-slave-interrupt”“=“skos:概念”属性=“rdfs: label skos: prefLabel”数据类型= " " > SPISlave Interrupt

Device: 
星期五,2019年3月1日19:56:29 +0000 jbuttelmann 290455年https://support.dialog-semiconductor.com https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-%E2%80%93-software/spi-interrupt-slave-mode#comments