전자부품 데이터시트 검색엔진 |
|
EZR32LG330FR63G 데이터시트(PDF) 9 Page - Silicon Laboratories |
|
EZR32LG330FR63G 데이터시트(HTML) 9 Page - Silicon Laboratories |
9 / 87 page 3.1.30.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.30 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); EZR32LG330 Data Sheet System Overview silabs.com | Smart. Connected. Energy-friendly. Rev. 1.1 | 8 |
유사한 부품 번호 - EZR32LG330FR63G |
|
유사한 설명 - EZR32LG330FR63G |
|
|
링크 URL |
개인정보취급방침 |
ALLDATASHEET.CO.KR |
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 |