{"id":2664,"date":"2023-01-23T13:23:31","date_gmt":"2023-01-23T05:23:31","guid":{"rendered":"http:\/\/www.hellofpga.com\/?p=2664"},"modified":"2023-01-23T13:23:31","modified_gmt":"2023-01-23T05:23:31","slug":"smart-zynq_ps_interrupt","status":"publish","type":"post","link":"http:\/\/www.hellofpga.com\/index.php\/2023\/01\/23\/smart-zynq_ps_interrupt\/","title":{"rendered":"Smart ZYNQ\u677f \u5de5\u7a0b\u5341\u516b\u00a0 \u57fa\u4e8ePS\u7aef\u7684 \u5b9a\u65f6\u5668\u4e2d\u65ad"},"content":{"rendered":"\n<p>\u548c\u6240\u6709\u7684MCU\u4e00\u6837ZYNQ\u7684PS\u7aef\u4e5f\u6709\u81ea\u5df1\u7684\u5b9a\u65f6\u5668\u4e2d\u65ad\u529f\u80fd\uff0c\u672c\u8282\u5c06\u5bf9\u8be5\u529f\u80fd\u8fdb\u884c\u6f14\u793a\u3002<\/p>\n\n\n\n<p>\u5b9a\u65f6\u5668\u4e2d\u65ad\u53ef\u4ee5\u4e3a\u7cfb\u7edf\u63d0\u4f9b\u6807\u51c6\u7684\u65f6\u949f\uff0c\u5fc3\u8df3\uff0c\u4e5f\u53ef\u4ee5\u7528\u6765\u4f5c\u4e3a\u4e3a\u4e00\u4e9b\u8ba1\u7b97\u7684\u65f6\u95f4\u57fa\u51c6\uff08\u5982\u8109\u51b2\u5bbd\u5ea6\uff0c\u8109\u51b2\u5468\u671f\u7b49\uff09\u5728\u5b9e\u9645\u9879\u76ee\u4e2d\u90fd\u662f\u5fc5\u4e0d\u53ef\u5c11\u7684\u3002<\/p>\n\n\n\n<p>ZYNQ\u4e2d\u6bcf\u4e2aARM core\u90fd\u6709\u81ea\u5df1\u7684\u79c1\u6709\u5b9a\u65f6\u5668\uff0c\u79c1\u6709\u5b9a\u65f6\u5668\u7684\u5de5\u4f5c\u9891\u7387\u4e3aCPU\u7684\u4e00\u534a\uff0c\u5982ZYNQ\u7684\u5de5\u4f5c\u9891\u7387\u4e3a666MHZ,\u5219\u5b9a\u65f6\u5668\u7684\u9891\u7387\u4e3a333MHz\uff0c\u540e\u9762\u9700\u8981\u6ce8\u610f\u8fd9\u4e2a\u65f6\u949f\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u7cfb\u7edf\u8bbe\u8ba1\uff1a<\/h2>\n\n\n\n<p>\u7cfb\u7edf\u65b9\u9762\u6211\u4eec\u5728PS\u7aef\u8bbe\u7f6e\u4e00\u4e2a\u5b9a\u65f6\u5668\uff0c\u5e76\u8ba9\u5b9a\u65f6\u5668\u6bcf\u8ba1\u6570\u6ee11ms\u89e6\u53d1\u4e00\u6b21\u4e2d\u65ad\uff0c\u5e76\u4e14\u6bcf\u7d2f\u8ba1\u4e00\u79d2\u949f\u7684\u65f6\u5019\u70b9\u4eae\u6216\u8005\u7184\u706d\u4e00\u4e2aLED\u706f\uff0c\u6765\u8fbe\u5230\u6f14\u793a\u7684\u6548\u679c\u3002<\/p>\n\n\n\n<p>\u6240\u4ee5\u6574\u4e2a\u7cfb\u7edf\u6211\u4eec\u53ea\u9700\u8981\u5728BLOCK DESIGN \u4e2d zynq\u6838\u5185 \u62d3\u5c55\u4e00\u4e2aEMIO \u7684GPIO\u53e3\uff0c\u5e76\u7528PS\u7684SDK \u7a0b\u5e8f\u7684\u5b9a\u65f6\u5668\u6bcf\u79d2\u53bb\u9a71\u52a8\u8fd9\u4e2aGPIO\u5373\u53ef\u3002<\/p>\n\n\n\n<p>EMIO\u7684\u5de5\u7a0b\u521b\u5efa\u8fd9\u91cc \u7b80\u7565\u5199\uff0c\u5b8c\u6574\u7684\u56fe\u6587\u6559\u7a0b\u53ef\u4ee5\u770b\u524d\u9762\u7684\u4f8b\u7a0b\uff0c<a href=\"http:\/\/www.hellofpga.com\/index.php\/2023\/01\/18\/smart-zynq_emil_test\/\" target=\"_blank\" rel=\"noreferrer noopener\">Smart ZYNQ\u677f \u5de5\u7a0b\u4e03 \u7528ZYNQ\u7684PS\u70b9\u4eae\u8fde\u63a5\u5230PL\u7aef\u7684LED\u706fEMIO \u65b9\u5f0f<\/a><\/p>\n\n\n\n<p>\u5728ZYNQ \u8bbe\u7f6e\u754c\u9762\uff0c\u8bbe\u7f6e DDR MT41K256M16RE-125\u7684\u578b\u53f7 \u548c\u4f4d\u5bbd16bit<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"768\" height=\"442\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/01\/image-92.png\" alt=\"\" class=\"wp-image-2668\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/01\/image-92.png 768w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/01\/image-92-300x173.png 300w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/figure>\n\n\n\n<p>\u6dfb\u52a0\u4e00\u4e2aGPIO\u7684\u63a5\u53e3\uff08EMIO\u65b9\u5f0f\uff09\u4e3a\u540e\u9762\u70b9\u4eaeLED\u505a\u51c6\u5907<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"767\" height=\"364\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-14.png\" alt=\"\" class=\"wp-image-1486\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-14.png 767w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-14-300x142.png 300w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/figure>\n\n\n\n<p>\u7b2c\u4e09 \u8bb0\u5f55\u4e0b CPU\u7684\u65f6\u949f\uff08\u8fd9\u91cc\u4e0d\u9700\u8981\u4fee\u6539 \u53ea\u9700\u8981\u770b\u4e00\u4e0b\u8bb0\u5f55\u4e0b\u5f53\u524d\u65f6\u949f\u9891\u7387\u5c31\u597d\uff09<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"935\" height=\"402\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-16.png\" alt=\"\" class=\"wp-image-1489\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-16.png 935w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-16-300x129.png 300w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-16-768x330.png 768w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/figure>\n\n\n\n<p>\u589e\u52a0\u5e76\u8bbe\u7f6eLED\u7684\u7ba1\u811a\u7ea6\u675f\uff08K16 LVCMOS33\uff09<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"571\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/01\/image-94-1024x571.png\" alt=\"\" class=\"wp-image-2675\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/01\/image-94-1024x571.png 1024w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/01\/image-94-300x167.png 300w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/01\/image-94-768x428.png 768w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/01\/image-94.png 1271w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/figure>\n\n\n\n<p>\u8bbe\u4e0b\u7684\u5bf9\u9879\u76ee\u884c\u7f16\u8bd1\u7efc\u5408\u5c31\u597d<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u7a0b\u5e8f\u8bbe\u8ba1\uff1a<\/h2>\n\n\n\n<p>\u5efa\u7acb\u4e00\u4e2aTIMER_TEST\u7a7a\u7684\u5de5\u7a0b\uff0c\u5e76\u4e14\u6dfb\u52a0main.c \u6dfb\u52a0\u5982\u4e0b\u4ee3\u7801\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">#include \"xparameters.h\"\n#include \"xgpiops.h\"\n#include \"xstatus.h\"\n#include \"xplatform_info.h\"\n#include \"xscutimer.h\"\n#include \"Xscugic.h\"\n\n#define LED    \t54\n\n#define GPIO_DEVICE_ID  \tXPAR_XGPIOPS_0_DEVICE_ID\nXGpioPs Gpio;\n\n\nvoid Gpio_Init(void){\n\tXGpioPs_Config *ConfigPtr;\n\n\tConfigPtr = XGpioPs_LookupConfig(GPIO_DEVICE_ID);\n\tXGpioPs_CfgInitialize(&amp;Gpio, ConfigPtr,ConfigPtr-&gt;BaseAddr);\n\n\tXGpioPs_SetDirectionPin(&amp;Gpio, LED, 1);\n\tXGpioPs_SetOutputEnablePin(&amp;Gpio, LED, 1);\n\tXGpioPs_WritePin(&amp;Gpio, LED, 0);\n}\n\n\n#define TIMER_DEVICE_ID XPAR_XSCUTIMER_0_DEVICE_ID\n#define INTC_DEVICE_ID XPAR_SCUGIC_SINGLE_DEVICE_ID\n#define TIMER_IRPT_INTR XPAR_SCUTIMER_INTR\n#define TIMER_LOAD_VALUE 0x514c7 \/\/666*1000*1\/2 666mhz\nstatic XScuGic Intc; \/\/GIC\nstatic XScuTimer Timer;\/\/timer\n\nstatic void SetupInterruptSystem(XScuGic *GicInstancePtr,\nXScuTimer *TimerInstancePtr, u16 TimerIntrId);\nstatic void TimerIntrHandler(void *CallBackRef);\n\nvoid SetupInterruptSystem(XScuGic *GicInstancePtr,XScuTimer *TimerInstancePtr, u16 TimerIntrId){\n\tXScuGic_Config *IntcConfig; \/\/GIC config\n\tXil_ExceptionInit();\n\t\/\/initialise the GIC\n\tIntcConfig = XScuGic_LookupConfig(INTC_DEVICE_ID);\n\tXScuGic_CfgInitialize(GicInstancePtr, IntcConfig,IntcConfig-&gt;CpuBaseAddress);\n\t\/\/connect to the hardware\n\tXil_ExceptionRegisterHandler(XIL_EXCEPTION_ID_INT,\n\t\t(Xil_ExceptionHandler)XScuGic_InterruptHandler,\n\t\tGicInstancePtr);\n\t\/\/set up the timer interrupt\n\tXScuGic_Connect(GicInstancePtr, TimerIntrId,\n\t\t(Xil_ExceptionHandler)TimerIntrHandler,\n\t\t(void *)TimerInstancePtr);\n\t\/\/enable the interrupt for the Timer at GIC\n\tXScuGic_Enable(GicInstancePtr, TimerIntrId);\n\t\/\/enable interrupt on the timer\n\tXScuTimer_EnableInterrupt(TimerInstancePtr);\n\t\/\/ Enable interrupts in the Processor.\n\tXil_ExceptionEnableMask(XIL_EXCEPTION_IRQ);\n}\n\nvolatile int ms_count;\nunsigned char led_state=0;\n\nstatic void TimerIntrHandler(void *CallBackRef){\n\tstatic int ms_count = 0; \/\/\u8ba1\u6570\n\tXScuTimer *TimerInstancePtr = (XScuTimer *) CallBackRef;\n\tXScuTimer_ClearInterruptStatus(TimerInstancePtr);\n\n\tms_count++;\n\tif(ms_count&gt;=1000){\n\t\tms_count=0;\n\t\tif(led_state==0)led_state=1;\n\t\telse led_state=0;\n\t\tXGpioPs_WritePin(&amp;Gpio, LED, led_state);\n\t}\n}\n\n\nvoid Timer_Init(){\n\tXScuTimer_Config *TMRConfigPtr;\n\tTMRConfigPtr = XScuTimer_LookupConfig(TIMER_DEVICE_ID);\n\tXScuTimer_CfgInitialize(&amp;Timer, TMRConfigPtr,TMRConfigPtr-&gt;BaseAddr);\n\tXScuTimer_SelfTest(&amp;Timer);\n\tXScuTimer_LoadTimer(&amp;Timer, TIMER_LOAD_VALUE);\n\t\/\/\u81ea\u52a8\u88c5\u8f7d\n\tXScuTimer_EnableAutoReload(&amp;Timer);\n\t\/\/\u542f\u52a8\u5b9a\u65f6\u5668\n\tXScuTimer_Start(&amp;Timer);\n\t\/\/set up the interrupts\n\tSetupInterruptSystem(&amp;Intc,&amp;Timer,TIMER_IRPT_INTR);\n}\nint main(void)\n{\n\tGpio_Init();\n\tTimer_Init();\n\n\twhile(1);\n\n\treturn 0;\n}\n<\/pre>\n\n\n\n<p><br>\u4ee3\u7801\u7b80\u5355\u4ecb\u7ecd \uff1a<\/p>\n\n\n\n<p>Timer_Init(); \u662f\u5b9a\u65f6\u5668\u7684\u521d\u59cb\u5316\u51fd\u6570\uff0c\u5728\u7cfb\u7edf\u8fd0\u884c\u7684\u65f6\u5019\uff0c\u9700\u8981\u5bf9\u5b9a\u65f6\u5668\u521d\u59cb\u5316\u624d\u80fd\u6b63\u5e38\u5de5\u4f5c\uff0c\u5176\u4e2dTIMER_LOAD_VALUE \u7528\u6765\u63a7\u5236 \u6bcf\u4e00\u6b21\u5b9a\u65f6\u5668\u89e6\u53d1\u7684\u65f6\u95f4\uff0c \u8fd8\u8bb0\u5f97\u6211\u4eec\u524d\u9762\u7684CPU\u65f6\u949f\u4e3a666mhz\u5417\uff0c\u90a3\u6211\u4eec\u7684\u5b9a\u65f6\u5668\u65f6\u949f\u5c31\u76f8\u5f53\u4e8e\u5de5\u4f5c\u57281\/2\u7684CPU\u65f6\u949f\u5373333mhz\u9891\u7387\u4e0b\u3002 \u6211\u4eec\u7684\u7cfb\u7edf\u8bbe\u7f6e\u662f\u6bcf1ms\u8fdb\u5165\u4e00\u6b21\u4e2d\u65ad\uff0c\u90a31ms\u5c31\u76f8\u5f53\u4e8e\u9700\u8981\u8ba1\u6570\uff08333000000\uff09*1\/1000=333000\u4e2a\u5468\u671f\uff0c\u90a3\u6211\u4eec\u5c31\u8bbe\u7f6eTIMER_LOAD_VALUE \u4e3a 333000-1\uff0c\u53730x514c7 (\u8fd9\u91cc\u4ee3\u88681ms\u7684\u6570\u503c\uff09<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"188\" height=\"177\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-18.png\" alt=\"\" class=\"wp-image-1495\"\/><\/figure>\n\n\n\n<p>TimerIntrHandler \u662f\u5b9a\u65f6\u5668\u7684\u56de\u8c03\u51fd\u6570\uff0c\u76f8\u5f53\u4e8e\u5355\u7247\u673a\u7684\u4e2d\u65ad\u670d\u52a1\u51fd\u6570\uff0c\u6bcf\u5f53\u4e2d\u65ad\u88ab\u89e6\u53d1\uff0c\u5c31\u4f1a\u8c03\u7528\u4e00\u6b21\u8be5\u56de\u8c03\u51fd\u6570\u3002 \u56e0\u4e3a\u662f1ms\u8fdb\u5165\u4e00\u6b21\uff0c\u6240\u4ee5\u5047\u8bbe\u6211\u4eec\u9700\u8981\u8ba1\u65701S\u949f\uff0c\u5c31\u9700\u8981\u989d\u5916\u589e\u52a0\u4e00\u4e2a\u53d8\u91cfms_count<\/p>\n\n\n\n<p>\u6bcf\u6b21\u8fdb\u5165\u8be5\u56de\u8c03\u51fd\u6570 ms_count\u90fd\u81ea\u589e\uff0c\u5f53\u5927\u4e8e\u7b49\u4e8e1000\u7684\u65f6\u5019\u8ba9ms_count\u5f52\u96f6\u5b8c\u6210\u4e00\u6b21\u5faa\u73af\uff0c\u540c\u65f6\u6267\u884c\u6211\u4eec\u7684LED\u53d8\u6362\u64cd\u4f5c\u3002 \u5982\u679c\u6211\u4eec\u6709\u5176\u4ed6\u7a0b\u5e8f\u9700\u8981\u6dfb\u52a0\uff0c\u4e5f\u53ef\u4ee5\u589e\u52a0\u5230 TimerIntrHandler\u7684\u56de\u8c03\u51fd\u6570\u949f\u3002<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">ms_count++;\nif(ms_count&gt;=1000){\n    ms_count=0;\n\n    if(led_state==0)led_state=1;\n    else led_state=0;\n    XGpioPs_WritePin(&amp;Gpio, LED, led_state);\n}<\/pre>\n\n\n\n<p>\u5bf9\u4e8emain\u51fd\u6570\u6765\u8bf4\uff0c\u6211\u4eec\u53ea\u9700\u8981\u6267\u884cGPIO \u548c\u5b9a\u65f6\u5668\u7684\u521d\u59cb\u5316\u5c31\u597d<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">int main(void){\n\tGpio_Init();\n\tTimer_Init();\n\twhile(1);\n\treturn 0;\n}<\/pre>\n\n\n\n<p>\u4e0b\u8f7d\u5230\u6211\u4eec\u7684\u677f\u5b50\u4e0a\uff0c\u53ef\u4ee5\u770b\u5230 \u4e3b\u677f\u4e0a\u7684LED \u706f\u6bcf\u79d2\u949f\u95ea\u70c1\u4e00\u6b21\uff0c \u8bf4\u660e\u6211\u4eec\u7684\u5b9a\u65f6\u5668\u7a0b\u5e8f\u6b63\u5e38\u5728\u5de5\u4f5c\u4e86\u3002<\/p>\n\n\n\n<p>\u7a0b\u5e8f\u6bd4\u8f83\u7b80\u5355\uff0c\u4ec5\u4f9b\u53c2\u8003\u5b66\u4e60\uff0c\u5bf9\u4e8eZYNQ\u7684\u5b9a\u65f6\u5668\u6765\u8bf4\uff0c\u8fd8\u6709\u5f88\u591a\u529f\u80fd\uff08\u5305\u62ec\u7528PL\u53bb\u89e6\u53d1\u5b9a\u65f6\u5668\u4e2d\u65ad\u7b49\uff09\uff0c\u9700\u8981\u5b9e\u9645\u505a\u9879\u76ee\u7684\u65f6\u5019\u81ea\u884c\u53bb\u62d3\u5c55\u4e86\u3002<\/p>\n\n\n\n<p>\u5b8c\u6574\u5de5\u7a0b\u5982\u4e0b\uff08\u4f9b\u5b66\u4e60\u53c2\u8003\uff09\uff1a<\/p>\n\n\n\n<div class=\"wp-block-file\"><a id=\"wp-block-file--media-71ca734b-6992-4731-b677-c82747b11490\" href=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/01\/18_PS_TIMER_TEST_XC7Z010_1.zip\">18_PS_TIMER_TEST_XC7Z010_1<\/a><a href=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/01\/18_PS_TIMER_TEST_XC7Z010_1.zip\" class=\"wp-block-file__button wp-element-button\" download aria-describedby=\"wp-block-file--media-71ca734b-6992-4731-b677-c82747b11490\">\u4e0b\u8f7d<\/a><\/div>\n\n\n\n<div class=\"wp-block-file\"><a id=\"wp-block-file--media-8a109c6c-5f47-4df1-a994-96f45a9b52d1\" href=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/01\/18_PS_TIMER_TEST_XC7Z020_1.zip\">18_PS_TIMER_TEST_XC7Z020_1<\/a><a href=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/01\/18_PS_TIMER_TEST_XC7Z020_1.zip\" class=\"wp-block-file__button wp-element-button\" download aria-describedby=\"wp-block-file--media-8a109c6c-5f47-4df1-a994-96f45a9b52d1\">\u4e0b\u8f7d<\/a><\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u548c\u6240\u6709\u7684MCU\u4e00\u6837ZYNQ\u7684PS\u7aef\u4e5f\u6709\u81ea\u5df1\u7684\u5b9a\u65f6\u5668\u4e2d\u65ad\u529f\u80fd\uff0c\u672c\u8282\u5c06\u5bf9\u8be5\u529f\u80fd\u8fdb\u884c\u6f14\u793a\u3002<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10],"tags":[],"class_list":["post-2664","post","type-post","status-publish","format-standard","hentry","category-smart-zynq-board"],"views":730,"_links":{"self":[{"href":"http:\/\/www.hellofpga.com\/index.php\/wp-json\/wp\/v2\/posts\/2664","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.hellofpga.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.hellofpga.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.hellofpga.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.hellofpga.com\/index.php\/wp-json\/wp\/v2\/comments?post=2664"}],"version-history":[{"count":5,"href":"http:\/\/www.hellofpga.com\/index.php\/wp-json\/wp\/v2\/posts\/2664\/revisions"}],"predecessor-version":[{"id":2678,"href":"http:\/\/www.hellofpga.com\/index.php\/wp-json\/wp\/v2\/posts\/2664\/revisions\/2678"}],"wp:attachment":[{"href":"http:\/\/www.hellofpga.com\/index.php\/wp-json\/wp\/v2\/media?parent=2664"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.hellofpga.com\/index.php\/wp-json\/wp\/v2\/categories?post=2664"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.hellofpga.com\/index.php\/wp-json\/wp\/v2\/tags?post=2664"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}