DatasheetQ Logo
Electronic component search and free download site. Transistors,MosFET ,Diode,Integrated circuits

AN668 データシートの表示(PDF) - Silicon Laboratories

部品番号
コンポーネント説明
メーカー
AN668 Datasheet PDF : 10 Pages
1 2 3 4 5 6 7 8 9 10
AN668
5.2.3. gPB.c
This file includes two functions: gPB_enter_off_config() and gPB_enter_default_config().
The gPB_enter_off_config() function is called by gModes_enter_my_off_mode() in gModes.c and sets all the
pins to digital input mode, disables crossbar 1, and disables the APB clock to the port registers.
The gPB_enter_default_config() function:
Enables the APB clock to the port registers.
Sets the SWV pin to push-pull.
Enables crossbar 1.
Sets the PB2.10 and PB2.11 pins to push-pull.
Sets the PB2.8 and PB2.9 pins to digital input mode.
Configures the PB0.9 and PB0.10 RTC0 oscillator input pins as analog inputs.
Configures PB2.7 to output the RTC0 clock by setting PB2.7 to push-pull, skipping the PB2.0-PB2.6 pins
on crossbar 1, and enabling the oscillator output on crossbar 1.
Figure 10 shows the dependencies for gPB.c.
gPB.c
Blinky
si32Hal
SI32_CLKCTRL_A_Type.c
SI32_PBSTD_A_Type.c
SI32_PBCFG_A_Type.c
Figure 10. gPB.c Dependencies
8
Rev. 0.1

Share Link: 

datasheetq.com  [ Privacy Policy ]Request Datasheet ] [ Contact Us ]