開源藍芽ble-1_DA14580初級入門教程3_DA1458x軟體基礎教程
4.2.4 GPIO_IRQ3中斷源選擇暫存器..........................................................15 4.2.5 GPIO_IRQ4中斷源選擇暫存器..........................................................15 4.2.6 GPIO延時暫存器............................................................................... 15 4.2.7 GPIO中斷復位暫存器....................................................................... 4.2.8 GPIO中斷電平控制暫存器............................................................... 16 4.2.9鍵盤中斷源選擇暫存器0.................................................................17 4.2.10鍵盤中斷源選擇暫存器1...............................................................18 4.2.11鍵盤中斷源選擇暫存器2...............................................................19 4.3暫存器配置講解...........................................................................................19 第五節 I2C...................................................................................................................21 5.1 I2C介紹..........................................................................................................21 5.2暫存器介紹...................................................................................................21 5.2.1 I2C控制暫存器...................................................................................21 5.2.2 I2C目標地址暫存器...........................................................................22 5.2.3 I2C接收發送資料快取與命令暫存器...............................................22 5.2.4 I2C清除TX_ABRT中斷......................................................................23 5.2.5 I2C使能暫存器...................................................................................23 5.2.6 I2C狀態暫存器...................................................................................24 5.2.7 I2C接收FIFO數目暫存器................................................................. 25 5.2.8 I2C傳送異常終止源暫存器...............................................................25 5.3暫存器配置講解...........................................................................................26 第六節 SPI+.................................................................................................................28 6.1 SPI+介紹.........................................................................................................28 6.2暫存器介紹...................................................................................................28 6.2.1 SPI控制暫存器0................................................................................28 6.2.2 SPI接收/傳送暫存器0...................................................................... 29 6.2.3 SPI接收/傳送暫存器1...................................................................... 29 6.2.4 SPI清除中斷暫存器...........................................................................29 6.2.5 SPI控制暫存器1................................................................................29 6.3暫存器配置講解...........................................................................................30 第七節 UART...............................................................................................................31 7.1 UART介紹......................................................................................................31 7.2 UART暫存器..................................................................................................31 7.2.1接收緩衝暫存器................................................................................31 7.2.2中斷使能暫存器................................................................................32 7.2.3中斷識別暫存器/FIFO控制暫存器..................................................33 7.2.4通訊線控制暫存器............................................................................34 7.2.5調製器控制暫存器............................................................................34 7.2.6通訊線狀態暫存器............................................................................36 7.3暫存器配置講解...........................................................................................38 |