Replies: 1 comment 1 reply
-
It is pure C code. The code initializes an array of mp_arg_t stuctures, which contain as the third element a union.
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I was looking for the default frequency of SPI and found this. I wonder if this is how default values are given. Is this how defaults are defined in the core and ports? Is this a C++ dictionary object with .u_something as key and 500000 as value? Thanks.
https://github.com/micropython/micropython/blob/516385c4ccbb1f7fa9dbd37a44ed8ae33dcf1942/ports/esp32/machine_hw_spi.c#L452C61-L452C61
Beta Was this translation helpful? Give feedback.
All reactions