I use narm_write_reg and narm_read_reg to access to GPIO. However, these functions are too slow for me: I wish the output level rise time could be 1 microsecond… And the same for the GPIO level reading !
Is this possible with other functions ? Maybe direct GPIO register access ?
The narm_write_reg and narm_read_reg macros are a convenient and effecient way to handle generic register accesses.
If an application has the need for more optimized macros, there is nothing preventing an application writer from accessing the registers directly. Refer to the processor Hardware Reference Manual for information on the registers. The defined macros should provide an adequate model for what needs to be done.
I do not have any sample code available.