Skip to content

stm32f103 says it is normaly configured as pull up but im not convinced that is the case. #39

@CvRXX

Description

@CvRXX

The documentation tells us this:

/// This constructor sets the pin direction to input.
/// By default, the internal weak pull-up is enabled.

The mode cnf wil be set to 1000.
image

But as can be seen in above image this depends on the PxODR register. So if it was an output before and it was put low it will be a pull down.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions