| поискавой системы для электроныых деталей |
|
AN2710 датащи(PDF) 14 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN2710 датащи(HTML) 14 Page - STMicroelectronics |
|
14 / 30 page ![]() STR75x general-purpose I/O ports (GPIO) AN2710 14/30 And obviously, the corresponding port should not be driven externally as it will be driven by the firmware using the GPIO controller. ● For alternate function outputs, the port must be configured in Alternate Function Output mode (push-pull or open-drain). ● For bidirectional alternate functions, the port bit must be configured in Alternate Function Output mode (push-pull or open-drain). In this case the input driver is configured in input floating mode Configuring a port bit as Alternate Function Output will disconnect the output latch and connect the pin to the output signal of an on-chip peripheral. If firmware configures a GPIO pin as Alternate Function Output, but no peripheral output alternate function exists for that pin (refer to the datasheet pin description table), its output is not specified. Special case of SSP bidirectional alternate functions When using the SSP, the MISO, MOSI, NSS and SCK alternate functions consist of bidirectional alternate functions. They must be configured as alternate function output through the Port Configuration register: ● When configuring the SSP in master mode, the MISO pin is automatically used as an alternate function input and the output driver is automatically disabled (even if still programmed as alternated function output in the Port Configuration registers). In addition, when configured in master mode, the MOSI pin is always driven (never left Hi-Z) even if the SSP is in idle mode (no transmission) ● When configuring the SSP in slave mode, the MOSI, SCK and NSS pins are automatically configured as alternate functions inputs and the output drivers are automatically disabled (even if still programmed as alternated function outputs in the Port Configuration registers). In addition, when configured in slave mode, the MISO pin is left Hi-Z when the NSS pin is high or when the SOD control bit (Slave Output Disable) is set. Configuring I2C alternate functions After reset release, the I2C is able to detect a Start condition on the SDA and SCL lines even if the I2C is not configured. (Refer to the SDA/SCL line control section in the STR75x reference manual) Consequently, care must be taken when configuring SDA and SCL as alternate function open-drain in order not to create parasitic falling edges. The states to avoid are: ● output 0 ● input pull-down ● analog input (because the output of the Schmitt trigger goes to 0) |
|
ссылки URL |
| Вашему бизинису помогли Аллдатащит? [ DONATE ] |
Что такое Аллдатащит | реклама | контакт | Конфиденциальность | Ссылка на техническое описание | обмен ссыками | поиск по производителю 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 |