Main Page | Modules | Class Hierarchy | Alphabetical List | Data Structures | File List | Data Fields | Globals | Related Pages

Port - Code example
[PORT - Procedure for parallel port usage]

 void setup()
 {
   PortConfig(PP_F, 15, P_OUT);
 }

 // With FAST_CODE_1 the frequency PF15 is approx 9.211 MHz @ core frequency 400MHz
 // if remove the attribute the result frequency is 1.354 MHz
 FAST_CODE_1 void loop()
 {
   PPF_TGL = BIT(15);
 }
footer
otStudio - Library Reference - (C) 2020-23 Officina Turini, All Rights Reserved
Document built with Doxygen 1.4.0