Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
SCU Public Functions
[SCU (System Control Unit)]
Functions | |
void | scu_pinmux (uint8_t port, uint8_t pin, uint8_t mode, uint8_t func) |
Configure pin function. |
Function Documentation
void scu_pinmux | ( | uint8_t | port, |
uint8_t | pin, | ||
uint8_t | mode, | ||
uint8_t | func | ||
) |
Configure pin function.
- Parameters:
-
[in] port Port number, should be: 0..15 [in] pin Pin number, should be: 0..31 [in] mode Pin mode, should be: - MD_PUP :Pull-up enabled
- MD_BUK :Plain input
- MD_PLN :Repeater mode
- MD_PDN :Pull-down enabled
- MD_EHS :Slew rate
- MD_EZI :Input buffer enable
- MD_ZI :Glitch filter enabled
- MD_EHD0 :High drive 8 mA
- MD_EHD1 :High drive 14 mA
- MD_EHD2 :High drive 20 mA
[in] func Function mode, should be: - FUNC0 :Function 0
- FUNC1 :Function 1
- FUNC2 :Function 2
- FUNC3 :Function 3
- FUNC4 :Function 4
- FUNC5 :Function 5
- FUNC6 :Function 6
- FUNC7 :Function 7
- Returns:
- None
Definition at line 83 of file lpc43xx_scu.c.
Generated on Tue Jul 12 2022 15:37:32 by
