Datenblatt-Suchmaschine für elektronische Bauteile |
|
EZR32WG230F256R55G Datenblatt(PDF) 9 Page - Silicon Laboratories |
|
EZR32WG230F256R55G Datenblatt(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 EZR32WG to the pins shown in 3.1.29 EZRadio® and EZRadioPro® Transceivers. These radio GPIOs may be routed to external package pins using the EZR32WG’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 EZR32WG PRS system to output the radio GPIO0/GPIO1 functions to EZR32WG pins PA0 / PA1, respectively. Note that the radio GPIO0/GPIO1 functions could also be connected to EZR32WG 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); EZR32WG230 Data Sheet System Overview silabs.com | Smart. Connected. Energy-friendly. Rev. 1.1 | 8 |
Ähnliche Teilenummer - EZR32WG230F256R55G |
|
Ähnliche Beschreibung - EZR32WG230F256R55G |
|
|
Link URL |
Privatsphäre und Datenschutz |
ALLDATASHEETDE.COM |
War ALLDATASHEET hilfreich? [ DONATE ] |
Über Alldatasheet | Werbung | Kontakt | Privatsphäre und Datenschutz | Linktausch | Hersteller 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 |