Changes between Version 6 and Version 7 of 802.11/Usage/UserIO
- Timestamp:
- Aug 18, 2016, 11:51:07 AM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
802.11/Usage/UserIO
v6 v7 45 45 46 46 '''Important Update:''' As of v1.5.3 both CPUs can access the software-controlled debug I/O via the single w3_userio core. The state of a debug output is stored in the w3_userio core. Either CPU can set or unset each software-controlled output at any time. This is a changed from previous releases where the software-controlled outputs were driven by an OR of values written by each CPU. 47 48 The MAC framework provides [browser:/ReferenceDesigns/w3_802.11/c/wlan_mac_common/include/wlan_mac_userio_util.h?rev=5591#L29 helper macros in wlan_mac_userio_util.h] for accessing the debug header configuration and ping states. These macros can be used anywhere in the C code in CPU High and Low. For example, to use pin 15 as a software-controlled output to benchmark execution time of a code block: 49 50 {{{#!C 51 52 // Assert pin 15 53 wlan_mac_set_dbg_hdr_out(0x80000000); //assert p15 54 { /* Benchmark code here */ } 55 wlan_mac_clear_dbg_hdr_out(0x00000000); //clear p15 56 }}} 47 57 48 58 By default the 802.11 Reference Design configures: