数据搜索系统,热门电子元器件搜索 |
|
EZR32LG230F128R55G 数据表(PDF) 9 Page - Silicon Laboratories |
|
EZR32LG230F128R55G 数据表(HTML) 9 Page - Silicon Laboratories |
9 / 87 page 3.1.29.1 EZRadio® and EZRadioPRO® Transceivers GPIO Configuration The EZRadio and EZRadioPRO Transceivers have 4 General Purpose Digital I/O pins. These GPIOs may be configured to perform various radio-specific functions, including Clock Output, FIFO Status, POR, Wake-up Timer, TRSW, AntDiversity control, etc. Two of the radio GPIO pins are directly connected to pins on the package (GPIO2 and GPIO3). However, the remaining two radio GPIO pins (GPIO0 and GPIO1) connect internally on the EZR32LG to the pins shown in 3.1.29 EZRadio® and EZRadioPro® Transceivers. These radio GPIOs may be routed to external package pins using the EZR32LG’s peripheral reflex system (PRS). Note that the maxi- mum frequency of the GPIO pins routed through PRS pins may be limited to ~10 MHz. Below is some example code illustrating how to configure the EZR32LG PRS system to output the radio GPIO0/GPIO1 functions to EZR32LG pins PA0 / PA1, respectively. Note that the radio GPIO0/GPIO1 functions could also be connected to EZR32LG pins PF3/ PF4. /* PRS routing radio GPIO0 and GPIO1 to external pin PA0&PA1 */ / * Note that this code example uses the emlib library functions for CMU, GPIO, and PRS */ /* Enable PRS clock */ CMU_ClockEnable(cmuClock_PRS, true); /* Setup input pins */ GPIO_PinModeSet(gpioPortA, 15, gpioModeInput, 0); GPIO_PinModeSet(gpioPortE, 14, gpioModeInput, 0); /* Setup output pins */ GPIO_PinModeSet(gpioPortA, 0, gpioModePushPull, 0); GPIO_PinModeSet(gpioPortA, 1, gpioModePushPull, 0); /* Configure INT/PRS channels */ GPIO_IntConfig(gpioPortA, 15, false, false, false); GPIO_IntConfig(gpioPortE, 14, false, false, false); /* Setup PRS */ PRS_SourceAsyncSignalSet(0, PRS_CH_CTRL_SOURCESEL_GPIOH, PRS_CH_CTRL_SIGSEL_GPIOPIN15); PRS_SourceAsyncSignalSet(1, PRS_CH_CTRL_SOURCESEL_GPIOH, PRS_CH_CTRL_SIGSEL_GPIOPIN14); PRS->ROUTE = (PRS_ROUTE_CH0PEN | PRS_ROUTE_CH1PEN); /* Make sure PRS sensing is enabled (should be by default) */ GPIO_InputSenseSet(GPIO_INSENSE_PRS, GPIO_INSENSE_PRS); EZR32LG230 Data Sheet System Overview silabs.com | Smart. Connected. Energy-friendly. Rev. 1.1 | 8 |
类似零件编号 - EZR32LG230F128R55G |
|
类似说明 - EZR32LG230F128R55G |
|
|
链接网址 |
隐私政策 |
ALLDATASHEETCN.COM |
ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 链接交换 | 制造商名单 All Rights Reserved©Alldatasheet.com |
Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
Family Site : ic2ic.com |
icmetro.com |